creativehandles / blog-posts
v0.1.30
2022-12-19 16:34 UTC
Requires
- php: ^7.3
- creativehandles/ch-gallery: ^4.0
- illuminate/support: ^8.0
- plank/laravel-mediable: ^5.2
Requires (Dev)
- orchestra/testbench: ^6.0
- phpunit/phpunit: ^9.0
- dev-develop
- v0.1.30
- v0.1.29
- v0.1.28
- v0.1.27
- 0.1.26
- 0.1.25
- 0.1.24
- 0.1.23
- 0.1.22
- 0.1.21
- 0.1.20
- 0.1.19
- 0.1.18
- 0.1.17
- 0.1.16
- 0.1.15
- 0.1.14
- 0.1.13
- 0.1.12
- 0.1.11
- 0.1.10
- 0.1.9
- 0.1.8
- 0.1.7
- 0.1.6
- 0.1.5
- 0.1.4
- 0.1.3
- 0.1.2
- 0.1.1
- 0.1.0
- dev-bugfix/361-admin-attached-image
- dev-master
- dev-bugfix/100-BUG-return-object-if-translation-doesnt-exists
- dev-release/0.1.12
- dev-feature/add-has-author-trait
- dev-hotfix/92-Add-Pagination-Route-to-ch-blog-posts
- dev-feature/91-Nice-to-have-updates-on-packages
- dev-release/0.2.0
This package is auto-updated.
Last update: 2024-09-19 20:42:44 UTC
README
这里应该放置您的描述。尽量限制在一两段话内,并可能提及您支持的PSRs,以避免用户和贡献者产生混淆。
安装
您可以通过composer安装此包
composer require creativehandles/blog-posts
用法
发布必需的文件(迁移、路由、视图等)到CORE CMS
php artisan vendor:publish --provider="Creativehandles\BlogPosts\BlogPostsServiceProvider"
添加以下环境变量。这是一个适用于所有包的全局变量。建议在CORE-CMS中设置。请勿更改
MEDIABLE_DISK=mediable
迁移数据库表
php artisan migrate
配置文件
"api" => [
'route_prefix' => 'api/v1/',
'middleware' => ['api']
],
"web" => [
'route_prefix' => 'plugins/',
'middleware' => ['web']
],
"IndexRoute" => "admin.posts.index",
"CreateRoute" => "admin.posts.create",
"EditRoute" => "admin.posts.edit",
"DeleteRoute" => "admin.posts.delete",
"resourceName" => "posts",
"StoreRoute" => "admin.posts.store",
"UpdateRoute" => "admin.posts.update",
"DestroyRoute" => "admin.posts.destroy",
"GridRoute" => "admin.posts.grid",
测试
composer test
变更日志
有关最近更改的更多信息,请参阅变更日志
贡献
有关详细信息,请参阅贡献
安全性
如果您发现任何与安全相关的问题,请通过电子邮件deemantha@creativehandles.com联系,而不是使用问题跟踪器。
致谢
许可证
MIT许可证(MIT)。有关更多信息,请参阅许可证文件
Laravel Package Boilerplate
此包使用Laravel Package Boilerplate生成。