alishplugins/alish-module

Alish Modlue

Fund package maintenance!
mahboubhosseinzadeh

Installs: 8

Dependents: 0

Suggesters: 0

Security: 0

Stars: 1

Watchers: 0

Forks: 0

Open Issues: 0

Type:laravel-module

dev-master / 1.0.x-dev 2021-10-01 17:19 UTC

This package is auto-updated.

Last update: 2024-10-29 06:06:21 UTC


README

Latest Version on Packagist Software License

alishplugins/alish-module is a Laravel package which created to manage your large Laravel app using modules. Module is like a Laravel package, it has some views, controllers or models. This package is supported and tested in Laravel 8.

Install

To install through Composer, by run the following command:

composer require alishplugins/alish-module

The package will automatically register a service provider and alias.

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

php artisan vendor:publish --provider="Alishplugins\Modules\LaravelModulesServiceProvider"

Autoloading

By default, the module classes are not loaded automatically. You can autoload your modules using psr-4. For example:

{
  "autoload": {
    "psr-4": {
      "App\\": "app/",
      "Modules\\": "Modules/"
    }
  }
}

Tip: don't forget to run composer dump-autoload afterwards.

Credits

About team us

License

The MIT License (MIT). Please see License File for more information.