Simple Php Api training
You must have php installed
-
macos
brew install php
-
arch linux with yay (for pacman just replace)
yay -S php
You must have composer installed. Follow the official docs here
php composer.phar install
php -S 127.0.0.1:8000 -t public
curl 'http://localhost:8000'