PHPackages                             miljan9602/laravel-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. miljan9602/laravel-passport-cache-token

ActiveLibrary[Caching](/categories/caching)

miljan9602/laravel-passport-cache-token
=======================================

Make laravel/passport token cacheable.

v1.0(6y ago)03MITPHP

Since Jun 8Pushed 6y agoCompare

[ Source](https://github.com/Miljan9602/laravel-passport-cache-token)[ Packagist](https://packagist.org/packages/miljan9602/laravel-passport-cache-token)[ Fund](https://www.easywechat.com/img/pay/wechat.jpg)[ GitHub Sponsors](https://github.com/)[ RSS](/packages/miljan9602-laravel-passport-cache-token/feed)WikiDiscussions master Synced 3w ago

READMEChangelog (2)Dependencies (7)Versions (2)Used By (0)

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

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

 Make laravel/passport token cacheable..

Installing
----------

[](#installing)

```
$ composer require overtrue/laravel-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_token_',

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

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

Contributing
------------

[](#contributing)

You can contribute in one of three ways:

1. File bug reports using the [issue tracker](https://github.com/overtrue/laravel-passport-cache-token/issues).
2. Answer questions or fix bugs on the [issue tracker](https://github.com/overtrue/laravel-passport-cache-token/issues).
3. Contribute new features or update the wiki.

*The code contribution process is not very formal. You just need to make sure that you follow the PSR-0, PSR-1, and PSR-2 coding guidelines. Any new code contributions must be accompanied by unit tests where applicable.*

License
-------

[](#license)

MIT

###  Health Score

24

—

LowBetter than 31% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity3

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity56

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 83.3% 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

Unknown

Total

1

Last Release

2216d ago

### Community

Maintainers

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

---

Top Contributors

[![overtrue](https://avatars.githubusercontent.com/u/1472352?v=4)](https://github.com/overtrue "overtrue (5 commits)")[![Miljan9602](https://avatars.githubusercontent.com/u/19391119?v=4)](https://github.com/Miljan9602 "Miljan9602 (1 commits)")

###  Code Quality

TestsPHPUnit

Code StylePHP CS Fixer

### Embed Badge

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

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

###  Alternatives

[unopim/unopim

UnoPim Laravel PIM

10.5k2.4k](/packages/unopim-unopim)[grumpydictator/firefly-iii

Firefly III: a personal finances manager.

23.9k69.5k](/packages/grumpydictator-firefly-iii)[jeremy379/laravel-openid-connect

OpenID Connect support to the PHP League's OAuth2 Server. Compatible with Laravel Passport.

59437.0k9](/packages/jeremy379-laravel-openid-connect)[statamic-rad-pack/runway

Eloquently manage your database models in Statamic.

135224.7k7](/packages/statamic-rad-pack-runway)[api-platform/laravel

API Platform support for Laravel

58171.5k14](/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.

21318.6k3](/packages/ecotone-laravel)

PHPackages © 2026

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