composer auto dump in laravel code example Example 1: composer autoload dump composer dump-autoload Example 2: generate autodump laravel $ composer dump-autoload