Lando + Heroku + Laravel

Lando + Heroku Workflow

Heroku is a flexible cloud hosting platform. Lando is a flexible local development environment. Together the can make your dev workflow really shine!

In and of itself, there is no reason you can't just take any app and deploy to Heroku as you normally would; this post will walk you through constructing a useful .lando.yml config file for working with Heroku.

Heroku CLI

Heroku has a powerful cli tool to interact with your Heroku hosted apps. Let's take advantage of that and integrate it into Lando. Start a .lando.yml file like this:

Conclusion

With a few simple configuration files and commands you are ready to go with all your dev tools and a chain from local to live. You can see the full git repo on GitHub: https://github.com/thinktandem/lando-heroku-demo. The main files of importance are: