idel/laravel-modular

Laravel modular

Downloads

37

Stars

14

Version

v1.1.9

Laravel-Modular

Laravel Modular helps to make your application modular. Often happens that our applications grow a lot and we need a lot of models, resources, controllers, migrations etc.. With this package we can divide our parts in little chunks (or modules).

** Loading modules using PSR-4 standard automatically **

Install

To install through Composer, by run the following command:

composer require idel/laravel-modular

The package will automatically register a service provider and alias.

Optionally, publish the package's configuration file by running:

php artisan vendor:publish --provider="Idel\Modular\ServiceProvider"

Pages Link

Generators

Actions

Nova Generators

Documentation

You'll find installation instructions and full documentation on https://idel327.github.io/laravel-modular.

Directory Structure

Using Artisan commands, files and folders are created according to your needs.

So we'll have a structure like this :

  • modules
    • routes
    • database
      • migrations
    • languages
    • resources
      • js
      • views
    • src
      • Providers
      • Entities
      • Http
        • Controllers
        • Middleware
        • Requests
      • Exceptions
      • Jobs
      • Mails
      • Casts
      • Observers
      • Facades
      • Traits
      • Events
      • Listeners
      • Tests
      • Console

Default structure with files :

  • modules
    • src
      • Providers
        • ServiceProvider.php
    • info.json

To Do

  • Update Document.
  • Add Test Files.
  • Improving Performance.
  • Cache System.
  • Public Folder Support In Each Module.

Contact us

[email protected]

[email protected]

[email protected]

idel327

Author

idel327