bkremenovic/eloquent-tokens
Eloquent Tokens adds simple API token authentication to Laravel Eloquent models. Generate and hash tokens, assign abilities, set expirations, and verify incoming requests through a lightweight trait, with no extra guards or heavy configuration required.
bkremenovic/eloquent-tokens is a lightweight package for issuing and validating tokens against your Eloquent models. Drop a trait onto a model and it gains a token relationship, letting you generate API keys, personal access tokens, or invite links directly from your domain layer without adopting a full authentication scaffolding.
How can I help you explore Laravel packages today?