It’s not too hard to set up a basic command line PHP coding environment using github, composer, and phpunit. This tutorial covered how to set up the development environment if you’re using php purely from the command line. This tutorial did not cover *AMP installations.
These are posts from previous incarnations of my blog. They catalog old writing, (abandoned) projects, and else-wise content I have written in the past that others have found engaging or useful. You'll notice the sidebars reflect the content of the archival posts rather than my current blog; for current posts click on the logo above.