bskiefer
Posted on April 1, 2022
I've been working on a small utility to handle multiple PHP versions for all of my projects.
https://github.com/phpdocdev/docdev
Features
- CLI utility (docdev)
- Pre-built PHP images (5.4, 5.6, 7.2, 7.4, 8.1)
- Automatic SSL certificates (http and https)
docdev certs
- Automatic host mapping (project1.loc)
docdev hosts
- Shell into a container
docdev exec
- One command to switch between PHP versions
docdev php --start 74
- Testing utility
docdev test
- DNS server: mapping folders to hostnames
- MailHog
- Self updating
Tested only on Mac, sorry everyone else :(
💖 💪 🙅 🚩
bskiefer
Posted on April 1, 2022
Join Our Newsletter. No Spam, Only the good stuff.
Sign up to receive the latest update from our blog.