Blog Archives

Composer and Autoloading

Autoloading: To add your own code to the autoloader by adding an autoload field to Update Composer from terminal: This will generate a vendor directory containing dependencies. Hope your application entry point is index.php. So, import autoload.php file from vendor

Posted in Uncategorized