Report this

What is the reason for this report?

Sorry, we couldn't find an app in your repo. PHP

Posted on November 15, 2021

I was trying to deploy my app following: https://docs.digitalocean.com/products/app-platform/languages-frameworks/php/#creating-php-applications-in-app-platform

I was trying to deply from gitlab and in my root directory there is composer.json file but when I try do deplay my app, DO says that “we couldn’t find an app in your repo”

Is there something more that I need to do in order to create my app? I have even tryed to add index.php in root directory with require on vendor/autoload.php but for no use.



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.

Hey @ciekals11,

You need to have one of index.php and composer.json in the root of the repo for a PHP app to be detected. If your code is in a subdirectory you will need to configure the Source Dir option to point to the subdirectory.

Please open a support ticket and include the link to your repo and we can take a closer look into why the process is failing. You can also share a specific commit if you wish.

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.