サクサク読めて、アプリ限定の機能も多数!
トップへ戻る
ブラックフライデー
twig.symfony.com
Twig The flexible, fast, and secure template engine for PHP Experiment with Twig templates in real-time, with instant preview in your browser. All changes are saved to the URL for easy sharing.
Displaying Deprecation Notices Deprecated features generate deprecation notices (via a call to the trigger_error() PHP function). By default, they are silenced and never displayed nor logged. To remove all deprecated feature usages from your templates, write and run a script along the lines of the following:
Found a typo or an error? Want to improve this document? Edit it. Need support or have a technical question? Ask support on Stack Overflow.
Found a typo or an error? Want to improve this document? Edit it. Need support or have a technical question? Ask support on Stack Overflow. Introduction Welcome to the documentation for Twig, the flexible, fast, and secure template engine for PHP. Twig is both designer and developer friendly by sticking to PHP's principles and adding functionality useful for templating environments. The key-featur
Twig Documentation Read the online documentation to learn more about Twig. Introduction Twig Recipes Installation Coding Standards Twig for Template Designers Deprecated Features Twig for Developers Twig Internals Extending Twig License Twig Sandbox Twig Reference Browse the online reference to learn more about built-in features.
Synopsis A template is a regular text file. It can generate any text-based format (HTML, XML, CSV, LaTeX, etc.). It doesn't have a specific extension, .html or .xml are just fine. A template contains variables or expressions, which get replaced with values when the template is evaluated, and tags, which control the template's logic. Below is a minimal template that illustrates a few basics. We wil
The flexible, fast, and secure template engine for PHP Twig is a modern template engine for PHP Fast: Twig compiles templates down to plain optimized PHP code. The overhead compared to regular PHP code was reduced to the very minimum. Secure: Twig has a sandbox mode to evaluate untrusted template code. This allows Twig to be used as a template language for applications where users may modify the t
このページを最初にブックマークしてみませんか?
『Twig - The flexible, fast, and secure PHP template engine』の新着エントリーを見る
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く