-
Notifications
You must be signed in to change notification settings - Fork 0
Home
Evan Sims edited this page Jun 12, 2025
·
9 revisions
Stop writing authorization logic. Start asking questions.
composer require evansims/openfga-php
Build your authorization integration
-
Introduction
Start here to get your first authorization check working. -
Installation
Install the SDK and set up your first authorization store. -
Authentication
Set up authentication for production environments and managed services.
Learn the core concepts and patterns
-
Stores
Manage authorization stores for multi-tenant applications and environment separation. -
Authorization Models
Learn how to define your permission rules using OpenFGA's intuitive DSL. -
Relationship Tuples
Understand how to grant and revoke specific permissions between users and resources. -
Permission Queries
Master the four types of queries: check permissions, list objects, find users, and expand relationships. -
Assertions
Define test cases to verify your authorization model.
Explore advanced features and patterns
-
Helper Functions
Simplify your code with convenient helper functions for common authorization operations. -
Concurrency
Leveraging the SDK's powerful concurrency features to improve performance when working with large-scale authorization operations. -
Exceptions
Handling errors and exceptions in your authorization system. -
Integration
Integrating OpenFGA with your existing systems and frameworks. -
Observability
Comprehensive tracing and metrics to monitor your authorization system. -
Results
Building robust applications with proper response handling using the SDK's Result pattern.
Essential Guides: Introduction • Installation • Authentication • Stores • Models • Tuples • Queries
Advanced Features: Helper Functions • Concurrency • Results • Exceptions • Observability • Integration
- 📖 Complete API Reference - Full class and method documentation
- 🚀 Quick Start Examples - Get up and running in minutes
- 🔧 Helper Functions - Convenient shortcuts for common operations
- 🧪 Testing Guide - Unit testing with the SDK
- 📊 Performance Guide - Optimize for high-scale applications
- 🐛 Report Issues - Bug reports and feature requests
- 💬 Discussions - Community support and questions
- 📝 Contributing - Help improve the SDK
- 🔄 Changelog - Latest updates and releases
- 🌐 OpenFGA Documentation - Official OpenFGA documentation
- 🎮 OpenFGA Playground - Interactive modeling environment
- 📚 Authorization Concepts - Learn relationship-based access control
- 🔗 Other SDKs - JavaScript, Go, Python, .NET, and more
OpenFGA PHP SDK • Apache 2.0 License • Version: composer show evansims/openfga-php | grep 'versions'