By ciekals11
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.
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Scale up as you grow — whether you're running one virtual machine or ten thousand.

From GPU-powered inference and Kubernetes to managed databases and storage, get everything you need to build, scale, and deploy intelligent applications.
