Configuring PHP Version with Composer — Mike Madison

As more and more projects upgrade to PHP 7.4 (and beyond) it becomes increasingly important to know how to manage PHP as a dependency on your project. Thankfully, composer gives you the option to do so!