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

5.0.0(1mo ago)2296.5k↓32.4%2MITPHPPHP ^8.2CI passing

Since Feb 28Pushed 1mo ago1 watchersCompare

[ Source](https://github.com/shueisha-arts-and-digital/Ray.Auth0Module)[ Packagist](https://packagist.org/packages/ray/auth0-module)[ RSS](/packages/ray-auth0-module/feed)WikiDiscussions master Synced yesterday

READMEChangelog (8)Dependencies (37)Versions (13)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'),
            'audience' => [getenv('AUTH0_AUDIENCE')],
        ]));
    }
}
```

> **Note:** `cookieSecret`（`AUTH0_MANAGEMENT_COOKIE_SECRET`）は不要になりました。本モジュールは Auth0-PHP SDK の `api` / `management` / `none` strategy を使用しており、暗号化セッション Cookie の読み書きは行いません。既存の設定に `cookieSecret` が含まれていても無視されるだけで実害はありません。

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

60

—

FairBetter than 98% of packages

Maintenance94

Actively maintained with recent releases

Popularity39

Limited adoption so far

Community15

Small or concentrated contributor base

Maturity76

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

Recently: every ~231 days

Total

8

Last Release

30d 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

3.1.0 → 4.0.02026-05-29

4.0.0 → 5.0.02026-06-03

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

3.1.0PHP ^8.1

4.0.0PHP ^8.2

### 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)")[![momospnr](https://avatars.githubusercontent.com/u/1066913?v=4)](https://github.com/momospnr "momospnr (15 commits)")[![kuma-guy](https://avatars.githubusercontent.com/u/7978290?v=4)](https://github.com/kuma-guy "kuma-guy (14 commits)")[![Copilot](https://avatars.githubusercontent.com/in/1143301?v=4)](https://github.com/Copilot "Copilot (8 commits)")[![devin-ai-integration[bot]](https://avatars.githubusercontent.com/in/811515?v=4)](https://github.com/devin-ai-integration[bot] "devin-ai-integration[bot] (1 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

[aws/aws-sdk-php

AWS SDK for PHP - Use Amazon Web Services in your PHP project

6.3k543.5M2.6k](/packages/aws-aws-sdk-php)[shopware/platform

The Shopware e-commerce core

3.4k1.5M3](/packages/shopware-platform)[spatie/laravel-export

Create a static site bundle from a Laravel app

674146.0k6](/packages/spatie-laravel-export)[neuron-core/neuron-ai

The PHP Agentic Framework.

2.0k656.1k38](/packages/neuron-core-neuron-ai)[shopware/core

Shopware platform is the core for all Shopware ecommerce products.

585.6M572](/packages/shopware-core)[tencentcloud/tencentcloud-sdk-php

TencentCloudApi php sdk

3741.3M46](/packages/tencentcloud-tencentcloud-sdk-php)

PHPackages © 2026

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