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

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

salt/auth0
==========

Package which sets up Auth0 authentication for our Laravel applications

0.0.9(3y ago)0172[3 PRs](https://github.com/salthq/salt-auth0/pulls)MITPHPPHP ^8.0

Since Feb 9Pushed 2y ago3 watchersCompare

[ Source](https://github.com/salthq/salt-auth0)[ Packagist](https://packagist.org/packages/salt/auth0)[ Docs](https://github.com/salt/auth)[ GitHub Sponsors](https://github.com/salt)[ RSS](/packages/salt-auth0/feed)WikiDiscussions main Synced 1mo ago

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

[![Latest Version on Packagist](https://camo.githubusercontent.com/728434f4f58741e1a79cb7c82a80ada13b569ee6eefc78683d72a0f079e202af/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f73616c742f61757468302e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/salt/auth0)[![GitHub Tests Action Status](https://camo.githubusercontent.com/43c0a436bc77e39882af1f9c06d05ccc50b32866bb71429057b2f9e3a439b0f4/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f776f726b666c6f772f7374617475732f73616c742f617574682f72756e2d74657374733f6c6162656c3d7465737473)](https://github.com/pango-studio/salt-auth0/actions?query=workflow%3Arun-tests+branch%3Amain)[![GitHub Code Style Action Status](https://camo.githubusercontent.com/b6ab91825da77429e5a04877e4684576aeef04dd13ade6c4615075cc078d49a2/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f776f726b666c6f772f7374617475732f73616c742f617574682f436865636b253230262532306669782532307374796c696e673f6c6162656c3d636f64652532307374796c65)](https://github.com/pango-studio/salt-auth0/auth/actions?query=workflow%3A%22Check+%26+fix+styling%22+branch%3Amain)[![Total Downloads](https://camo.githubusercontent.com/e069c7e1739e9b5c031dd734bb5f25c5f5dfb2f30cb188f3a337f1e2efa58f63/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f73616c742f617574682e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/salt/auth0)

This package adds some helper classes for integrating Laravel applications with Auth0

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

[](#installation)

You can install the package via composer:

```
composer require salt/auth0
```

You can publish and run the migrations with:

```
php artisan vendor:publish --tag="auth0-migrations"
php artisan migrate
```

You can publish the config file with:

```
php artisan vendor:publish --tag="auth0-config"
```

This is the contents of the published config file:

```
return [
    'app' => array(
        'client_id' => env('AUTH0_CLIENT_ID', ''),
        'client_secret' => env('AUTH0_CLIENT_SECRET', ''),
        'db_connection' => env('AUTH0_DB_CONNECTION', '')
    ),
    'api' => array(
        'audience' => env('API_MACHINE_AUDIENCE', ''),
        'client_id' => env('AUTH0_MACHINE_CLIENT_ID', ''),
        'client_secret' => env('AUTH0_MACHINE_CLIENT_SECRET', ''),
        'domain' => env('AUTH0_MACHINE_DOMAIN')
    ),
    'url' => env('APP_URL', '')
];
```

Optionally, you can publish the views using

```
php artisan vendor:publish --tag="auth0-views"
```

Documentation
-------------

[](#documentation)

[View the documentation for this package here](https://salt-auth0-package.netlify.app/)

Testing
-------

[](#testing)

```
composer test
```

Releasing a new version
-----------------------

[](#releasing-a-new-version)

To release a new version, first create a tag on the `main` branch with the new version number. E.g "1.0.1":

```
git tag -a 1.0.1 -m "Release version 1.0.1"

```

Then push that tag up to GitHub:

```
git push origin 1.0.1

```

A new version will automatically be created on packagist which will then be available for installation.

Changelog
---------

[](#changelog)

Please see [CHANGELOG](CHANGELOG.md) for more information on what has changed recently.

Contributing
------------

[](#contributing)

Please see [CONTRIBUTING](.github/CONTRIBUTING.md) for details.

Security Vulnerabilities
------------------------

[](#security-vulnerabilities)

Please review [our security policy](../../security/policy) on how to report security vulnerabilities.

Credits
-------

[](#credits)

- [Salt](https://github.com/pango-studio)
- [All Contributors](../../contributors)

###  Health Score

25

—

LowBetter than 37% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity10

Limited adoption so far

Community13

Small or concentrated contributor base

Maturity51

Maturing project, gaining track record

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

Recently: every ~38 days

Total

9

Last Release

1385d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/efecdfde441c5f2c2ca2427b9e1685f10efba157b4b1097b017af541a49a7328?d=identicon)[cwbmuller](/maintainers/cwbmuller)

---

Top Contributors

[![JasonTame](https://avatars.githubusercontent.com/u/15672948?v=4)](https://github.com/JasonTame "JasonTame (14 commits)")[![lukesiedle](https://avatars.githubusercontent.com/u/1730288?v=4)](https://github.com/lukesiedle "lukesiedle (13 commits)")[![dependabot[bot]](https://avatars.githubusercontent.com/in/29110?v=4)](https://github.com/dependabot[bot] "dependabot[bot] (12 commits)")[![github-actions[bot]](https://avatars.githubusercontent.com/in/15368?v=4)](https://github.com/github-actions[bot] "github-actions[bot] (11 commits)")

---

Tags

laravelauth0salt

###  Code Quality

TestsPest

### Embed Badge

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

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

###  Alternatives

[bezhansalleh/filament-shield

Filament support for `spatie/laravel-permission`.

2.8k2.9M88](/packages/bezhansalleh-filament-shield)[auth0/login

Auth0 Laravel SDK. Straight-forward and tested methods for implementing authentication, and accessing Auth0's Management API endpoints.

2745.0M3](/packages/auth0-login)[spatie/laravel-login-link

Quickly login to your local environment

4381.2M1](/packages/spatie-laravel-login-link)[ryangjchandler/laravel-cloudflare-turnstile

A simple package to help integrate Cloudflare Turnstile.

438896.6k2](/packages/ryangjchandler-laravel-cloudflare-turnstile)[njoguamos/laravel-turnstile

A laravel wrapper for https://developers.cloudflare.com/turnstile/

2315.9k2](/packages/njoguamos-laravel-turnstile)[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)
