omaicode/laradules

Split your features into modules, make it flexible and easy to maintenance.

v1.0.2 2021-12-29 06:01 UTC

This package is auto-updated.

Last update: 2024-03-29 04:52:10 UTC


README

A simple library to split your codes into modules. Make your codes become flexible, easy to maintenance and coding faster.

Installation

Use composer to manage your dependencies and install with command:

composer require omaicode/laradules

Commands

To create a module, enter command:

php artisan laradules:create:module {MODULE NAME}

This command will create your module inside folder {PROJECT}/modules. Example:

  • app
    • Http
    • Models
    • Providers
    • ...
  • modules
    • ModuleA
    • ModuleB

To show module list, enter command:

php artisan laradules:list:module

LICENSE

MIT

CREDIT

This is my first public library for Laravel, if it have any bugs just create your issue. I'll update as soon as possible! Thanks you for use my libraby.