Start here!
There are some usage examples.
See more here - satahippy/fake-api-server.
Via Composer Installer:
composer create-project satahippy/fake-api-server-scaff --prefer-dist
Run in the installation directory:
php -S localhost:8005 router.php
Now you can request your fake server via http://localhost:8005