Download the PHP package hexters/hexa-lite without Composer
On this page you can find all versions of the php package hexters/hexa-lite. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download hexters/hexa-lite
More information about hexters/hexa-lite
Files in hexters/hexa-lite
Package hexa-lite
Short Description Filament Hexa Lite is a effortless role and permission management plugin for Filament
License MIT
Informations about the package hexa-lite
Filament Hexa Lite - V2
Filament Hexa Lite is a free and developer-friendly role and permission management plugin for FilamentPHP.
It helps you manage user roles and access permissions across Resources, Pages, and Widgets — with support for multi-panel apps via custom guards.
Currently in version 2, Hexa Lite is more intuitive, customizable, and production-ready.
Versions
Version | Doc. |
---|---|
V1 | Read Doc. |
V2 | Read Doc. |
Index
- Installation
- Adding Role Selection
- Multi Panel Support
- Defining Permissions
- Access Control
- Check Permissions in Code
- Visible Access
- Laravel Integration
- Available Traits
- Features in Pro Version
- License
- Issues & Feedback
Installation
Install the package via Composer:
`
Run the database migration:
Register the plugin in your Filament panel:
Apply the trait to your User
model:
Adding Role Selection
To allow role assignment via the admin panel, add a select input to your UserResource
form:
Multi Panel Support
Hexa Lite supports multiple panels, each with its own auth guard
.
Configure guards in config/auth.php
.
Defining Permissions
Define permissions using the defineGates()
method on Resources, Pages, or Widgets:
Access Control
Users with no assigned role are treated as Superusers and have full access by default.
To restrict access to a resource:
Check Permissions in Code
Useful in queued jobs, commands, or background services:
Visible Access
Use visible()
to conditionally display UI elements:
Laravel Integration
You can still use Laravel’s native authorization:
Available Traits
Trait | Description |
---|---|
HexaLiteRolePermission |
Apply to your Authenticatable user model |
HasHexaLite |
Use in Resources, Pages, Widgets, or Clusters |
UuidGenerator |
Use on models with uuid fields |
UlidGenerator |
Use on models with ulid fields |
Features in Pro Version
Need more flexibility and control?
Filament Hexa Pro v2 unlocks powerful features designed for serious projects:
- Role & permission descriptions
- Custom role sorting
- Gate grouping (with nested access)
- Multi-tenancy support
- Meta option storage
All of this — starting at just $1 per license.
A small investment for a much more capable permission system.
Learn more in the official documentation:
👉 Hexa Pro Documentation
License
This project is open-source and licensed under the MIT License. You are free to use, modify, and distribute it with attribution.
Issues & Feedback
Found a bug or want to contribute?
Open an issue at: https://github.com/hexters/hexa-lite/issues
Thank you for using Filament Hexa Lite!