fix ref2stub
[mdref/mdref] / composer.json
index 9ff5f9c1edf34dd2e060f3e564ddbf8d87320a67..01de530ee30a826f24c04e03168fa295c32936c8 100644 (file)
@@ -7,5 +7,25 @@
             "name": "Michael Wallner",
             "email": "mike@php.net"
         }
-    ]
+    ],
+    "bin": [
+        "bin/ref2stub",
+        "bin/ref2html"
+    ],
+    "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"
+    },
+    "suggests": {
+        "ext-discount": "A Markdown renderer is needed, this is the preferred one."
+    }
 }