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. richardmichel/passport-cache-token

ActiveLibrary

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

v1.0.3(11mo ago)042MITPHPPHP ^7.3|^8.0

Since Feb 11Pushed 11mo 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 1mo ago

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

33

—

LowBetter than 75% of packages

Maintenance53

Moderate activity, may be stable

Popularity8

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity53

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

330d 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

[anourvalar/eloquent-serialize

Laravel Query Builder (Eloquent) serialization

11320.2M21](/packages/anourvalar-eloquent-serialize)[api-platform/laravel

API Platform support for Laravel

59126.4k6](/packages/api-platform-laravel)[codewithdennis/larament

Larament is a time-saving starter kit to quickly launch Laravel 13.x projects. It includes FilamentPHP 5.x pre-installed and configured, along with additional tools and features to streamline your development workflow.

3691.5k](/packages/codewithdennis-larament)

PHPackages © 2026

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