idoneo/humano-access-control
最新稳定版本:v0.1.2
Composer 安装命令:
composer require idoneo/humano-access-control
包简介
Roles & permissions management
README 文档
README
Roles & permissions management for Laravel (Vuexy UI).
Installation
composer require idoneo/humano-access-control
Usage
- Routes:
/app/access-roles/app/access-permission
Permissions matrix (CRUD)
The role editor shows actions in this order: Read, Create, Update, Delete.
- Read: groups
show,index,list,view - Create: groups
create,store - Update: groups
edit,update - Delete: groups
destroy,delete,remove
Translatable module labels
Each module (permission prefix before the first dot) has a translatable label. Resolution order:
- Database translations via
TranslationHelper::transGroup($key, 'modules') - Language files (
lang/<locale>.json) with keymodules.<key> - Fallback:
ucfirst(<key>)
Example (file-based):
{
"modules.academy": "Academy",
"modules.accounting": "Accounting"
}
With DB translations, create group modules and keys like academy, accounting, etc.
Dependencies
This package relies on:
spatie/laravel-permissionfor roles/permissionsyajra/laravel-datatables-oraclefor listings
Support
If you find this package useful, you can support the maintainer on GitHub.
- Maintainer: diego-mascarenhas
License
Licensed under the GNU Affero General Public License v3.0 (AGPL‑3.0). See the official text: GNU AGPLv3.
统计信息
- 总下载量: 18
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: AGPL-3.0
- 更新时间: 2025-09-17