Our great sponsors
-
InfluxDB
Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
As others have pointed out, professional PHP work usually involves using composer and autoloading. And with multiple such projects on a single machine, docker is a great tool for running them all with their own individual configurations.
It might feel harsh at first, but it totally pays off to learn to use docker properly, first, you'll leave behind local software installation, and most important, you will never get into those "it works here" bugs, for reference, I use it on a for a CMS development environment, where I configure both the db and the PHP, here is if you want to take a look https://github.com/Trotalo/modxBaseEnviroment in this case, just running docker-compose up will get me a brand new CMS along some plugins
I'm still using vagrant and it works great for multiple environments that match your production environment: https://www.vagrantup.com/