Download the PHP package fffunction/twig-static without Composer
On this page you can find all versions of the php package fffunction/twig-static. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download fffunction/twig-static
More information about fffunction/twig-static
Files in fffunction/twig-static
Download fffunction/twig-static
More information about fffunction/twig-static
Files in fffunction/twig-static
Vendor fffunction
Package twig-static
Short Description A filter that takes a static file path and returns a URL versioned with the file hash
License MIT
Package twig-static
Short Description A filter that takes a static file path and returns a URL versioned with the file hash
License MIT
Please rate this library. Is it a good library?
Informations about the package twig-static
twig-static
Usage
Add the filter to Twig:
Then pass paths to the filter in your templates:
API
create_static_filter(sting $asset_root, string $asset_url): function
$asset_root
: a relative path from the app root to the assets root dir$asset_url
: a path to prepend to the returned url
All versions of twig-static with dependencies
PHP Build Version
Package Version
No informations.
The package fffunction/twig-static contains the following files
Loading the files please wait ....