summaryrefslogtreecommitdiffstats
path: root/composer.json
diff options
context:
space:
mode:
Diffstat (limited to 'composer.json')
-rw-r--r--composer.json54
1 files changed, 54 insertions, 0 deletions
diff --git a/composer.json b/composer.json
new file mode 100644
index 0000000..ff61435
--- /dev/null
+++ b/composer.json
@@ -0,0 +1,54 @@
+{
+ "name": "osmanov/pecl-event",
+ "type": "php-ext",
+ "license": "PHP-3.01",
+ "description": "Provides interface to libevent library.",
+ "require": {
+ "php": ">= 5.4.0"
+ },
+ "php-ext": {
+ "extension-name": "event",
+ "configure-options": [
+ {
+ "name": "with-event-pthreads",
+ "description": "Include libevent's pthreads library and enable thread safety support in Event",
+ "needs-value": false
+ },
+ {
+ "name": "with-event-extra",
+ "description": "Event extra functionality support(protocol-specific functionality support including HTTP, DNS, and RPC)",
+ "needs-value": true
+ },
+ {
+ "name": "with-event-openssl",
+ "description": "OpenSSL support in Event",
+ "needs-value": false
+ },
+ {
+ "name": "with-event-ns",
+ "description": "custom PHP namespace for all Event classes",
+ "needs-value": true
+ },
+ {
+ "name": "with-openssl-dir",
+ "description": "OpenSSL installation prefix",
+ "needs-value": true
+ },
+ {
+ "name": "with-event-libevent-dir",
+ "description": "libevent installation prefix",
+ "needs-value": true
+ },
+ {
+ "name": "enable-event-debug",
+ "description": "Enable debug support in Event",
+ "needs-value": false
+ },
+ {
+ "name": "enable-event-sockets",
+ "description": "Enable sockets support in Event",
+ "needs-value": false
+ }
+ ]
+ }
+}