From d36ccfc4a80698bdbffd431849b8b19e21dade04 Mon Sep 17 00:00:00 2001 From: Terence Eden Date: Sun, 23 Jul 2023 09:10:04 +0100 Subject: [PATCH] Add composer.json As per #332 --- www/composer.json | 81 +++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 81 insertions(+) create mode 100644 www/composer.json diff --git a/www/composer.json b/www/composer.json new file mode 100644 index 0000000..8301a8f --- /dev/null +++ b/www/composer.json @@ -0,0 +1,81 @@ +{ + "type": "project", + "license": "proprietary", + "minimum-stability": "stable", + "prefer-stable": true, + "require": { + "php": ">=8.1", + "ext-ctype": "*", + "ext-iconv": "*", + "auth0/symfony": "*", + "doctrine/dbal": "*", + "doctrine/doctrine-bundle": "*", + "doctrine/doctrine-migrations-bundle": "^3.0", + "doctrine/migrations": "*", + "eleirbag89/mastodonbotphp": "^0.1.0", + "ferrysyahrinal/twifer": "^2.2", + "nyholm/psr7": "^1.8", + "symfony/apache-pack": "^1.0", + "symfony/cache": "6.2.*", + "symfony/console": "6.2.*", + "symfony/dotenv": "6.2.*", + "symfony/flex": "^2", + "symfony/framework-bundle": "6.2.*", + "symfony/http-client": "6.2.*", + "symfony/mime": "6.2.*", + "symfony/runtime": "6.2.*", + "symfony/twig-bundle": "6.2.*", + "symfony/yaml": "6.2.*", + "twig/extra-bundle": "^2.12|^3.0", + "twig/twig": "^3.0" + }, + "config": { + "allow-plugins": { + "php-http/discovery": true, + "symfony/flex": true, + "symfony/runtime": true, + "composer/installers": true + }, + "sort-packages": true + }, + "autoload": { + "psr-4": { + "App\\": "src/" + } + }, + "autoload-dev": { + "psr-4": { + "App\\Tests\\": "tests/" + } + }, + "replace": { + "symfony/polyfill-ctype": "*", + "symfony/polyfill-iconv": "*", + "symfony/polyfill-php72": "*", + "symfony/polyfill-php73": "*", + "symfony/polyfill-php74": "*", + "symfony/polyfill-php80": "*", + "symfony/polyfill-php81": "*" + }, + "scripts": { + "auto-scripts": { + "cache:clear": "symfony-cmd", + "assets:install %PUBLIC_DIR%": "symfony-cmd" + }, + "post-install-cmd": [ + "@auto-scripts" + ], + "post-update-cmd": [ + "@auto-scripts" + ] + }, + "conflict": { + "symfony/symfony": "*" + }, + "extra": { + "symfony": { + "allow-contrib": false, + "require": "6.2.*" + } + } +}