DEV Community

Discussion on: How to deploy a Laravel/Vue App to Heroku

Collapse
 
topetope024 profile image
topetope024 • Edited

hey can someone help me?

remote: ! ERROR: Application not supported by this buildpack!
remote: !
remote: ! The 'heroku/php' buildpack is set on this application, but was
remote: ! unable to detect a PHP codebase.
remote: !
remote: ! A PHP app on Heroku requires a 'composer.json' at the root of
remote: ! the directory structure, or an 'index.php' for legacy behavior.
remote: !
remote: ! If you are trying to deploy a PHP application, ensure that one
remote: ! of these files is present at the top level directory.
remote: !
remote: ! If you are trying to deploy an application written in another
remote: ! language, you need to change the list of buildpacks set on your
remote: ! Heroku app using the 'heroku buildpacks' command.
remote: !
remote: ! For more information, refer to the following documentation:
remote: ! devcenter.heroku.com/articles/buil...
remote: ! devcenter.heroku.com/articles/php-...

these are the errors but I already have a composer.json on the root file but still can't push it on the heroku

Collapse
 
topetope024 profile image
topetope024

So based on the documentaries that you have post, you no composer.json so how did you build the dependencies of php or laravel?