From 4e29cc7441d753b330a31746aaa42910bf1e96ac Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nu=C5=A1a=20Puk=C5=A1i=C4=8D?= Date: Wed, 30 Jul 2025 14:41:39 +0200 Subject: [PATCH] Downsizing: cleanup --- compose.override.yaml | 1 - compose.prod.yaml | 2 - compose.yaml | 6 +- composer.json | 3 - composer.lock | 357 +----------------------------------------- config/bundles.php | 1 - symfony.lock | 3 - 7 files changed, 4 insertions(+), 369 deletions(-) diff --git a/compose.override.yaml b/compose.override.yaml index 8142731..a4231f5 100644 --- a/compose.override.yaml +++ b/compose.override.yaml @@ -13,7 +13,6 @@ services: # from the bind-mount for better performance by enabling the next line: - /app/vendor environment: - MERCURE_EXTRA_DIRECTIVES: demo # See https://xdebug.org/docs/all_settings#mode XDEBUG_MODE: "${XDEBUG_MODE:-off}" extra_hosts: diff --git a/compose.prod.yaml b/compose.prod.yaml index b6ba525..6862242 100644 --- a/compose.prod.yaml +++ b/compose.prod.yaml @@ -8,8 +8,6 @@ services: APP_SECRET: ${APP_SECRET} TRUSTED_PROXIES: ${TRUSTED_PROXIES:-127.0.0.0/8,10.0.0.0/8} SERVER_NAME: :80 - MERCURE_PUBLISHER_JWT_KEY: ${CADDY_MERCURE_JWT_SECRET} - MERCURE_SUBSCRIBER_JWT_KEY: ${CADDY_MERCURE_JWT_SECRET} ports: # HTTP - target: 80 diff --git a/compose.yaml b/compose.yaml index ca7be7e..cc7b6fa 100644 --- a/compose.yaml +++ b/compose.yaml @@ -15,15 +15,15 @@ services: ports: # HTTP - target: 80 - published: ${HTTP_PORT:-80} + published: 80 protocol: tcp # HTTPS - target: 443 - published: ${HTTPS_PORT:-443} + published: 443 protocol: tcp # HTTP/3 - target: 443 - published: ${HTTP3_PORT:-443} + published: 443 protocol: udp diff --git a/composer.json b/composer.json index 74d0e3b..4f05a0a 100644 --- a/composer.json +++ b/composer.json @@ -15,8 +15,6 @@ "doctrine/doctrine-migrations-bundle": "^3.3", "doctrine/orm": "^3.3", "embed/embed": "^4.4", - "endroid/qr-code": "^6.0", - "endroid/qr-code-bundle": "^6.0", "laminas/laminas-diactoros": "^3.6", "league/commonmark": "^2.7", "league/html-to-markdown": "*", @@ -47,7 +45,6 @@ "symfony/ux-live-component": "^2.21", "symfony/workflow": "7.1.*", "symfony/yaml": "7.1.*", - "tkijewski/php-lnurl": "*", "twig/extra-bundle": "^2.12|^3.0", "twig/markdown-extra": "^3.21", "twig/string-extra": "^3.21", diff --git a/composer.lock b/composer.lock index fa822d1..fd206b3 100644 --- a/composer.lock +++ b/composer.lock @@ -4,62 +4,8 @@ "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", "This file is @generated automatically" ], - "content-hash": "210ea2a31ffe95d3b02f9a5b177fdda3", + "content-hash": "35730266c171fc5bbbe90ce2c0781509", "packages": [ - { - "name": "bacon/bacon-qr-code", - "version": "v3.0.1", - "source": { - "type": "git", - "url": "https://github.com/Bacon/BaconQrCode.git", - "reference": "f9cc1f52b5a463062251d666761178dbdb6b544f" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/Bacon/BaconQrCode/zipball/f9cc1f52b5a463062251d666761178dbdb6b544f", - "reference": "f9cc1f52b5a463062251d666761178dbdb6b544f", - "shasum": "" - }, - "require": { - "dasprid/enum": "^1.0.3", - "ext-iconv": "*", - "php": "^8.1" - }, - "require-dev": { - "phly/keep-a-changelog": "^2.12", - "phpunit/phpunit": "^10.5.11 || 11.0.4", - "spatie/phpunit-snapshot-assertions": "^5.1.5", - "squizlabs/php_codesniffer": "^3.9" - }, - "suggest": { - "ext-imagick": "to generate QR code images" - }, - "type": "library", - "autoload": { - "psr-4": { - "BaconQrCode\\": "src/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "BSD-2-Clause" - ], - "authors": [ - { - "name": "Ben Scholzen 'DASPRiD'", - "email": "mail@dasprids.de", - "homepage": "https://dasprids.de/", - "role": "Developer" - } - ], - "description": "BaconQrCode is a QR code generator for PHP.", - "homepage": "https://github.com/Bacon/BaconQrCode", - "support": { - "issues": "https://github.com/Bacon/BaconQrCode/issues", - "source": "https://github.com/Bacon/BaconQrCode/tree/v3.0.1" - }, - "time": "2024-10-01T13:55:55+00:00" - }, { "name": "bitwasp/bech32", "version": "v0.0.1", @@ -263,56 +209,6 @@ ], "time": "2024-09-19T14:15:21+00:00" }, - { - "name": "dasprid/enum", - "version": "1.0.6", - "source": { - "type": "git", - "url": "https://github.com/DASPRiD/Enum.git", - "reference": "8dfd07c6d2cf31c8da90c53b83c026c7696dda90" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/DASPRiD/Enum/zipball/8dfd07c6d2cf31c8da90c53b83c026c7696dda90", - "reference": "8dfd07c6d2cf31c8da90c53b83c026c7696dda90", - "shasum": "" - }, - "require": { - "php": ">=7.1 <9.0" - }, - "require-dev": { - "phpunit/phpunit": "^7 || ^8 || ^9 || ^10 || ^11", - "squizlabs/php_codesniffer": "*" - }, - "type": "library", - "autoload": { - "psr-4": { - "DASPRiD\\Enum\\": "src/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "BSD-2-Clause" - ], - "authors": [ - { - "name": "Ben Scholzen 'DASPRiD'", - "email": "mail@dasprids.de", - "homepage": "https://dasprids.de/", - "role": "Developer" - } - ], - "description": "PHP 7.1 enum implementation", - "keywords": [ - "enum", - "map" - ], - "support": { - "issues": "https://github.com/DASPRiD/Enum/issues", - "source": "https://github.com/DASPRiD/Enum/tree/1.0.6" - }, - "time": "2024-08-09T14:30:48+00:00" - }, { "name": "dflydev/dot-access-data", "version": "v3.0.3", @@ -1596,209 +1492,6 @@ ], "time": "2025-05-13T12:42:29+00:00" }, - { - "name": "endroid/installer", - "version": "1.5.0", - "source": { - "type": "git", - "url": "https://github.com/endroid/installer.git", - "reference": "39109e825057b2e7436123d5ad5dc8c2467a4cf6" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/endroid/installer/zipball/39109e825057b2e7436123d5ad5dc8c2467a4cf6", - "reference": "39109e825057b2e7436123d5ad5dc8c2467a4cf6", - "shasum": "" - }, - "require": { - "composer-plugin-api": "^2.0", - "php": "^8.2" - }, - "require-dev": { - "composer/composer": "^2.0", - "endroid/quality": "dev-main" - }, - "suggest": { - "roave/security-advisories": "Avoids installation of package versions with vulnerabilities" - }, - "type": "composer-plugin", - "extra": { - "class": "Endroid\\Installer\\Installer", - "branch-alias": { - "dev-main": "1.x-dev" - } - }, - "autoload": { - "psr-4": { - "Endroid\\Installer\\": "src" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Jeroen van den Enden", - "email": "info@endroid.nl" - } - ], - "description": "Composer plugin for installing configuration files", - "support": { - "issues": "https://github.com/endroid/installer/issues", - "source": "https://github.com/endroid/installer/tree/1.5.0" - }, - "funding": [ - { - "url": "https://github.com/endroid", - "type": "github" - } - ], - "time": "2024-10-20T18:31:36+00:00" - }, - { - "name": "endroid/qr-code", - "version": "6.0.9", - "source": { - "type": "git", - "url": "https://github.com/endroid/qr-code.git", - "reference": "21e888e8597440b2205e2e5c484b6c8e556bcd1a" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/endroid/qr-code/zipball/21e888e8597440b2205e2e5c484b6c8e556bcd1a", - "reference": "21e888e8597440b2205e2e5c484b6c8e556bcd1a", - "shasum": "" - }, - "require": { - "bacon/bacon-qr-code": "^3.0", - "php": "^8.2" - }, - "require-dev": { - "endroid/quality": "dev-main", - "ext-gd": "*", - "khanamiryan/qrcode-detector-decoder": "^2.0.2", - "setasign/fpdf": "^1.8.2" - }, - "suggest": { - "ext-gd": "Enables you to write PNG images", - "khanamiryan/qrcode-detector-decoder": "Enables you to use the image validator", - "roave/security-advisories": "Makes sure package versions with known security issues are not installed", - "setasign/fpdf": "Enables you to use the PDF writer" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-main": "6.x-dev" - } - }, - "autoload": { - "psr-4": { - "Endroid\\QrCode\\": "src/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Jeroen van den Enden", - "email": "info@endroid.nl" - } - ], - "description": "Endroid QR Code", - "homepage": "https://github.com/endroid/qr-code", - "keywords": [ - "code", - "endroid", - "php", - "qr", - "qrcode" - ], - "support": { - "issues": "https://github.com/endroid/qr-code/issues", - "source": "https://github.com/endroid/qr-code/tree/6.0.9" - }, - "funding": [ - { - "url": "https://github.com/endroid", - "type": "github" - } - ], - "time": "2025-07-13T19:59:45+00:00" - }, - { - "name": "endroid/qr-code-bundle", - "version": "6.0.0", - "source": { - "type": "git", - "url": "https://github.com/endroid/qr-code-bundle.git", - "reference": "b1e6972cf7ec154f646f0b0d9d12ca901bc0b9d1" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/endroid/qr-code-bundle/zipball/b1e6972cf7ec154f646f0b0d9d12ca901bc0b9d1", - "reference": "b1e6972cf7ec154f646f0b0d9d12ca901bc0b9d1", - "shasum": "" - }, - "require": { - "endroid/installer": "^1.2.2", - "endroid/qr-code": "^6.0.1", - "php": "^8.2", - "symfony/framework-bundle": "^5.4||^6.4||^7.0", - "symfony/twig-bundle": "^5.4||^6.4||^7.0", - "symfony/yaml": "^5.4||^6.4||^7.0" - }, - "require-dev": { - "endroid/quality": "dev-main" - }, - "suggest": { - "roave/security-advisories": "Avoids installation of package versions with vulnerabilities" - }, - "type": "symfony-bundle", - "extra": { - "branch-alias": { - "dev-main": "6.x-dev" - } - }, - "autoload": { - "psr-4": { - "Endroid\\QrCodeBundle\\": "src/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Jeroen van den Enden", - "email": "info@endroid.nl" - } - ], - "description": "Endroid QR Code Bundle", - "homepage": "https://github.com/endroid/qr-code-bundle", - "keywords": [ - "bundle", - "code", - "endroid", - "php", - "qr", - "symfony" - ], - "support": { - "issues": "https://github.com/endroid/qr-code-bundle/issues", - "source": "https://github.com/endroid/qr-code-bundle/tree/6.0.0" - }, - "funding": [ - { - "url": "https://github.com/endroid", - "type": "github" - } - ], - "time": "2024-10-21T23:18:20+00:00" - }, { "name": "genkgo/php-asn1", "version": "v2.8.0", @@ -9059,54 +8752,6 @@ ], "time": "2025-01-07T12:50:05+00:00" }, - { - "name": "tkijewski/php-lnurl", - "version": "v0.0.1", - "source": { - "type": "git", - "url": "https://github.com/tkthundr/php-lnurl.git", - "reference": "ce92e4a81083cafab3236be0a4ed0ee06a5066be" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/tkthundr/php-lnurl/zipball/ce92e4a81083cafab3236be0a4ed0ee06a5066be", - "reference": "ce92e4a81083cafab3236be0a4ed0ee06a5066be", - "shasum": "" - }, - "require": { - "bitwasp/bech32": "*" - }, - "require-dev": { - "phpunit/phpunit": "^5.4.0", - "squizlabs/php_codesniffer": "^2.0.0" - }, - "type": "library", - "autoload": { - "files": [ - "src/lnurl.php" - ], - "psr-4": { - "tkijewski\\lnurl\\": "src/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "Unlicense" - ], - "authors": [ - { - "name": "Tim Kijewski", - "role": "Author" - } - ], - "description": "PHP implementation of lnurl Spec", - "homepage": "https://github.com/tkijewski/php-lnurl", - "support": { - "issues": "https://github.com/tkthundr/php-lnurl/issues", - "source": "https://github.com/tkthundr/php-lnurl/tree/v0.0.1" - }, - "time": "2019-08-26T04:16:13+00:00" - }, { "name": "twig/extra-bundle", "version": "v3.21.0", diff --git a/config/bundles.php b/config/bundles.php index e93e3ed..c324856 100644 --- a/config/bundles.php +++ b/config/bundles.php @@ -13,5 +13,4 @@ return [ Symfony\Bundle\WebProfilerBundle\WebProfilerBundle::class => ['local' => true], Symfony\Bundle\SecurityBundle\SecurityBundle::class => ['all' => true], Symfony\UX\Icons\UXIconsBundle::class => ['all' => true], - Endroid\QrCodeBundle\EndroidQrCodeBundle::class => ['all' => true], ]; diff --git a/symfony.lock b/symfony.lock index 3ae56e3..c71ef93 100644 --- a/symfony.lock +++ b/symfony.lock @@ -35,9 +35,6 @@ "./migrations/.gitignore" ] }, - "endroid/qr-code-bundle": { - "version": "6.0.0" - }, "phpunit/phpunit": { "version": "9.6", "recipe": {