fix composer autoload in bins
[mdref/mdref] / composer.json
index b017f4147bf53f226e089d0badfc202418b92b75..4a4999983bf2e0dd5777abb3c3e565b0076efd05 100644 (file)
@@ -8,21 +8,27 @@
             "email": "mike@php.net"
         }
     ],
-    "bin": ["bin/ref2stub"],
+    "bin": [
+        "bin/ext2ref",
+        "bin/ref2html",
+        "bin/ref2stub",
+        "bin/stub2ref"
+    ],
     "autoload": {
         "psr-4": {
             "mdref\\": "mdref/"
         }
     },
     "require": {
-        "php": "^7.3",
-        "ext-ctype": "^7.3",
-        "ext-http": "^3.2",
-        "ext-filter": "^7.3",
-        "ext-pcre": "^7.3"
+        "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.",
-        "ext-cmark": "A Markdown renderer is needed, this is the fallback one."
+        "ext-discount": "A Markdown renderer is needed, this is the preferred one."
     }
 }