dev-master
9999999-devAsset Manager for Laravel 4
MIT
The Requires
- php >=5.3.0
- illuminate/support 4.*
- illuminate/html 4.*
- leafo/lessphp *
by Catalin Dumitrescu
laravel assets
Wallogit.com
2017 © Pedro Peláez
Asset Manager for Laravel 4
Asset Manager for Laravel 4, (*1)
composer.json:, (*2)
Add "turtlebits/keeper": "dev-master" to the require section of composer.json, (*3)
Register the service provider by adding 'TurtleBits\Keeper\KeeperServiceProvider', to the providers section of the app/config/app.php file, (*4)
If you use TwigBridge, add 'TurtleBits\Keeper\Extensions\KeeperTwigExtension' to the extensions section of the app/config/packages/rcrowe/twigbridge/config.php file., (*5)
This package uses lessphp as a less compiler, and installs it automatically., (*6)
In Blade views:, (*7)
{{ Keeper::style(array('application', 'structure')) }} {{ Keeper::script(array('jquery', 'application')) }} {{ Keeper::image('logo.jpg') }}, (*8)
In Twig views:, (*9)
{{ keeper_style(['application', 'structure'])|raw }}
{{ keeper_script(['jquery', 'application'])|raw }}
{{ keeper_image('logo.jpg') }}
Asset Manager for Laravel 4
MIT
laravel assets