dennisenderink / laravel4-asset by dennisenderink
forked from teepluss/laravel4-asset

Laravel 4 Assets Manage
1,262
0
2
Package Data
Maintainer Username: dennisenderink
Maintainer Contact: dennis@stayhungry.nl (Dennis Enderink)
Package Create Date: 2014-08-11
Package Last Update: 2014-11-05
Language: PHP
License: MIT
Last Refreshed: 2024-05-03 15:11:21
Package Statistics
Total Downloads: 1,262
Monthly Downloads: 0
Daily Downloads: 0
Total Stars: 0
Total Watchers: 2
Total Forks: 0
Total Open Issues: 0

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',

),