Auth0 PHP Test
This "app" was made to explore, test, and develop the Auth0 PHP SDK.
This project uses Composer to autoload Auth0 and the classes it uses. Clone this repo somewhere and
cd into it. Once that is complete, install Composer (if installed globally):
Otherwise, download Composer locally and run:
php composer.phar install
example.env file to
.env and replace the values there with what's on your Application settings screen in the Auth0 dashboard (click Create Application if you're starting from scratch).
Now clone the Auth0 repo and composer install there:
> git clone https://github.com/auth0/auth0-PHP.git auth0 > cd auth0 > composer install > cd ..
Now, run the built-in PHP server and you're ready to go:
php -S localhost:5000
Visit http://localhost:5000 in your browser and you should see something like this:
Everything is loaded up in
bootstrap.php and output in
/classes/ directory contains simple examples of how to use the Management API and you'll see those output at the bottom of
All the code samples in the SDK README are here in files prefixed with
readme- so you can run and modify them yourself.