Linked to this documentation, this repository is a way for developper to train to be certificated for Twig.
There are 2 main instructions for passing it:
-
You must read and understand well, master the elements of this page: Template For Designers
-
Then they will ask you to know the tags, functions, and filters below. In reality, If you allow 1 week to master everything (if you have practiced before of course), it should be good.
- apply
- autoescape
- block
- deprecated
- do
- embed
- extends
- flush
- for
- from
- if
- import
- include
- macro
- sandbox
- set
- use
- verbatim
- with
- abs
- batch
- capitalize
- column
- convert_encoding
- date
- date_modify
- default
- escape
- filter
- first
- format
- join
- json_encode
- keys
- last
- length
- lower
- map
- merge
- nl2br
- number_format
- raw
- reduce
- replace
- reverse
- round
- slice
- sort
- spaceless
- split
- striptags
- title
- trim
- upper
- url_encode
- attribute
- block
- constant
- cycle
- date
- dump
- include
- max
- min
- parent
- random
- range
- source
- template_from_string
- in
- is
- Math (+, -, /, %, //, *, **)
- Logic (and, or, not, (), b-and, b-xor, b-or)
- Comparisons (==, !=, <, >, >=, <=, ===,
starts with, ends with, has some, has every, matches) - Others (.., |, ~, ., [], ?:, ??)
In the documentation page, there is a paragraph “Twig Reference for Symfony” which is not a section requested in the certification, since these functions are part of the symfony/twig-bridge library. This part will be requested in the Symfony certification.
All those Filters, Functions ... with an Extension like MarkdownExtension, StringExtension, IntlExtension, HtmlExtension, CacheExtension, CssInlinerExtension, InkyExtension not installed by default are not in the certification.
- currency_name
- country_name
- currency_symbol
- data_uri
- cache
- inline_css
- inky_to_html
- language_name
- locale_name
- markdown_to_html
- slug
- timezone_name
- country_names
- country_timezones
- currency_names
- html_classes
- language_names
- locale_names
- script_names
- timezone_names
- format_time
- html_to_markdown
- format_date
- format_datetime
- format_number
- format_currency
And to register, buy a voucher.
https://certification.symfony.com/exams/twig.html For more informations, read this article: https://www.itefficience.com/article/la-certification-twig-une-1ere-pour-le-chemin-de-la-certif-symfony To train with our team, contact us on https://www.itefficience.com