Download the PHP package palmiot/twig-extensions without Composer
On this page you can find all versions of the php package palmiot/twig-extensions. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download palmiot/twig-extensions
More information about palmiot/twig-extensions
Files in palmiot/twig-extensions
Package twig-extensions
Short Description A number of useful filters for Twig.
License MIT
Homepage https://github.com/palmiot/twig-extensions
Informations about the package twig-extensions
twig-extensions
A number of useful filters and functions for Twig.
Installation
The extensions can be easily installed using composer
Usage
To use in a symfony project register the extensions as a service.
Base64 extension
Exposes base64 functions to Twig for encodes and decodes data with MIME base64.
Basename extension
Exposes basename to Twig for returns trailing name component of path.
Minify extension
For compress CSS ( Cascading Style Sheets ) and JS ( JavaScript ) from Twig. ( Using the compress MatthiasMullie\Minify )
Packer extension
For pack JS ( JavaScript ) content from Twig. ( Using the packer Tholu\Packer\Packer )
Pathinfo extension
Exposes pathinfo to Twig for get information about a file path.
or
RemoteFile extension
For get contents of any URL and save as new file if you want.
All versions of twig-extensions with dependencies
matthiasmullie/minify Version >=1.3.63
tholu/php-packer Version >=0.2.0