dennisenderink / asset
Laravel 4 Assets Manage
dev-master
2014-11-05 10:58 UTC
Requires
- php: >=5.3.0
- illuminate/support: 4.x
This package is auto-updated.
Last update: 2026-03-12 03:09:09 UTC
README
A port of Laravel 3's Asset class. Made to work with Laravel 4.
Usage
Composer Side
add "dennisenderink/asset": "dev-master" to the require section of your composer.json so that it should look something the code below.
...
...
...
"require": {
...
...
...
"dennisenderink/asset": "dev-master"
},
...
...
...
Laravel Side
add the following code to the providers section of the app/config/app.php file
'Dennisenderink\Asset\AssetServiceProvider',
so that it'll look something like the following
'providers' => array( ... ... ... 'Dennisenderink\Asset\AssetServiceProvider', ),
and add the following code to the aliases section of the app/config/app.php file
'Asset' => 'Dennisenderink\Asset\Facades\Asset'
so that it'll look something like the following
'aliases' => array( ... ... ... 'Asset' => 'Dennisenderink\Asset\Facades\Asset', ),