PHPackages                             ray/auth0-module - 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. ray/auth0-module

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

ray/auth0-module
================

auth0 module for Ray.Di

3.1.0(6mo ago)2275.4k—6.4%2MITPHPPHP ^8.1CI passing

Since Feb 28Pushed 6mo ago1 watchersCompare

[ Source](https://github.com/kuma-guy/Ray.Auth0Module)[ Packagist](https://packagist.org/packages/ray/auth0-module)[ RSS](/packages/ray-auth0-module/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (6)Dependencies (13)Versions (8)Used By (0)

Ray.Auth0Module
===============

[](#rayauth0module)

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

[](#installation)

### Composer install

[](#composer-install)

```
$ composer require ray/auth0-module

```

### Module install

[](#module-install)

```
use Ray\Di\AbstractModule;
use Ray\Auth0Module\Auth0Module;

class AppModule extends AbstractModule
{
    protected function configure()
    {
        $this->install(new Auth0Module([
            'domain' => getenv('AUTH0_DOMAIN'),
            'clientId' => getenv('AUTH0_MANAGEMENT_CLIENT_ID'),
            'clientSecret' => getenv('AUTH0_MANAGEMENT_CLIENT_SECRET'),
            'cookieSecret' => getenv('AUTH0_MANAGEMENT_COOKIE_SECRET'),
        ]));
    }
}
```

Usage
-----

[](#usage)

```
class User extends ResourceObject
{
    public function __construct() {
        private Management $managementClient;
    }()

    public function onPost(): static
    {
        // ....
        $this->managementClient->users()->create([
            'connection' => CONNECTION_NAME,
            'email' => $email,
            'email_verified' => true,
            'name' => $name,
            'password' => $initialPassword,
        ]);
}
```

See more at

###  Health Score

52

—

FairBetter than 96% of packages

Maintenance69

Regular maintenance activity

Popularity38

Limited adoption so far

Community13

Small or concentrated contributor base

Maturity70

Established project with proven stability

 Bus Factor2

2 contributors hold 50%+ of commits

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

Recently: every ~317 days

Total

6

Last Release

181d ago

Major Versions

0.1.0 → 1.0.02022-05-30

1.1.0 → 2.0.02023-11-21

2.0.0 → 3.0.02024-11-17

PHP version history (2 changes)1.0.0PHP ^7.3 || ^8.0

3.1.0PHP ^8.1

### Community

Maintainers

![](https://www.gravatar.com/avatar/3edf42babdb017f2ec023b6cad24e3db1eacf0941bf97ea10bbd32978c3dd8be?d=identicon)[shingo-kumagai](/maintainers/shingo-kumagai)

---

Top Contributors

[![koriym](https://avatars.githubusercontent.com/u/529021?v=4)](https://github.com/koriym "koriym (16 commits)")[![kuma-guy](https://avatars.githubusercontent.com/u/7978290?v=4)](https://github.com/kuma-guy "kuma-guy (14 commits)")[![momospnr](https://avatars.githubusercontent.com/u/1066913?v=4)](https://github.com/momospnr "momospnr (6 commits)")[![yuki777](https://avatars.githubusercontent.com/u/177159?v=4)](https://github.com/yuki777 "yuki777 (1 commits)")

###  Code Quality

TestsPHPUnit

Static AnalysisPHPStan

Code StylePHP CS Fixer

Type Coverage Yes

### Embed Badge

![Health badge](/badges/ray-auth0-module/health.svg)

```
[![Health](https://phpackages.com/badges/ray-auth0-module/health.svg)](https://phpackages.com/packages/ray-auth0-module)
```

###  Alternatives

[nl.idaas/openid-server

OpenID Connect server for PHP

47129.2k1](/packages/nlidaas-openid-server)[heptacom/shopware-platform-admin-open-auth

Shopware plugin to allow OAuth providers to provide admin logins

35133.7k](/packages/heptacom-shopware-platform-admin-open-auth)[descope/descope-php

Descope SDK for PHP

3814.0k](/packages/descope-descope-php)[truckersmp/steam-socialite

Laravel Socialite provider for Steam OpenID.

1516.7k](/packages/truckersmp-steam-socialite)

PHPackages © 2026

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