From: Christian Weiske Date: Mon, 27 Feb 2023 20:48:39 +0000 (+0100) Subject: Add composer.json so we can validate php extension requirements X-Git-Url: https://git.cweiske.de/surrogator.git/commitdiff_plain?ds=sidebyside Add composer.json so we can validate php extension requirements with "composer check-platform-reqs" --- diff --git a/.gitignore b/.gitignore index 951f078..b3d2101 100644 --- a/.gitignore +++ b/.gitignore @@ -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 index 0000000..9c920d0 --- /dev/null +++ b/composer.json @@ -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 index 0000000..7513e4a --- /dev/null +++ b/composer.lock @@ -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" +}