abe/cache-for-laravel-sanctum
A lightweight Laravel package that adds caching to Sanctum token lookups, reducing database queries on authenticated requests. Speeds up API auth for high-traffic apps while keeping Sanctum's token behavior intact. Easy to install and configure.
PersonalAccessToken/token-finder override. However, it is an optimization layer, not a core auth component, and should not become the system of record for token validity.PersonalAccessToken model. Wire invalidation into token creation, revocation, logout, expiration, and user/token updates. Keep a feature flag and database fallback.How can I help you explore Laravel packages today?