Skip to content

teepluss/laravel4-asset

Folders and files

NameName
Last commit message
Last commit date

Latest commit

c17bcb6 · Aug 18, 2013

History

11 Commits
Aug 18, 2013
Apr 3, 2013
Apr 3, 2013
Apr 3, 2013
Apr 3, 2013
Jun 24, 2013
Apr 3, 2013

Repository files navigation

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

),