Learn real world API design in PHP using Apigility

PHP is the language of the web. Apigility is structured approach to building REST and RPC based APIs.
4.5 (7 ratings) Instead of using a simple lifetime average, Udemy calculates a
course's star rating by considering a number of different factors
such as the number of ratings, the age of ratings, and the
likelihood of fraudulent ratings.
45 students enrolled
$65
Take This Course
  • Lectures 33
  • Contents Video: 3.5 hours
    Other: 1 min
  • Skill Level Intermediate Level
  • Languages English
  • Includes Lifetime access
    30 day money back guarantee!
    Available on iOS and Android
    Certificate of Completion
Wishlisted Wishlist

How taking a course works

Discover

Find online courses made by experts from around the world.

Learn

Take your courses with you and learn anywhere, anytime.

Master

Learn and practice real-world skills and achieve your goals.

About This Course

Published 5/2016 English

Course Description

Learn how to build a robust API for your projects using the actively developed and frequently contributed to API framework, Apigility. This course is designed to jumpstart your API development and clear up many of the potentially confusing parts on how to get started using Apigility.

At the end of this course you will have a working API that provides user registration, forgotten password resets, and email notifications. You will gain some working experience with Doctrine ORM and oauth2. Finally, you'll be confident that your API's backing logic will reliably perform how you expect it to because your domain models will be unit tested.

What are the requirements?

  • PHP Syntax
  • PHP Object Oriented programming
  • Exception handling
  • Web server technologies using PHP
  • A general knowledge of continuous integration

What am I going to get from this course?

  • Create your own unit-tested APIs
  • Be familiar with Oauth2 authentication and customizing Authorization
  • Be able to send notification e-mail messages

What is the target audience?

  • This course is designed for developers already familiar with Object Oriented programming in PHP and need to implement an API but are unfamiliar with Apigility.

What you get with this course?

Not for you? No problem.
30 day money back guarantee.

Forever yours.
Lifetime access.

Learn on the go.
Desktop, iOS and Android.

Get rewarded.
Certificate of completion.

Curriculum

Section 1: Scope of course
Introduction
Preview
01:44
Section 2: Software that we'll be using throughout this course
04:48

This video will cover the installation of Zend Studio and the creation of our Apigility project inside of Zend Studio.

HOTFIX - related to some fatal errors when you run composer update
Article
Section 3: Dependency Management
composer discussion and requiring doctrine-orm-module
Preview
07:02
Section 4: Vagrant, VirtualBox, and not breaking your local OS
VirtualBox installation, Vagrant installation, ScotchBox clone, and Vagrantfile
06:32
Section 5: Doctrine ORM - Part 1
Configuring Doctrine
11:09
Configuration Doctrine OAuth2
03:03
Section 6: General ZF2 concepts (no coding here, just conceptual stuff)
Dependency injection overview
04:58
Services and Factories in ZF2
03:36
Section 7: User Domain Model - Part 1
Software-level separation of concerns
Preview
02:48
User Service Interface, User Service, and User Service Factory creation
08:25
PHPUnit - Adding to a module
Article
Configuring PHPUnit in scotch box and for our MyCompany module
11:14
User Service - User Registration part 1
08:58
User Service - User Registration part 2 - repeatable unit tests and exception
06:43
User Service - User Registration part 3 - Sending a welcome email
09:47
User Service - Forgot Password and Reset Password part 1
14:37
User Service - Forgot Password and Reset Password part 2
06:41
Section 8: Apigility - continuing set-up
Solving the Deprecated Warning
Preview
03:09
Section 9: REST - User Registration
Register user - getting some data to flow
12:16
Section 10: REST - forgot password / reset password
Rest - Forgot Password
05:59
Bonus: Resetting the password -- creating a reset landing page
12:06
Section 11: Validation and Filtering
Input Filtering
Preview
04:53
Section 12: Authentication and Authorization concepts
OAuth2 Doctrine Module -- additional configuration
06:13
Identity - GuestIdentity and AuthenticatedIdentity
Preview
06:44
Identity injection into the domain model
07:19
Section 13: Authorization using RBAC
RBAC - Overview
Preview
07:37
Creating our RBAC service and injecting it into the User Service
11:33
Change Email Address - Unit tests and implementation
06:41
Change Email Address - Adding the self-edit assertion
12:26
Change Email address to Apigility Resource and a final thank you
01:25
Section 14: Bonus section
Bonus section - Additional resources beyond the scope of this course
Article
Completed Code - Available on Github for comparison
Article

Students Who Viewed This Course Also Viewed

  • Loading
  • Loading
  • Loading

Instructor Biography

Jack Peterson, Sr. Vice President Engineering - Dealer Inspire, Inc.

I am an avid PHP developer who has experience in taking applications from the drawing board up through production deployments. I am on Udemy to share my knowledge gained in the industry to help better educate existing php developers with respect to best practices and to help these developers focus on producing higher quality code.

Ready to start learning?
Take This Course