Report this

What is the reason for this report?

Do we need to push the vendor directory to repo inorder for app to require it ?

Posted on August 15, 2021

For custom PHP apps in DO’s App Platform, do we need to upload the vendor directory to the github repo which would then be pulled in into the app platform’s app ?

Or will specifying the package list alone in composer.json be enough for the app platform to automatically install the vendor folders in the app ?



This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

You never need to push the vendor directory to github repo, this is created by composer install command using package version in composer.json and composer.lock files.

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.