outbook / modules
基于caffeinated/modules v4.2,实现laravel多模块
Installs: 315
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 0
Type:1
Requires
- php: >=7.1.3
Suggests
- wikimedia/composer-merge-plugin: Allows the ability to create and merge composer.json files for your individual modules for module-specific dependency management.
This package is auto-updated.
Last update: 2025-03-23 14:04:12 UTC
README
Caffeinated Modules is a simple package to allow the means to separate your Laravel 5.5 application out into modules. Each module is completely self-contained allowing the ability to simply drop a module in for use.
The package follows the FIG standards PSR-1, PSR-2, and PSR-4 to ensure a high level of interoperability between shared PHP code.
Documentation
You will find user friendly and updated documentation in the wiki here: Caffeinated Modules Wiki
Quick Installation
Begin by installing the package through Composer.
composer require outbook/modules
Once this operation is complete, simply add both the service provider and facade classes to your project's config/app.php
file:
Service Provider
Outbook\Modules\ModulesServiceProvider::class,
Facade
'Module' => Outbook\Modules\Facades\Module::class,
And that's it! With your coffee in reach, start building out some awesome modules!