Uploaded July 2016 | Updated December 2026, 32 minutes ago
This is the third video in this PHP Solid Principles series. In this part I explain what the Liskov Substitution Principle is and how you should apply it your classes.
Reval Govender
LinkedIn: uk.linkedin.com/in/reval-govender-0ba14860
Twitter: twitter.com/RevalGovender
My site: revgov.co.uk
Laravel Tutorials:
youtube.com/playlist?list=PLrIm-p2rpV0FmbeNsYYh_4Fcb4Ibq29tJ
2 - 3 min Developer Quick Tips Series:
youtube.com/playlist?list=PLrIm-p2rpV0F6yyK99B9TU6yVhnPdzelB
PHP Developer Tutorials:
youtube.com/playlist?list=PLrIm-p2rpV0Fy93MCcC1Co0BuccJk6QqX
A Journey To TDD the tutorial series:
youtube.com/playlist?list=PLrIm-p2rpV0EWSkkE6Llxaw7sxnsxdVWB
1 - The Five Solid Principles - 0:18
2 - The Liskov Substitution Principle - 0:40
3 - What does the Liskov Substitution Principle Mean - 0:52
4 - Why should we follow this principle - 1:16
5 - Code run through - 1:29
This is the third video in this PHP Solid Principles series. In this part I explain what the Liskov Substitution Principle is and how you should apply it your classes.
Reval Govender
LinkedIn: uk.linkedin.com/in/reval-govender-0ba14860
Twitter: twitter.com/RevalGovender
My site: revgov.co.uk
Laravel Tutorials:
youtube.com/playlist?list=PLrIm-p2rpV0FmbeNsYYh_4Fcb4Ibq29tJ
2 - 3 min Developer Quick Tips Series:
youtube.com/playlist?list=PLrIm-p2rpV0F6yyK99B9TU6yVhnPdzelB
PHP Developer Tutorials:
youtube.com/playlist?list=PLrIm-p2rpV0Fy93MCcC1Co0BuccJk6QqX
A Journey To TDD the tutorial series:
youtube.com/playlist?list=PLrIm-p2rpV0EWSkkE6Llxaw7sxnsxdVWB
1 - The Five Solid Principles - 0:18
2 - The Liskov Substitution Principle - 0:40
3 - What does the Liskov Substitution Principle Mean - 0:52
4 - Why should we follow this principle - 1:16
5 - Code run through - 1:29
![Part 27 - Install tymon/jwt-auth into Laravel 6 [How to use TDD to build a REST API in Laravel]
So we are now ready to start implementing JWT Authentication. We will be installing a package to help us with this. Please forgive me if I am pronounce this incorrectly. The package is called jwt-auth by Sean Tymon. The latest version of this package is required for Laravel 6. Letβs install it.
Open your terminal and type the following command:
composer require tymon/jwt-auth:1.0.0-rc.5
I am not sure how stable this package is as of recording this video, but it will be fine for the purposes of this project. So be aware when using it in production.
To complete the installation, we need to run the following artisan command which comes with the package.
php artisan vendor:publish provider=TymonJWTAuthProvidersLaravelServiceProvider
The command will have copied the configuration file. In this configuration file, we have access to various settings. For now, we are interested in the secret which will be used for signing our tokens. Notice it is referencing an env variable that does not exist.
We need to run the following
php artisan jwt:secret
This command will generate a key and add it to our env file. We now have the package installed. In the next video, we will use.
Laravel Tutorials:
https://www.youtube.com/playlist?list=PLrIm-p2rpV0FmbeNsYYh_4Fcb4Ibq29tJ
2 - 3 min Developer Quick Tips Series:
https://www.youtube.com/playlist?list=PLrIm-p2rpV0F6yyK99B9TU6yVhnPdzelBWatch this course in full here:
https://www.youtube.com/playlist?list=PLrIm-p2rpV0F-rl4NPjNslEmW-D83AHOr Part 27 - Install tymon/jwt-auth into Laravel 6 [How to use TDD to build a REST API in Laravel]](https://i.ytimg.com/vi/wO31xRxVMxk/mqdefault.jpg)
![Codeception Actors, Modules and Helpers - Tutorial [2/6]
In this video tutorial I introduce you to Codeception Actors, Modules and Helpers. The purpose of is to dive deeper into Codeception. In this series we will be using Codeception with Laravel.
Reval Govender
LinkedIn: https://uk.linkedin.com/in/reval-govender-0ba14860
Twitter: https://twitter.com/RevalGovender
My site: http://revgov.co.uk/
1. Prerequisite - 00:17
2. Introduction - 00:30
3. Actors - 01:58
4. Modules - 01:07
5. Adding Modules - 02:27
6. Helpers - 03:05
Laravel Tutorials:
https://www.youtube.com/playlist?list=PLrIm-p2rpV0FmbeNsYYh_4Fcb4Ibq29tJ
2 - 3 min Developer Quick Tips Series:
https://www.youtube.com/playlist?list=PLrIm-p2rpV0F6yyK99B9TU6yVhnPdzelB
PHP Developer Tutorials:
https://www.youtube.com/playlist?list=PLrIm-p2rpV0Fy93MCcC1Co0BuccJk6QqX
A Journey To TDD the tutorial series:
https://www.youtube.com/playlist?list=PLrIm-p2rpV0EWSkkE6Llxaw7sxnsxdVWB Codeception Actors, Modules and Helpers - Tutorial [2/6]](https://i.ytimg.com/vi/wXEQWPrBnyU/mqdefault.jpg)






