Shared virual web running composer dumpautoload -o

Hi,
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

Thanks

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.

Hi, thanks for responding.

I was looking for an answer, thought it was necessary, Luckily, when i uploaded the slim framework and files it all worked, and i never ran into the problem of clearing the cache on the server.