PHP Coding Standards, Autoloading (PSR-4) & Composer - Full PHP 8 Tutorial @ProgramWithGio
PHP Coding Standards, Autoloading (PSR-4) & Composer - Full PHP 8 Tutorial  @ProgramWithGio
Uploaded March 2021 | Updated November 2026, 3 hours ago
In this video, you will learn how to autoload your classes instead of using include & require statements. I'll show you how autoloader works, how to register custom autoloader & then how to use composer to handle autoloading for you. In addition to autoloading, you will learn about coding standards (PSR) and dependency management using composer.

SOME OF THE WAYS YOU CAN SUPPORT THE CHANNEL
πŸ‘ Smash the like button
🀝 Subscribe to the channel & turn the notifications on
πŸ’¬ Post comments, any feedback is greatly appreciated
⭐ Become a Patreon: patreon.com/programwithgio
THANK YOU!

LESSON 2.5
Course Outline - github.com/ggelashvili/learnphptherightway-outline
Course Playlist - youtube.com/playlist?list=PLr3d3QYzkw2xabQRUpcZ_IBk9W50M9pe-

RESOURCES
PSR-1 - php-fig.org/psr/psr-1
PSR-4 - php-fig.org/psr/psr-4
PSR-12 - php-fig.org/psr/psr-12
Symfony Coding Standards Fixer - cs.symfony.com
PHP Code Sniffer - pear.php.net/package/PHP_CodeSniffer
Composer - getcomposer.org
Versioning - getcomposer.org/doc/articles/versions.md
PHP Autoloading - php.net/manual/en/language.oop5.autoload.php
PEAR Coding Standards - pear.php.net/manual/en/standards.php
Symfony Coding Standards - symfony.com/doc/current/contributing/code/standards.html

For source, you can either use the code from github.com/ggelashvili/learnphptherightway-project/tree/2.1 as a starting base & build upon it following this lesson or you can use the one that's already built at the end of section 2 for exercise: github.com/ggelashvili/learnphptherightway-project/tree/2.33

CHAPTERS
00:00 - Autoloading
05:52 - PSR
10:27 - Composer & dependency management
16:31 - Autoloading using composer
PHP Coding Standards, Autoloading (PSR-4) & Composer - Full PHP 8 TutorialImplement Forgot Password Functionality - Build Expense Tracker App With PHP 8MVC the Laravel Way | Learn Laravel The Right WayFull PHP 8 Tutorial - Learn PHP The Right WayGetting Started with Laravel Tinker | Learn Laravel The Right WayPHP Operators Part 1 - Full PHP 8 TutorialLaravel Sanctum SPA Tutorial - React SPA Authentication With SanctumQuick Tips to Avoid Overengineering: The Pitfalls of Premature OptimizationPHP - Object Cloning & Clone Magic Method - Full PHP 8 TutorialWhat is Laravel & Why You Should Learn It | Learn Laravel The Right WayIntro to Slim PHP Framework - Full PHP 8 TutorialDisplay Errors Using JavaScript & Bootstrap - Build Expense Tracker App With PHP 8
Program With Gio |

PHP Coding Standards, Autoloading (PSR-4) & Composer - Full PHP 8 Tutorial

SHARE TO X SHARE TO REDDIT SHARE TO FACEBOOK WALLPAPER