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.

Installs: 6

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 0

Forks: 0

Open Issues: 0

Language:Blade

pkg:composer/yuricronos/volt-permission

1.2.1 2025-10-16 07:32 UTC

This package is auto-updated.

Last update: 2025-12-16 08:03:38 UTC


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>