This is a sample project about Composer autoloading system include Classmap, PSR-4, Files and Namespace to explain to understand clearly and easily.
- PHP
- Composer
Just run below commands
git clone https://github.com/thetminnhtun/autoload_and_namespace.git PROJECT_FOLDER
cd PROJECT_FOLDER
composer dump-autoload
php -S localhost:3000
- PHP Web Server will be running on
localhost:3000
- Done!