akk7300 / module-generator
Module Generator
dev-main
2024-06-03 19:33 UTC
Requires
- php: ^7.4|^8.0|^8.0.2
- illuminate/support: ^8.0
Requires (Dev)
- orchestra/testbench: ^6.0
- phpunit/phpunit: ^9.0
README
📥 Installation
You can install this package via composer:
composer require akk7300/module-generator
and after installation you can run following command to publish config files:
php artisan vendor:publish --provider="Akk7300\ModuleGenerator\ModuleGeneratorServiceProvider" --tag="config"
⚙️ Configuration
for configure this package go to config/modulegenerator.php
and if you want to customize namespace you can do like this
<?php return [ 'namespace' => 'Laravel', ];
add line in composer.json
autoload
block
"autoload": {
"psr-4": {
//
"Laravel\\": "modules/"
}
},
and then
composer dump-autoload
Usage
php artisan make:module Blog
Credits
📜 License
The MIT License (MIT). Please see License File for more information.
Laravel Package Boilerplate
This package was generated using the Laravel Package Boilerplate.