Lando Heroku PHP scaffold
- Heroku identical devenv (as far as possible)
- heroku-18 official docker image
- heroku official PHP buildpack
- Integrated tooling
- Composer on appserver
- Git on appserver
- Heroku-cli on appserver
[TOC]
The main dependency is Lando
https://lando.dev and also Docker
of course, but Lando is contains Docker builtin in on Windows and Mac.
The Lando out of the box contains configuration with traefic
https://traefik.io and local dev domain *.lndo.site
see in Lando Proxy and Lando SSL/TLS . In above docs is contains a main settings for local development. When you are using httpie
https://httpie.org you can define alias for TLS verification in your .bashrc
or .zshrc
like this:
alias http="http --verify=\"/Users/$USER/.lando/certs/lndo.site.pem\""
Clone my gists repo to local dev:
$ git clone git://gist.github.com/42740a2ade6f2c296d8498b0682070ad.git php-devenv-scaffold
And change dir to repo and run:
$ cd php-devenv-scaffold && lando start