A simple example of a implementation of STAIL.EU Accounts in a website using php.
- Copy or clone the code in this repository
- Install the one dependency by using composer:
composer install
- Configure the App Public Id and the App Secret token in the
base.php
file, change also the redirect uri/url depending of what port the server will listen - Start a php development server by using this command:
php -S 0.0.0.0:80
(you can choose any port you want) - Open your browser at
http://localhost:80
- Enjoy this example!
The complete documentation of the staileu php sdk is located here
You can also view the github repository of the STAIL.EU PHP SDK
Join us in our discord server, ask us on twitter