PHPackages                             gpibarra/lavarel-passport-purge-command - 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. gpibarra/lavarel-passport-purge-command

ActiveLibrary

gpibarra/lavarel-passport-purge-command
=======================================

This command purge expired access/refresh tokens for Laravel Passport

1.1.0(8y ago)014.3k↓100%MITPHP

Since Jan 4Pushed 8y agoCompare

[ Source](https://github.com/gpibarra/lavarel-passport-purge-command)[ Packagist](https://packagist.org/packages/gpibarra/lavarel-passport-purge-command)[ Docs](https://github.com/gpibarra/lavarel-passport-purge-command)[ RSS](/packages/gpibarra-lavarel-passport-purge-command/feed)WikiDiscussions master Synced today

READMEChangelog (1)Dependencies (2)Versions (3)Used By (0)

lavarel-passport-purge-command
==============================

[](#lavarel-passport-purge-command)

This command purge expired access/refresh tokens for Laravel Passport to not overload your database

Installation
------------

[](#installation)

- Install the command with composer :

```
composer require "gpibarra/lavarel-passport-purge-command"

```

- Add the command to your /config/app.php in the providers array or discover package in Laravel ^5.5:

```
'providers' => [
    \gpibarra\LavarelPassportPurgeCommand\LavarelPassportPurgeCommandServiceProvider::class
];

```

Usage
-----

[](#usage)

```
php artisan passport:purge

```

### Options

[](#options)

```
--days : Number of days the tokens must be expired, default 30.

```

###  Health Score

31

—

LowBetter than 70% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity20

Limited adoption so far

Community2

Small or concentrated contributor base

Maturity64

Established project with proven stability

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 ~66 days

Total

2

Last Release

2934d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/1041408f6c4a32695f23e358aa7ccb3b10b161dcbae85329c82b9403515632eb?d=identicon)[gpibarra](/maintainers/gpibarra)

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/gpibarra-lavarel-passport-purge-command/health.svg)

```
[![Health](https://phpackages.com/badges/gpibarra-lavarel-passport-purge-command/health.svg)](https://phpackages.com/packages/gpibarra-lavarel-passport-purge-command)
```

PHPackages © 2026

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