Integrating FlagPal into Your Application¶
Once you've created a project and API token, you're ready to connect FlagPal to your codebase. There are two ways to do it: through the API directly, or with one of our SDKs.
Direct API Integration¶
Every request to FlagPal — fetching feature flags, recording metrics, managing actors — goes through our API, authenticated with your API token as a bearer token. It's a universal approach: any language or framework that can make an HTTP request can integrate with FlagPal directly.
See the full API Reference for every available endpoint.
SDKs & Clients¶
If you'd rather not talk to the API directly, we maintain official SDKs that handle authentication, caching, and idiomatic usage for you:
| Client | Language / Framework | Link |
|---|---|---|
| FlagPal for Laravel | PHP (Laravel) | GitHub |
More SDKs on the Way 🎉
We're actively building out SDKs for more languages and frameworks, so keep an eye out! If yours isn't covered yet, the direct API integration will always be there for you in the meantime, and it's a great option in its own right.