Symfony framework applies the default number format when the number_format filter is used in the Twig template. The arguments can be provided for the number_format filter to override the default...
Symfony framework applies the default date format and time zone when the date filter is used in the Twig template. The default date format and time zone can be overridden...
Symfony framework translate text in the application based on the locale of the user. If the user's locale cannot be determined, then the default locale is used. This tutorial shows...
Symfony framework provides static code analysis commands (also known as linters) for checking some parts of application such YAML syntax, TWIG syntax, service definitions in container, etc.
This tutorial shows...
Symfony framework provides static code analysis commands (also known as linters) that enables to check some parts of application such TWIG syntax, service definitions in container, etc.
This tutorial shows...
Symfony framework provides various static code analysis commands (also known as linters) for checking some parts of application such YAML syntax, service definitions in container, etc.
This tutorial shows how...
In some applications might need to block access to the website for certain users by IP address. In such case, IP blacklisting can be used to filter out malicious IP...
HTTP headers can be used to add the additional information to request or response during client and server communication. This tutorial provides 2 methods how to get request header in...
Sometimes, we may need to specify the default time zone in application, which will be used by date and time functions. This tutorial provides example how to set default time...
Serializer component enables to convert objects to specific format (e.g. JSON, XML) and vice versa. By default, empty objects are converted to empty array (e.g. [] in JSON) instead of...