teepluss / asset
Laravel 4 Assets Manage
Installs: 2 857
Dependents: 1
Suggesters: 0
Security: 0
Stars: 21
Watchers: 4
Forks: 16
Open Issues: 1
Requires
- php: >=5.3.0
- illuminate/support: 4.0.x
This package is not auto-updated.
Last update: 2024-10-26 14:53:10 UTC
README
A port of Laravel 3's Asset class. Made to work with Laravel 4.
Usage
Composer Side
add "teepluss/asset": "dev-master"
to the require
section of your composer.json
so that it should look something the code below.
...
...
...
"require": {
...
...
...
"teepluss/asset": "dev-master"
},
...
...
...
Laravel Side
add the following code to the providers
section of the app/config/app.php
file
'Teepluss\Asset\AssetServiceProvider',
so that it'll look something like the following
'providers' => array( ... ... ... 'Teepluss\Asset\AssetServiceProvider', ),
and add the following code to the aliases
section of the app/config/app.php
file
'Asset' => 'Teepluss\Asset\Facades\Asset'
so that it'll look something like the following
'aliases' => array( ... ... ... 'Asset' => 'Teepluss\Asset\Facades\Asset', ),