PHPackages                             richardmichel/passport-cache-token - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Caching](/categories/caching)
4. /
5. richardmichel/passport-cache-token

ActiveLibrary[Caching](/categories/caching)

richardmichel/passport-cache-token
==================================

v1.0.3(1y ago)042MITPHPPHP ^7.3|^8.0

Since Feb 11Pushed 1y ago1 watchersCompare

[ Source](https://github.com/richardmichel/passport-cache-token)[ Packagist](https://packagist.org/packages/richardmichel/passport-cache-token)[ RSS](/packages/richardmichel-passport-cache-token/feed)WikiDiscussions main Synced today

READMEChangelogDependencies (1)Versions (5)Used By (0)

Laravel Passport Cache Token
============================

[](#laravel-passport-cache-token)

Make [laravel/passport](https://github.com/laravel/passport) token cacheable.

Installing
----------

[](#installing)

```
$ composer require richardmichel/passport-cache-token -vvv
```

Usage
-----

[](#usage)

Thanks to Laravel's automatic package discovery mechanism, you don't need to do any additional operations.

Of course, you can also control the cache strategy freely, just need to configure the following in the configuration file:

**config/passport.php**

```
return [
    //...
    'cache' => [
        // Cache key prefix
        'prefix' => 'passport_',

        // The lifetime of token cache,
        // Unit: second
        'expires_in' => 300,

        // Cache tags
        'tags' => [],
    ],
];
```

###  Health Score

32

—

LowBetter than 69% of packages

Maintenance48

Moderate activity, may be stable

Popularity8

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity54

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~285 days

Total

4

Last Release

383d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/e4816c9854c709d9a1eae6528f30c643f5199be68b6b89d610655d9aac7ec22f?d=identicon)[richardmichel](/maintainers/richardmichel)

---

Top Contributors

[![richardmichel](https://avatars.githubusercontent.com/u/9688695?v=4)](https://github.com/richardmichel "richardmichel (8 commits)")

---

Tags

laravelrichardmichel

### Embed Badge

![Health badge](/badges/richardmichel-passport-cache-token/health.svg)

```
[![Health](https://phpackages.com/badges/richardmichel-passport-cache-token/health.svg)](https://phpackages.com/packages/richardmichel-passport-cache-token)
```

###  Alternatives

[laravel/octane

Supercharge your Laravel application's performance.

4.0k26.6M218](/packages/laravel-octane)[unopim/unopim

UnoPim Laravel PIM

10.5k2.4k](/packages/unopim-unopim)[anourvalar/eloquent-serialize

Laravel Query Builder (Eloquent) serialization

11223.5M33](/packages/anourvalar-eloquent-serialize)[typicms/base

A modular multilingual CMS built with Laravel, enabling developers to manage structured content like pages, news, events, and more.

1.6k20.4k](/packages/typicms-base)[swayok/alternative-laravel-cache

Replacements for Laravel's redis and file cache stores that properly implement tagging idea. Powered by cache pool implementations provided by http://www.php-cache.com/

202583.7k8](/packages/swayok-alternative-laravel-cache)[ecotone/laravel

Ecotone for Laravel — CQRS, Event Sourcing, Sagas, Durable Workflows, and Outbox on top of Laravel Queue, via PHP attributes.

21318.6k3](/packages/ecotone-laravel)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
