- Clone repo
- git clone https://github.com/withrizky/php-restapi-mysql-starter.git
- cd php-restapi-mysql-starter
- Instal dependencies
- composer install
- Setup Environment
- buat file .env seperti .env.example
- Jalankan server
- php -S localhost:8000 -t public
- test api
- GET http://localhost:8000/users (dapatkan seluruh user)