akk7300/module-generator

dev-main 2024-06-03 19:33 UTC

This package is auto-updated.

Last update: 2024-09-03 20:00:58 UTC


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.