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 1w 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

31

—

LowBetter than 65% of packages

Maintenance45

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

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

[unopim/unopim

UnoPim Laravel PIM

10.8k2.5k](/packages/unopim-unopim)[api-platform/laravel

API Platform support for Laravel

58190.1k21](/packages/api-platform-laravel)[ecotone/laravel

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

21327.3k4](/packages/ecotone-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.

4041.8k](/packages/codewithdennis-larament)[duncanmcclean/statamic-cargo

Comprehensive e-commerce addon for Statamic. Build bespoke e-commerce sites without the complexity.

3622.8k](/packages/duncanmcclean-statamic-cargo)

PHPackages © 2026

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