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 :(
Top comments (0)