Build a REST API using Yii2 PHP Framework

The Codeholic
The Codeholic
57.7 هزار بار بازدید - 5 سال پیش - In this video, we will
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:
Yii2 PHP Framework Tutorial - Crash C...

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.
yii2 advanced  - Setup virtual hosts ...

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.

We will use postman to make request into our API.

Follow me on social media:
Facebook: thecodeholic
Twitter: thecodeholic
https://github.com/thecodeholic
5 سال پیش در تاریخ 1398/06/11 منتشر شده است.
57,793 بـار بازدید شده
... بیشتر