Udemy
  •  
  •  
  •  
  •  
  •  
  •  
  •  
  •  
  •  
  •  
  •  
  •  
  •  
Development
Web Development Data Science Mobile Development Programming Languages Game Development Database Design & Development Software Testing Software Engineering Development Tools No-Code Development
Business
Entrepreneurship Communications Management Sales Business Strategy Operations Project Management Business Law Business Analytics & Intelligence Human Resources Industry E-Commerce Media Real Estate Other Business
Finance & Accounting
Accounting & Bookkeeping Compliance Cryptocurrency & Blockchain Economics Finance Finance Cert & Exam Prep Financial Modeling & Analysis Investing & Trading Money Management Tools Taxes Other Finance & Accounting
IT & Software
IT Certification Network & Security Hardware Operating Systems Other IT & Software
Office Productivity
Microsoft Apple Google SAP Oracle Other Office Productivity
Personal Development
Personal Transformation Personal Productivity Leadership Career Development Parenting & Relationships Happiness Esoteric Practices Religion & Spirituality Personal Brand Building Creativity Influence Self Esteem & Confidence Stress Management Memory & Study Skills Motivation Other Personal Development
Design
Web Design Graphic Design & Illustration Design Tools User Experience Design Game Design Design Thinking 3D & Animation Fashion Design Architectural Design Interior Design Other Design
Marketing
Digital Marketing Search Engine Optimization Social Media Marketing Branding Marketing Fundamentals Marketing Analytics & Automation Public Relations Advertising Video & Mobile Marketing Content Marketing Growth Hacking Affiliate Marketing Product Marketing Other Marketing
Lifestyle
Arts & Crafts Beauty & Makeup Esoteric Practices Food & Beverage Gaming Home Improvement Pet Care & Training Travel Other Lifestyle
Photography & Video
Digital Photography Photography Portrait Photography Photography Tools Commercial Photography Video Design Other Photography & Video
Health & Fitness
Fitness General Health Sports Nutrition Yoga Mental Health Dieting Self Defense Safety & First Aid Dance Meditation Other Health & Fitness
Music
Instruments Music Production Music Fundamentals Vocal Music Techniques Music Software Other Music
Teaching & Academics
Engineering Humanities Math Science Online Education Social Science Language Teacher Training Test Prep Other Teaching & Academics
AWS Certification Microsoft Certification AWS Certified Solutions Architect - Associate AWS Certified Cloud Practitioner CompTIA A+ Cisco CCNA Amazon AWS CompTIA Security+ AWS Certified Developer - Associate
Graphic Design Photoshop Adobe Illustrator Drawing Digital Painting InDesign Character Design Canva Figure Drawing
Life Coach Training Neuro-Linguistic Programming Mindfulness Personal Development Meditation Personal Transformation Life Purpose Coaching Neuroscience
Web Development JavaScript React CSS Angular PHP WordPress Node.Js Python
Google Flutter Android Development iOS Development Swift React Native Dart Programming Language Mobile Development Kotlin SwiftUI
Digital Marketing Google Ads (Adwords) Social Media Marketing Google Ads (AdWords) Certification Marketing Strategy Internet Marketing YouTube Marketing Email Marketing Retargeting
SQL Microsoft Power BI Tableau Business Analysis Business Intelligence MySQL Data Analysis Data Modeling Big Data
Business Fundamentals Entrepreneurship Fundamentals Business Strategy Online Business Business Plan Startup Freelancing Blogging Home Business
Unity Game Development Fundamentals Unreal Engine C# 3D Game Development C++ 2D Game Development Unreal Engine Blueprints Blender
30-Day Money-Back Guarantee

This course includes:

  • 5 hours on-demand video
  • 2 downloadable resources
  • Full lifetime access
  • Access on mobile and TV
Development Web Development RESTful API

Yii2 Complete Restful API guide

Learn how to build professional RESTful APIs with Yii2, PHP, and Postman as a client
Rating: 4.2 out of 54.2 (47 ratings)
133 students
Created by Femi Ibiwoye
Last updated 9/2018
English
English
30-Day Money-Back Guarantee

What you'll learn

  • Build stateful and stateless API
  • Build web services with Yii2
  • Work with JSON data

Course content

14 sections • 90 lectures • 5h 2m total length

  • Preview01:16
  • Preview05:03
  • Preview06:31
  • What is Rest API
    02:51
  • Summary
    02:24

  • 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

  • Download compressed yii2 framework
    04:19
  • Install yii2 using composer
    03:12
  • Accessing yii2 framework from local server
    01:17

  • Introduction to MVC
    02:54
  • Understand yii2 structure
    10:24
  • Controller
    09:51
  • View
    04:23
  • Model
    03:32

  • Enabling pretty URL
    02:25
  • Setup .htaccess to enable proper routing
    01:47

  • Preview01:50
  • 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

  • Customising original URL
    03:23
  • Retrieving parameters from URL
    02:35
  • Remove parameter title from URL
    04:06
  • Restricting the data type
    01:11

  • Disable Csrf validation
    04:48
  • Enabling JSON input
    02:35
  • Posting and retrieving json input
    03:34
  • Modify response
    02:19

  • Creating database and connect app to database
    02:07
  • Creating tables
    08:16

  • 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

Instructor

Femi Ibiwoye
Web Developer
Femi Ibiwoye
  • 4.1 Instructor Rating
  • 199 Reviews
  • 7,226 Students
  • 2 Courses

My name is Femi Ibiwoye and I am a software developer from Nigeria.

I am a software developer who has previously worked with small and large successful company, which one of them is the largest education platform in Africa, I became full-time consultant, freelancer and online teacher in 2015. I have worked with series of programming languages since 2010 till date, My primary focus for now is web development. I have HND in computer science and i have worked with and teach programming languages in my spare time before, during and after completing my education.

If you want to know more about me, you can check my social networks, my website or contact me directly and i will be glad to meet with you.

  • Udemy for Business
  • Teach on Udemy
  • Get the app
  • About us
  • Contact us
  • Careers
  • Blog
  • Help and Support
  • Affiliate
  • Terms
  • Privacy policy
  • Cookie settings
  • Sitemap
  • Featured courses
Udemy
© 2021 Udemy, Inc.