Download the PHP package instante/assets without Composer
On this page you can find all versions of the php package instante/assets. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Please rate this library. Is it a good library?
Informations about the package assets
Instante assets
Useful macros for latte assets
Requirements
- PHP 5.6 or higher
- Nette Framework 2.4 or higher
Installation
The best way to install Instante assets is using Composer:
Then add new extension to neon configuration
Usage
Instead of following code:
you should use:
It will automatically generates MD5 hash of current asset to prevent unwanted caching. Hash is regenerated after 1 week or after you manually clear cache.
To simply prepend $basePath url to asset, you can use macro {asset 'path/to/file'}
.
All versions of assets with dependencies
PHP Build Version
Package Version
Requires
php Version
>=5.5.0
nette/di Version ~2.4
nette/caching Version ~2.4
latte/latte Version ~2.4
nette/di Version ~2.4
nette/caching Version ~2.4
latte/latte Version ~2.4
The package instante/assets contains the following files
Loading the files please wait ....