yuricronos/volt-permission
最新稳定版本:1.2.1
Composer 安装命令:
composer require yuricronos/volt-permission
包简介
A permission management system built with Livewire, Volt, and Spatie, offering a seamless way to manage user roles and access control in real-time.
README 文档
README
A permission management system built with Livewire, Volt, and Spatie, offering a seamless way to manage user roles and access control in real-time.
Requirements
This package requires the following dependencies to function properly:
System Requirements
- PHP: ^8.2 | ^8.3 | ^8.4
- Laravel Framework: ^12.0
Required Packages
- Livewire Flux: ^2.1.1 (Essential UI component library)
- Livewire Volt: ^1.7.0 (For reactive components)
- Spatie Laravel Permission: ^6.0@dev (Core permission management)
- Laravel Tinker: ^2.10.1
Installation Note
⚠️ Important: This package heavily relies on Livewire Flux components for its user interface. Make sure you have Flux properly installed and configured in your Laravel application before using this package.
If you haven't installed Livewire Flux yet, you can add it to your project:
composer require livewire/flux
artisan command
Use the artisan command `vendor:publish` with the `--tag=volt-permission` option to publish the Volt Permission package's configuration, views, or other assets to your application's directory. This allows you to customize the package's behavior and appearance according to your application's requirements.
Example:
php artisan vendor:publish --tag=volt-permission
New Route Alias
When using the Volt Permission UI, a new route alias `volt.roles` is created. You can use this alias in your links to navigate to the roles management page seamlessly.
Example:
<a href="{{ route('volt.roles') }}">Manage Roles</a>
统计信息
- 总下载量: 6
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2025-10-03