PHP: The Missing Bits is a collection of basic functions that we wish were part of PHP itself. You can drop this package into your own project to save you time and effort.
Run this command to add this library to your composer.json
file:
composer require ganbarodigital/php-the-missing-bits
See our docs page for a tutorial and reference documentation.