PHP code example of ammonkc / bonzai-helper
1. Go to this page and download the library: Download ammonkc/bonzai-helper library. Choose the download type require. 2. Extract the ZIP file and open the index.php. 3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
ammonkc / bonzai-helper example snippets
//for laravel <=4.2: app/config/app.php
'providers' => [
...
'Ammonkc\BonzaiHelper\BonzaiHelperServiceProvider'
...
];
//for laravel <=4.2: app/config/app.php
'aliases' => array(
...
'Bonzai' => 'Ammonkc\BonzaiHelper\BonzaiHelperFacade',
...
)
return
[
/**
* The url that points to the directory were your assets are stored
*
*/
'assetDir' => 'assets',
];
console
php artisan config:publish ammonkc/bonzai-helper