APIs in PHP: from Basic to Advanced

Image alt

An API is a way for a program to interact with another program. By using third-party APIs from your code, you can utilise functionality developed elsewhere. By creating an API to access your own data, other programs can take advantage of your services in a secure and easy fashion.

Learn how to Use and Create Secure and Scalable APIs in PHP in this Comprehensive Course.

  • Understand how APIs work
  • Learn how to use an API from PHP
  • Understand how HTTP requests and responses work
  • Understand what REST and RESTful APIs are
  • Create a RESTful API from scratch, using plain PHP and MySQL
  • Understand how API authentication works
  • Add API key authentication to your API
  • Understand how JSON Web Tokens (JWTs) work
  • Add JWT access token authentication to your API

The essential skills required to use and develop APIs with PHP.

Unless you create every component of your application from scratch, your code will need to interact with external services - for example a payment gateway, or currency data. To use such services, you need to consume their APIs. On this course you’ll learn how to do this from PHP, and also how to create an API so that external programs can interact with your application.

Content and Overview

This course is designed for the PHP developer who wants to learn in depth how to use APIs from their code. I designed the course to be easily understood by PHP developers who have no previous experience of using APIs, and who want to develop full, secure APIs quickly and easily. Learning the techniques on this course will enable you to create APIs that are secure, robust and that comply with industry standards.

  • Suitable for all PHP developers, you’ll start by learning the basics of how APIs work.
  • You’ll learn various techniques for consuming APIs from PHP, along with their advantages and disadvantages.
  • We’ll build a full API from scratch, with each concept explained in detail at every stage.
  • You’ll learn what REST and what RESTful APIs are, why we use them, and how to make your API RESTful.
  • Throughout the course, we’ll build code that you can reuse in all your projects.
  • All the source code developed in the lectures is available to download.
  • All the time we’ll adhere to industry standards and best practices.
  • Each section has short, self-contained lectures that you can go back to reinforce specific concepts if you need to.

When you complete the course you’ll be able to use APIs in your PHP applications to leverage third-party components and services. You’ll also be able to create your own API, using various authentication techniques depending on the type of API you want to create.

Complete with all the code shown in the lectures, you’ll be able to work alongside the instructor and will receive a verifiable certificate of completion upon finishing the course.

Also, at all times throughout the course you have access to the instructor in the Q&A section to ask for help with any topic related to the course.

Enrol now and become a master of APIs in PHP!

Enrol now