creativehandles / web-pages
0.1.16
2022-10-24 12:16 UTC
Requires
- php: ^7.3
- creativehandles/ch-gallery: ^4.0
- illuminate/support: ^8.0
Requires (Dev)
- orchestra/testbench: ^6.0
- phpunit/phpunit: ^9.0
This package is auto-updated.
Last update: 2024-09-24 16:14:47 UTC
README
安装
您可以通过composer安装此包
composer require creativehandles/web-pages
用法
发布所需的文件(迁移、路由、视图等)到CORE CMS
php artisan vendor:publish --provider="Creativehandles\WebPages\WebPagesServiceProvider"
添加以下环境变量。这是一个针对所有包的全局变量。建议在CORE-CMS中设置。请不要更改
MEDIABLE_DISK=mediable
迁移数据库表
php artisan migrate
配置文件
"api" => [
'route_prefix' => 'api/v1/',
'middleware' => ['api']
],
"web" => [
'route_prefix' => 'plugins/',
'middleware' => ['web']
],
测试
composer test
变更日志
有关最近更改的详细信息,请参阅变更日志
贡献
有关详细信息,请参阅贡献指南
安全
如果您发现任何安全相关的问题,请发送电子邮件至deemantha@creativehandles.com,而不是使用问题跟踪器。
鸣谢
许可协议
MIT许可协议(MIT)。有关更多信息,请参阅许可文件
Laravel包模板
此包是使用Laravel包模板生成的。