Download the PHP package evansims/openfga-laravel without Composer
On this page you can find all versions of the php package evansims/openfga-laravel. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download evansims/openfga-laravel
More information about evansims/openfga-laravel
Files in evansims/openfga-laravel
Package openfga-laravel
Short Description Stop writing authorization logic. Start asking questions. OpenFGA high performance relationship-based access control for Laravel.
License Apache-2.0
Homepage https://github.com/evansims/openfga-laravel
Informations about the package openfga-laravel
Every app needs permissions. Most developers end up with authorization logic scattered across controllers, middleware, and business logic. Changes break things. New features require touching dozens of files.
OpenFGA solves this. Define your authorization rules once, query them anywhere. This package provides complete integration of OpenFGA and Auth0 FGA for Laravel applications.
- Eloquent Integration - Authorization methods on your models
- Middleware Protection - Secure routes with permission checks
- Blade Directives - Show/hide UI based on permissions
- Testing Utilities - Fake permissions in your tests
- Performance Optimized - Built-in caching and batch operations
- Queue Support - Async permission operations
- Multi-tenancy Ready - Multiple stores and connections
- Type Safe - PHP 8.3+ with strict typing and comprehensive generics
- Developer Friendly - Enhanced IDE support with detailed PHPDoc annotations
Installation
Publish the configuration:
Set your environment variables:
Usage Patterns
Quickstart
Let's implement a simple document sharing system with enhanced type safety.
Documentation
- Installation
- Quickstart
- Configuration
- Eloquent Integration
- Middleware
- Performance & Optimization
- Testing
- API Reference
- Cookbook & Recipes - Real-world implementation patterns
Related
Contributing
Contributions are welcome—have a look at our contributing guidelines.
All versions of openfga-laravel with dependencies
evansims/openfga-php Version ^1
illuminate/contracts Version ^12
illuminate/support Version ^12