Weave Code
Weaver
Helps Laravel developers discover, compare, and choose open-source packages. See popularity, security, maintainers, and scores at a glance to make better decisions.
Feedback
Share your thoughts, report bugs, or suggest improvements.
Subject
Message
Authlete Laravel

Authlete Laravel Laravel Package

authlete/authlete-laravel

Laravel integration for Authlete that helps you build OAuth 2.0 and OpenID Connect authorization servers. It connects Authlete’s APIs to Laravel routes and services for authorization, token issuance, introspection, and related flows.

View on GitHub
Deep Wiki
Context7

Authlete Library for Laravel

Frequently asked questions about Authlete Laravel
What is authlete/authlete-laravel and what problem does it solve?
It is the Laravel binding layer for Authlete, an API-driven authorization server. Your Laravel app keeps the user-facing parts (login, sessions, consent screens, claim assembly) while every protocol-level decision such as authorization request validation, token issuance, introspection, revocation and JWKS is delegated to Authlete's API. The package supplies the service provider, facade, configuration and the glue for calling Authlete from your controllers. It is worth using when you need genuine OAuth 2.0 and OpenID Connect conformance and do not want to own protocol correctness yourself.
Should I use authlete-laravel instead of Laravel Passport or Sanctum?
If your actual requirement is simple first-party API tokens, use Sanctum or Passport: they are cheaper, faster, and add no external dependency. authlete-laravel is aimed at teams building a real authorization server with conformance features such as PKCE, PAR, JARM, DPoP, CIBA and FAPI profiles. The decisive question is whether you accept that the authorization server's brain lives outside the Laravel process. That is a deliberate trade of control for protocol conformance.
How do I install and configure authlete-laravel?
Installation is conventional Composer work: run composer require authlete/authlete-laravel, let package auto-discovery register the service provider, publish the config with vendor:publish, and set environment variables for the Authlete service API key, secret and base URL. That surface is roughly a day of work. The real effort sits around the package: login and consent UI, mapping your user model to Authlete's subject identifier, claims enrichment, and logout semantics.
Which Laravel and PHP versions does authlete-laravel support?
The provided materials do not include a published compatibility matrix, so check the constraints in the package's composer.json before committing. Because Laravel ships a major release every year and this library's release cadence is unclear, you should plan to pin a version and be prepared to maintain a fork. Verify support against your current Laravel LTS during the initial spike rather than assuming it.
Does authlete-laravel ship ready-made authorization, token, JWKS, userinfo, introspection and revocation endpoints?
The package is best understood as a binding layer: service provider, facade, configuration, and the glue for calling Authlete from Laravel controllers. It does not replace the controller and UI work you must own, such as consent screens and claims assembly. Before adopting it, confirm in the repository which endpoints, if any, are provided out of the box versus which you are expected to implement. Treat any gaps as part of your delivery estimate.
How long does it take to get a production-ready Authlete and Laravel authorization server?
A realistic estimate is one to two days to reach a working spike against the Authlete sandbox. Production hardening typically takes four to eight weeks, and most of that is spent on login and consent UI, claims enrichment, session and logout semantics, key handling, and negative-path testing rather than on the package itself. Budget for conformance testing as its own workstream.
Is authlete-laravel safe to use in production and how mature is it?
The project has around 42 GitHub stars and zero dependents, which is not a community endorsement, and an OAuth or OIDC integration has a harsh failure mode: a subtle bug is an exploitable vulnerability rather than a cosmetic defect. Treat it as a reference accelerator to be reviewed line by line, not a trusted black box. The Apache-2.0 license is permissive but comes with no warranty and no obligation of support, so maintenance and security review are entirely yours.
How does my Laravel login, user model and consent screen connect to Authlete?
Your Laravel app remains the front end: it authenticates the user, manages the session, renders consent, and assembles claims, then calls Authlete for the protocol decisions. You are responsible for mapping your Eloquent user model or existing user provider to Authlete's subject identifier. Confirm early whether the package assumes a particular user provider, session driver or schema that conflicts with your application.
What happens if the Authlete API is unreachable, slow, or rate-limited?
The package does not define your fallback behavior; because every protocol decision is a remote call, Authlete's availability, latency and per-call pricing become properties of your login flow. You need explicit retry, timeout, circuit-breaker and error-handling strategy around those calls, plus tests for the failure paths. Review the commercial contract's SLA and per-API-call pricing at your expected authorization volume before going live.
How are Authlete service credentials and signing keys stored and rotated in a Laravel app?
Service API key and secret are supplied through the published configuration and environment variables, so standard Laravel practices such as an untracked .env and secret manager apply. Signing key storage and rotation for your Authlete service are not handled for you by the package and should be treated as your operational responsibility. Document a rotation procedure and test it before you rely on it in production.
Weaver

How can I help you explore Laravel packages today?

Conversation history is not saved when not logged in.
Prompt
Add packages to context
No packages found.
coleus/frame
thtg88/journalism
filagora/filagora-ai-forums
rlacerda83/query-parser
socialdept/atp-orm
cboxdk/laravel-assistant-client
socialdept/atp-resolver
socialdept/tenant-domains
tautvydasr/blade-class-names
socialdept/color-scales
maherelgamil/controller
coleus/widgets
coleus/table
coleus/users
coleus/music
coleus/health
coleus/calendar
coleus/notes
coleus/support
coleus/settings