First make sure that you have php 7.4 | 8.0 installed as well as composer. Then clone the repo and composer install the dependencies. Finally, spin up a local php server and navigate to http://localhost:8080 and follow along with the instructions.
git clone
cd oauth-php-example
composer install
php -S localhost:8080 -t .
This package is based on https://github.com/thephpleague/oauth1-client