php Installation The preferred way to install this extension is through composer. Either run composer require sebastiangolian/php "*" or add "sebastiangolian/php": "dev-master" to the require section of your composer.json file.