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
Requires
- php: >=7.3
- ext-json: *
Requires (Dev)
- friendsofphp/php-cs-fixer: ^2.16
- laravel/framework: ^8.0
- mockery/mockery: ~1.0
- orchestra/testbench: ^6.2
- phpstan/phpstan: ^0.12.14
- phpunit/phpunit: ^8.5
- spatie/phpunit-snapshot-assertions: ^2.1.0|^4.2
This package is auto-updated.
Last update: 2024-10-29 06:06:21 UTC
README
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.