Download the PHP package astradevio/laravel-module-smartbread-generator without Composer
On this page you can find all versions of the php package astradevio/laravel-module-smartbread-generator. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download astradevio/laravel-module-smartbread-generator
More information about astradevio/laravel-module-smartbread-generator
Files in astradevio/laravel-module-smartbread-generator
Package laravel-module-smartbread-generator
Short Description Manage Laravel SmartBread on a laravel modules.
License MIT
Homepage https://github.com/astradev-io/laravel-module-smartbread
Informations about the package laravel-module-smartbread-generator
Laravel Module SmartBread
Package for generating BREADs (Browse, Read, Edit, Add and Delete operations) on Laravel Modules from stub files.
Requirements
Laravel
PHP 8.2+ Laravel 12 Laravel Modules 12 (https://github.com/nWidart/laravel-modules)
Since version 0.1.0 default stubs files requires 'astradevio/smartform-module' package (https://git.astradev.io/astradevio/smartform-module)
Install
You can install the package via composer:
To publish both the config
and stubs
:
Configuration
This will publish a smartbread.php
config file
This file contains:
By default, the stubs will be located at stubs/module-smartbread you can add your paths by adding folders and updating the config file.
Parameters:
Usage
Afer running generate
do a:
Path replacements
On stubs directory, stubs file names will be replaced with the following convention.
File content replacements
On stubs directory, stubs file content will be replaced with the following convention.
Config parameters
Thanks to:
This work is based on ideas and work of David Carr.
See: dcblogdev/laravel-module-generator (https://github.com/dcblogdev/laravel-module-generator)
All versions of laravel-module-smartbread-generator with dependencies
symfony/filesystem Version ^6.0|^7.0
symfony/finder Version ^6.0|^7.0
laravel/prompts Version ^0.1.15|^0.3