composer autoload dump

Posted by w3diy - 1 year ago

What Does "Composer Dump-Autoload" Do?

Laravel composer dump-autoload

Whenever we run "composer dump-autoload"

Composer re-reads the composer.json file to build up the list of files to autoload.

Composer Autoload Laravel 5.5

$ php artisan clear-compiled 
$ composer dump-autoload
$ php artisan optimize