use composer dump-autoload -o in cpanel code example Example: composer autoload dump composer dump-autoload