Yii2 Complete Restful API guide
3.7 (39 ratings)
Course Ratings are calculated from individual students’ ratings and a variety of other signals, like age of rating and reliability, to ensure that they reflect course quality fairly and accurately.
112 students enrolled

Yii2 Complete Restful API guide

Learn how to build professional RESTful APIs with Yii2, PHP, and Postman as a client
3.7 (39 ratings)
Course Ratings are calculated from individual students’ ratings and a variety of other signals, like age of rating and reliability, to ensure that they reflect course quality fairly and accurately.
112 students enrolled
Created by Femi Ibiwoye
Last updated 9/2018
English
English
Current price: $139.99 Original price: $199.99 Discount: 30% off
5 hours left at this price!
30-Day Money-Back Guarantee
This course includes
  • 5 hours on-demand video
  • 2 downloadable resources
  • Full lifetime access
  • Access on mobile and TV
  • Certificate of Completion
Training 5 or more people?

Get your team access to 4,000+ top Udemy courses anytime, anywhere.

Try Udemy for Business
What you'll learn
  • Build stateful and stateless API
  • Build web services with Yii2
  • Work with JSON data
Course content
Expand all 90 lectures 05:02:28
+ Setting up tools to develop restful API with Yii2
4 lectures 08:38
Setting up your local server - XAMPP
03:05
Setting up your composer
02:50
Setting up your IDE
01:00
Setting up postman
01:43
+ Setting up framework to local server
3 lectures 08:48
Download compressed yii2 framework
04:19
Install yii2 using composer
03:12
Accessing yii2 framework from local server
01:17
+ Understand yii2 architecture and file structures
5 lectures 31:04
Introduction to MVC
02:54
Understand yii2 structure
10:24
Controller
09:51
View
04:23
Model
03:32
+ Folders and router Restructuring
2 lectures 04:12
Enabling pretty URL
02:25
Setup .htaccess to enable proper routing
01:47
+ API Folders and Structures
8 lectures 28:04
Creating your API default files
01:25
Pointing your api to vendor and configuring your aliases
05:30
API Config file
02:29
Creating API module or version using Gii
06:27
Folders restructure to have two main directories
03:46
Removing web from browser address using .htccess
04:04
Setting project baseUrl
02:33
+ Routing with parameters
4 lectures 11:15
Customising original URL
03:23
Retrieving parameters from URL
02:35
Remove parameter title from URL
04:06
Restricting the data type
01:11
+ Input and Response Formatting
4 lectures 13:16
Disable Csrf validation
04:48
Enabling JSON input
02:35
Posting and retrieving json input
03:34
Modify response
02:19
+ Database
2 lectures 10:23
Creating database and connect app to database
02:07
Creating tables
08:16
+ Gii
4 lectures 10:13
Generating models
02:59
Generating controller
01:38
Moving generated files to API
02:39
Correcting namespaces
02:57
Requirements
  • Should have PHP and Yii2 basic knowledge
  • JSON knowledge will be an added advantage
Description

This course will teach you how to Build and design your own web project with Yii2 framework, to consume services and APIs online.

In this course, you will learn the step-by-step processes to get started with API development with Yii2 for general consumption. You will learn how to use HTTP protocol to consume the resources your web services is meant to provide.

Are you a frontend developer, do you have a mobile product idea, do you want to create your own startup or you just want to build a technology but you need an API? This is course for you.


What are you going to learn?

  • Understand API and how it works better

  • Learn, what is HTTP and how it works

  • You will learn how to use postman to test API

  • How to properly install Yii2 framework

  • How to correctly structure your API project

  • You will understand how and when Gii comes to play

  • How to properly configure your response for consumption

  • How to send request to API and how to consume it

  • How to authenticate access to your API using different options

  • How to version your API if your update is not backward compatible

  • And many more.

Don't wait, and enroll today to take another step toward web services mastery!

Looking forward to having you in my course!

Who this course is for:
  • Yii developer that wants to build restful API with Yii2 framework
  • This course is for all PHP lovers