PHPackages                             somemove/auth0-nette-extension - 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. somemove/auth0-nette-extension

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

somemove/auth0-nette-extension
==============================

Auth0 Nette Extension

1.3.0(6y ago)2631[1 issues](https://github.com/somemove/auth0-nette-extension/issues)MITPHPPHP ^7.2

Since Mar 10Pushed 2y ago3 watchersCompare

[ Source](https://github.com/somemove/auth0-nette-extension)[ Packagist](https://packagist.org/packages/somemove/auth0-nette-extension)[ RSS](/packages/somemove-auth0-nette-extension/feed)WikiDiscussions master Synced 2d ago

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

[![Latest Stable Version](https://camo.githubusercontent.com/056d2e5924c9b13d73a7b67cac22ec5ffd4b6635aa79271b11a5e061a7debf20/68747470733a2f2f706f7365722e707567782e6f72672f736f6d656d6f76652f61757468302d6e657474652d657874656e73696f6e2f762f737461626c65)](https://packagist.org/packages/somemove/auth0-nette-extension)[![Total Downloads](https://camo.githubusercontent.com/07d00de771c5e3c29dcd7289ba7c107cb10cb3fa6ed27932069cca8fc3c6c4ce/68747470733a2f2f706f7365722e707567782e6f72672f736f6d656d6f76652f61757468302d6e657474652d657874656e73696f6e6e2f646f776e6c6f616473)](https://packagist.org/packages/somemove/auth0-nette-extension)[![License](https://camo.githubusercontent.com/72d384868f3d2660cf95ddb65731cb157e0a8156add8c0fa2a7e9570d0fb65b6/68747470733a2f2f706f7365722e707567782e6f72672f736f6d656d6f76652f61757468302d6e657474652d657874656e73696f6e2f6c6963656e7365)](https://packagist.org/packages/somemove/auth0-nette-extension)

Auth0 Nette Extension
=====================

[](#auth0-nette-extension)

This is Auth0 authentication extension for [Nette framework](https://github.com/nette/nette).

It integrates [Auth0 PHP SDK](https://github.com/auth0/auth0-php).

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

[](#installation)

Download extension using Composer.

```
composer require somemove/auth0-nette-extension

```

```
extensions:
	auth0: \Somemove\Auth0NetteExtesion\DI\Auth0NetteExtesion

```

Configuration
-------------

[](#configuration)

Configure extension in your `config.neon` file:

```
auth0:
	'domain' : 'your.auth0.com'
	'audience' : 'https://audience.url'
	'scope' : 'openid profile offline_access'
	'client_id' : '{CLIENT_ID}'
	'client_secret' : '{CLIENT_SECRET}'
	'redirect_uri' : 'https://your.callback'

```

Following properties have defaults values in the extension and can be ommited in your configuration:

- `persist_user`
- `persist_access_token`
- `persist_refresh_token`
- `persist_id_token`
- `store`
- `state_handler`
- `debug`

In order to disable persistence of user, or tokens into Nette session object, either set `store` to `FALSE` for global setting or respective attribute to `FALSE`.

Usage
-----

[](#usage)

```
class YourPresenter extends Presenter {

	/**
	 * @var \Auth0\SDK\Auth0 @inject
	 */
	public $auth0;

	public function actionLogin() {
		$this->auth0->login();
	}

}
```

###  Health Score

26

—

LowBetter than 41% of packages

Maintenance10

Infrequent updates — may be unmaintained

Popularity12

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity62

Established project with proven stability

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

Recently: every ~133 days

Total

6

Last Release

2499d ago

PHP version history (2 changes)1.0.0PHP ^7.1

1.2.0PHP ^7.2

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/146057?v=4)[Josef Petrák](/maintainers/jspetrak)[@jspetrak](https://github.com/jspetrak)

---

Top Contributors

[![jspetrak](https://avatars.githubusercontent.com/u/146057?v=4)](https://github.com/jspetrak "jspetrak (46 commits)")

---

Tags

phpnettediextensionauth0

### Embed Badge

![Health badge](/badges/somemove-auth0-nette-extension/health.svg)

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

###  Alternatives

[auth0/symfony

Symfony SDK for Auth0 Authentication and Management APIs.

128814.6k](/packages/auth0-symfony)[auth0/login

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

2795.3M3](/packages/auth0-login)

PHPackages © 2026

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