How do i run 'composer' command via SSH?
问题 I want to reload my project's custom classes in Laravel so they become accessible, but on a shared hosting enviroment. To my understanding, so far, locally, I've been achieving the desired by using this command: composer dump-autoload however, running that via putty's SSH gives me: -bash: composer: command not found Any idea? 回答1: You have to install composer on the remote machine that your are ssh'ing to. You can find installation instructions on the composer homepage. 回答2: please try: php