Use this template to start coding on reactphp stack! It's easy to use async php framework to do whatever you need..
- php 8.0
- composer 2.0
- node.js, npm LTS
Just create your methods inside __invoke
class function and add it to Methods
directory. the just install nodemon
and run the server.php
file..
> apt install nodejs npm
> npm install -g nodemon
> composer install
> nodemon server.php