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.
Published in
Yii2 PHP Framework
Tagged under
Super User
After Greek Army, I started with QBasic in QL, a computer brother of Spectrum, 2 Degrees, almost 2 Certificates, from GWBasic to Oracle Tech & IBM tech & Solaris Clusters, at almost 60s to CMS tech.
Latest from Super User
Leave a comment
Make sure you enter all the required information, indicated by an asterisk (*). HTML code is not allowed.