osmsupport / modules
Laravel 模块
v9.0.0
2023-07-13 12:10 UTC
Requires
- php: >=8.0
- illuminate/support: >=8.0
Requires (Dev)
- mockery/mockery: ^1.0
- orchestra/testbench: ^4.0
- phpunit/phpunit: ^7.5|^8.0
- spatie/phpunit-snapshot-assertions: ^2.0
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: 2024-09-13 14:52:32 UTC
README
提取和模块化代码以提高可维护性。本质上创建“迷你 Laravel”结构以组织您的应用程序。最初为开源内容管理系统FusionCMS开发。
文档
您可以在Caffeinated网站上找到用户友好且更新的文档。
安装
通过 Composer 安装此包。从这里,该包将自动注册其服务提供者和 Module 门面。
composer require osmsupport/modules
配置
要发布配置文件,请运行以下命令
php artisan vendor:publish --provider="Caffeinated\Modules\ModulesServiceProvider" --tag="config"
变更日志
您可以在CHANGELOG文件中找到完整的变更日志历史。
贡献
有关详细信息,请参阅CONTRIBUTING。
测试
使用PHPUnit运行测试
vendor/bin/phpunit
安全性
如果您发现任何安全相关的问题,请直接通过电子邮件shea.lewis89@gmail.com联系,而不是使用问题跟踪器。
致谢
许可协议
MIT 许可协议 (MIT)。有关更多信息,请参阅许可文件。