A collection of additional tools for Symfony

2.0.1 2020-02-07 07:08 UTC

This package is auto-updated.

Last update: 2021-07-07 10:06:17 UTC


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

What's included?

The package includes the following tools and helpers:

Name Category Description
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.


<script type="text/javascript" src="{{ asset_hash('assets/js/vendor.min.js') }}"></script>

The result of the function will be the path to the resource and its checksum.

<script type="text/javascript" src="/assets/js/vendor.min.js?78743b772817efd0530ca37eb28faf15"></script>


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.