In this video, we will build a REST API using Yii2 PHP framework. If you do not have experience previously working on Yii2 framework, I recommend to check out my "Yii2 Crash course" video before watching this video: https://youtu.be/sRJ6GYiCwkI Source Code - (Really appreciate if you give it a star - ★) https://github.com/thecodeholic/yii2-... Yii2 Advanced template installation and set up virtual hosts on Window and on Linux. https://youtu.be/x8t4mWbmWUc In this video, we are going to build a blog engine REST API using Yii2 PHP framework. We are going to interact with 2 resources: posts and comments. We will see how to create endpoints to get, create, update or delete posts and comments. We will see how to paginate and sort. We will learn how to enable authentication and authorization so that only authenticated users will be able to create, update or delete posts and comments and we will also see how to restrict access to particular posts so that only owner of the post or comment will be able to update or delete.