Skip to content
This repository was archived by the owner on Nov 7, 2025. It is now read-only.

v1.0.0

Choose a tag to compare

@evansims evansims released this 29 May 06:23
· 252 commits to main since this release
85e9c82

First release takes flight,
OpenFGA PHP shines bright,
Auth made clean and light.

Introducing the OpenFGA PHP SDK

We're excited to release the first stable version of the OpenFGA PHP SDK - a modern, type-safe way
to add fine-grained authorization to your PHP applications.

Core Features

  • Complete OpenFGA API coverage
    Every OpenFGA endpoint is supported, fully typed, and ready to use.
    Whether you're checking permissions, managing stores, or writing tuples,
    we've got you covered with a clean, intuitive API.
  • Works with any HTTP client
    Built on PSR-7/17/18 standards, the SDK works with whatever HTTP client you're already using -
    Guzzle, Symfony HttpClient, or any PSR-18 compatible client. No forced dependencies.
  • Human-readable authorization models
    Write your authorization models in OpenFGA's DSL syntax.
    Our transformer handles the conversion and validates your models before deployment.
  • Comprehensive validation with helpful errors
    Every request and response is validated against OpenFGA's schemas.
    When something goes wrong, you get clear, actionable error messages that tell you exactly what to fix.
  • Built for modern PHP
    Takes full advantage of modern language features like named arguments, union types, and enums.
    Your IDE will love the strict typing and interface-first design.
  • Battle-tested reliability
    Over 95% test coverage including integration tests against real OpenFGA instances
    and contract tests to ensure compatibility. We test against multiple PHP versions
    and OpenFGA releases to ensure stability.
  • Authentication flexibility
    Support for multiple authentication methods including pre-shared keys and client credentials.
  • Rich documentation
    Comprehensive guides, API documentation, and real-world examples.
    Start with our quickstart guide to get up and running in minutes.