teepluss / laravel4-asset by teepluss

Laravel 4 Assets Manage
2,857
21
4
Package Data
Maintainer Username: teepluss
Maintainer Contact: admin@laravel.in.th (Teepluss)
Package Create Date: 2013-04-03
Package Last Update: 2013-08-18
Language: PHP
License: MIT
Last Refreshed: 2024-05-03 03:09:22
Package Statistics
Total Downloads: 2,857
Monthly Downloads: 0
Daily Downloads: 0
Total Stars: 21
Total Watchers: 4
Total Forks: 16
Total Open Issues: 1

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

),