This Laravel 5 package with a collection of Helpers and blade extensions for my gulp asset pipeline, (*1)
This package assumes that your asset pipeline:
Installation
The package can be installed through Composer:, (*2)
composer require ammonkc/bonzai-helper
This service provider must be installed:, (*3)
//for laravel <=4.2: app/config/app.php
'providers' => [
...
'Ammonkc\BonzaiHelper\BonzaiHelperServiceProvider'
...
];
This package also comes with a facade, which provides an easy way to call the the functionality., (*4)
//for laravel <=4.2: app/config/app.php
'aliases' => array(
...
'Bonzai' => 'Ammonkc\BonzaiHelper\BonzaiHelperFacade',
...
)
Configuration
You can publish the configuration file using this command:, (*5)
php artisan config:publish ammonkc/bonzai-helper
A configuration-file with some sensible defaults will be placed in your config/packages directory:, (*6)
return
[
/**
* The url that points to the directory were your assets are stored
*
*/
'assetDir' => 'assets',
];