Shared virual web running composer dumpautoload -o

Im a bit stuck, how do I run
composer clearcache or composer dumpautoload -o
on a shared virtual server, I dont have ssh access, im using Slim 3


Quite late but… You need shell access to run shell commands. But you don’t need to run Composer on production server: run it in your own PC and upload the resulting files as you’d do with your own source code. It’s normally straightforward if PHP versions match but it doesn’t hurt to set platform.