Udemyallen

Create a REST API using basic PHP with Token Authentication

Learn PHP & MySQL: Build a real REST API with login functionality. Practical, framework-free development for beginners.

4.4(900)
4,703students
16h 49m
Certificate
Michael Spinks
Michael SpinksMobile systems developer and all round full stack engineer

Course Content

Create a REST API using basic PHP with Token Authentication is an all-levels Udemy course taught by Michael Spinks. It runs 16h 49m, is taught in English, and includes a certificate of completion. Learners rate it 4.4 out of 5 from 900 reviews, with 4,703 students enrolled. It is a paid course, last updated July 2020.

Learn to build RESTful web services with PHP – no frameworks or paid software required! This comprehensive course guides you through the fundamentals of REST API development using pure PHP, empowering you to create reusable web services.

We'll follow a practical scenario: building a to-do list API. You'll learn to implement each feature step-by-step, starting with basic task management. The course culminates in creating a multi-user API, enabling secure, individual task lists for each user.

A key focus is token-based authentication, a modern and more secure alternative to basic password authentication – a crucial skill for any aspiring web developer. We'll delve into how this works and implement it effectively.

Prerequisites: Basic PHP knowledge (variables, if statements, loops, arrays) and fundamental object-oriented programming concepts are recommended. Familiarity with MySQL is helpful, specifically basic SQL (SELECT, UPDATE, DELETE) and concepts like primary and foreign keys. Don't worry if you're not an expert; we'll build your knowledge as we go!

Database Implementation: We'll be using MySQL to store your tasks, building and modifying the database schema throughout the course.

Bonus Content:

  • CORS (Cross-Origin Resource Sharing): Learn to configure your API to function seamlessly across different domains and subdomains.
  • File Uploads: Master the process of allowing users to upload images/files associated with their tasks. We'll cover storing image attributes (title, filename), downloading images, and deleting them.

By the end of this course, you'll have a solid understanding of API development with PHP, ready to create and deploy your own powerful web services. This is a great starting point for a career in web API development and backend development.

$ whoami — the devs behind tutorialsearch.io

Need a web app built? Hire the team behind TutorialSearch.io

We ship fast, production-grade full-stack apps (Next.js, React, edge infra) — the same stack that powers this site.

5.0(76)
3h 51m
beginner
skillshare
5.0(254)
5h 4m
beginner
skillshare
5.0(179)
5h 59m
beginner
skillshare
5.0(107)
48m
beginner
skillshare
5.0(346)
1h 6m
all
skillshare