composer update

This commit is contained in:
Aleksandr Yakovlev 2024-09-30 07:55:14 +06:00
parent 4bea2b699e
commit f9f57ebf0c
No known key found for this signature in database
GPG key ID: 8269E24B4008E32A
3 changed files with 69 additions and 477 deletions

15
bot.php
View file

@ -1,9 +1,6 @@
<?php <?php
require_once ("vendor/autoload.php"); require_once ("vendor/autoload.php");
use Symfony\Component\Yaml\Yaml; use Symfony\Component\Yaml\Yaml;
use Mremi\UrlShortener\Model\Link;
use Mremi\UrlShortener\Provider\Bitly\BitlyProvider;
use Mremi\UrlShortener\Provider\Bitly\GenericAccessTokenAuthenticator;
use Revolution\Mastodon\MastodonClient; use Revolution\Mastodon\MastodonClient;
use GuzzleHttp\Client; use GuzzleHttp\Client;
@ -79,11 +76,6 @@ $service->elementMap = [
$articles = $service->parse($string)[0]['value']; $articles = $service->parse($string)[0]['value'];
unset($string); unset($string);
$pandoc = new \Pandoc\Pandoc(); $pandoc = new \Pandoc\Pandoc();
/*
$bitlyProvider = new BitlyProvider(
new GenericAccessTokenAuthenticator($config['BITLY_TOKEN'])
);
*/
$telegram = new Longman\TelegramBot\Telegram( $telegram = new Longman\TelegramBot\Telegram(
$config['TELEGRAM_API_KEY'], $config['TELEGRAM_API_KEY'],
$config['TELEGRAM_BOT_NAME'] $config['TELEGRAM_BOT_NAME']
@ -96,7 +88,6 @@ foreach ($articles as $article) {
} }
$title = $article['title']; $title = $article['title'];
$link_mastodon = $article['link']; $link_mastodon = $article['link'];
$link_telegram = 'https://t.me/iv?url='.urlencode($article['link']).'&rhash=2db6db1261cc57';
$description = $article['description']; $description = $article['description'];
$image = NULL; $image = NULL;
preg_match('/<img.+src=[\'"](?P<src>.+?)[\'"].*>/i', $description, $image); preg_match('/<img.+src=[\'"](?P<src>.+?)[\'"].*>/i', $description, $image);
@ -112,10 +103,10 @@ foreach ($articles as $article) {
$description = formatdsc($description); $description = formatdsc($description);
} }
*/ */
$limit = 500 - strlen($link_telegram) - strlen($title) - 20; $limit = 500 - strlen($link_mastodon) - strlen($title) - 20;
$description = "$title\n\n".ellipse($description, $limit); $description = "$title\n\n".ellipse($description, $limit);
$description_mastodon = $description."\nСсылка на статью и голосование за рейтинг: $link_mastodon"; $description_mastodon = $description."\n$link_mastodon";
$description_telegram = $description.PHP_EOL.$link_mastodon; $description_telegram = $description_mastodon;
if (!$config['DRY_RUN']) { if (!$config['DRY_RUN']) {
if ($config['TELEGRAM'] === true) { if ($config['TELEGRAM'] === true) {

View file

@ -4,7 +4,6 @@
"sabre/xml": "^4.0", "sabre/xml": "^4.0",
"ryakad/pandoc-php": "^1.0", "ryakad/pandoc-php": "^1.0",
"symfony/yaml": "^7.1", "symfony/yaml": "^7.1",
"mremi/url-shortener": "^2.1",
"revolution/laravel-mastodon-api": "^3.1" "revolution/laravel-mastodon-api": "^3.1"
}, },
"config": { "config": {

530
composer.lock generated
View file

@ -4,7 +4,7 @@
"Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies",
"This file is @generated automatically" "This file is @generated automatically"
], ],
"content-hash": "b11ca9cc2400970c0f6933c71a9d71a5", "content-hash": "de9331ea775439043c27c93a63f5a8c3",
"packages": [ "packages": [
{ {
"name": "carbonphp/carbon-doctrine-types", "name": "carbonphp/carbon-doctrine-types",
@ -650,16 +650,16 @@
}, },
{ {
"name": "illuminate/collections", "name": "illuminate/collections",
"version": "v11.23.5", "version": "v11.25.0",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/illuminate/collections.git", "url": "https://github.com/illuminate/collections.git",
"reference": "cbea9d7a82984bbc1a9376498533cc77513f9a09" "reference": "465044f988f9a07c901388beeb15201d711387aa"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/illuminate/collections/zipball/cbea9d7a82984bbc1a9376498533cc77513f9a09", "url": "https://api.github.com/repos/illuminate/collections/zipball/465044f988f9a07c901388beeb15201d711387aa",
"reference": "cbea9d7a82984bbc1a9376498533cc77513f9a09", "reference": "465044f988f9a07c901388beeb15201d711387aa",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
@ -701,11 +701,11 @@
"issues": "https://github.com/laravel/framework/issues", "issues": "https://github.com/laravel/framework/issues",
"source": "https://github.com/laravel/framework" "source": "https://github.com/laravel/framework"
}, },
"time": "2024-09-12T14:50:04+00:00" "time": "2024-09-25T15:08:32+00:00"
}, },
{ {
"name": "illuminate/conditionable", "name": "illuminate/conditionable",
"version": "v11.23.5", "version": "v11.25.0",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/illuminate/conditionable.git", "url": "https://github.com/illuminate/conditionable.git",
@ -751,16 +751,16 @@
}, },
{ {
"name": "illuminate/contracts", "name": "illuminate/contracts",
"version": "v11.23.5", "version": "v11.25.0",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/illuminate/contracts.git", "url": "https://github.com/illuminate/contracts.git",
"reference": "5a4c6dcf633c1f69e1b70bbea1ef1b7d2186d3da" "reference": "56312862af937bd6da8e6dc8bbd88188dfb478f8"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/illuminate/contracts/zipball/5a4c6dcf633c1f69e1b70bbea1ef1b7d2186d3da", "url": "https://api.github.com/repos/illuminate/contracts/zipball/56312862af937bd6da8e6dc8bbd88188dfb478f8",
"reference": "5a4c6dcf633c1f69e1b70bbea1ef1b7d2186d3da", "reference": "56312862af937bd6da8e6dc8bbd88188dfb478f8",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
@ -795,20 +795,20 @@
"issues": "https://github.com/laravel/framework/issues", "issues": "https://github.com/laravel/framework/issues",
"source": "https://github.com/laravel/framework" "source": "https://github.com/laravel/framework"
}, },
"time": "2024-09-12T15:25:08+00:00" "time": "2024-09-22T15:08:08+00:00"
}, },
{ {
"name": "illuminate/filesystem", "name": "illuminate/filesystem",
"version": "v11.23.5", "version": "v11.25.0",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/illuminate/filesystem.git", "url": "https://github.com/illuminate/filesystem.git",
"reference": "87f93ffa6f1bcbe0dfd16ed97e3e1e537002c22d" "reference": "ce7013a350fb06bc65e8a2cf15fd2015f49e476d"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/illuminate/filesystem/zipball/87f93ffa6f1bcbe0dfd16ed97e3e1e537002c22d", "url": "https://api.github.com/repos/illuminate/filesystem/zipball/ce7013a350fb06bc65e8a2cf15fd2015f49e476d",
"reference": "87f93ffa6f1bcbe0dfd16ed97e3e1e537002c22d", "reference": "ce7013a350fb06bc65e8a2cf15fd2015f49e476d",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
@ -862,20 +862,20 @@
"issues": "https://github.com/laravel/framework/issues", "issues": "https://github.com/laravel/framework/issues",
"source": "https://github.com/laravel/framework" "source": "https://github.com/laravel/framework"
}, },
"time": "2024-09-12T12:32:25+00:00" "time": "2024-09-22T15:10:50+00:00"
}, },
{ {
"name": "illuminate/http", "name": "illuminate/http",
"version": "v11.23.5", "version": "v11.25.0",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/illuminate/http.git", "url": "https://github.com/illuminate/http.git",
"reference": "63e5cc3ddf87f7271fee6644274bc44e15b34af8" "reference": "913d9187d21fa3e6a051d9c958bbb7a46b84391b"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/illuminate/http/zipball/63e5cc3ddf87f7271fee6644274bc44e15b34af8", "url": "https://api.github.com/repos/illuminate/http/zipball/913d9187d21fa3e6a051d9c958bbb7a46b84391b",
"reference": "63e5cc3ddf87f7271fee6644274bc44e15b34af8", "reference": "913d9187d21fa3e6a051d9c958bbb7a46b84391b",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
@ -923,11 +923,11 @@
"issues": "https://github.com/laravel/framework/issues", "issues": "https://github.com/laravel/framework/issues",
"source": "https://github.com/laravel/framework" "source": "https://github.com/laravel/framework"
}, },
"time": "2024-09-09T13:51:02+00:00" "time": "2024-09-25T15:14:42+00:00"
}, },
{ {
"name": "illuminate/macroable", "name": "illuminate/macroable",
"version": "v11.23.5", "version": "v11.25.0",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/illuminate/macroable.git", "url": "https://github.com/illuminate/macroable.git",
@ -973,7 +973,7 @@
}, },
{ {
"name": "illuminate/session", "name": "illuminate/session",
"version": "v11.23.5", "version": "v11.25.0",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/illuminate/session.git", "url": "https://github.com/illuminate/session.git",
@ -1030,16 +1030,16 @@
}, },
{ {
"name": "illuminate/support", "name": "illuminate/support",
"version": "v11.23.5", "version": "v11.25.0",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/illuminate/support.git", "url": "https://github.com/illuminate/support.git",
"reference": "8199097b4e24b05e8a035a6ea2fb5aeba645d71b" "reference": "ead1796b74be915705e66a695fce8d3cd4bb9034"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/illuminate/support/zipball/8199097b4e24b05e8a035a6ea2fb5aeba645d71b", "url": "https://api.github.com/repos/illuminate/support/zipball/ead1796b74be915705e66a695fce8d3cd4bb9034",
"reference": "8199097b4e24b05e8a035a6ea2fb5aeba645d71b", "reference": "ead1796b74be915705e66a695fce8d3cd4bb9034",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
@ -1079,6 +1079,7 @@
}, },
"autoload": { "autoload": {
"files": [ "files": [
"functions.php",
"helpers.php" "helpers.php"
], ],
"psr-4": { "psr-4": {
@ -1101,7 +1102,7 @@
"issues": "https://github.com/laravel/framework/issues", "issues": "https://github.com/laravel/framework/issues",
"source": "https://github.com/laravel/framework" "source": "https://github.com/laravel/framework"
}, },
"time": "2024-09-12T15:25:39+00:00" "time": "2024-09-25T07:16:58+00:00"
}, },
{ {
"name": "longman/telegram-bot", "name": "longman/telegram-bot",
@ -1209,63 +1210,6 @@
], ],
"time": "2024-05-30T21:05:25+00:00" "time": "2024-05-30T21:05:25+00:00"
}, },
{
"name": "mremi/url-shortener",
"version": "v2.4.0",
"source": {
"type": "git",
"url": "https://github.com/mremi/UrlShortener.git",
"reference": "346dcc25f491f962cd380813631da9f2e939b092"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/mremi/UrlShortener/zipball/346dcc25f491f962cd380813631da9f2e939b092",
"reference": "346dcc25f491f962cd380813631da9f2e939b092",
"shasum": ""
},
"require": {
"guzzlehttp/guzzle": "^6.0 || ^7.0",
"php": "^5.6 || ^7.0 || ^8.0",
"symfony/console": "^3.1 || ^4.1 || ^5.0 || ^6.0"
},
"require-dev": {
"friendsofphp/php-cs-fixer": "^2.19",
"symfony/phpunit-bridge": "^5.0 || ^6.0"
},
"type": "library",
"extra": {
"branch-alias": {
"dev-master": "2.4-dev"
}
},
"autoload": {
"psr-4": {
"Mremi\\UrlShortener\\": "src/Mremi/UrlShortener"
}
},
"notification-url": "https://packagist.org/downloads/",
"license": [
"MIT"
],
"authors": [
{
"name": "Rémi Marseille",
"email": "marseille.remi@gmail.com"
}
],
"description": "A PHP5/PHP7/PHP8 library using API to shorten/expand URL",
"homepage": "https://github.com/mremi/UrlShortener",
"keywords": [
"api",
"shortener",
"url"
],
"support": {
"issues": "https://github.com/mremi/UrlShortener/issues",
"source": "https://github.com/mremi/UrlShortener/tree/v2.4.0"
},
"time": "2021-09-06T07:20:54+00:00"
},
{ {
"name": "nesbot/carbon", "name": "nesbot/carbon",
"version": "3.8.0", "version": "3.8.0",
@ -2119,100 +2063,6 @@
], ],
"time": "2024-05-31T14:57:53+00:00" "time": "2024-05-31T14:57:53+00:00"
}, },
{
"name": "symfony/console",
"version": "v6.4.11",
"source": {
"type": "git",
"url": "https://github.com/symfony/console.git",
"reference": "42686880adaacdad1835ee8fc2a9ec5b7bd63998"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/symfony/console/zipball/42686880adaacdad1835ee8fc2a9ec5b7bd63998",
"reference": "42686880adaacdad1835ee8fc2a9ec5b7bd63998",
"shasum": ""
},
"require": {
"php": ">=8.1",
"symfony/deprecation-contracts": "^2.5|^3",
"symfony/polyfill-mbstring": "~1.0",
"symfony/service-contracts": "^2.5|^3",
"symfony/string": "^5.4|^6.0|^7.0"
},
"conflict": {
"symfony/dependency-injection": "<5.4",
"symfony/dotenv": "<5.4",
"symfony/event-dispatcher": "<5.4",
"symfony/lock": "<5.4",
"symfony/process": "<5.4"
},
"provide": {
"psr/log-implementation": "1.0|2.0|3.0"
},
"require-dev": {
"psr/log": "^1|^2|^3",
"symfony/config": "^5.4|^6.0|^7.0",
"symfony/dependency-injection": "^5.4|^6.0|^7.0",
"symfony/event-dispatcher": "^5.4|^6.0|^7.0",
"symfony/http-foundation": "^6.4|^7.0",
"symfony/http-kernel": "^6.4|^7.0",
"symfony/lock": "^5.4|^6.0|^7.0",
"symfony/messenger": "^5.4|^6.0|^7.0",
"symfony/process": "^5.4|^6.0|^7.0",
"symfony/stopwatch": "^5.4|^6.0|^7.0",
"symfony/var-dumper": "^5.4|^6.0|^7.0"
},
"type": "library",
"autoload": {
"psr-4": {
"Symfony\\Component\\Console\\": ""
},
"exclude-from-classmap": [
"/Tests/"
]
},
"notification-url": "https://packagist.org/downloads/",
"license": [
"MIT"
],
"authors": [
{
"name": "Fabien Potencier",
"email": "fabien@symfony.com"
},
{
"name": "Symfony Community",
"homepage": "https://symfony.com/contributors"
}
],
"description": "Eases the creation of beautiful and testable command line interfaces",
"homepage": "https://symfony.com",
"keywords": [
"cli",
"command-line",
"console",
"terminal"
],
"support": {
"source": "https://github.com/symfony/console/tree/v6.4.11"
},
"funding": [
{
"url": "https://symfony.com/sponsor",
"type": "custom"
},
{
"url": "https://github.com/fabpot",
"type": "github"
},
{
"url": "https://tidelift.com/funding/github/packagist/symfony/symfony",
"type": "tidelift"
}
],
"time": "2024-08-15T22:48:29+00:00"
},
{ {
"name": "symfony/deprecation-contracts", "name": "symfony/deprecation-contracts",
"version": "v3.5.0", "version": "v3.5.0",
@ -2577,16 +2427,16 @@
}, },
{ {
"name": "symfony/http-foundation", "name": "symfony/http-foundation",
"version": "v7.1.3", "version": "v7.1.5",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/symfony/http-foundation.git", "url": "https://github.com/symfony/http-foundation.git",
"reference": "f602d5c17d1fa02f8019ace2687d9d136b7f4a1a" "reference": "e30ef73b1e44eea7eb37ba69600a354e553f694b"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/symfony/http-foundation/zipball/f602d5c17d1fa02f8019ace2687d9d136b7f4a1a", "url": "https://api.github.com/repos/symfony/http-foundation/zipball/e30ef73b1e44eea7eb37ba69600a354e553f694b",
"reference": "f602d5c17d1fa02f8019ace2687d9d136b7f4a1a", "reference": "e30ef73b1e44eea7eb37ba69600a354e553f694b",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
@ -2634,7 +2484,7 @@
"description": "Defines an object-oriented layer for the HTTP specification", "description": "Defines an object-oriented layer for the HTTP specification",
"homepage": "https://symfony.com", "homepage": "https://symfony.com",
"support": { "support": {
"source": "https://github.com/symfony/http-foundation/tree/v7.1.3" "source": "https://github.com/symfony/http-foundation/tree/v7.1.5"
}, },
"funding": [ "funding": [
{ {
@ -2650,20 +2500,20 @@
"type": "tidelift" "type": "tidelift"
} }
], ],
"time": "2024-07-26T12:41:01+00:00" "time": "2024-09-20T08:28:38+00:00"
}, },
{ {
"name": "symfony/http-kernel", "name": "symfony/http-kernel",
"version": "v7.1.4", "version": "v7.1.5",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/symfony/http-kernel.git", "url": "https://github.com/symfony/http-kernel.git",
"reference": "6efcbd1b3f444f631c386504fc83eeca25963747" "reference": "44204d96150a9df1fc57601ec933d23fefc2d65b"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/symfony/http-kernel/zipball/6efcbd1b3f444f631c386504fc83eeca25963747", "url": "https://api.github.com/repos/symfony/http-kernel/zipball/44204d96150a9df1fc57601ec933d23fefc2d65b",
"reference": "6efcbd1b3f444f631c386504fc83eeca25963747", "reference": "44204d96150a9df1fc57601ec933d23fefc2d65b",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
@ -2748,7 +2598,7 @@
"description": "Provides a structured process for converting a Request into a Response", "description": "Provides a structured process for converting a Request into a Response",
"homepage": "https://symfony.com", "homepage": "https://symfony.com",
"support": { "support": {
"source": "https://github.com/symfony/http-kernel/tree/v7.1.4" "source": "https://github.com/symfony/http-kernel/tree/v7.1.5"
}, },
"funding": [ "funding": [
{ {
@ -2764,20 +2614,20 @@
"type": "tidelift" "type": "tidelift"
} }
], ],
"time": "2024-08-30T17:02:28+00:00" "time": "2024-09-21T06:09:21+00:00"
}, },
{ {
"name": "symfony/mime", "name": "symfony/mime",
"version": "v7.1.4", "version": "v7.1.5",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/symfony/mime.git", "url": "https://github.com/symfony/mime.git",
"reference": "ccaa6c2503db867f472a587291e764d6a1e58758" "reference": "711d2e167e8ce65b05aea6b258c449671cdd38ff"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/symfony/mime/zipball/ccaa6c2503db867f472a587291e764d6a1e58758", "url": "https://api.github.com/repos/symfony/mime/zipball/711d2e167e8ce65b05aea6b258c449671cdd38ff",
"reference": "ccaa6c2503db867f472a587291e764d6a1e58758", "reference": "711d2e167e8ce65b05aea6b258c449671cdd38ff",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
@ -2832,7 +2682,7 @@
"mime-type" "mime-type"
], ],
"support": { "support": {
"source": "https://github.com/symfony/mime/tree/v7.1.4" "source": "https://github.com/symfony/mime/tree/v7.1.5"
}, },
"funding": [ "funding": [
{ {
@ -2848,7 +2698,7 @@
"type": "tidelift" "type": "tidelift"
} }
], ],
"time": "2024-08-13T14:28:19+00:00" "time": "2024-09-20T08:28:38+00:00"
}, },
{ {
"name": "symfony/polyfill-ctype", "name": "symfony/polyfill-ctype",
@ -2929,84 +2779,6 @@
], ],
"time": "2024-09-09T11:45:10+00:00" "time": "2024-09-09T11:45:10+00:00"
}, },
{
"name": "symfony/polyfill-intl-grapheme",
"version": "v1.31.0",
"source": {
"type": "git",
"url": "https://github.com/symfony/polyfill-intl-grapheme.git",
"reference": "b9123926e3b7bc2f98c02ad54f6a4b02b91a8abe"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/symfony/polyfill-intl-grapheme/zipball/b9123926e3b7bc2f98c02ad54f6a4b02b91a8abe",
"reference": "b9123926e3b7bc2f98c02ad54f6a4b02b91a8abe",
"shasum": ""
},
"require": {
"php": ">=7.2"
},
"suggest": {
"ext-intl": "For best performance"
},
"type": "library",
"extra": {
"thanks": {
"name": "symfony/polyfill",
"url": "https://github.com/symfony/polyfill"
}
},
"autoload": {
"files": [
"bootstrap.php"
],
"psr-4": {
"Symfony\\Polyfill\\Intl\\Grapheme\\": ""
}
},
"notification-url": "https://packagist.org/downloads/",
"license": [
"MIT"
],
"authors": [
{
"name": "Nicolas Grekas",
"email": "p@tchwork.com"
},
{
"name": "Symfony Community",
"homepage": "https://symfony.com/contributors"
}
],
"description": "Symfony polyfill for intl's grapheme_* functions",
"homepage": "https://symfony.com",
"keywords": [
"compatibility",
"grapheme",
"intl",
"polyfill",
"portable",
"shim"
],
"support": {
"source": "https://github.com/symfony/polyfill-intl-grapheme/tree/v1.31.0"
},
"funding": [
{
"url": "https://symfony.com/sponsor",
"type": "custom"
},
{
"url": "https://github.com/fabpot",
"type": "github"
},
{
"url": "https://tidelift.com/funding/github/packagist/symfony/symfony",
"type": "tidelift"
}
],
"time": "2024-09-09T11:45:10+00:00"
},
{ {
"name": "symfony/polyfill-intl-idn", "name": "symfony/polyfill-intl-idn",
"version": "v1.31.0", "version": "v1.31.0",
@ -3407,188 +3179,18 @@
], ],
"time": "2024-09-09T11:45:10+00:00" "time": "2024-09-09T11:45:10+00:00"
}, },
{
"name": "symfony/service-contracts",
"version": "v3.5.0",
"source": {
"type": "git",
"url": "https://github.com/symfony/service-contracts.git",
"reference": "bd1d9e59a81d8fa4acdcea3f617c581f7475a80f"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/symfony/service-contracts/zipball/bd1d9e59a81d8fa4acdcea3f617c581f7475a80f",
"reference": "bd1d9e59a81d8fa4acdcea3f617c581f7475a80f",
"shasum": ""
},
"require": {
"php": ">=8.1",
"psr/container": "^1.1|^2.0",
"symfony/deprecation-contracts": "^2.5|^3"
},
"conflict": {
"ext-psr": "<1.1|>=2"
},
"type": "library",
"extra": {
"branch-alias": {
"dev-main": "3.5-dev"
},
"thanks": {
"name": "symfony/contracts",
"url": "https://github.com/symfony/contracts"
}
},
"autoload": {
"psr-4": {
"Symfony\\Contracts\\Service\\": ""
},
"exclude-from-classmap": [
"/Test/"
]
},
"notification-url": "https://packagist.org/downloads/",
"license": [
"MIT"
],
"authors": [
{
"name": "Nicolas Grekas",
"email": "p@tchwork.com"
},
{
"name": "Symfony Community",
"homepage": "https://symfony.com/contributors"
}
],
"description": "Generic abstractions related to writing services",
"homepage": "https://symfony.com",
"keywords": [
"abstractions",
"contracts",
"decoupling",
"interfaces",
"interoperability",
"standards"
],
"support": {
"source": "https://github.com/symfony/service-contracts/tree/v3.5.0"
},
"funding": [
{
"url": "https://symfony.com/sponsor",
"type": "custom"
},
{
"url": "https://github.com/fabpot",
"type": "github"
},
{
"url": "https://tidelift.com/funding/github/packagist/symfony/symfony",
"type": "tidelift"
}
],
"time": "2024-04-18T09:32:20+00:00"
},
{
"name": "symfony/string",
"version": "v7.1.4",
"source": {
"type": "git",
"url": "https://github.com/symfony/string.git",
"reference": "6cd670a6d968eaeb1c77c2e76091c45c56bc367b"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/symfony/string/zipball/6cd670a6d968eaeb1c77c2e76091c45c56bc367b",
"reference": "6cd670a6d968eaeb1c77c2e76091c45c56bc367b",
"shasum": ""
},
"require": {
"php": ">=8.2",
"symfony/polyfill-ctype": "~1.8",
"symfony/polyfill-intl-grapheme": "~1.0",
"symfony/polyfill-intl-normalizer": "~1.0",
"symfony/polyfill-mbstring": "~1.0"
},
"conflict": {
"symfony/translation-contracts": "<2.5"
},
"require-dev": {
"symfony/emoji": "^7.1",
"symfony/error-handler": "^6.4|^7.0",
"symfony/http-client": "^6.4|^7.0",
"symfony/intl": "^6.4|^7.0",
"symfony/translation-contracts": "^2.5|^3.0",
"symfony/var-exporter": "^6.4|^7.0"
},
"type": "library",
"autoload": {
"files": [
"Resources/functions.php"
],
"psr-4": {
"Symfony\\Component\\String\\": ""
},
"exclude-from-classmap": [
"/Tests/"
]
},
"notification-url": "https://packagist.org/downloads/",
"license": [
"MIT"
],
"authors": [
{
"name": "Nicolas Grekas",
"email": "p@tchwork.com"
},
{
"name": "Symfony Community",
"homepage": "https://symfony.com/contributors"
}
],
"description": "Provides an object-oriented API to strings and deals with bytes, UTF-8 code points and grapheme clusters in a unified way",
"homepage": "https://symfony.com",
"keywords": [
"grapheme",
"i18n",
"string",
"unicode",
"utf-8",
"utf8"
],
"support": {
"source": "https://github.com/symfony/string/tree/v7.1.4"
},
"funding": [
{
"url": "https://symfony.com/sponsor",
"type": "custom"
},
{
"url": "https://github.com/fabpot",
"type": "github"
},
{
"url": "https://tidelift.com/funding/github/packagist/symfony/symfony",
"type": "tidelift"
}
],
"time": "2024-08-12T09:59:40+00:00"
},
{ {
"name": "symfony/translation", "name": "symfony/translation",
"version": "v7.1.3", "version": "v7.1.5",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/symfony/translation.git", "url": "https://github.com/symfony/translation.git",
"reference": "8d5e50c813ba2859a6dfc99a0765c550507934a1" "reference": "235535e3f84f3dfbdbde0208ede6ca75c3a489ea"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/symfony/translation/zipball/8d5e50c813ba2859a6dfc99a0765c550507934a1", "url": "https://api.github.com/repos/symfony/translation/zipball/235535e3f84f3dfbdbde0208ede6ca75c3a489ea",
"reference": "8d5e50c813ba2859a6dfc99a0765c550507934a1", "reference": "235535e3f84f3dfbdbde0208ede6ca75c3a489ea",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
@ -3653,7 +3255,7 @@
"description": "Provides tools to internationalize your application", "description": "Provides tools to internationalize your application",
"homepage": "https://symfony.com", "homepage": "https://symfony.com",
"support": { "support": {
"source": "https://github.com/symfony/translation/tree/v7.1.3" "source": "https://github.com/symfony/translation/tree/v7.1.5"
}, },
"funding": [ "funding": [
{ {
@ -3669,7 +3271,7 @@
"type": "tidelift" "type": "tidelift"
} }
], ],
"time": "2024-07-26T12:41:01+00:00" "time": "2024-09-16T06:30:38+00:00"
}, },
{ {
"name": "symfony/translation-contracts", "name": "symfony/translation-contracts",
@ -3751,16 +3353,16 @@
}, },
{ {
"name": "symfony/var-dumper", "name": "symfony/var-dumper",
"version": "v7.1.4", "version": "v7.1.5",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/symfony/var-dumper.git", "url": "https://github.com/symfony/var-dumper.git",
"reference": "a5fa7481b199090964d6fd5dab6294d5a870c7aa" "reference": "e20e03889539fd4e4211e14d2179226c513c010d"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/symfony/var-dumper/zipball/a5fa7481b199090964d6fd5dab6294d5a870c7aa", "url": "https://api.github.com/repos/symfony/var-dumper/zipball/e20e03889539fd4e4211e14d2179226c513c010d",
"reference": "a5fa7481b199090964d6fd5dab6294d5a870c7aa", "reference": "e20e03889539fd4e4211e14d2179226c513c010d",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
@ -3814,7 +3416,7 @@
"dump" "dump"
], ],
"support": { "support": {
"source": "https://github.com/symfony/var-dumper/tree/v7.1.4" "source": "https://github.com/symfony/var-dumper/tree/v7.1.5"
}, },
"funding": [ "funding": [
{ {
@ -3830,20 +3432,20 @@
"type": "tidelift" "type": "tidelift"
} }
], ],
"time": "2024-08-30T16:12:47+00:00" "time": "2024-09-16T10:07:02+00:00"
}, },
{ {
"name": "symfony/yaml", "name": "symfony/yaml",
"version": "v7.1.4", "version": "v7.1.5",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/symfony/yaml.git", "url": "https://github.com/symfony/yaml.git",
"reference": "92e080b851c1c655c786a2da77f188f2dccd0f4b" "reference": "4e561c316e135e053bd758bf3b3eb291d9919de4"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/symfony/yaml/zipball/92e080b851c1c655c786a2da77f188f2dccd0f4b", "url": "https://api.github.com/repos/symfony/yaml/zipball/4e561c316e135e053bd758bf3b3eb291d9919de4",
"reference": "92e080b851c1c655c786a2da77f188f2dccd0f4b", "reference": "4e561c316e135e053bd758bf3b3eb291d9919de4",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
@ -3885,7 +3487,7 @@
"description": "Loads and dumps YAML files", "description": "Loads and dumps YAML files",
"homepage": "https://symfony.com", "homepage": "https://symfony.com",
"support": { "support": {
"source": "https://github.com/symfony/yaml/tree/v7.1.4" "source": "https://github.com/symfony/yaml/tree/v7.1.5"
}, },
"funding": [ "funding": [
{ {
@ -3901,7 +3503,7 @@
"type": "tidelift" "type": "tidelift"
} }
], ],
"time": "2024-08-12T09:59:40+00:00" "time": "2024-09-17T12:49:58+00:00"
}, },
{ {
"name": "voku/portable-ascii", "name": "voku/portable-ascii",