在线时间:8:00-16:00
迪恩网络APP
随时随地掌握行业动态
扫描二维码
关注迪恩网络微信公众号
开源软件名称(OpenSource Name):nWidart/laravel-modules开源软件地址(OpenSource Url):https://github.com/nWidart/laravel-modules开源编程语言(OpenSource Language):PHP 97.2%开源软件介绍(OpenSource Introduction):Laravel-Modules
This package is a re-published, re-organised and maintained version of pingpong/modules, which isn't maintained anymore. This package is used in AsgardCMS. With one big added bonus that the original package didn't have: tests. Find out why you should use this package in the article: Writing modular applications with laravel-modules. InstallTo install through Composer, by run the following command: composer require nwidart/laravel-modules The package will automatically register a service provider and alias. Optionally, publish the package's configuration file by running: php artisan vendor:publish --provider="Nwidart\Modules\LaravelModulesServiceProvider" AutoloadingBy default, the module classes are not loaded automatically. You can autoload your modules using {
"autoload": {
"psr-4": {
"App\\": "app/",
"Modules\\": "Modules/",
"Database\\Factories\\": "database/factories/",
"Database\\Seeders\\": "database/seeders/"
}
} Tip: don't forget to run DocumentationYou'll find installation instructions and full documentation on https://docs.laravelmodules.com/. CreditsAbout Nicolas WidartNicolas Widart is a freelance web developer specialising on the Laravel framework. View all my packages on my website, or visit my website. LicenseThe MIT License (MIT). Please see License File for more information. |
2023-10-27
2022-08-15
2022-08-17
2022-09-23
2022-08-13
请发表评论