Download the PHP package jordanpartridge/filament-skeleton without Composer
On this page you can find all versions of the php package jordanpartridge/filament-skeleton. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download jordanpartridge/filament-skeleton
More information about jordanpartridge/filament-skeleton
Files in jordanpartridge/filament-skeleton
Package filament-skeleton
Short Description The skeleton application for the Laravel framework.
License MIT
Informations about the package filament-skeleton
Filament Skeleton
What's included
Filament template configured with some niceties
- Filament pre-installed with Panels
- Spatie Login Link added to login screen
- Filament Activity Log User event logging and restore functionality
- Advanced Permission Management System
Getting Started
Option 1: Use Template in Github
Permission Management System
The skeleton includes a robust permission management system built on top of Laravel's model system. This system provides fine-grained access control for all your models with minimal setup.
Key Features
- Automatic CRUD permission generation for models
- Role-based access control
- Flexible permission naming conventions
- Easy integration with Filament resources
- Permission caching for optimal performance
Basic Usage
-
Extend the BaseModel in your models:
- Check permissions in your code:
Custom Permissions
Add custom permissions beyond CRUD operations:
Middleware Integration
Protect your routes with the included middleware:
Permission Naming Convention
Permissions follow a consistent naming pattern:
view post
create post
update post
delete post
publish post
(custom)archive post
(custom)
Best Practices
-
Cache Permissions:
- Permissions are automatically cached
- Cache is invalidated on model updates
- Configurable cache duration
-
Role Organization:
- Create roles based on business domains
- Assign minimum required permissions
- Use role inheritance where appropriate
- Security Considerations:
- Always check permissions on both frontend and backend
- Use middleware for route protection
- Implement proper permission checking in Filament resources
Implementation Example
Here's a complete example of implementing permissions in a Filament resource:
Command Line Tools
The skeleton includes artisan commands for permission management:
Extending the System
You can extend the permission system by:
- Creating custom permission providers
- Adding new permission types
- Implementing custom caching strategies
- Adding permission inheritance
- Creating permission groups
For more detailed information, check the documentation.
All versions of filament-skeleton with dependencies
filament/filament Version ^3.2
laravel/framework Version ^11.9
laravel/tinker Version ^2.9
pxlrbt/filament-activity-log Version ^1.1
spatie/laravel-activitylog Version ^4.9
spatie/laravel-login-link Version ^1.3