Angular with PHP and JSON web tokens (JWT)


Updated on

Course overview

Course type
Paid course
2 hours
17 lessons
Available on completion
Course author
Nevyan Neykov
  • be assured of their knowledge of the Angular framework
  • being able confidently to create application in Angular
  • understand the main principles and practical usage of components, services and JSON web tokens
  • understand how to apply JWT refresh tokens


Create Angular application with authentication from scratch and integrate it with PHP backend

Update: The whole Angular part of the course has been updated to use Observables, Subjects, and Angular Material.

This course will lead you through the step by step creation of an Angular application, which uses JSON Web Tokens (JWT) and gives an opportunity to log in and log out users. You will also understand how to integrate client-side Angular with server-side PHP for complete application development.

It is suitable for beginning to intermediate students who would like to create practical applications and prefer a hands-on approach of teaching.

During the course you will learn how to use in practice:

  • template-driven model forms

  • common user models and bindings using ngModel and interfaces

  • dependency injection of services and external libraries

  • JWT (JSON Web Tokens) in order to create and use for authentication service, both in PHP and Angular

  • guards to protect URL routes

  • HttpClient module for interaction with get and post requests

  • Observables and Behaviour subject

  • Angular Material Snackbar for displaying flash messages

You can follow along and try the examples alongside.

The course project files are updated in order to properly unsubscribe from services and avoid potential memory leaks.

Latest Update: Added explanation and demonstration of JWT refresh tokens

Similar courses

Angular - The Complete Guide (2022 Edition)
  • 34 hours
  • 463 lessons
  • Certificate
The Complete Angular Course: Beginner to Advanced
  • 30 hours
  • 376 lessons
  • Certificate
Go Java Full Stack with Spring Boot and Angular
  • 11 hours
  • 125 lessons
  • Certificate
Angular with PHP and JSON web tokens (JWT)
  • English language

  • Recommended provider

  • Certificate available