Trying to push my PHP code to Heroku always results in the following:
remote: ! ERROR: Application not supported by this buildpack!
remote: ! The 'heroku/php' buildpack is set on this application, but was
remote: ! unable to detect a PHP codebase.
I am aware that I must have an index.php file and a composer.json file in the root directory of my repository. All threads online of deployment not working is always one of these stupid mistakes. Since Heroku was not able to detect that it should use a PHP buildpack, I manually selected it, leading to the error above.
I could really use some help - I have no idea what is wrong.
Here's a screenshot of the root directory of my repository:
And here's a screenshot of the full failed buildlog on Heroku: