There is a new example available. It's a simple slim framework app that allows you to generate both application and user oauth tokens for the sandbox environment.
Before running the example you will need to configure your eBay developer account so that it can accept oauth tokens for the sandbox environment. This can be done by following the eBay documentation. When configuring the RuName you must use the following values for the URLs.
Auth Accepted URL https://127.0.0.1:8080/auth-accepted
Auth Declined URL https://127.0.0.1:8080/auth-declined
The SDK will need the value of the sandbox RuName. This value can be entered into the configuration.php file if you are using one. There is an example configuration file if you need to create one.
A very simple web server is provided so that the example can be ran over HTTPS. This can be started from the example root directory with the command
php oauth-tokens/index.php You should see
Listening on 127.0.0.1:8080 echoed on the terminal. Open your browser to https://127.0.0.1:8080 and use the various links to generate your oauth tokens.
One thing to be aware of is that I have not tried the example in Windows so it may not work.