A collection of additional tools for Symfony
A collection of additional Symfony 4 tools that are small enough to create separate packages for them.
This bundle is compatible with Symfony 4.1 and Symfony 5.0. Symfony 3.4 compatibility abandoned.
This bundle can be installed by Composer:
$ composer require m-adamski/symfony-utils-bundle
The package includes the following tools and helpers:
|AssetHashExtension||Twig Extension||The tool adds an MD5 checksum to the indicated resource|
|SymfonyStyle||Console Symfony Style||Console Symfony Style with additional functionalities|
An additional Twig function named
asset_hash is registered, which inserts the path to the indicated resource, and additionally inserts the MD5 checksum of the resource.
The result of the function will be the path to the resource and its checksum.
A class that extends the capabilities of the core Symfony Console Style. It contains additional functions that will help in the presentation of information returned to the user.