PHPackages                             vinelab/oauth-clients-generator-redis - 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. [Database &amp; ORM](/categories/database)
4. /
5. vinelab/oauth-clients-generator-redis

ActiveLibrary[Database &amp; ORM](/categories/database)

vinelab/oauth-clients-generator-redis
=====================================

Redis Client Generator for the League's PHP OAuth 2.0 server

1.0.0(10y ago)16MITPHP

Since Mar 17Pushed 10y ago4 watchersCompare

[ Source](https://github.com/Vinelab/oauth-clients-generator-redis)[ Packagist](https://packagist.org/packages/vinelab/oauth-clients-generator-redis)[ RSS](/packages/vinelab-oauth-clients-generator-redis/feed)WikiDiscussions master Synced 2mo ago

READMEChangelog (3)Dependencies (6)Versions (6)Used By (0)

Redis OAuth2 Client Generator
=============================

[](#redis-oauth2-client-generator)

[![alt tag](https://camo.githubusercontent.com/70e49c171ffae07fcf03a6a44ebfa28c2307247b66c52da267b736971ef18e58/687474703a2f2f6f6936382e74696e797069632e636f6d2f327535386a64692e6a7067)](https://camo.githubusercontent.com/70e49c171ffae07fcf03a6a44ebfa28c2307247b66c52da267b736971ef18e58/687474703a2f2f6f6936382e74696e797069632e636f6d2f327535386a64692e6a7067)

Redis Client Generator to be used with ThePhpLeague's OAuth2 Package

Quick Reference
---------------

[](#quick-reference)

- [Installation](#installation)
- [Commands](#commands)

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

[](#installation)

#### Composer

[](#composer)

Use the command:

```
composer require vinelab/oauth-clients-generator-redis

```

otherwise, add:

`"vinelab/oauth-clients-generator-redis": "dev-master"`

to your `composer.json` file and do a `composer update`.

Commands
--------

[](#commands)

Client Generator comes with a handy command line tool for usage straight from the command line. Once you install using composer an `oauth` binary will be in your `vendor/bin/`. To make things easier you can run

`export PATH="./vendor/bin:$PATH"` to use `oauth` straight instead of `./vendor/bin/oauth`

use `oauth list` for a list of available commands and `oauth --help [command]` for more info about each of them.

##### Commands

[](#commands-1)

- `oauth`
    - **Options**
        - `clients:create`: Create a new client
        - `clients:delete`: Delete a specific client
        - `clients:list`: List all available clients
        - `clients:fetch`: Fetch a specific client
            - `--show-secret`: Show a specific client's secret
        - `clients:regenerate-secret`: Re-generate a client's secret

#### Create Client

[](#create-client)

In order to create a new client, use the command:

`oauth clients:create {name} {password} {redirect_uri = ''} {grantType = 'client_credentials'}`,

where:

`name` =&gt; The name of the application \[**REQUIRED**\],

`password` =&gt; A password to use when you need to delete a client or re-generate his secret \[**REQUIRED**\],

`redirect_uri` =&gt; The redirect URI you want to make use of \[**OPTIONAL**\],

`grantType` =&gt; The grant type you want to use \[**OPTIONAL**\]

#### Delete Client

[](#delete-client)

In order to delete a specific client, use the command:

`oauth clients:delete {client_id} {password}`,

where:

`client_id` =&gt; The client's id \[**REQUIRED**\],

`password` =&gt; The password the user used when created the client \[**REQUIRED**\]

#### List Clients

[](#list-clients)

In order to list all available clients, use the command:

`oauth clients:list`.

#### Fetch Client (or client's secret)

[](#fetch-client-or-clients-secret)

In order to fetch a specific client or just fetch a client's secret, use the command:

`oauth clients:fetch {client_id}`,

where:

`client_id` =&gt; The client's id \[**REQUIRED**\],

and in case you want to fetch a specific user's secret, you can use the `--show-secret` flag in the command:

eg. `oauth clients:fetch {client_id} --show-secret {password}`

where:

`password` =&gt; The password the user used when created the client \[**REQUIRED**\]

#### Re-generate Client's Secret

[](#re-generate-clients-secret)

In order to re-generate a specific client's secret, use the command:

`oauth clients:regenerate-secret {client_id} {password}`,

where:

`client_id` =&gt; The client's id \[**REQUIRED**\],

`password` =&gt; The password the user used when created the client \[**REQUIRED**\]

###  Health Score

29

—

LowBetter than 60% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community12

Small or concentrated contributor base

Maturity67

Established project with proven stability

 Bus Factor1

Top contributor holds 53.8% 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 ~2 days

Total

3

Last Release

3705d ago

Major Versions

v0.2.0 → 1.0.02016-03-21

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/4564469?v=4)[Sociata](/maintainers/Vinelab)[@Vinelab](https://github.com/Vinelab)

---

Top Contributors

[![harris21](https://avatars.githubusercontent.com/u/1542015?v=4)](https://github.com/harris21 "harris21 (43 commits)")[![KinaneD](https://avatars.githubusercontent.com/u/12595235?v=4)](https://github.com/KinaneD "KinaneD (36 commits)")[![Mulkave](https://avatars.githubusercontent.com/u/2647333?v=4)](https://github.com/Mulkave "Mulkave (1 commits)")

---

Tags

clientdatabaseredisoauth2client-generator

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/vinelab-oauth-clients-generator-redis/health.svg)

```
[![Health](https://phpackages.com/badges/vinelab-oauth-clients-generator-redis/health.svg)](https://phpackages.com/packages/vinelab-oauth-clients-generator-redis)
```

###  Alternatives

[spatie/laravel-backup

A Laravel package to backup your application

6.0k21.8M191](/packages/spatie-laravel-backup)[clue/redis-react

Async Redis client implementation, built on top of ReactPHP.

28210.5M45](/packages/clue-redis-react)[basho/riak

Official Riak client for PHP

159246.7k7](/packages/basho-riak)[mroosz/php-cassandra

A pure-PHP client for Apache Cassandra and ScyllaDB with support for CQL binary protocol v3, v4 and v5 (Cassandra 2.1+ incl. 3.x-5.x; ScyllaDB 6.2 and 2025.x), synchronous and asynchronous APIs, prepared statements, batches, result iterators, object mapping, SSL/TLS, and LZ4 compression.

205.6k2](/packages/mroosz-php-cassandra)[perplorm/perpl

Perpl is an improved and still maintained fork of Propel2, an open-source Object-Relational Mapping (ORM) for PHP.

203.7k](/packages/perplorm-perpl)

PHPackages © 2026

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