Add composer.json so we can validate php extension requirements master github/master
authorChristian Weiske <cweiske@cweiske.de>
Mon, 27 Feb 2023 20:48:39 +0000 (21:48 +0100)
committerChristian Weiske <cweiske@cweiske.de>
Mon, 27 Feb 2023 20:48:39 +0000 (21:48 +0100)
with "composer check-platform-reqs"

.gitignore
composer.json [new file with mode: 0644]
composer.lock [new file with mode: 0644]

index 951f07870d13c5a827aeb77bd7e40771de0afec3..b3d2101bb02e657ecca5db51e1e723c7ffe08145 100644 (file)
@@ -7,3 +7,4 @@ www/favicon.ico
 www/robots.txt
 build.properties
 dist/
+/vendor/
diff --git a/composer.json b/composer.json
new file mode 100644 (file)
index 0000000..9c920d0
--- /dev/null
@@ -0,0 +1,9 @@
+{
+    "name": "cweiske/surrogator",
+    "description": "Libravatar compatible avatar image server",
+    "license": "AGPL-3.0-only",
+    "require": {
+        "ext-gd": "*",
+        "ext-imagick": "*"
+    }
+}
diff --git a/composer.lock b/composer.lock
new file mode 100644 (file)
index 0000000..7513e4a
--- /dev/null
@@ -0,0 +1,21 @@
+{
+    "_readme": [
+        "This file locks the dependencies of your project to a known state",
+        "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies",
+        "This file is @generated automatically"
+    ],
+    "content-hash": "c94e11a46a1283a678a79c9807c2b641",
+    "packages": [],
+    "packages-dev": [],
+    "aliases": [],
+    "minimum-stability": "stable",
+    "stability-flags": [],
+    "prefer-stable": false,
+    "prefer-lowest": false,
+    "platform": {
+        "ext-gd": "*",
+        "ext-imagick": "*"
+    },
+    "platform-dev": [],
+    "plugin-api-version": "2.3.0"
+}