composer self update version --1 code example Example 1: composer autoload dump composer dump-autoload Example 2: composer clear cache $ composer clearcache