dev-master
9999999-devManage and serve assets
MIT
The Requires
- php >=5.5.0
- illuminate/support ~5.2
- kriswallsmith/assetic 1.*
dev-laravel4
dev-laravel4Manage and serve assets
The Requires
Manage and serve assets
__ !!! This package is in development and is not yet ready for prime time !!! __, (*2)
In any web application you need to load Javascript and CSS files to work. With more and more plugins, parts and modules, you need an optimal way to load them., (*3)
Require JS techniques are now the de-facto standard to load javascript. But I will bring it a step further, this is a require JS backend., (*4)
Via Composer, (*5)
``` bash $ composer require rocket/assets, (*6)
## Usage ```php use Assetic\AssetManager; use Rocket\UI\Assets\Assetic\Asset\JsAsset; Event::listen( 'rocket.assets.js', function (AssetManager $am) { $am->set('jquery', new JsAsset(__DIR__ . '/js/jquery.js')); $am->set('jquery.tooltips', (new JsAsset(__DIR__ . '/js/jquery.tooltips.js'))->dependsOn('jquery')); } );
All the tests live in the main project., (*7)
Please see CONTRIBUTING for details., (*8)
The MIT License (MIT). Please see License File for more information., (*9)
Manage and serve assets
MIT
Manage and serve assets