Auth0 module for Zend Framework
Module to integrate Auth0 with Zend Framework projects.
Requirements
- PHP 7.0+
- auth0/auth0-php ^5.0.5
- psr/container ^1.0
- riskio/zf-authentication-auth0 ^1.0
- zendframework/zend-stdlib ^3.1
Installation
Auth0 module only officially supports installation through Composer. For Composer documentation, please refer to getcomposer.org.
You can install the module from command line:
$ composer require riskio/auth0-module
Enable the module by adding Auth0Module
key to your application.config.php
file.
Default configuration
<?php
return [
'auth0' => [
'account' => null,
'token' => null,
'client_id' => null,
'client_secret' => null,
'redirect_uri' => null,
],
];
Testing
$ vendor/bin/phpunit
Credits
License
The MIT License (MIT). Please see License File for more information.