Deploying Symfony and API Platform apps on Heroku easily


I’ve just published a new library and a tutorial to deploy easily Symfony and API Platform applications in Heroku, the popular Platform As A Service.

The tutorial explains how to set up and deploy an application with a database (Heroku Postgres or MySQL ClearDB), using the log managing system provided by Heroku (Logplex) and using environment variables to define Symfony parameters thanks to the DIC.

The library automatically setups Heroku Postgres or MySQL ClearDB thanks to a Composer script.

As usual, the code and the doc are free and available on GitHub. I hope it will help people using that kind of services.

If you want to learn more about using Symfony on Heroku, Tristan Maindron talk about that topic in the Symfony conference of this week in Lille, France.

One Comment

  1. Instead of using Heroku, I would recommend using Cloudways Symfony hosting platform for deploying Symfony apps. Using this platform, you can easily and quickly launch a server on an infrastructure and deploy app using git in just few minutes.


Leave a Reply