Yii2 Advanced Application Template with RESTful API configured. Take a look at http://localhost/yii2-rest/ for more detail explanation
- Install composer packages
composer install
- Don't forget to create your database and table and configure it in common/config/main-local.php
Thanks