webbundels/documentation
最新稳定版本:1.4.0
Composer 安装命令:
composer require webbundels/documentation
包简介
Documentation crud package
README 文档
README
Installation
- Add the package to your project.
composer require webbundels/documentation
- Migrate the database.
php artisan migrate
View permissions
- Add the method 'getDocumentationViewableAttribute' to your user model.
- Write logic in this method that determines if the user can view the documentation page.
public function getDocumentationViewableAttribute() :bool { return $this->can('view_documentation'); }
Edit permissions
- Add the method 'getDocumentationEditableAttribute' to your user model.
- Write logic in this method that determines if the user can edit the documentation page.
public function getDocumentationEditableAttribute() :bool { return $this->can('edit_documentation'); }
统计信息
- 总下载量: 108
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2020-10-09