givebutter/laravel-keyable
Givebutter's Laravel Keyable brings simple, secure API key authentication to Laravel apps. Add the HasApiKeys trait to any model, generate and hash keys, protect routes with middleware, and manage multiple keys per user with straightforward revocation and expiration.
KeyableAuthenticated event, making it possible to log successful API key authentication for audit trails, anomaly detection, and usage analytics without modifying package internals.KeyableAuthenticated event is a meaningful plus if you need audit logging, SIEM integration, or usage telemetry around API key authentication.For executives: This package gives us a faster, lower-risk path to API key authentication for partner/public API use cases. The latest patch adds an authentication event that improves auditability and monitoring, with no breaking changes. It is worth a time-boxed technical evaluation before committing to a custom build.
For engineering: v3.1.1 is a minor, non-breaking release that fires KeyableAuthenticated on successful authentication. That gives us a clean hook for logging and telemetry. The package is focused on Laravel model-backed API keys; it is not an OAuth2 or enterprise IAM solution, so we should validate fit against our security and scaling requirements before adoption.
How can I help you explore Laravel packages today?