persgeek/blog
最新稳定版本:0.8.0
Composer 安装命令:
composer require persgeek/blog
包简介
Blog
README 文档
README
This package provides a comprehensive solution for building blog websites using the Laravel framework.
How to install
composer require persgeek/blog
Edit config/database.php to ensure that all migrations are created in the correct order:
'migrations' => [ 'update_date_on_publish' => false ]
Specify the default authentication guard in your .env file:
AUTH_GUARD=sanctum
Specify the default filesystem disk in your .env file:
FILESYSTEM_DISK=public
Implement the UserContract in your User model to manage user's permission:
use PG\Blog\Contracts\UserContract; class User extends Authenticatable implements UserContract { public function canManageBlog() { return true; } }
统计信息
- 总下载量: 14
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2024-06-08