stub2ref
[mdref/mdref] / composer.json
index 9ff5f9c1edf34dd2e060f3e564ddbf8d87320a67..4a4999983bf2e0dd5777abb3c3e565b0076efd05 100644 (file)
@@ -7,5 +7,28 @@
             "name": "Michael Wallner",
             "email": "mike@php.net"
         }
-    ]
+    ],
+    "bin": [
+        "bin/ext2ref",
+        "bin/ref2html",
+        "bin/ref2stub",
+        "bin/stub2ref"
+    ],
+    "autoload": {
+        "psr-4": {
+            "mdref\\": "mdref/"
+        }
+    },
+    "require": {
+        "php": "^7.3 || ^8.0",
+        "ext-ctype": "*",
+        "ext-filter": "*",
+        "ext-pcre": "*",
+        "ext-http": "^3.2 || ^4.2",
+        "league/commonmark": "^2.0",
+        "phpdocumentor/reflection-docblock": "^5.3"
+    },
+    "suggests": {
+        "ext-discount": "A Markdown renderer is needed, this is the preferred one."
+    }
 }