diff --git a/README.md b/README.md index afeb145..057591f 100644 --- a/README.md +++ b/README.md @@ -45,17 +45,15 @@ The `github-pr-comments` CLI command fetches merged pull request comments from a 4. **Run** the command: - **Important:** You must include the command name `github-pr-comments` when using CLI options. - ```bash # Using environment variables from .env file - php cli/github-pr-comments.php github-pr-comments + php cli/github-pr-comments.php # With date filter - php cli/github-pr-comments.php github-pr-comments --merged-since=2025-11-05 + php cli/github-pr-comments.php --merged-since=2025-11-05 # With all CLI options - php cli/github-pr-comments.php github-pr-comments \ + php cli/github-pr-comments.php \ --token=your_token_here \ --owner=your_org \ --repo=your_repo \ @@ -82,10 +80,10 @@ The `github-pr-comments` CLI command fetches merged pull request comments from a ```bash # Filter PRs merged since a specific date -php cli/github-pr-comments.php github-pr-comments --merged-since=2025-11-05 +php cli/github-pr-comments.php --merged-since=2025-11-05 # Override milestone and keywords from CLI -php cli/github-pr-comments.php github-pr-comments \ +php cli/github-pr-comments.php \ --milestone="v1.0.0" \ --keyword="tested" \ --keyword="LGTM" @@ -93,7 +91,7 @@ php cli/github-pr-comments.php github-pr-comments \ Get a list of all possible options: ```bash -php cli/github-pr-comments.php github-pr-comments --help +php cli/github-pr-comments.php --help ``` **Result** diff --git a/cli/github-pr-comments.php b/cli/github-pr-comments.php index ed8de64..a31a238 100644 --- a/cli/github-pr-comments.php +++ b/cli/github-pr-comments.php @@ -2,9 +2,9 @@ require __DIR__ . '/../vendor/autoload.php'; -use Joomla\Console\Application; -use Joomla\Console\Command\AbstractCommand; use Joomla\Http\HttpFactory; +use Symfony\Component\Console\Application; +use Symfony\Component\Console\Command\Command; use Symfony\Component\Console\Input\InputInterface; use Symfony\Component\Console\Input\InputOption; use Symfony\Component\Console\Output\OutputInterface; @@ -15,28 +15,23 @@ $dotenv->load(__DIR__ . '/../.env'); -class GithubCommentsCli extends AbstractCommand +class GithubCommentsCli extends Command { - protected static $defaultName = 'github-pr-comments'; - protected static $defaultDescription = 'Fetch merged PR comments by milestone + filter by phrase'; - - public function __construct() + protected function configure(): void { - parent::__construct(); - $this->getDefinition()->addOption(new InputOption('token', null, InputOption::VALUE_OPTIONAL, 'GitHub token')); - $this->getDefinition()->addOption(new InputOption('owner', null, InputOption::VALUE_OPTIONAL, 'GitHub owner')); - $this->getDefinition()->addOption(new InputOption('repo', null, InputOption::VALUE_OPTIONAL, 'GitHub repository')); - $this->getDefinition()->addOption(new InputOption('base', null, InputOption::VALUE_OPTIONAL, 'PR base branch')); - $this->getDefinition()->addOption(new InputOption('milestone', null, InputOption::VALUE_OPTIONAL, 'PR milestone')); - // Accept multiple --keyword entries - $this->getDefinition()->addOption( - new InputOption('keyword', null, InputOption::VALUE_REQUIRED | InputOption::VALUE_IS_ARRAY, 'Filter keyword(s)') - ); - // Date filter for merged PRs (optional) - $this->getDefinition()->addOption(new InputOption('merged-since', null, InputOption::VALUE_OPTIONAL, 'Date filter for merged PRs (YYYY-MM-DD)')); + $this + ->setName('github-pr-comments') + ->setDescription('Fetch merged PR comments by milestone + filter by phrase') + ->addOption('token', null, InputOption::VALUE_OPTIONAL, 'GitHub token') + ->addOption('owner', null, InputOption::VALUE_OPTIONAL, 'GitHub owner') + ->addOption('repo', null, InputOption::VALUE_OPTIONAL, 'GitHub repository') + ->addOption('base', null, InputOption::VALUE_OPTIONAL, 'PR base branch') + ->addOption('milestone', null, InputOption::VALUE_OPTIONAL, 'PR milestone') + ->addOption('keyword', null, InputOption::VALUE_REQUIRED | InputOption::VALUE_IS_ARRAY, 'Filter keyword(s)') + ->addOption('merged-since', null, InputOption::VALUE_OPTIONAL, 'Date filter for merged PRs (YYYY-MM-DD)'); } - protected function doExecute(InputInterface $input, OutputInterface $output): int + protected function execute(InputInterface $input, OutputInterface $output): int { $token = $input->getOption('token') ?? $_ENV['GITHUB_TOKEN'] ?? null; $owner = $input->getOption('owner') ?? $_ENV['GITHUB_OWNER'] ?? null; @@ -235,7 +230,9 @@ protected function doExecute(InputInterface $input, OutputInterface $output): in } } -// Bootstrap Joomla Console application -$app = new Application(); -$app->addCommand(new GithubCommentsCli()); -$app->execute(); +// Bootstrap Symfony Console application +$command = new GithubCommentsCli(); +$app = new Application('GitHub PR Comments', '1.0.0'); +$app->addCommand($command); +$app->setDefaultCommand('github-pr-comments', true); +$app->run(); diff --git a/composer.json b/composer.json index b52720d..ff232be 100644 --- a/composer.json +++ b/composer.json @@ -1,15 +1,12 @@ { "name": "martina/github-comment", - "description": "Joomla CLI script to fetch merged PR comments via GitHub GraphQL", + "description": "CLI script to fetch merged PR comments via GitHub GraphQL", "type": "project", "require": { "php": "^8.1", "symfony/console": "^7.0", "symfony/dotenv": "^7.0", - "joomla/http": "^4.0", - "joomla/filter": "^4.0", - "joomla/console": "^4.0", - "joomla/language": "^4.0" + "joomla/http": "^4.0" }, "require-dev": { "friendsofphp/php-cs-fixer": "^3.92" diff --git a/composer.lock b/composer.lock index dd9003b..2bde65f 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": "6c27f7c20557c7ef420783567f544aee", + "content-hash": "8a192e77cd7b7f94fbf02491d9d8d43c", "packages": [ { "name": "composer/ca-bundle", @@ -78,256 +78,6 @@ ], "time": "2025-12-08T15:06:51+00:00" }, - { - "name": "joomla/application", - "version": "4.0.0", - "source": { - "type": "git", - "url": "https://github.com/joomla-framework/application.git", - "reference": "878d1f4a2dc03b6197d0e6cfb4a969ec06a3314d" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/joomla-framework/application/zipball/878d1f4a2dc03b6197d0e6cfb4a969ec06a3314d", - "reference": "878d1f4a2dc03b6197d0e6cfb4a969ec06a3314d", - "shasum": "" - }, - "require": { - "joomla/event": "^4.0", - "joomla/registry": "^4.0", - "laminas/laminas-diactoros": "^3.6.0", - "php": "^8.3.0", - "psr/http-message": "^2.0", - "psr/log": "^1.0|^2.0|^3.0", - "symfony/deprecation-contracts": "^2|^3" - }, - "require-dev": { - "ext-json": "*", - "joomla/controller": "^4.0", - "joomla/di": "^4.0", - "joomla/input": "^4.0", - "joomla/router": "^4.0", - "joomla/session": "^4.0", - "joomla/test": "^4.0", - "joomla/uri": "^4.0", - "phpstan/phpstan": "^2.1.17", - "phpstan/phpstan-deprecation-rules": "^2.0.3", - "phpunit/phpunit": "^10.0", - "squizlabs/php_codesniffer": "~3.10.2", - "symfony/phpunit-bridge": "^7.0" - }, - "suggest": { - "ext-json": "To use JSON format, ext-json is required", - "joomla/controller": "^4.0 To support resolving ControllerInterface objects in ControllerResolverInterface, install joomla/controller", - "joomla/input": "^4.0 To use WebApplicationInterface, install joomla/input", - "joomla/router": "^4.0 To use WebApplication or ControllerResolverInterface implementations, install joomla/router", - "joomla/session": "^4.0 To use SessionAwareWebApplicationInterface, install joomla/session", - "joomla/uri": "^4.0 To use AbstractWebApplication, install joomla/uri", - "psr/container": "^2.0 To use the ContainerControllerResolver, install any PSR-11 compatible container" - }, - "type": "library", - "autoload": { - "psr-4": { - "Joomla\\Application\\": "src/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "GPL-2.0-or-later" - ], - "authors": [ - { - "name": "The Joomla! Project", - "homepage": "https://framework.joomla.org/" - } - ], - "description": "Joomla Application Package", - "homepage": "https://github.com/joomla-framework/application", - "keywords": [ - "application", - "framework", - "joomla", - "joomla-package" - ], - "support": { - "docs": "https://developer.joomla.org/framework/documentation.html", - "forum": "https://groups.google.com/g/joomla-dev-framework", - "issues": "https://github.com/joomla-framework/application/issues", - "source": "https://github.com/joomla-framework/application", - "wiki": "https://github.com/joomla-framework/application/wiki" - }, - "funding": [ - { - "url": "https://community.joomla.org/sponsorship-campaigns.html", - "type": "custom" - }, - { - "url": "https://github.com/sponsors/joomla", - "type": "github" - } - ], - "time": "2025-07-24T09:55:44+00:00" - }, - { - "name": "joomla/console", - "version": "4.0.0", - "source": { - "type": "git", - "url": "https://github.com/joomla-framework/console.git", - "reference": "b58fb572436ad9e230061ff6929aa1446849efe8" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/joomla-framework/console/zipball/b58fb572436ad9e230061ff6929aa1446849efe8", - "reference": "b58fb572436ad9e230061ff6929aa1446849efe8", - "shasum": "" - }, - "require": { - "joomla/application": "^4.0", - "joomla/event": "^4.0", - "joomla/string": "^4.0", - "php": "^8.3.0", - "symfony/console": "^v7.0.0", - "symfony/error-handler": "^7" - }, - "require-dev": { - "joomla/test": "^4.0", - "phpstan/phpstan": "2.1.17", - "phpstan/phpstan-deprecation-rules": "2.0.3", - "phpunit/phpunit": "^12.0", - "psr/container": "^2.0", - "squizlabs/php_codesniffer": "~3.10.2" - }, - "suggest": { - "psr/container-implementation": "To use the ContainerLoader" - }, - "type": "joomla-package", - "autoload": { - "psr-4": { - "Joomla\\Console\\": "src/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "GPL-2.0-or-later" - ], - "description": "Joomla Console Package", - "homepage": "https://github.com/joomla-framework/console", - "keywords": [ - "console", - "framework", - "joomla" - ], - "support": { - "issues": "https://github.com/joomla-framework/console/issues", - "source": "https://github.com/joomla-framework/console/tree/4.0.0" - }, - "time": "2025-07-24T08:33:34+00:00" - }, - { - "name": "joomla/event", - "version": "4.0.0", - "source": { - "type": "git", - "url": "https://github.com/joomla-framework/event.git", - "reference": "4bbbfb0a3444cb3e3f9abd57d623caa06e9207b5" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/joomla-framework/event/zipball/4bbbfb0a3444cb3e3f9abd57d623caa06e9207b5", - "reference": "4bbbfb0a3444cb3e3f9abd57d623caa06e9207b5", - "shasum": "" - }, - "require": { - "php": "^8.3.0", - "symfony/deprecation-contracts": "^2|^3" - }, - "require-dev": { - "joomla/console": "^4.0", - "phpstan/phpstan": "^2.1.17", - "phpstan/phpstan-deprecation-rules": "^2.0.3", - "phpunit/phpunit": "^12.2.7", - "psr/container": "^2.0", - "squizlabs/php_codesniffer": "^3.7.2" - }, - "suggest": { - "joomla/console": "If you want to use the DebugEventDispatcherCommand class, please install joomla/console", - "psr/container-implementation": "If you want to use the LazyServiceEventListener class, please install a PSR-11 container" - }, - "type": "joomla-package", - "autoload": { - "psr-4": { - "Joomla\\Event\\": "src/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "GPL-2.0-or-later" - ], - "description": "Joomla Event Package", - "homepage": "https://github.com/joomla-framework/event", - "keywords": [ - "event", - "framework", - "joomla" - ], - "support": { - "issues": "https://github.com/joomla-framework/event/issues", - "source": "https://github.com/joomla-framework/event/tree/4.0.0" - }, - "time": "2025-07-24T09:34:33+00:00" - }, - { - "name": "joomla/filter", - "version": "4.0.1", - "source": { - "type": "git", - "url": "https://github.com/joomla-framework/filter.git", - "reference": "fcde280785f188e93530f7da68102f7dd8f9f723" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/joomla-framework/filter/zipball/fcde280785f188e93530f7da68102f7dd8f9f723", - "reference": "fcde280785f188e93530f7da68102f7dd8f9f723", - "shasum": "" - }, - "require": { - "joomla/string": "^4.0", - "php": "^8.3.0" - }, - "require-dev": { - "joomla/language": "^4.0", - "phpstan/phpstan": "^2.1.17", - "phpstan/phpstan-deprecation-rules": "^2.0.3", - "phpunit/phpunit": "^12.2.7", - "squizlabs/php_codesniffer": "^3.7.2" - }, - "suggest": { - "joomla/language": "Required only if you want to use `OutputFilter::stringURLSafe`." - }, - "type": "joomla-package", - "autoload": { - "psr-4": { - "Joomla\\Filter\\": "src/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "GPL-2.0-or-later" - ], - "description": "Joomla Filter Package", - "homepage": "https://github.com/joomla-framework/filter", - "keywords": [ - "filter", - "framework", - "joomla" - ], - "support": { - "issues": "https://github.com/joomla-framework/filter/issues", - "source": "https://github.com/joomla-framework/filter/tree/4.0.1" - }, - "time": "2025-09-30T15:42:06+00:00" - }, { "name": "joomla/http", "version": "4.0.1", @@ -383,168 +133,6 @@ }, "time": "2025-10-16T12:31:07+00:00" }, - { - "name": "joomla/language", - "version": "4.0.0", - "source": { - "type": "git", - "url": "https://github.com/joomla-framework/language.git", - "reference": "371507d84103e9e7b48253e72b3bcc8d91cf5a63" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/joomla-framework/language/zipball/371507d84103e9e7b48253e72b3bcc8d91cf5a63", - "reference": "371507d84103e9e7b48253e72b3bcc8d91cf5a63", - "shasum": "" - }, - "require": { - "ext-xml": "*", - "joomla/string": "^4.0", - "php": "^8.3.0", - "symfony/deprecation-contracts": "^2|^3" - }, - "require-dev": { - "joomla/di": "^4.0", - "joomla/registry": "^4.0", - "joomla/test": "^4.0", - "phpstan/phpstan": "^2.1.17", - "phpstan/phpstan-deprecation-rules": "^2.0.3", - "phpunit/phpunit": "^12.2.6", - "squizlabs/php_codesniffer": "^3.7.2" - }, - "suggest": { - "joomla/di": "To use the Language ServiceProviderInterface objects, install joomla/di." - }, - "type": "joomla-package", - "autoload": { - "psr-4": { - "Joomla\\Language\\": "src/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "GPL-2.0-or-later" - ], - "description": "Joomla Language Package", - "homepage": "https://github.com/joomla-framework/language", - "keywords": [ - "framework", - "joomla", - "language" - ], - "support": { - "issues": "https://github.com/joomla-framework/language/issues", - "source": "https://github.com/joomla-framework/language/tree/4.0.0" - }, - "time": "2025-07-23T19:48:37+00:00" - }, - { - "name": "joomla/registry", - "version": "4.0.0", - "source": { - "type": "git", - "url": "https://github.com/joomla-framework/registry.git", - "reference": "5692d8423c9b568627df701e9fd505eae5ea8f72" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/joomla-framework/registry/zipball/5692d8423c9b568627df701e9fd505eae5ea8f72", - "reference": "5692d8423c9b568627df701e9fd505eae5ea8f72", - "shasum": "" - }, - "require": { - "joomla/utilities": "^4.0", - "php": "^8.3.0" - }, - "require-dev": { - "phpstan/phpstan": "^2.1.17", - "phpstan/phpstan-deprecation-rules": "^2.0.3", - "phpunit/phpunit": "^12.2.6", - "squizlabs/php_codesniffer": "^3.7.2", - "symfony/yaml": "^7.3" - }, - "suggest": { - "ext-json": "ext-json is needed for JSON support", - "ext-simplexml": "ext-simplexml is needed for XML support", - "symfony/yaml": "Install symfony/yaml if you require YAML support." - }, - "type": "joomla-package", - "autoload": { - "psr-4": { - "Joomla\\Registry\\": "src/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "GPL-2.0-or-later" - ], - "description": "Joomla Registry Package", - "homepage": "https://github.com/joomla-framework/registry", - "keywords": [ - "framework", - "joomla", - "registry" - ], - "support": { - "issues": "https://github.com/joomla-framework/registry/issues", - "source": "https://github.com/joomla-framework/registry/tree/4.0.0" - }, - "time": "2025-07-23T19:26:22+00:00" - }, - { - "name": "joomla/string", - "version": "4.0.0", - "source": { - "type": "git", - "url": "https://github.com/joomla-framework/string.git", - "reference": "da2329e05f1f5fc98b709f8638f279513bcd1108" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/joomla-framework/string/zipball/da2329e05f1f5fc98b709f8638f279513bcd1108", - "reference": "da2329e05f1f5fc98b709f8638f279513bcd1108", - "shasum": "" - }, - "require": { - "php": "^8.3.0", - "symfony/deprecation-contracts": "^2|^3", - "symfony/polyfill-mbstring": "^1.31.0" - }, - "require-dev": { - "doctrine/inflector": "^2.0.10", - "joomla/test": "^4.0", - "phpstan/phpstan": "2.1.17", - "phpstan/phpstan-deprecation-rules": "2.0.3", - "phpunit/phpunit": "^12.2.6", - "squizlabs/php_codesniffer": "^3.7.2" - }, - "suggest": { - "doctrine/inflector": "To use the string inflector", - "ext-mbstring": "For improved processing" - }, - "type": "joomla-package", - "autoload": { - "psr-4": { - "Joomla\\String\\": "src/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "GPL-2.0-or-later" - ], - "description": "Joomla String Package", - "homepage": "https://github.com/joomla-framework/string", - "keywords": [ - "framework", - "joomla", - "string" - ], - "support": { - "issues": "https://github.com/joomla-framework/string/issues", - "source": "https://github.com/joomla-framework/string/tree/4.0.0" - }, - "time": "2025-07-23T18:42:26+00:00" - }, { "name": "joomla/uri", "version": "4.0.0", @@ -594,53 +182,6 @@ }, "time": "2025-07-23T19:02:38+00:00" }, - { - "name": "joomla/utilities", - "version": "4.0.0", - "source": { - "type": "git", - "url": "https://github.com/joomla-framework/utilities.git", - "reference": "5f234527f7dad7111830b091aef52787c3c07cc8" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/joomla-framework/utilities/zipball/5f234527f7dad7111830b091aef52787c3c07cc8", - "reference": "5f234527f7dad7111830b091aef52787c3c07cc8", - "shasum": "" - }, - "require": { - "joomla/string": "^4.0", - "php": "^8.3.0" - }, - "require-dev": { - "phpstan/phpstan": "^2.1.17", - "phpstan/phpstan-deprecation-rules": "^2.0.3", - "phpunit/phpunit": "^12.2.6", - "squizlabs/php_codesniffer": "^3.7.2" - }, - "type": "joomla-package", - "autoload": { - "psr-4": { - "Joomla\\Utilities\\": "src/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "GPL-2.0-or-later" - ], - "description": "Joomla Utilities Package", - "homepage": "https://github.com/joomla-framework/utilities", - "keywords": [ - "framework", - "joomla", - "utilities" - ], - "support": { - "issues": "https://github.com/joomla-framework/utilities/issues", - "source": "https://github.com/joomla-framework/utilities/tree/4.0.0" - }, - "time": "2025-07-23T18:52:12+00:00" - }, { "name": "laminas/laminas-diactoros", "version": "3.8.0", @@ -940,57 +481,7 @@ "support": { "source": "https://github.com/php-fig/http-message/tree/2.0" }, - "time": "2023-04-04T09:54:51+00:00" - }, - { - "name": "psr/log", - "version": "3.0.2", - "source": { - "type": "git", - "url": "https://github.com/php-fig/log.git", - "reference": "f16e1d5863e37f8d8c2a01719f5b34baa2b714d3" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/php-fig/log/zipball/f16e1d5863e37f8d8c2a01719f5b34baa2b714d3", - "reference": "f16e1d5863e37f8d8c2a01719f5b34baa2b714d3", - "shasum": "" - }, - "require": { - "php": ">=8.0.0" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "3.x-dev" - } - }, - "autoload": { - "psr-4": { - "Psr\\Log\\": "src" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "PHP-FIG", - "homepage": "https://www.php-fig.org/" - } - ], - "description": "Common interface for logging libraries", - "homepage": "https://github.com/php-fig/log", - "keywords": [ - "log", - "psr", - "psr-3" - ], - "support": { - "source": "https://github.com/php-fig/log/tree/3.0.2" - }, - "time": "2024-09-11T13:17:53+00:00" + "time": "2023-04-04T09:54:51+00:00" }, { "name": "symfony/console", @@ -1235,88 +726,6 @@ ], "time": "2025-11-16T10:14:42+00:00" }, - { - "name": "symfony/error-handler", - "version": "v7.4.0", - "source": { - "type": "git", - "url": "https://github.com/symfony/error-handler.git", - "reference": "48be2b0653594eea32dcef130cca1c811dcf25c2" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/error-handler/zipball/48be2b0653594eea32dcef130cca1c811dcf25c2", - "reference": "48be2b0653594eea32dcef130cca1c811dcf25c2", - "shasum": "" - }, - "require": { - "php": ">=8.2", - "psr/log": "^1|^2|^3", - "symfony/polyfill-php85": "^1.32", - "symfony/var-dumper": "^6.4|^7.0|^8.0" - }, - "conflict": { - "symfony/deprecation-contracts": "<2.5", - "symfony/http-kernel": "<6.4" - }, - "require-dev": { - "symfony/console": "^6.4|^7.0|^8.0", - "symfony/deprecation-contracts": "^2.5|^3", - "symfony/http-kernel": "^6.4|^7.0|^8.0", - "symfony/serializer": "^6.4|^7.0|^8.0", - "symfony/webpack-encore-bundle": "^1.0|^2.0" - }, - "bin": [ - "Resources/bin/patch-type-declarations" - ], - "type": "library", - "autoload": { - "psr-4": { - "Symfony\\Component\\ErrorHandler\\": "" - }, - "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": "Provides tools to manage errors and ease debugging PHP code", - "homepage": "https://symfony.com", - "support": { - "source": "https://github.com/symfony/error-handler/tree/v7.4.0" - }, - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://github.com/nicolas-grekas", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" - } - ], - "time": "2025-11-05T14:29:59+00:00" - }, { "name": "symfony/polyfill-ctype", "version": "v1.33.0", @@ -1652,86 +1061,6 @@ ], "time": "2024-12-23T08:48:59+00:00" }, - { - "name": "symfony/polyfill-php85", - "version": "v1.33.0", - "source": { - "type": "git", - "url": "https://github.com/symfony/polyfill-php85.git", - "reference": "d4e5fcd4ab3d998ab16c0db48e6cbb9a01993f91" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-php85/zipball/d4e5fcd4ab3d998ab16c0db48e6cbb9a01993f91", - "reference": "d4e5fcd4ab3d998ab16c0db48e6cbb9a01993f91", - "shasum": "" - }, - "require": { - "php": ">=7.2" - }, - "type": "library", - "extra": { - "thanks": { - "url": "https://github.com/symfony/polyfill", - "name": "symfony/polyfill" - } - }, - "autoload": { - "files": [ - "bootstrap.php" - ], - "psr-4": { - "Symfony\\Polyfill\\Php85\\": "" - }, - "classmap": [ - "Resources/stubs" - ] - }, - "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 backporting some PHP 8.5+ features to lower PHP versions", - "homepage": "https://symfony.com", - "keywords": [ - "compatibility", - "polyfill", - "portable", - "shim" - ], - "support": { - "source": "https://github.com/symfony/polyfill-php85/tree/v1.33.0" - }, - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://github.com/nicolas-grekas", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" - } - ], - "time": "2025-06-23T16:12:55+00:00" - }, { "name": "symfony/service-contracts", "version": "v3.6.1", @@ -1908,93 +1237,6 @@ } ], "time": "2025-12-01T09:13:36+00:00" - }, - { - "name": "symfony/var-dumper", - "version": "v8.0.0", - "source": { - "type": "git", - "url": "https://github.com/symfony/var-dumper.git", - "reference": "d2a2476c93b58ac5292145e9fac1ff76a21d1ce2" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/var-dumper/zipball/d2a2476c93b58ac5292145e9fac1ff76a21d1ce2", - "reference": "d2a2476c93b58ac5292145e9fac1ff76a21d1ce2", - "shasum": "" - }, - "require": { - "php": ">=8.4", - "symfony/polyfill-mbstring": "^1.0" - }, - "conflict": { - "symfony/console": "<7.4", - "symfony/error-handler": "<7.4" - }, - "require-dev": { - "symfony/console": "^7.4|^8.0", - "symfony/http-kernel": "^7.4|^8.0", - "symfony/process": "^7.4|^8.0", - "symfony/uid": "^7.4|^8.0", - "twig/twig": "^3.12" - }, - "bin": [ - "Resources/bin/var-dump-server" - ], - "type": "library", - "autoload": { - "files": [ - "Resources/functions/dump.php" - ], - "psr-4": { - "Symfony\\Component\\VarDumper\\": "" - }, - "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 mechanisms for walking through any arbitrary PHP variable", - "homepage": "https://symfony.com", - "keywords": [ - "debug", - "dump" - ], - "support": { - "source": "https://github.com/symfony/var-dumper/tree/v8.0.0" - }, - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://github.com/nicolas-grekas", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" - } - ], - "time": "2025-10-28T09:34:19+00:00" } ], "packages-dev": [ @@ -2546,6 +1788,56 @@ }, "time": "2019-01-08T18:20:26+00:00" }, + { + "name": "psr/log", + "version": "3.0.2", + "source": { + "type": "git", + "url": "https://github.com/php-fig/log.git", + "reference": "f16e1d5863e37f8d8c2a01719f5b34baa2b714d3" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/php-fig/log/zipball/f16e1d5863e37f8d8c2a01719f5b34baa2b714d3", + "reference": "f16e1d5863e37f8d8c2a01719f5b34baa2b714d3", + "shasum": "" + }, + "require": { + "php": ">=8.0.0" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "3.x-dev" + } + }, + "autoload": { + "psr-4": { + "Psr\\Log\\": "src" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "PHP-FIG", + "homepage": "https://www.php-fig.org/" + } + ], + "description": "Common interface for logging libraries", + "homepage": "https://github.com/php-fig/log", + "keywords": [ + "log", + "psr", + "psr-3" + ], + "support": { + "source": "https://github.com/php-fig/log/tree/3.0.2" + }, + "time": "2024-09-11T13:17:53+00:00" + }, { "name": "react/cache", "version": "v1.2.0",