Hey just saw this tutorial online HERE https://www.youtube.com/watch?v=VGSerlMoIrY ,
so all modern frameworks or PHP projects use PSR-4 and composer to auto-load ?
basically my question is about autoloading and what is the best mechanism to autoload in PHP ?
PSR 4 and composer .... autoloading
Moderator: General Moderators
Re: PSR 4 and composer .... autoloading
Set up PSR-4 autoloading through Composer and you're done. That really is the standard.
Re: PSR 4 and composer .... autoloading
Thanks ... all setup https://github.com/gautamz07/PSR-4/
, just a simple example that shows how to use composer and PSR-4 to autoload .