From aa0076df35685915c0cce026f533e6bd67f98c69 Mon Sep 17 00:00:00 2001 From: Chris Gilligan <49878588+UTCGilligan@users.noreply.github.com> Date: Wed, 21 Jan 2026 12:43:19 -0500 Subject: [PATCH] UTCT-250: Correct versions/repositories/install for Composer. Signed-off-by: Chris Gilligan <49878588+UTCGilligan@users.noreply.github.com> --- composer.json | 30 ++++- composer.lock | 357 +++++++++++++++++++++++++++++++++++++++++++++++--- 2 files changed, 360 insertions(+), 27 deletions(-) diff --git a/composer.json b/composer.json index bf11f9d..9dd04fe 100644 --- a/composer.json +++ b/composer.json @@ -1,6 +1,6 @@ { - "name": "yourls/yourls", - "description": "Your Own URL Shortener", + "name": "utcweb/utctiny", + "description": "UTC: Your Own URL Shortener", "type": "project", "keywords": [ "shortener", @@ -9,11 +9,11 @@ "url", "bitly" ], - "homepage": "https://yourls.org", + "homepage": "https://go.utc.edu", "license": "MIT", "support": { - "issues": "https://github.com/YOURLS/YOURLS/issues", - "source": "https://github.com/YOURLS/YOURLS" + "issues": "https://github.com/UTCWeb/utctiny/issues", + "source": "https://github.com/UTCWeb/utctiny" }, "require": { "php": "^8.1", @@ -32,8 +32,20 @@ "symfony/polyfill-mbstring": "^1.15", "symfony/polyfill-intl-idn": "^1.17", "spatie/array-to-xml": "^3.4", - "platformsh/laravel-bridge": "^2.2" + "yourls/seans-qrcode": "dev-develop as 1.x-dev", + "yourls/yourls-saml": "dev-develop as 1.x-dev", + "platformsh/laravel-bridge": "^1.1" }, + "repositories": [ + { + "type": "path", + "url": "user/plugins/seans-qrcode" + }, + { + "type": "path", + "url": "user/plugins/yourls-saml" + } + ], "require-dev": { "ext-ctype": "*" }, @@ -60,6 +72,12 @@ "ext-zlib": "For best performance" }, "scripts": { + "install-plugin-deps": [ + "bash -c \"find user/plugins -name \\\"composer.json\\\" -type f -exec dirname {} \\; | xargs -I{} bash -c 'echo \\\"Installing dependencies for {}\\\" && cd {} && composer install && cd - > /dev/null'\"" + ], + "post-install-cmd": [ + "@install-plugin-deps" + ], "post-update-cmd": "bash ./includes/vendor/build-script/yourls-build.sh ./includes/vendor" } } diff --git a/composer.lock b/composer.lock index e395a2c..988a797 100644 --- a/composer.lock +++ b/composer.lock @@ -4,7 +4,7 @@ "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", "This file is @generated automatically" ], - "content-hash": "a3c2cc3c64e16a75d675cc57c6be010b", + "content-hash": "58d57b4c8cbf687a308bed29678dcc59", "packages": [ { "name": "aura/sql", @@ -64,6 +64,165 @@ }, "time": "2025-01-22T06:39:17+00:00" }, + { + "name": "chillerlan/php-qrcode", + "version": "5.0.5", + "source": { + "type": "git", + "url": "https://github.com/chillerlan/php-qrcode.git", + "reference": "7b66282572fc14075c0507d74d9837dab25b38d6" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/chillerlan/php-qrcode/zipball/7b66282572fc14075c0507d74d9837dab25b38d6", + "reference": "7b66282572fc14075c0507d74d9837dab25b38d6", + "shasum": "" + }, + "require": { + "chillerlan/php-settings-container": "^2.1.6 || ^3.2.1", + "ext-mbstring": "*", + "php": "^7.4 || ^8.0" + }, + "require-dev": { + "chillerlan/php-authenticator": "^4.3.1 || ^5.2.1", + "ext-fileinfo": "*", + "phan/phan": "^5.5.2", + "phpcompatibility/php-compatibility": "10.x-dev", + "phpmd/phpmd": "^2.15", + "phpunit/phpunit": "^9.6", + "setasign/fpdf": "^1.8.2", + "slevomat/coding-standard": "^8.23.0", + "squizlabs/php_codesniffer": "^4.0.0" + }, + "suggest": { + "chillerlan/php-authenticator": "Yet another Google authenticator! Also creates URIs for mobile apps.", + "setasign/fpdf": "Required to use the QR FPDF output.", + "simple-icons/simple-icons": "SVG icons that you can use to embed as logos in the QR Code" + }, + "type": "library", + "autoload": { + "psr-4": { + "chillerlan\\QRCode\\": "src" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT", + "Apache-2.0" + ], + "authors": [ + { + "name": "Kazuhiko Arase", + "homepage": "https://github.com/kazuhikoarase/qrcode-generator" + }, + { + "name": "ZXing Authors", + "homepage": "https://github.com/zxing/zxing" + }, + { + "name": "Ashot Khanamiryan", + "homepage": "https://github.com/khanamiryan/php-qrcode-detector-decoder" + }, + { + "name": "Smiley", + "email": "smiley@chillerlan.net", + "homepage": "https://github.com/codemasher" + }, + { + "name": "Contributors", + "homepage": "https://github.com/chillerlan/php-qrcode/graphs/contributors" + } + ], + "description": "A QR Code generator and reader with a user-friendly API. PHP 7.4+", + "homepage": "https://github.com/chillerlan/php-qrcode", + "keywords": [ + "phpqrcode", + "qr", + "qr code", + "qr-reader", + "qrcode", + "qrcode-generator", + "qrcode-reader" + ], + "support": { + "docs": "https://php-qrcode.readthedocs.io", + "issues": "https://github.com/chillerlan/php-qrcode/issues", + "source": "https://github.com/chillerlan/php-qrcode" + }, + "funding": [ + { + "url": "https://ko-fi.com/codemasher", + "type": "Ko-Fi" + } + ], + "time": "2025-11-23T23:51:44+00:00" + }, + { + "name": "chillerlan/php-settings-container", + "version": "3.2.1", + "source": { + "type": "git", + "url": "https://github.com/chillerlan/php-settings-container.git", + "reference": "95ed3e9676a1d47cab2e3174d19b43f5dbf52681" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/chillerlan/php-settings-container/zipball/95ed3e9676a1d47cab2e3174d19b43f5dbf52681", + "reference": "95ed3e9676a1d47cab2e3174d19b43f5dbf52681", + "shasum": "" + }, + "require": { + "ext-json": "*", + "php": "^8.1" + }, + "require-dev": { + "phpmd/phpmd": "^2.15", + "phpstan/phpstan": "^1.11", + "phpstan/phpstan-deprecation-rules": "^1.2", + "phpunit/phpunit": "^10.5", + "squizlabs/php_codesniffer": "^3.10" + }, + "type": "library", + "autoload": { + "psr-4": { + "chillerlan\\Settings\\": "src" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Smiley", + "email": "smiley@chillerlan.net", + "homepage": "https://github.com/codemasher" + } + ], + "description": "A container class for immutable settings objects. Not a DI container.", + "homepage": "https://github.com/chillerlan/php-settings-container", + "keywords": [ + "Settings", + "configuration", + "container", + "helper" + ], + "support": { + "issues": "https://github.com/chillerlan/php-settings-container/issues", + "source": "https://github.com/chillerlan/php-settings-container" + }, + "funding": [ + { + "url": "https://www.paypal.com/donate?hosted_button_id=WLYUNAT9ZTJZ4", + "type": "custom" + }, + { + "url": "https://ko-fi.com/codemasher", + "type": "ko_fi" + } + ], + "time": "2024-07-16T11:13:48+00:00" + }, { "name": "composer/ca-bundle", "version": "1.5.10", @@ -346,6 +505,70 @@ }, "time": "2026-01-13T17:56:03+00:00" }, + { + "name": "onelogin/php-saml", + "version": "4.3.1", + "source": { + "type": "git", + "url": "https://github.com/SAML-Toolkits/php-saml.git", + "reference": "b009f160e4ac11f49366a45e0d45706b48429353" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/SAML-Toolkits/php-saml/zipball/b009f160e4ac11f49366a45e0d45706b48429353", + "reference": "b009f160e4ac11f49366a45e0d45706b48429353", + "shasum": "" + }, + "require": { + "php": ">=7.3", + "robrichards/xmlseclibs": ">=3.1.4" + }, + "require-dev": { + "pdepend/pdepend": "^2.8.0", + "php-coveralls/php-coveralls": "^2.0", + "phploc/phploc": "^4.0 || ^5.0 || ^6.0 || ^7.0", + "phpunit/phpunit": "^9.5", + "sebastian/phpcpd": "^4.0 || ^5.0 || ^6.0 ", + "squizlabs/php_codesniffer": "^3.5.8" + }, + "suggest": { + "ext-curl": "Install curl lib to be able to use the IdPMetadataParser for parsing remote XMLs", + "ext-dom": "Install xml lib", + "ext-openssl": "Install openssl lib in order to handle with x509 certs (require to support sign and encryption)", + "ext-zlib": "Install zlib" + }, + "type": "library", + "autoload": { + "psr-4": { + "OneLogin\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "description": "PHP SAML Toolkit", + "homepage": "https://github.com/SAML-Toolkits/php-saml", + "keywords": [ + "Federation", + "SAML2", + "SSO", + "identity", + "saml" + ], + "support": { + "email": "sixto.martin.garcia@gmail.com", + "issues": "https://github.com/onelogin/SAML-Toolkits/issues", + "source": "https://github.com/onelogin/SAML-Toolkits/" + }, + "funding": [ + { + "url": "https://github.com/SAML-Toolkits", + "type": "github" + } + ], + "time": "2025-12-09T10:50:49+00:00" + }, { "name": "ozh/bookmarkletgen", "version": "1.3", @@ -393,20 +616,20 @@ }, { "name": "platformsh/config-reader", - "version": "2.4.1", + "version": "3.0.1", "source": { "type": "git", "url": "https://github.com/platformsh/config-reader-php.git", - "reference": "dc08f50f5a40a767457668ad154116c8ea89cfc6" + "reference": "cab2b6c0cdfc318df09a64136957dc1fc308f418" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/platformsh/config-reader-php/zipball/dc08f50f5a40a767457668ad154116c8ea89cfc6", - "reference": "dc08f50f5a40a767457668ad154116c8ea89cfc6", + "url": "https://api.github.com/repos/platformsh/config-reader-php/zipball/cab2b6c0cdfc318df09a64136957dc1fc308f418", + "reference": "cab2b6c0cdfc318df09a64136957dc1fc308f418", "shasum": "" }, "require": { - "php": ">=7.2" + "php": ">=7.4" }, "require-dev": { "phpunit/phpunit": "^8.5" @@ -430,30 +653,26 @@ "description": "Small helper to access Platform.sh environment variables", "support": { "issues": "https://github.com/platformsh/config-reader-php/issues", - "source": "https://github.com/platformsh/config-reader-php/tree/2.4.1" + "source": "https://github.com/platformsh/config-reader-php/tree/3.0.1" }, - "time": "2023-09-14T17:07:00+00:00" + "time": "2025-02-25T17:22:15+00:00" }, { "name": "platformsh/laravel-bridge", - "version": "2.2.2", + "version": "1.1", "source": { "type": "git", "url": "https://github.com/platformsh/laravel-bridge.git", - "reference": "1e3312fb3311ef49f15779713e0122ef00549dce" + "reference": "9ae82479a36dfb68d2b41bd34f7d3912b929024c" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/platformsh/laravel-bridge/zipball/1e3312fb3311ef49f15779713e0122ef00549dce", - "reference": "1e3312fb3311ef49f15779713e0122ef00549dce", + "url": "https://api.github.com/repos/platformsh/laravel-bridge/zipball/9ae82479a36dfb68d2b41bd34f7d3912b929024c", + "reference": "9ae82479a36dfb68d2b41bd34f7d3912b929024c", "shasum": "" }, - "require": { - "php": ">=7.2", - "platformsh/config-reader": "^2.4.0" - }, "require-dev": { - "phpunit/phpunit": "^8.5" + "phpunit/phpunit": "^7.0" }, "type": "library", "extra": { @@ -479,9 +698,9 @@ "description": "Bridge library for running Symfony Flex on Platform.sh", "support": { "issues": "https://github.com/platformsh/laravel-bridge/issues", - "source": "https://github.com/platformsh/laravel-bridge/tree/2.2.2" + "source": "https://github.com/platformsh/laravel-bridge/tree/master" }, - "time": "2023-12-12T17:20:36+00:00" + "time": "2018-10-15T18:09:39+00:00" }, { "name": "pomo/pomo", @@ -687,6 +906,48 @@ }, "time": "2025-12-12T17:47:19+00:00" }, + { + "name": "robrichards/xmlseclibs", + "version": "3.1.4", + "source": { + "type": "git", + "url": "https://github.com/robrichards/xmlseclibs.git", + "reference": "bc87389224c6de95802b505e5265b0ec2c5bcdbd" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/robrichards/xmlseclibs/zipball/bc87389224c6de95802b505e5265b0ec2c5bcdbd", + "reference": "bc87389224c6de95802b505e5265b0ec2c5bcdbd", + "shasum": "" + }, + "require": { + "ext-openssl": "*", + "php": ">= 5.4" + }, + "type": "library", + "autoload": { + "psr-4": { + "RobRichards\\XMLSecLibs\\": "src" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "BSD-3-Clause" + ], + "description": "A PHP library for XML Security", + "homepage": "https://github.com/robrichards/xmlseclibs", + "keywords": [ + "security", + "signature", + "xml", + "xmldsig" + ], + "support": { + "issues": "https://github.com/robrichards/xmlseclibs/issues", + "source": "https://github.com/robrichards/xmlseclibs/tree/3.1.4" + }, + "time": "2025-12-08T11:57:53+00:00" + }, { "name": "spatie/array-to-xml", "version": "3.4.4", @@ -1011,12 +1272,66 @@ } ], "time": "2024-12-23T08:48:59+00:00" + }, + { + "name": "yourls/seans-qrcode", + "version": "dev-develop", + "dist": { + "type": "path", + "url": "user/plugins/seans-qrcode", + "reference": "d162de53f08a19e0b27335362a74788712f1d20e" + }, + "require": { + "chillerlan/php-qrcode": "^4.4.0 || ^5.0.3", + "ext-gd": "*", + "ext-mbstring": "*", + "php": "^8.0" + }, + "type": "yourls-plugin", + "description": "QR Code plugin for YOURLS", + "transport-options": { + "relative": true + } + }, + { + "name": "yourls/yourls-saml", + "version": "dev-develop", + "dist": { + "type": "path", + "url": "user/plugins/yourls-saml", + "reference": "4df0a07eac5bca340fd5f814af24daf5d6a316c2" + }, + "require": { + "onelogin/php-saml": "^4.0", + "platformsh/config-reader": "^3.0" + }, + "type": "yourls-plugin", + "description": "SAML Authentication for YOURLS", + "transport-options": { + "relative": true + } } ], "packages-dev": [], - "aliases": [], + "aliases": [ + { + "package": "yourls/seans-qrcode", + "version": "dev-develop", + "alias": "1.x-dev", + "alias_normalized": "1.9999999.9999999.9999999-dev" + }, + { + "package": "yourls/yourls-saml", + "version": "dev-develop", + "alias": "1.x-dev", + "alias_normalized": "1.9999999.9999999.9999999-dev" + } + ], "minimum-stability": "stable", - "stability-flags": {}, + "stability-flags": { + "yourls/seans-qrcode": 20, + "yourls/yourls-saml": 20 + }, "prefer-stable": false, "prefer-lowest": false, "platform": {