hhvm / debian-composer-plugin
A simple extension installer for php/hhvm programs primarily for testing purposes
Installs: 31
Dependents: 0
Suggesters: 0
Security: 0
Stars: 4
Watchers: 13
Forks: 2
Type:composer-plugin
pkg:composer/hhvm/debian-composer-plugin
Requires
- composer-plugin-api: ^1.0.0
This package is not auto-updated.
Last update: 2020-01-20 03:56:15 UTC
README
A simple tool for installing language extensions with composer for HHVM and PHP on debian based systems.
============================ Installation / Usage (for HHVM)
- 
Install the hhvm-nightlyandhhvm-dev-nightlypackages (some important features and bug fixes are not in the current release). You will also needComposeritself. Composer can be installed from thecomposer.pharexecutable or the installer.$ curl -sS https://getcomposer.org/installer | php
- 
Make a composer.jsonfor your project. Seethis examplefor an example. Note that this has not gone on packagist so we need to use VCS until then.
- 
Run hhvm composer.phar installand follow the instructions. The plugin will build all the extensions you need and will place an ini file containing a list of all the extensions invendor/ext/extensions.ini
- 
Finally, you can now run hhvm -c <path-to-project>/vendor/ext/extensions.ini <path-to-project>/<your-main-file>.phpto run your project.