I started building an open-source E-commerce website in the Yii2 framework. This video is the first part of the unprepared, unedited process of building the E-commerce website. Second Part: https://youtu.be/umtv_JxiT5Y Project Source Code (⭐️ Give it a star ⭐️) https://github.com/thecodeholic/yii2-...
Tuesday, 15 December 2020 14:42

Build a REST API using Yii2 PHP Framework

Written by
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.
The following video explains what is Yii2 PHP framework, what are its advantages and why you should learn it. We will build a mini blog application with the following features: - Authentication - Registration - Password hashing - Working with databases - Restricting URLs for unauthenticated users - Working with forms - Validation Source Code: https://github.com/thecodeholic/Yii2C... Object-Oriented PHP for Beginners: https://bit.ly/2KzHeOx Installing Yii2 Framework: https://bit.ly/2OXwZrw