Sergey Sergey - 5 months ago 49
PHP Question

Composer - include from path that varies

I have two applications, and I need one app to load the other app. I could just go

"files": [

but the problem is that
varies from server to server. The question is how can I load a file using composer if the file's path varies, but can be available in an env var or some config?


Composer doesn't support environment variables -

You could use a symlink that gets changed each time though