Tags
Language
Tags
July 2025
Su Mo Tu We Th Fr Sa
29 30 1 2 3 4 5
6 7 8 9 10 11 12
13 14 15 16 17 18 19
20 21 22 23 24 25 26
27 28 29 30 31 1 2
    Attention❗ To save your time, in order to download anything on this site, you must be registered 👉 HERE. If you do not have a registration yet, it is better to do it right away. ✌

    ( • )( • ) ( ͡⚆ ͜ʖ ͡⚆ ) (‿ˠ‿)
    SpicyMags.xyz

    Create a REST API using basic PHP with Token Authentication

    Posted By: ELK1nG
    Create a REST API using basic PHP with Token Authentication

    Create a REST API using basic PHP with Token Authentication
    Genre: eLearning | MP4 | Video: h264, 1280x720 | Audio: aac, 44100 Hz
    Language: English | SRT | Size: 6.28 GB | Duration: 16h 49m

    Develop a real world REST API with login - Basic PHP and MySQL (no frameworks needed) - following a real world scenario.

    What you'll learn
    How to build a REST web services (API) with plain PHP (no frameworks required)
    What Token Based Authentication is and why it is better than Basic Authentication
    Fundamental Principles of REST
    API Testing using Postman App
    How to upload and delete files using a REST API

    Requirements
    Fundamentals of PHP (including Object Oriented Programming concepts)
    Fundamentals of Basic SQL Queries
    Fundamentals of MySQL Database
    Fundamentals of JSON (basic structure)

    Description
    In this course I will be showing you how to create RESTful web services with PHP, no third party frameworks or paid software is needed.

    We will be covering the basics of what REST is and how to implement the basics using pure vanilla PHP, at the end of this course you should be able to create a basic RESTful web service that you can allow other people to use.

    The course will follow a scenario that we have been given and that is to implement a web service which can record a list of tasks, basically a to-do list. We will be implementing each requirement one at a time and then we will add on the ability for this API to become a multi user service. So each user can securely have their own task list.

    To do this we will be implementing an authentication concept called Token based authentication and we will be exploring this further within the course, Token based authentication is a lot more secure than just basic password authentication and is now a best practice among the industry.

    We will be starting at the beginning and building as we go, as long as you know the basics of PHP, such as variables, if statements, loops, arrays and some basic object orientated programming concepts you should be able to follow this course to the end. We will also be using MySQL for the database to store the tasks and we will be building and changing the database as we go, and again you don't need to be an expert on MySQL but just need to know the fundamentals such as basic select, update, delete SQL statements and concepts such as primary keys and foreign keys.

    BONUS SECTION ADDED - APRIL 2020 - for CORS (Cross-Origin Resource Sharing) which will allow you to adjust this API to run on a different domain/subdomain than your front end application.

    BONUS SECTION ADDED - JULY 2020 - for teaching you how to upload images/files against a task, we will go through the changes we need to make to the API to allow uploading of images to a task. We will then allow you to associate image attributes such as title and filename against the image as well as being able to download the image and delete the image.

    Who this course is for
    PHP developers who would like to build Web Service APIs using only core PHP (no frameworks)
    PHP developers interested in adding Token Based Authentication to their APIs
    PHP developers interested in how you upload files using APIs