PHP code example of astradevio / laravel-module-smartbread-generator
1. Go to this page and download the library: Download astradevio/laravel-module-smartbread-generator 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/ */
astradevio / laravel-module-smartbread-generator example snippets
'templates' => [
'Livewire - Volt - Bread Web & API' => 'stubs/smartbread/livewire-volt-full',
],
'ignore_files' => ['module.json'],
'use_singular' => 'true',
'routes_pathnames' => [ 'routes/api.php', 'routes/web.php' ]
bash
php artisan vendor:publish --provider="astradevio\LaravelModuleSmartBread\SmartBreadServiceProvider"
bash
php artisan smartbread:generate : gerenate bread template from stubs.
php artisan smartbread:replace view : update (overwrite) existent views fom a original stubs.
composer dump-autoload