PHPackages                             lukepolo/laravel-passport-one-time-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. [Authentication &amp; Authorization](/categories/authentication)
4. /
5. lukepolo/laravel-passport-one-time-token

ActiveLibrary[Authentication &amp; Authorization](/categories/authentication)

lukepolo/laravel-passport-one-time-token
========================================

Gives the ability to create one time tokens easily with Laravel Passport

0.1.0(7y ago)41933MITPHPPHP ^7.1.3

Since Aug 24Pushed 6y ago1 watchersCompare

[ Source](https://github.com/lukepolo/laravel-passport-one-time-token)[ Packagist](https://packagist.org/packages/lukepolo/laravel-passport-one-time-token)[ Docs](https://github.com/lukepolo/laravel-passport-one-time-token)[ RSS](/packages/lukepolo-laravel-passport-one-time-token/feed)WikiDiscussions master Synced yesterday

READMEChangelog (5)Dependencies (4)Versions (5)Used By (0)

Laravel One Time Password
=========================

[](#laravel-one-time-password)

Quickly allows you to create one time personal access tokens, that are revoked after one use.

Laravel compatibility
---------------------

[](#laravel-compatibility)

LaravelLaravel One Time Token5.4+^0.1.0Installation
------------

[](#installation)

Install the package through [Composer](http://getcomposer.org/). Edit your project's `composer.json` file by adding:

```
{
    "require": {
        ........,
        "lukepolo/laravel-passport-one-time-token": "^0.0.3"
    }
}

```

If using 5.4 you will need to include the service providers / facade in `app/config/app.php`:

```
    LukePOLO\LaravelPassportOneTimeToken\ServiceProvider::class,
```

Copy over the configuration file by running the command:

```
    php artisan vendor:publish --provider='LukePOLO\LaravelPassportOneTimeToken\ServiceProvider'
```

### Requirements

[](#requirements)

Out of the box we provided some defaults to get you started.

1. The user must be logged in
2. Middleware
    - The default middleware assumes you are consuming this with `auth:api`.
    - You can change this in your config
3. Created at least one Personal Token client.

### Usage

[](#usage)

Make a post to

```
    oauth/one-time/create

```

This will send back your token, which you can use to make another request. Once used it will be revoked.

License
-------

[](#license)

MIT

###  Health Score

27

—

LowBetter than 49% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity17

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity51

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

Total

5

Last Release

2563d ago

PHP version history (2 changes)0.0.1PHP &gt;=5.6

0.1.0PHP ^7.1.3

### Community

Maintainers

![](https://www.gravatar.com/avatar/08cad1b560e2a99f9778b62506d9e82d34e6f4ec638e11d27ce7e61081130363?d=identicon)[lukepolo](/maintainers/lukepolo)

---

Top Contributors

[![lukepolo](https://avatars.githubusercontent.com/u/2066668?v=4)](https://github.com/lukepolo "lukepolo (11 commits)")

---

Tags

laravelpassportone time token

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/lukepolo-laravel-passport-one-time-token/health.svg)

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

###  Alternatives

[jeremy379/laravel-openid-connect

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

55342.3k2](/packages/jeremy379-laravel-openid-connect)[corbosman/laravel-passport-claims

Add claims to Laravel Passport JWT Tokens

88655.9k](/packages/corbosman-laravel-passport-claims)[danjdewhurst/laravel-passport-facebook-login

Facebook Token Request Grant for Laravel Passport

2824.4k](/packages/danjdewhurst-laravel-passport-facebook-login)[mikemclin/passport-custom-request-grant

Custom Request Grant for Laravel Passport

343.6k](/packages/mikemclin-passport-custom-request-grant)

PHPackages © 2026

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