From fb6fc181495f77326d54d5b8fcee80cf8dc52c13 Mon Sep 17 00:00:00 2001 From: Robert Boes <2871897+RobertBoes@users.noreply.github.com> Date: Wed, 24 Jul 2024 17:01:17 +0200 Subject: [PATCH 01/23] Add options to create a deploy-key --- app/Services/Forge/ForgeSetting.php | 5 +++++ .../Forge/Pipeline/OrCreateNewSite.php | 14 +++++++++++- app/Services/Github/GithubService.php | 22 +++++++++++++++++++ config/forge.php | 3 +++ 4 files changed, 43 insertions(+), 1 deletion(-) diff --git a/app/Services/Forge/ForgeSetting.php b/app/Services/Forge/ForgeSetting.php index 24173fb..8d46a79 100644 --- a/app/Services/Forge/ForgeSetting.php +++ b/app/Services/Forge/ForgeSetting.php @@ -188,6 +188,11 @@ class ForgeSetting */ public bool $inertiaSsrEnabled; + /** + * Enable github deploy key creation + */ + public bool $githubCreateDeployKey; + public function __construct() { $this->init(config('forge')); diff --git a/app/Services/Forge/Pipeline/OrCreateNewSite.php b/app/Services/Forge/Pipeline/OrCreateNewSite.php index b90729c..4306e66 100644 --- a/app/Services/Forge/Pipeline/OrCreateNewSite.php +++ b/app/Services/Forge/Pipeline/OrCreateNewSite.php @@ -14,6 +14,7 @@ namespace App\Services\Forge\Pipeline; use App\Services\Forge\ForgeService; +use App\Services\Github\GithubService; use App\Traits\Outputifier; use Closure; @@ -21,7 +22,7 @@ class OrCreateNewSite { use Outputifier; - public function __invoke(ForgeService $service, Closure $next) + public function __invoke(ForgeService $service, GithubService $githubService, Closure $next) { if (is_null($service->site)) { $this->information('Creating a new site.'); @@ -30,6 +31,17 @@ public function __invoke(ForgeService $service, Closure $next) $service->setting->server, $this->gatherSiteData($service) ); + + if ($service->setting->githubCreateDeployKey) { + $this->information('---> Creating GitHub deploy key.'); + + $data = $service->site->createDeployKey(); + + $githubService->createDeployKey( + sprintf('Preview deploy key %s', $service->getFormattedDomainName()), + $data['key'] + ); + } } return $next($service); diff --git a/app/Services/Github/GithubService.php b/app/Services/Github/GithubService.php index 0c09599..a57306f 100644 --- a/app/Services/Github/GithubService.php +++ b/app/Services/Github/GithubService.php @@ -47,4 +47,26 @@ public function putCommentOnGithubPullRequest(string $body): array return json_decode($result->body(), true); } + + public function createDeployKey(string $title, string $key, bool $readonly = true): array + { + $uri = sprintf( + self::API_BASE_URL.'/repos/%s/keys', + $this->setting->repository + ); + + $result = Http::withHeaders([ + 'accepts' => self::API_ACCEPT, + 'X-GitHub-Api-Version' => self::API_VERSION, + 'Authorization' => sprintf('Bearer %s', $this->setting->gitToken), + ])->post($uri, ['body' => json_encode([ + 'title' => $title, + 'key' => $key, + 'readonly' => $readonly, + ])]); + + throw_if($result->failed(), ValidationException::class, [$result->body()]); + + return json_decode($result->body(), true); + } } diff --git a/config/forge.php b/config/forge.php index 0b71ebb..d6c4ab4 100644 --- a/config/forge.php +++ b/config/forge.php @@ -19,6 +19,9 @@ // Git branch name. 'branch' => env('FORGE_GIT_BRANCH'), + // Creates a deploy key on github + 'github_create_deploy_key' => env('FORGE_GITHUB_DEPLOY_KEY', false), + // Pattern for subdomains. 'subdomain_pattern' => env('FORGE_SUBDOMAIN_PATTERN'), From a84a2a5155623ac2d706e62f5d74ba9341e25ee5 Mon Sep 17 00:00:00 2001 From: Robert Boes <2871897+RobertBoes@users.noreply.github.com> Date: Fri, 26 Jul 2024 14:17:03 +0200 Subject: [PATCH 02/23] Move deploy key creation to InstallGitRepository --- .../Forge/Pipeline/InstallGitRepository.php | 19 +++++++++++++++++++ .../Forge/Pipeline/OrCreateNewSite.php | 14 +------------- 2 files changed, 20 insertions(+), 13 deletions(-) diff --git a/app/Services/Forge/Pipeline/InstallGitRepository.php b/app/Services/Forge/Pipeline/InstallGitRepository.php index efcd4bf..a2b39d6 100644 --- a/app/Services/Forge/Pipeline/InstallGitRepository.php +++ b/app/Services/Forge/Pipeline/InstallGitRepository.php @@ -14,6 +14,7 @@ namespace App\Services\Forge\Pipeline; use App\Services\Forge\ForgeService; +use App\Services\Github\GithubService; use App\Traits\Outputifier; use Closure; @@ -21,6 +22,11 @@ class InstallGitRepository { use Outputifier; + public function __construct(public GithubService $githubService) + { + // + } + public function __invoke(ForgeService $service, Closure $next) { if (! $service->siteNewlyMade && ! is_null($service->site->repository)) { @@ -29,6 +35,19 @@ public function __invoke(ForgeService $service, Closure $next) $this->information('Installing the git repository.'); + if (true || $service->setting->githubCreateDeployKey) { + $this->information('---> Creating deploy key on Forge.'); + + $data = $service->site->createDeployKey(); + + $this->information('Adding deploy key to GitHub repository.'); + + $this->githubService->createDeployKey( + sprintf('Preview deploy key %s', $service->getFormattedDomainName()), + $data['key'] + ); + } + $service->setSite( $service->site->installGitRepository([ 'provider' => $service->setting->gitProvider, diff --git a/app/Services/Forge/Pipeline/OrCreateNewSite.php b/app/Services/Forge/Pipeline/OrCreateNewSite.php index 4306e66..b90729c 100644 --- a/app/Services/Forge/Pipeline/OrCreateNewSite.php +++ b/app/Services/Forge/Pipeline/OrCreateNewSite.php @@ -14,7 +14,6 @@ namespace App\Services\Forge\Pipeline; use App\Services\Forge\ForgeService; -use App\Services\Github\GithubService; use App\Traits\Outputifier; use Closure; @@ -22,7 +21,7 @@ class OrCreateNewSite { use Outputifier; - public function __invoke(ForgeService $service, GithubService $githubService, Closure $next) + public function __invoke(ForgeService $service, Closure $next) { if (is_null($service->site)) { $this->information('Creating a new site.'); @@ -31,17 +30,6 @@ public function __invoke(ForgeService $service, GithubService $githubService, Cl $service->setting->server, $this->gatherSiteData($service) ); - - if ($service->setting->githubCreateDeployKey) { - $this->information('---> Creating GitHub deploy key.'); - - $data = $service->site->createDeployKey(); - - $githubService->createDeployKey( - sprintf('Preview deploy key %s', $service->getFormattedDomainName()), - $data['key'] - ); - } } return $next($service); From 308bfef36148b1cf254171c7cb519ad71c7ecd48 Mon Sep 17 00:00:00 2001 From: Robert Boes <2871897+RobertBoes@users.noreply.github.com> Date: Fri, 26 Jul 2024 14:59:37 +0200 Subject: [PATCH 03/23] WIP --- app/Exceptions/Handler.php | 2 +- app/Services/Forge/Pipeline/FindSiteOrFail.php | 2 +- app/Services/Forge/Pipeline/ObtainLetsEncryptCertification.php | 2 +- app/Traits/Outputifier.php | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/app/Exceptions/Handler.php b/app/Exceptions/Handler.php index eab340b..8cdf47c 100644 --- a/app/Exceptions/Handler.php +++ b/app/Exceptions/Handler.php @@ -27,7 +27,7 @@ public function register(): void { $this->reportable(function (ValidationException $e) { foreach ($e->errors() as $error) { - $this->fail( + $this->error( sprintf('---> %s', is_array($error) ? current($error) : $error) ); } diff --git a/app/Services/Forge/Pipeline/FindSiteOrFail.php b/app/Services/Forge/Pipeline/FindSiteOrFail.php index 41f74de..f31f18a 100644 --- a/app/Services/Forge/Pipeline/FindSiteOrFail.php +++ b/app/Services/Forge/Pipeline/FindSiteOrFail.php @@ -28,7 +28,7 @@ public function __invoke(ForgeService $service, Closure $next) $site = $service->findSite($service->setting->server); if (is_null($site)) { - $this->fail('---> Site not found.'); + $this->error('---> Site not found.'); return $next; } diff --git a/app/Services/Forge/Pipeline/ObtainLetsEncryptCertification.php b/app/Services/Forge/Pipeline/ObtainLetsEncryptCertification.php index 2f5ad0c..e5af505 100644 --- a/app/Services/Forge/Pipeline/ObtainLetsEncryptCertification.php +++ b/app/Services/Forge/Pipeline/ObtainLetsEncryptCertification.php @@ -38,7 +38,7 @@ public function __invoke(ForgeService $service, Closure $next) $service->setting->waitOnSsl ); } catch (Throwable $e) { - $this->fail("---> Something's wrong with SSL certification. Check your Forge site Log for more info."); + $this->error("---> Something's wrong with SSL certification. Check your Forge site Log for more info."); } return $next($service); diff --git a/app/Traits/Outputifier.php b/app/Traits/Outputifier.php index 883cea0..9de692b 100644 --- a/app/Traits/Outputifier.php +++ b/app/Traits/Outputifier.php @@ -20,7 +20,7 @@ protected function information(string $message): int return 0; } - protected function fail(string $message): int + protected function error(string $message): int { render(sprintf(<<<'html'
From a7fcf739bb5b67df2e8c7b6c2604351e4e1f31ef Mon Sep 17 00:00:00 2001 From: Robert Boes <2871897+RobertBoes@users.noreply.github.com> Date: Fri, 26 Jul 2024 15:02:20 +0200 Subject: [PATCH 04/23] WIP --- app/Exceptions/Handler.php | 2 +- app/Services/Forge/Pipeline/FindSiteOrFail.php | 2 +- app/Services/Forge/Pipeline/ObtainLetsEncryptCertification.php | 2 +- app/Traits/Outputifier.php | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/app/Exceptions/Handler.php b/app/Exceptions/Handler.php index 8cdf47c..c11065c 100644 --- a/app/Exceptions/Handler.php +++ b/app/Exceptions/Handler.php @@ -27,7 +27,7 @@ public function register(): void { $this->reportable(function (ValidationException $e) { foreach ($e->errors() as $error) { - $this->error( + $this->failCommand( sprintf('---> %s', is_array($error) ? current($error) : $error) ); } diff --git a/app/Services/Forge/Pipeline/FindSiteOrFail.php b/app/Services/Forge/Pipeline/FindSiteOrFail.php index f31f18a..77e4803 100644 --- a/app/Services/Forge/Pipeline/FindSiteOrFail.php +++ b/app/Services/Forge/Pipeline/FindSiteOrFail.php @@ -28,7 +28,7 @@ public function __invoke(ForgeService $service, Closure $next) $site = $service->findSite($service->setting->server); if (is_null($site)) { - $this->error('---> Site not found.'); + $this->failCommand('---> Site not found.'); return $next; } diff --git a/app/Services/Forge/Pipeline/ObtainLetsEncryptCertification.php b/app/Services/Forge/Pipeline/ObtainLetsEncryptCertification.php index e5af505..fc7aded 100644 --- a/app/Services/Forge/Pipeline/ObtainLetsEncryptCertification.php +++ b/app/Services/Forge/Pipeline/ObtainLetsEncryptCertification.php @@ -38,7 +38,7 @@ public function __invoke(ForgeService $service, Closure $next) $service->setting->waitOnSsl ); } catch (Throwable $e) { - $this->error("---> Something's wrong with SSL certification. Check your Forge site Log for more info."); + $this->failCommand("---> Something's wrong with SSL certification. Check your Forge site Log for more info."); } return $next($service); diff --git a/app/Traits/Outputifier.php b/app/Traits/Outputifier.php index 9de692b..2ba9d0b 100644 --- a/app/Traits/Outputifier.php +++ b/app/Traits/Outputifier.php @@ -20,7 +20,7 @@ protected function information(string $message): int return 0; } - protected function error(string $message): int + protected function failCommand(string $message): int { render(sprintf(<<<'html'
From 295efe005401037db17989049f7a272b3f819973 Mon Sep 17 00:00:00 2001 From: Robert Boes <2871897+RobertBoes@users.noreply.github.com> Date: Fri, 2 Aug 2024 13:55:49 +0200 Subject: [PATCH 05/23] Fix creating deploy key --- app/Services/Github/GithubService.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/Services/Github/GithubService.php b/app/Services/Github/GithubService.php index a57306f..ef2a3ef 100644 --- a/app/Services/Github/GithubService.php +++ b/app/Services/Github/GithubService.php @@ -59,11 +59,11 @@ public function createDeployKey(string $title, string $key, bool $readonly = tru 'accepts' => self::API_ACCEPT, 'X-GitHub-Api-Version' => self::API_VERSION, 'Authorization' => sprintf('Bearer %s', $this->setting->gitToken), - ])->post($uri, ['body' => json_encode([ + ])->post($uri, [ 'title' => $title, 'key' => $key, 'readonly' => $readonly, - ])]); + ]); throw_if($result->failed(), ValidationException::class, [$result->body()]); From 8eb68ce15156bfce6fe9bf0a932fd47f4b92eba3 Mon Sep 17 00:00:00 2001 From: Robert Boes <2871897+RobertBoes@users.noreply.github.com> Date: Fri, 2 Aug 2024 14:07:42 +0200 Subject: [PATCH 06/23] Ignore when the key is already in use Github only gives an error message, the error code is "custom" for all validation errors, the response status is also just 422. So easiest is to check the message, unfortunately --- app/Services/Github/GithubService.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Services/Github/GithubService.php b/app/Services/Github/GithubService.php index ef2a3ef..d90f844 100644 --- a/app/Services/Github/GithubService.php +++ b/app/Services/Github/GithubService.php @@ -65,7 +65,7 @@ public function createDeployKey(string $title, string $key, bool $readonly = tru 'readonly' => $readonly, ]); - throw_if($result->failed(), ValidationException::class, [$result->body()]); + throw_if($result->failed() && $result->json('message') !== 'key is already in use', ValidationException::class, [$result->body()]); return json_decode($result->body(), true); } From 5be86016921e1f1ed3582e65108ffcce9f91b9f6 Mon Sep 17 00:00:00 2001 From: Robert Boes <2871897+RobertBoes@users.noreply.github.com> Date: Fri, 2 Aug 2024 14:15:23 +0200 Subject: [PATCH 07/23] Fix message check --- app/Services/Github/GithubService.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Services/Github/GithubService.php b/app/Services/Github/GithubService.php index d90f844..a726b6f 100644 --- a/app/Services/Github/GithubService.php +++ b/app/Services/Github/GithubService.php @@ -65,7 +65,7 @@ public function createDeployKey(string $title, string $key, bool $readonly = tru 'readonly' => $readonly, ]); - throw_if($result->failed() && $result->json('message') !== 'key is already in use', ValidationException::class, [$result->body()]); + throw_if($result->failed() && ! in_array('key is already in use', $result->json('errors.*.message')), ValidationException::class, [$result->body()]); return json_decode($result->body(), true); } From 75d3998744d88f245bf32fe06638c72b0b06ffd3 Mon Sep 17 00:00:00 2001 From: Robert Boes <2871897+RobertBoes@users.noreply.github.com> Date: Fri, 2 Aug 2024 14:35:42 +0200 Subject: [PATCH 08/23] Use custom repository URL Forge only uses the deploy-key when a "custom" provider is used --- app/Services/Forge/ForgeSetting.php | 7 +++++++ app/Services/Forge/Pipeline/InstallGitRepository.php | 2 +- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/app/Services/Forge/ForgeSetting.php b/app/Services/Forge/ForgeSetting.php index 8d46a79..0ecbbe5 100644 --- a/app/Services/Forge/ForgeSetting.php +++ b/app/Services/Forge/ForgeSetting.php @@ -48,6 +48,11 @@ class ForgeSetting */ public string $repository; + /** + * The git repository URL to be used with "custom" service provider + */ + public ?string $repositoryUrl; + /** * Git branch name. */ @@ -220,6 +225,7 @@ protected function validate(array $configurations): \Illuminate\Validation\Valid 'domain' => ['required'], 'git_provider' => ['required'], 'repository' => ['required'], + 'repository_url' => ['nullable', 'string', 'required_if:git_provider,custom'], 'branch' => ['required', new BranchNameRegex], 'project_type' => ['string'], 'php_version' => ['nullable', 'string'], @@ -245,6 +251,7 @@ protected function validate(array $configurations): \Illuminate\Validation\Valid 'slack_bot_user_oauth_token' => ['exclude_if:slack_announcement_enabled,false', 'required', 'string'], 'slack_channel' => ['exclude_if:slack_announcement_enabled,false', 'required', 'string'], 'inertia_ssr_enabled' => ['required', 'boolean'], + 'github_create_deploy_key' => ['required', 'boolean'], ]); } } diff --git a/app/Services/Forge/Pipeline/InstallGitRepository.php b/app/Services/Forge/Pipeline/InstallGitRepository.php index a2b39d6..65502f7 100644 --- a/app/Services/Forge/Pipeline/InstallGitRepository.php +++ b/app/Services/Forge/Pipeline/InstallGitRepository.php @@ -51,7 +51,7 @@ public function __invoke(ForgeService $service, Closure $next) $service->setSite( $service->site->installGitRepository([ 'provider' => $service->setting->gitProvider, - 'repository' => $service->setting->repository, + 'repository' => $service->setting->gitProvider === 'custom' ? $service->setting->repository : $service->setting->repositoryUrl, 'branch' => $service->setting->branch, 'composer' => false, ]) From 45c3bf84a88940f8888c3b82d41678ae48fdb01c Mon Sep 17 00:00:00 2001 From: Robert Boes <2871897+RobertBoes@users.noreply.github.com> Date: Fri, 2 Aug 2024 14:38:15 +0200 Subject: [PATCH 09/23] Update the config --- config/forge.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/config/forge.php b/config/forge.php index d6c4ab4..5d30a26 100644 --- a/config/forge.php +++ b/config/forge.php @@ -16,6 +16,9 @@ // Git repository name. 'repository' => env('FORGE_GIT_REPOSITORY'), + // Git repository URL, used when git_provider is 'custom' + 'repository_url' => env('FORGE_GIT_REPOSITORY_URL'), + // Git branch name. 'branch' => env('FORGE_GIT_BRANCH'), From 1c9af8b0c235c5223537f00812a634c037d5938c Mon Sep 17 00:00:00 2001 From: Robert Boes <2871897+RobertBoes@users.noreply.github.com> Date: Fri, 2 Aug 2024 14:44:45 +0200 Subject: [PATCH 10/23] Fix repository URL --- app/Services/Forge/Pipeline/InstallGitRepository.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Services/Forge/Pipeline/InstallGitRepository.php b/app/Services/Forge/Pipeline/InstallGitRepository.php index 65502f7..5ebd353 100644 --- a/app/Services/Forge/Pipeline/InstallGitRepository.php +++ b/app/Services/Forge/Pipeline/InstallGitRepository.php @@ -51,7 +51,7 @@ public function __invoke(ForgeService $service, Closure $next) $service->setSite( $service->site->installGitRepository([ 'provider' => $service->setting->gitProvider, - 'repository' => $service->setting->gitProvider === 'custom' ? $service->setting->repository : $service->setting->repositoryUrl, + 'repository' => $service->setting->gitProvider !== 'custom' ? $service->setting->repository : $service->setting->repositoryUrl, 'branch' => $service->setting->branch, 'composer' => false, ]) From bd60abdcb90c1c33f8e10a9fe3f20d6a4d5cc047 Mon Sep 17 00:00:00 2001 From: Robert Boes <2871897+RobertBoes@users.noreply.github.com> Date: Fri, 2 Aug 2024 14:56:01 +0200 Subject: [PATCH 11/23] Update deploy-key message --- app/Services/Forge/Pipeline/InstallGitRepository.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Services/Forge/Pipeline/InstallGitRepository.php b/app/Services/Forge/Pipeline/InstallGitRepository.php index 5ebd353..b219d8d 100644 --- a/app/Services/Forge/Pipeline/InstallGitRepository.php +++ b/app/Services/Forge/Pipeline/InstallGitRepository.php @@ -40,7 +40,7 @@ public function __invoke(ForgeService $service, Closure $next) $data = $service->site->createDeployKey(); - $this->information('Adding deploy key to GitHub repository.'); + $this->information('---> Adding deploy key to GitHub repository.'); $this->githubService->createDeployKey( sprintf('Preview deploy key %s', $service->getFormattedDomainName()), From 8826cd3b5e55b9eda9db96dd89664d492bfec123 Mon Sep 17 00:00:00 2001 From: Robert Boes <2871897+RobertBoes@users.noreply.github.com> Date: Fri, 2 Aug 2024 15:01:23 +0200 Subject: [PATCH 12/23] Update InstallGitRepository.php --- app/Services/Forge/Pipeline/InstallGitRepository.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Services/Forge/Pipeline/InstallGitRepository.php b/app/Services/Forge/Pipeline/InstallGitRepository.php index b219d8d..14da2b4 100644 --- a/app/Services/Forge/Pipeline/InstallGitRepository.php +++ b/app/Services/Forge/Pipeline/InstallGitRepository.php @@ -35,7 +35,7 @@ public function __invoke(ForgeService $service, Closure $next) $this->information('Installing the git repository.'); - if (true || $service->setting->githubCreateDeployKey) { + if ($service->setting->githubCreateDeployKey) { $this->information('---> Creating deploy key on Forge.'); $data = $service->site->createDeployKey(); From faa024cc46624d052723e77dd35ffc7c8ddb56da Mon Sep 17 00:00:00 2001 From: Robert Boes <2871897+RobertBoes@users.noreply.github.com> Date: Fri, 2 Aug 2024 15:09:02 +0200 Subject: [PATCH 13/23] Git provider must be custom --- app/Services/Forge/ForgeSetting.php | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/app/Services/Forge/ForgeSetting.php b/app/Services/Forge/ForgeSetting.php index 0ecbbe5..1e058cf 100644 --- a/app/Services/Forge/ForgeSetting.php +++ b/app/Services/Forge/ForgeSetting.php @@ -16,6 +16,7 @@ use App\Rules\BranchNameRegex; use App\Traits\Outputifier; use Illuminate\Support\Facades\Validator; +use Illuminate\Support\Fluent; use Illuminate\Support\Str; use Laravel\Forge\Exceptions\ValidationException; @@ -252,6 +253,8 @@ protected function validate(array $configurations): \Illuminate\Validation\Valid 'slack_channel' => ['exclude_if:slack_announcement_enabled,false', 'required', 'string'], 'inertia_ssr_enabled' => ['required', 'boolean'], 'github_create_deploy_key' => ['required', 'boolean'], - ]); + ])->sometimes('git_provider', 'in:custom', function (Fluent $input) { + return $input->github_create_deploy_key === true; + }); } } From bffde9221809661b13161dd750bd5c1ade8cefa5 Mon Sep 17 00:00:00 2001 From: Robert Boes <2871897+RobertBoes@users.noreply.github.com> Date: Fri, 2 Aug 2024 15:29:56 +0200 Subject: [PATCH 14/23] Update GithubService.php --- app/Services/Github/GithubService.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Services/Github/GithubService.php b/app/Services/Github/GithubService.php index a726b6f..8f03ae6 100644 --- a/app/Services/Github/GithubService.php +++ b/app/Services/Github/GithubService.php @@ -65,7 +65,7 @@ public function createDeployKey(string $title, string $key, bool $readonly = tru 'readonly' => $readonly, ]); - throw_if($result->failed() && ! in_array('key is already in use', $result->json('errors.*.message')), ValidationException::class, [$result->body()]); + throw_if($result->failed() && ! in_array('key is already in use', $result->json('errors.*.message', [])), ValidationException::class, [$result->body()]); return json_decode($result->body(), true); } From 29411a684e42454a63dca973ac0b9e32de68c70c Mon Sep 17 00:00:00 2001 From: Mehran Rasulian Date: Sun, 27 Oct 2024 03:03:25 +0400 Subject: [PATCH 15/23] update Forge SDK to ^3.18.0 --- composer.json | 2 +- composer.lock | 1431 +++++++++++++++++++++++-------------------------- 2 files changed, 685 insertions(+), 748 deletions(-) diff --git a/composer.json b/composer.json index e139f73..0b2c7f2 100644 --- a/composer.json +++ b/composer.json @@ -22,7 +22,7 @@ "illuminate/log": "^11.5.0", "illuminate/validation": "^11.5.0", "laravel-zero/framework": "^11.0.1", - "laravel/forge-sdk": "^3.14.3", + "laravel/forge-sdk": "^v3.18.0", "laravel/slack-notification-channel": "^3.2", "lorisleiva/laravel-actions": "^2.7", "nunomaduro/termwind": "^2.0" diff --git a/composer.lock b/composer.lock index b44abf9..b55e6bb 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": "bdeb8cf04aa0cf9a3fd5a0d39eb66fc3", + "content-hash": "a0140421abb02df393b955e7feaa0389", "packages": [ { "name": "brick/math", @@ -137,16 +137,16 @@ }, { "name": "dflydev/dot-access-data", - "version": "v3.0.2", + "version": "v3.0.3", "source": { "type": "git", "url": "https://github.com/dflydev/dflydev-dot-access-data.git", - "reference": "f41715465d65213d644d3141a6a93081be5d3549" + "reference": "a23a2bf4f31d3518f3ecb38660c95715dfead60f" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/dflydev/dflydev-dot-access-data/zipball/f41715465d65213d644d3141a6a93081be5d3549", - "reference": "f41715465d65213d644d3141a6a93081be5d3549", + "url": "https://api.github.com/repos/dflydev/dflydev-dot-access-data/zipball/a23a2bf4f31d3518f3ecb38660c95715dfead60f", + "reference": "a23a2bf4f31d3518f3ecb38660c95715dfead60f", "shasum": "" }, "require": { @@ -206,9 +206,9 @@ ], "support": { "issues": "https://github.com/dflydev/dflydev-dot-access-data/issues", - "source": "https://github.com/dflydev/dflydev-dot-access-data/tree/v3.0.2" + "source": "https://github.com/dflydev/dflydev-dot-access-data/tree/v3.0.3" }, - "time": "2022-10-27T11:44:00+00:00" + "time": "2024-07-08T12:26:09+00:00" }, { "name": "doctrine/inflector", @@ -380,16 +380,16 @@ }, { "name": "dragonmantank/cron-expression", - "version": "v3.3.3", + "version": "v3.4.0", "source": { "type": "git", "url": "https://github.com/dragonmantank/cron-expression.git", - "reference": "adfb1f505deb6384dc8b39804c5065dd3c8c8c0a" + "reference": "8c784d071debd117328803d86b2097615b457500" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/dragonmantank/cron-expression/zipball/adfb1f505deb6384dc8b39804c5065dd3c8c8c0a", - "reference": "adfb1f505deb6384dc8b39804c5065dd3c8c8c0a", + "url": "https://api.github.com/repos/dragonmantank/cron-expression/zipball/8c784d071debd117328803d86b2097615b457500", + "reference": "8c784d071debd117328803d86b2097615b457500", "shasum": "" }, "require": { @@ -402,10 +402,14 @@ "require-dev": { "phpstan/extension-installer": "^1.0", "phpstan/phpstan": "^1.0", - "phpstan/phpstan-webmozart-assert": "^1.0", "phpunit/phpunit": "^7.0|^8.0|^9.0" }, "type": "library", + "extra": { + "branch-alias": { + "dev-master": "3.x-dev" + } + }, "autoload": { "psr-4": { "Cron\\": "src/Cron/" @@ -429,7 +433,7 @@ ], "support": { "issues": "https://github.com/dragonmantank/cron-expression/issues", - "source": "https://github.com/dragonmantank/cron-expression/tree/v3.3.3" + "source": "https://github.com/dragonmantank/cron-expression/tree/v3.4.0" }, "funding": [ { @@ -437,7 +441,7 @@ "type": "github" } ], - "time": "2023-08-10T19:36:49+00:00" + "time": "2024-10-09T13:47:03+00:00" }, { "name": "egulias/email-validator", @@ -508,26 +512,26 @@ }, { "name": "filp/whoops", - "version": "2.15.4", + "version": "2.16.0", "source": { "type": "git", "url": "https://github.com/filp/whoops.git", - "reference": "a139776fa3f5985a50b509f2a02ff0f709d2a546" + "reference": "befcdc0e5dce67252aa6322d82424be928214fa2" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/filp/whoops/zipball/a139776fa3f5985a50b509f2a02ff0f709d2a546", - "reference": "a139776fa3f5985a50b509f2a02ff0f709d2a546", + "url": "https://api.github.com/repos/filp/whoops/zipball/befcdc0e5dce67252aa6322d82424be928214fa2", + "reference": "befcdc0e5dce67252aa6322d82424be928214fa2", "shasum": "" }, "require": { - "php": "^5.5.9 || ^7.0 || ^8.0", + "php": "^7.1 || ^8.0", "psr/log": "^1.0.1 || ^2.0 || ^3.0" }, "require-dev": { - "mockery/mockery": "^0.9 || ^1.0", - "phpunit/phpunit": "^4.8.36 || ^5.7.27 || ^6.5.14 || ^7.5.20 || ^8.5.8 || ^9.3.3", - "symfony/var-dumper": "^2.6 || ^3.0 || ^4.0 || ^5.0" + "mockery/mockery": "^1.0", + "phpunit/phpunit": "^7.5.20 || ^8.5.8 || ^9.3.3", + "symfony/var-dumper": "^4.0 || ^5.0" }, "suggest": { "symfony/var-dumper": "Pretty print complex values better with var-dumper available", @@ -567,7 +571,7 @@ ], "support": { "issues": "https://github.com/filp/whoops/issues", - "source": "https://github.com/filp/whoops/tree/2.15.4" + "source": "https://github.com/filp/whoops/tree/2.16.0" }, "funding": [ { @@ -575,7 +579,7 @@ "type": "github" } ], - "time": "2023-11-03T12:00:00+00:00" + "time": "2024-09-25T12:00:00+00:00" }, { "name": "fruitcake/php-cors", @@ -650,24 +654,24 @@ }, { "name": "graham-campbell/result-type", - "version": "v1.1.2", + "version": "v1.1.3", "source": { "type": "git", "url": "https://github.com/GrahamCampbell/Result-Type.git", - "reference": "fbd48bce38f73f8a4ec8583362e732e4095e5862" + "reference": "3ba905c11371512af9d9bdd27d99b782216b6945" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/GrahamCampbell/Result-Type/zipball/fbd48bce38f73f8a4ec8583362e732e4095e5862", - "reference": "fbd48bce38f73f8a4ec8583362e732e4095e5862", + "url": "https://api.github.com/repos/GrahamCampbell/Result-Type/zipball/3ba905c11371512af9d9bdd27d99b782216b6945", + "reference": "3ba905c11371512af9d9bdd27d99b782216b6945", "shasum": "" }, "require": { "php": "^7.2.5 || ^8.0", - "phpoption/phpoption": "^1.9.2" + "phpoption/phpoption": "^1.9.3" }, "require-dev": { - "phpunit/phpunit": "^8.5.34 || ^9.6.13 || ^10.4.2" + "phpunit/phpunit": "^8.5.39 || ^9.6.20 || ^10.5.28" }, "type": "library", "autoload": { @@ -696,7 +700,7 @@ ], "support": { "issues": "https://github.com/GrahamCampbell/Result-Type/issues", - "source": "https://github.com/GrahamCampbell/Result-Type/tree/v1.1.2" + "source": "https://github.com/GrahamCampbell/Result-Type/tree/v1.1.3" }, "funding": [ { @@ -708,26 +712,26 @@ "type": "tidelift" } ], - "time": "2023-11-12T22:16:48+00:00" + "time": "2024-07-20T21:45:45+00:00" }, { "name": "guzzlehttp/guzzle", - "version": "7.8.1", + "version": "7.9.2", "source": { "type": "git", "url": "https://github.com/guzzle/guzzle.git", - "reference": "41042bc7ab002487b876a0683fc8dce04ddce104" + "reference": "d281ed313b989f213357e3be1a179f02196ac99b" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/guzzle/guzzle/zipball/41042bc7ab002487b876a0683fc8dce04ddce104", - "reference": "41042bc7ab002487b876a0683fc8dce04ddce104", + "url": "https://api.github.com/repos/guzzle/guzzle/zipball/d281ed313b989f213357e3be1a179f02196ac99b", + "reference": "d281ed313b989f213357e3be1a179f02196ac99b", "shasum": "" }, "require": { "ext-json": "*", - "guzzlehttp/promises": "^1.5.3 || ^2.0.1", - "guzzlehttp/psr7": "^1.9.1 || ^2.5.1", + "guzzlehttp/promises": "^1.5.3 || ^2.0.3", + "guzzlehttp/psr7": "^2.7.0", "php": "^7.2.5 || ^8.0", "psr/http-client": "^1.0", "symfony/deprecation-contracts": "^2.2 || ^3.0" @@ -738,9 +742,9 @@ "require-dev": { "bamarni/composer-bin-plugin": "^1.8.2", "ext-curl": "*", - "php-http/client-integration-tests": "dev-master#2c025848417c1135031fdf9c728ee53d0a7ceaee as 3.0.999", + "guzzle/client-integration-tests": "3.0.2", "php-http/message-factory": "^1.1", - "phpunit/phpunit": "^8.5.36 || ^9.6.15", + "phpunit/phpunit": "^8.5.39 || ^9.6.20", "psr/log": "^1.1 || ^2.0 || ^3.0" }, "suggest": { @@ -818,7 +822,7 @@ ], "support": { "issues": "https://github.com/guzzle/guzzle/issues", - "source": "https://github.com/guzzle/guzzle/tree/7.8.1" + "source": "https://github.com/guzzle/guzzle/tree/7.9.2" }, "funding": [ { @@ -834,20 +838,20 @@ "type": "tidelift" } ], - "time": "2023-12-03T20:35:24+00:00" + "time": "2024-07-24T11:22:20+00:00" }, { "name": "guzzlehttp/promises", - "version": "2.0.2", + "version": "2.0.4", "source": { "type": "git", "url": "https://github.com/guzzle/promises.git", - "reference": "bbff78d96034045e58e13dedd6ad91b5d1253223" + "reference": "f9c436286ab2892c7db7be8c8da4ef61ccf7b455" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/guzzle/promises/zipball/bbff78d96034045e58e13dedd6ad91b5d1253223", - "reference": "bbff78d96034045e58e13dedd6ad91b5d1253223", + "url": "https://api.github.com/repos/guzzle/promises/zipball/f9c436286ab2892c7db7be8c8da4ef61ccf7b455", + "reference": "f9c436286ab2892c7db7be8c8da4ef61ccf7b455", "shasum": "" }, "require": { @@ -855,7 +859,7 @@ }, "require-dev": { "bamarni/composer-bin-plugin": "^1.8.2", - "phpunit/phpunit": "^8.5.36 || ^9.6.15" + "phpunit/phpunit": "^8.5.39 || ^9.6.20" }, "type": "library", "extra": { @@ -901,7 +905,7 @@ ], "support": { "issues": "https://github.com/guzzle/promises/issues", - "source": "https://github.com/guzzle/promises/tree/2.0.2" + "source": "https://github.com/guzzle/promises/tree/2.0.4" }, "funding": [ { @@ -917,20 +921,20 @@ "type": "tidelift" } ], - "time": "2023-12-03T20:19:20+00:00" + "time": "2024-10-17T10:06:22+00:00" }, { "name": "guzzlehttp/psr7", - "version": "2.6.2", + "version": "2.7.0", "source": { "type": "git", "url": "https://github.com/guzzle/psr7.git", - "reference": "45b30f99ac27b5ca93cb4831afe16285f57b8221" + "reference": "a70f5c95fb43bc83f07c9c948baa0dc1829bf201" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/guzzle/psr7/zipball/45b30f99ac27b5ca93cb4831afe16285f57b8221", - "reference": "45b30f99ac27b5ca93cb4831afe16285f57b8221", + "url": "https://api.github.com/repos/guzzle/psr7/zipball/a70f5c95fb43bc83f07c9c948baa0dc1829bf201", + "reference": "a70f5c95fb43bc83f07c9c948baa0dc1829bf201", "shasum": "" }, "require": { @@ -945,8 +949,8 @@ }, "require-dev": { "bamarni/composer-bin-plugin": "^1.8.2", - "http-interop/http-factory-tests": "^0.9", - "phpunit/phpunit": "^8.5.36 || ^9.6.15" + "http-interop/http-factory-tests": "0.9.0", + "phpunit/phpunit": "^8.5.39 || ^9.6.20" }, "suggest": { "laminas/laminas-httphandlerrunner": "Emit PSR-7 responses" @@ -1017,7 +1021,7 @@ ], "support": { "issues": "https://github.com/guzzle/psr7/issues", - "source": "https://github.com/guzzle/psr7/tree/2.6.2" + "source": "https://github.com/guzzle/psr7/tree/2.7.0" }, "funding": [ { @@ -1033,7 +1037,7 @@ "type": "tidelift" } ], - "time": "2023-12-03T20:05:35+00:00" + "time": "2024-07-18T11:15:46+00:00" }, { "name": "guzzlehttp/uri-template", @@ -1123,16 +1127,16 @@ }, { "name": "illuminate/broadcasting", - "version": "v11.5.0", + "version": "v11.29.0", "source": { "type": "git", "url": "https://github.com/illuminate/broadcasting.git", - "reference": "25bb8ac1e2f04b224392a1b5cf0cf29e0d141ee1" + "reference": "f703d918aaec446c953de55f7a8c825003efbc3b" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/illuminate/broadcasting/zipball/25bb8ac1e2f04b224392a1b5cf0cf29e0d141ee1", - "reference": "25bb8ac1e2f04b224392a1b5cf0cf29e0d141ee1", + "url": "https://api.github.com/repos/illuminate/broadcasting/zipball/f703d918aaec446c953de55f7a8c825003efbc3b", + "reference": "f703d918aaec446c953de55f7a8c825003efbc3b", "shasum": "" }, "require": { @@ -1177,20 +1181,20 @@ "issues": "https://github.com/laravel/framework/issues", "source": "https://github.com/laravel/framework" }, - "time": "2024-04-18T00:30:39+00:00" + "time": "2024-10-08T13:35:19+00:00" }, { "name": "illuminate/bus", - "version": "v11.5.0", + "version": "v11.29.0", "source": { "type": "git", "url": "https://github.com/illuminate/bus.git", - "reference": "4a09ead20ca08a24848b2f13c413fd18b31554a0" + "reference": "ed8d93dd49d57887ccf82dbd284b80934288cbba" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/illuminate/bus/zipball/4a09ead20ca08a24848b2f13c413fd18b31554a0", - "reference": "4a09ead20ca08a24848b2f13c413fd18b31554a0", + "url": "https://api.github.com/repos/illuminate/bus/zipball/ed8d93dd49d57887ccf82dbd284b80934288cbba", + "reference": "ed8d93dd49d57887ccf82dbd284b80934288cbba", "shasum": "" }, "require": { @@ -1230,20 +1234,20 @@ "issues": "https://github.com/laravel/framework/issues", "source": "https://github.com/laravel/framework" }, - "time": "2024-04-07T17:36:46+00:00" + "time": "2024-10-11T15:12:02+00:00" }, { "name": "illuminate/cache", - "version": "v11.5.0", + "version": "v11.29.0", "source": { "type": "git", "url": "https://github.com/illuminate/cache.git", - "reference": "61d4b4b4b614fa36faf5f0d77380d615e08a93aa" + "reference": "3a5c6afd4c2c2ac40455dd3838156488e0e11d68" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/illuminate/cache/zipball/61d4b4b4b614fa36faf5f0d77380d615e08a93aa", - "reference": "61d4b4b4b614fa36faf5f0d77380d615e08a93aa", + "url": "https://api.github.com/repos/illuminate/cache/zipball/3a5c6afd4c2c2ac40455dd3838156488e0e11d68", + "reference": "3a5c6afd4c2c2ac40455dd3838156488e0e11d68", "shasum": "" }, "require": { @@ -1292,20 +1296,20 @@ "issues": "https://github.com/laravel/framework/issues", "source": "https://github.com/laravel/framework" }, - "time": "2024-04-17T19:43:36+00:00" + "time": "2024-10-16T21:30:31+00:00" }, { "name": "illuminate/collections", - "version": "v11.5.0", + "version": "v11.29.0", "source": { "type": "git", "url": "https://github.com/illuminate/collections.git", - "reference": "19c6554c7eba0efabc3f8aa4c434815b7f6b4b7d" + "reference": "2d99ccbb19e34450508ff3ab2f62ba90aa2e9793" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/illuminate/collections/zipball/19c6554c7eba0efabc3f8aa4c434815b7f6b4b7d", - "reference": "19c6554c7eba0efabc3f8aa4c434815b7f6b4b7d", + "url": "https://api.github.com/repos/illuminate/collections/zipball/2d99ccbb19e34450508ff3ab2f62ba90aa2e9793", + "reference": "2d99ccbb19e34450508ff3ab2f62ba90aa2e9793", "shasum": "" }, "require": { @@ -1347,20 +1351,20 @@ "issues": "https://github.com/laravel/framework/issues", "source": "https://github.com/laravel/framework" }, - "time": "2024-04-15T15:26:05+00:00" + "time": "2024-10-10T19:23:07+00:00" }, { "name": "illuminate/conditionable", - "version": "v11.5.0", + "version": "v11.29.0", "source": { "type": "git", "url": "https://github.com/illuminate/conditionable.git", - "reference": "8a558fec063b6a63da1c3af1d219c0f998edffeb" + "reference": "362dd761b9920367bca1427a902158225e9e3a23" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/illuminate/conditionable/zipball/8a558fec063b6a63da1c3af1d219c0f998edffeb", - "reference": "8a558fec063b6a63da1c3af1d219c0f998edffeb", + "url": "https://api.github.com/repos/illuminate/conditionable/zipball/362dd761b9920367bca1427a902158225e9e3a23", + "reference": "362dd761b9920367bca1427a902158225e9e3a23", "shasum": "" }, "require": { @@ -1393,20 +1397,20 @@ "issues": "https://github.com/laravel/framework/issues", "source": "https://github.com/laravel/framework" }, - "time": "2024-04-04T17:36:49+00:00" + "time": "2024-06-28T20:10:30+00:00" }, { "name": "illuminate/config", - "version": "v11.5.0", + "version": "v11.29.0", "source": { "type": "git", "url": "https://github.com/illuminate/config.git", - "reference": "0dea1af0006a46bd7effaa7964c47cf76214d1d9" + "reference": "01bb69ea3de8eed5e11a839865ec44d36c9f8b5b" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/illuminate/config/zipball/0dea1af0006a46bd7effaa7964c47cf76214d1d9", - "reference": "0dea1af0006a46bd7effaa7964c47cf76214d1d9", + "url": "https://api.github.com/repos/illuminate/config/zipball/01bb69ea3de8eed5e11a839865ec44d36c9f8b5b", + "reference": "01bb69ea3de8eed5e11a839865ec44d36c9f8b5b", "shasum": "" }, "require": { @@ -1441,20 +1445,20 @@ "issues": "https://github.com/laravel/framework/issues", "source": "https://github.com/laravel/framework" }, - "time": "2024-02-28T16:28:16+00:00" + "time": "2024-06-28T20:10:30+00:00" }, { "name": "illuminate/console", - "version": "v11.5.0", + "version": "v11.29.0", "source": { "type": "git", "url": "https://github.com/illuminate/console.git", - "reference": "00c8105175486335acb28b62017dce28110de8d6" + "reference": "f56c166dbfceac16ace1735abb8c9d6eb82bbaa4" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/illuminate/console/zipball/00c8105175486335acb28b62017dce28110de8d6", - "reference": "00c8105175486335acb28b62017dce28110de8d6", + "url": "https://api.github.com/repos/illuminate/console/zipball/f56c166dbfceac16ace1735abb8c9d6eb82bbaa4", + "reference": "f56c166dbfceac16ace1735abb8c9d6eb82bbaa4", "shasum": "" }, "require": { @@ -1464,7 +1468,7 @@ "illuminate/macroable": "^11.0", "illuminate/support": "^11.0", "illuminate/view": "^11.0", - "laravel/prompts": "^0.1.12", + "laravel/prompts": "^0.1.20|^0.2|^0.3", "nunomaduro/termwind": "^2.0", "php": "^8.2", "symfony/console": "^7.0", @@ -1507,20 +1511,20 @@ "issues": "https://github.com/laravel/framework/issues", "source": "https://github.com/laravel/framework" }, - "time": "2024-04-19T15:25:02+00:00" + "time": "2024-10-13T15:07:33+00:00" }, { "name": "illuminate/container", - "version": "v11.5.0", + "version": "v11.29.0", "source": { "type": "git", "url": "https://github.com/illuminate/container.git", - "reference": "af979ecfd6dfa6583eae5dfe2e9a8840358f4ca7" + "reference": "06dfc614aff58384b28ba5ad191f6a02d6b192cb" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/illuminate/container/zipball/af979ecfd6dfa6583eae5dfe2e9a8840358f4ca7", - "reference": "af979ecfd6dfa6583eae5dfe2e9a8840358f4ca7", + "url": "https://api.github.com/repos/illuminate/container/zipball/06dfc614aff58384b28ba5ad191f6a02d6b192cb", + "reference": "06dfc614aff58384b28ba5ad191f6a02d6b192cb", "shasum": "" }, "require": { @@ -1558,20 +1562,20 @@ "issues": "https://github.com/laravel/framework/issues", "source": "https://github.com/laravel/framework" }, - "time": "2024-04-04T17:36:49+00:00" + "time": "2024-10-11T15:30:11+00:00" }, { "name": "illuminate/contracts", - "version": "v11.5.0", + "version": "v11.29.0", "source": { "type": "git", "url": "https://github.com/illuminate/contracts.git", - "reference": "8782f75e80ab3e6036842d24dbeead34a16f3a79" + "reference": "56312862af937bd6da8e6dc8bbd88188dfb478f8" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/illuminate/contracts/zipball/8782f75e80ab3e6036842d24dbeead34a16f3a79", - "reference": "8782f75e80ab3e6036842d24dbeead34a16f3a79", + "url": "https://api.github.com/repos/illuminate/contracts/zipball/56312862af937bd6da8e6dc8bbd88188dfb478f8", + "reference": "56312862af937bd6da8e6dc8bbd88188dfb478f8", "shasum": "" }, "require": { @@ -1606,20 +1610,20 @@ "issues": "https://github.com/laravel/framework/issues", "source": "https://github.com/laravel/framework" }, - "time": "2024-04-17T14:09:55+00:00" + "time": "2024-09-22T15:08:08+00:00" }, { "name": "illuminate/database", - "version": "v11.5.0", + "version": "v11.29.0", "source": { "type": "git", "url": "https://github.com/illuminate/database.git", - "reference": "405b8172fb190ba8c9c3719508dcabc9ae17e0ad" + "reference": "af371b7b34c55777e2b3f761c846e1b921aebb5d" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/illuminate/database/zipball/405b8172fb190ba8c9c3719508dcabc9ae17e0ad", - "reference": "405b8172fb190ba8c9c3719508dcabc9ae17e0ad", + "url": "https://api.github.com/repos/illuminate/database/zipball/af371b7b34c55777e2b3f761c846e1b921aebb5d", + "reference": "af371b7b34c55777e2b3f761c846e1b921aebb5d", "shasum": "" }, "require": { @@ -1639,6 +1643,7 @@ "illuminate/events": "Required to use the observers with Eloquent (^11.0).", "illuminate/filesystem": "Required to use the migrations (^11.0).", "illuminate/pagination": "Required to paginate the result set (^11.0).", + "laravel/serializable-closure": "Required to handle circular references in model serialization (^1.3).", "symfony/finder": "Required to use Eloquent model factories (^7.0)." }, "type": "library", @@ -1674,20 +1679,20 @@ "issues": "https://github.com/laravel/framework/issues", "source": "https://github.com/laravel/framework" }, - "time": "2024-04-22T17:15:11+00:00" + "time": "2024-10-21T14:14:36+00:00" }, { "name": "illuminate/events", - "version": "v11.5.0", + "version": "v11.29.0", "source": { "type": "git", "url": "https://github.com/illuminate/events.git", - "reference": "18cf9c17f4656778355e5e49bb193b3cf585a668" + "reference": "cfd8a636234cc5b5f736f2987f33b0d471d974b3" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/illuminate/events/zipball/18cf9c17f4656778355e5e49bb193b3cf585a668", - "reference": "18cf9c17f4656778355e5e49bb193b3cf585a668", + "url": "https://api.github.com/repos/illuminate/events/zipball/cfd8a636234cc5b5f736f2987f33b0d471d974b3", + "reference": "cfd8a636234cc5b5f736f2987f33b0d471d974b3", "shasum": "" }, "require": { @@ -1729,20 +1734,20 @@ "issues": "https://github.com/laravel/framework/issues", "source": "https://github.com/laravel/framework" }, - "time": "2024-04-04T17:36:49+00:00" + "time": "2024-08-07T14:43:54+00:00" }, { "name": "illuminate/filesystem", - "version": "v11.5.0", + "version": "v11.29.0", "source": { "type": "git", "url": "https://github.com/illuminate/filesystem.git", - "reference": "56d387455019a0b3c19b76dc7ccb70e337ee7c4b" + "reference": "ce7013a350fb06bc65e8a2cf15fd2015f49e476d" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/illuminate/filesystem/zipball/56d387455019a0b3c19b76dc7ccb70e337ee7c4b", - "reference": "56d387455019a0b3c19b76dc7ccb70e337ee7c4b", + "url": "https://api.github.com/repos/illuminate/filesystem/zipball/ce7013a350fb06bc65e8a2cf15fd2015f49e476d", + "reference": "ce7013a350fb06bc65e8a2cf15fd2015f49e476d", "shasum": "" }, "require": { @@ -1796,20 +1801,20 @@ "issues": "https://github.com/laravel/framework/issues", "source": "https://github.com/laravel/framework" }, - "time": "2024-03-29T08:58:54+00:00" + "time": "2024-09-22T15:10:50+00:00" }, { "name": "illuminate/http", - "version": "v11.5.0", + "version": "v11.29.0", "source": { "type": "git", "url": "https://github.com/illuminate/http.git", - "reference": "a70c0e7936aae7631b21decca71b74e35cbff978" + "reference": "c5910926cfec0896800e9d25cb7f61bccbed04b3" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/illuminate/http/zipball/a70c0e7936aae7631b21decca71b74e35cbff978", - "reference": "a70c0e7936aae7631b21decca71b74e35cbff978", + "url": "https://api.github.com/repos/illuminate/http/zipball/c5910926cfec0896800e9d25cb7f61bccbed04b3", + "reference": "c5910926cfec0896800e9d25cb7f61bccbed04b3", "shasum": "" }, "require": { @@ -1857,27 +1862,31 @@ "issues": "https://github.com/laravel/framework/issues", "source": "https://github.com/laravel/framework" }, - "time": "2024-04-18T18:21:22+00:00" + "time": "2024-10-21T14:20:28+00:00" }, { "name": "illuminate/log", - "version": "v11.5.0", + "version": "v11.29.0", "source": { "type": "git", "url": "https://github.com/illuminate/log.git", - "reference": "b75abb09e170b7eaad83ad166822bd685c8501a0" + "reference": "91b806f572791c5df1f6683f7ccd920acdaede2d" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/illuminate/log/zipball/b75abb09e170b7eaad83ad166822bd685c8501a0", - "reference": "b75abb09e170b7eaad83ad166822bd685c8501a0", + "url": "https://api.github.com/repos/illuminate/log/zipball/91b806f572791c5df1f6683f7ccd920acdaede2d", + "reference": "91b806f572791c5df1f6683f7ccd920acdaede2d", "shasum": "" }, "require": { "illuminate/contracts": "^11.0", "illuminate/support": "^11.0", "monolog/monolog": "^3.0", - "php": "^8.2" + "php": "^8.2", + "psr/log": "^1.0|^2.0|^3.0" + }, + "provide": { + "psr/log-implementation": "1.0|2.0|3.0" }, "type": "library", "extra": { @@ -1906,20 +1915,20 @@ "issues": "https://github.com/laravel/framework/issues", "source": "https://github.com/laravel/framework" }, - "time": "2024-04-04T17:36:49+00:00" + "time": "2024-09-11T20:06:38+00:00" }, { "name": "illuminate/macroable", - "version": "v11.5.0", + "version": "v11.29.0", "source": { "type": "git", "url": "https://github.com/illuminate/macroable.git", - "reference": "e1be58f9b2af73f242dc6a9add1f376b3ec89eef" + "reference": "e1cb9e51b9ed5d3c9bc1ab431d0a52fe42a990ed" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/illuminate/macroable/zipball/e1be58f9b2af73f242dc6a9add1f376b3ec89eef", - "reference": "e1be58f9b2af73f242dc6a9add1f376b3ec89eef", + "url": "https://api.github.com/repos/illuminate/macroable/zipball/e1cb9e51b9ed5d3c9bc1ab431d0a52fe42a990ed", + "reference": "e1cb9e51b9ed5d3c9bc1ab431d0a52fe42a990ed", "shasum": "" }, "require": { @@ -1952,20 +1961,20 @@ "issues": "https://github.com/laravel/framework/issues", "source": "https://github.com/laravel/framework" }, - "time": "2023-06-08T14:08:27+00:00" + "time": "2024-06-28T20:10:30+00:00" }, { "name": "illuminate/mail", - "version": "v11.5.0", + "version": "v11.29.0", "source": { "type": "git", "url": "https://github.com/illuminate/mail.git", - "reference": "785adaced4cf740cda76bc81cb1eb942c7aa5a41" + "reference": "962328cf1ebc7b01a6b3254008bdd400a4da4363" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/illuminate/mail/zipball/785adaced4cf740cda76bc81cb1eb942c7aa5a41", - "reference": "785adaced4cf740cda76bc81cb1eb942c7aa5a41", + "url": "https://api.github.com/repos/illuminate/mail/zipball/962328cf1ebc7b01a6b3254008bdd400a4da4363", + "reference": "962328cf1ebc7b01a6b3254008bdd400a4da4363", "shasum": "" }, "require": { @@ -2014,20 +2023,20 @@ "issues": "https://github.com/laravel/framework/issues", "source": "https://github.com/laravel/framework" }, - "time": "2024-04-15T12:21:59+00:00" + "time": "2024-10-07T14:29:06+00:00" }, { "name": "illuminate/notifications", - "version": "v11.5.0", + "version": "v11.29.0", "source": { "type": "git", "url": "https://github.com/illuminate/notifications.git", - "reference": "75beb25d37ee245eadabe090d4e867eb9cb26c4c" + "reference": "bba0e4ef59b9abf25f4f9e323685a0bb74aa8c71" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/illuminate/notifications/zipball/75beb25d37ee245eadabe090d4e867eb9cb26c4c", - "reference": "75beb25d37ee245eadabe090d4e867eb9cb26c4c", + "url": "https://api.github.com/repos/illuminate/notifications/zipball/bba0e4ef59b9abf25f4f9e323685a0bb74aa8c71", + "reference": "bba0e4ef59b9abf25f4f9e323685a0bb74aa8c71", "shasum": "" }, "require": { @@ -2072,20 +2081,20 @@ "issues": "https://github.com/laravel/framework/issues", "source": "https://github.com/laravel/framework" }, - "time": "2024-04-19T15:13:16+00:00" + "time": "2024-08-07T21:02:26+00:00" }, { "name": "illuminate/pipeline", - "version": "v11.5.0", + "version": "v11.29.0", "source": { "type": "git", "url": "https://github.com/illuminate/pipeline.git", - "reference": "f9fc10f5af04035339f4e8ecbc6bcfaa1e7d74a6" + "reference": "b359be74adc3ba4a637ca01c3645a26724a4c8a0" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/illuminate/pipeline/zipball/f9fc10f5af04035339f4e8ecbc6bcfaa1e7d74a6", - "reference": "f9fc10f5af04035339f4e8ecbc6bcfaa1e7d74a6", + "url": "https://api.github.com/repos/illuminate/pipeline/zipball/b359be74adc3ba4a637ca01c3645a26724a4c8a0", + "reference": "b359be74adc3ba4a637ca01c3645a26724a4c8a0", "shasum": "" }, "require": { @@ -2120,20 +2129,20 @@ "issues": "https://github.com/laravel/framework/issues", "source": "https://github.com/laravel/framework" }, - "time": "2024-04-04T17:36:49+00:00" + "time": "2024-10-18T13:11:08+00:00" }, { "name": "illuminate/process", - "version": "v11.5.0", + "version": "v11.29.0", "source": { "type": "git", "url": "https://github.com/illuminate/process.git", - "reference": "f848bcf40a6a3b35bbd8d4fe9192a2a7daec336a" + "reference": "f8f1b8e735768d1049e01a85ab90b15e6ae66d1f" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/illuminate/process/zipball/f848bcf40a6a3b35bbd8d4fe9192a2a7daec336a", - "reference": "f848bcf40a6a3b35bbd8d4fe9192a2a7daec336a", + "url": "https://api.github.com/repos/illuminate/process/zipball/f8f1b8e735768d1049e01a85ab90b15e6ae66d1f", + "reference": "f8f1b8e735768d1049e01a85ab90b15e6ae66d1f", "shasum": "" }, "require": { @@ -2171,20 +2180,20 @@ "issues": "https://github.com/laravel/framework/issues", "source": "https://github.com/laravel/framework" }, - "time": "2024-04-04T17:36:49+00:00" + "time": "2024-10-21T14:19:25+00:00" }, { "name": "illuminate/queue", - "version": "v11.5.0", + "version": "v11.29.0", "source": { "type": "git", "url": "https://github.com/illuminate/queue.git", - "reference": "11cc8a8d8260280208a7447db59d276b2bc10bb6" + "reference": "88dee1afb6a92b560fac05109d7a18fe1db5c1ac" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/illuminate/queue/zipball/11cc8a8d8260280208a7447db59d276b2bc10bb6", - "reference": "11cc8a8d8260280208a7447db59d276b2bc10bb6", + "url": "https://api.github.com/repos/illuminate/queue/zipball/88dee1afb6a92b560fac05109d7a18fe1db5c1ac", + "reference": "88dee1afb6a92b560fac05109d7a18fe1db5c1ac", "shasum": "" }, "require": { @@ -2238,20 +2247,20 @@ "issues": "https://github.com/laravel/framework/issues", "source": "https://github.com/laravel/framework" }, - "time": "2024-04-15T18:33:24+00:00" + "time": "2024-10-18T13:11:08+00:00" }, { "name": "illuminate/session", - "version": "v11.5.0", + "version": "v11.29.0", "source": { "type": "git", "url": "https://github.com/illuminate/session.git", - "reference": "d9460cefa3736ea98a72bbea0ae02d4ac1e7d8fd" + "reference": "cc4be7c46678328858ef2aa692013536717f32ec" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/illuminate/session/zipball/d9460cefa3736ea98a72bbea0ae02d4ac1e7d8fd", - "reference": "d9460cefa3736ea98a72bbea0ae02d4ac1e7d8fd", + "url": "https://api.github.com/repos/illuminate/session/zipball/cc4be7c46678328858ef2aa692013536717f32ec", + "reference": "cc4be7c46678328858ef2aa692013536717f32ec", "shasum": "" }, "require": { @@ -2295,20 +2304,20 @@ "issues": "https://github.com/laravel/framework/issues", "source": "https://github.com/laravel/framework" }, - "time": "2024-04-04T17:36:49+00:00" + "time": "2024-08-08T13:30:23+00:00" }, { "name": "illuminate/support", - "version": "v11.5.0", + "version": "v11.29.0", "source": { "type": "git", "url": "https://github.com/illuminate/support.git", - "reference": "8235189235c4cacb873bddd63d910644518018ea" + "reference": "fc86f3de6640a0fb204bf13e76037a7f191232d7" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/illuminate/support/zipball/8235189235c4cacb873bddd63d910644518018ea", - "reference": "8235189235c4cacb873bddd63d910644518018ea", + "url": "https://api.github.com/repos/illuminate/support/zipball/fc86f3de6640a0fb204bf13e76037a7f191232d7", + "reference": "fc86f3de6640a0fb204bf13e76037a7f191232d7", "shasum": "" }, "require": { @@ -2332,6 +2341,7 @@ }, "suggest": { "illuminate/filesystem": "Required to use the composer class (^11.0).", + "laravel/serializable-closure": "Required to use the once function (^1.3).", "league/commonmark": "Required to use Str::markdown() and Stringable::markdown() (^2.0.2).", "ramsey/uuid": "Required to use Str::uuid() (^4.7).", "symfony/process": "Required to use the composer class (^7.0).", @@ -2347,6 +2357,7 @@ }, "autoload": { "files": [ + "functions.php", "helpers.php" ], "psr-4": { @@ -2369,20 +2380,20 @@ "issues": "https://github.com/laravel/framework/issues", "source": "https://github.com/laravel/framework" }, - "time": "2024-04-18T14:56:27+00:00" + "time": "2024-10-22T13:59:47+00:00" }, { "name": "illuminate/testing", - "version": "v11.5.0", + "version": "v11.29.0", "source": { "type": "git", "url": "https://github.com/illuminate/testing.git", - "reference": "592c847da01ba0182c4e3e0bc7393e1afa4cbb91" + "reference": "2e3cb25f675424ae585ee295c8144dd411fb8e41" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/illuminate/testing/zipball/592c847da01ba0182c4e3e0bc7393e1afa4cbb91", - "reference": "592c847da01ba0182c4e3e0bc7393e1afa4cbb91", + "url": "https://api.github.com/repos/illuminate/testing/zipball/2e3cb25f675424ae585ee295c8144dd411fb8e41", + "reference": "2e3cb25f675424ae585ee295c8144dd411fb8e41", "shasum": "" }, "require": { @@ -2428,20 +2439,20 @@ "issues": "https://github.com/laravel/framework/issues", "source": "https://github.com/laravel/framework" }, - "time": "2024-04-10T13:54:25+00:00" + "time": "2024-10-11T15:12:02+00:00" }, { "name": "illuminate/translation", - "version": "v11.5.0", + "version": "v11.29.0", "source": { "type": "git", "url": "https://github.com/illuminate/translation.git", - "reference": "b1a3c53706a51756b252d023b961ccf6f6406224" + "reference": "70c16f36abfe79363cb2bc4278c99bdd859ac212" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/illuminate/translation/zipball/b1a3c53706a51756b252d023b961ccf6f6406224", - "reference": "b1a3c53706a51756b252d023b961ccf6f6406224", + "url": "https://api.github.com/repos/illuminate/translation/zipball/70c16f36abfe79363cb2bc4278c99bdd859ac212", + "reference": "70c16f36abfe79363cb2bc4278c99bdd859ac212", "shasum": "" }, "require": { @@ -2479,20 +2490,20 @@ "issues": "https://github.com/laravel/framework/issues", "source": "https://github.com/laravel/framework" }, - "time": "2024-04-17T14:13:16+00:00" + "time": "2024-09-24T13:47:30+00:00" }, { "name": "illuminate/validation", - "version": "v11.5.0", + "version": "v11.29.0", "source": { "type": "git", "url": "https://github.com/illuminate/validation.git", - "reference": "cc91f4cc2d45a4a5078d393e5e062fc9ab6df66d" + "reference": "212fedebd4c416393fd6ee23cc9473a7a8fd4399" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/illuminate/validation/zipball/cc91f4cc2d45a4a5078d393e5e062fc9ab6df66d", - "reference": "cc91f4cc2d45a4a5078d393e5e062fc9ab6df66d", + "url": "https://api.github.com/repos/illuminate/validation/zipball/212fedebd4c416393fd6ee23cc9473a7a8fd4399", + "reference": "212fedebd4c416393fd6ee23cc9473a7a8fd4399", "shasum": "" }, "require": { @@ -2540,20 +2551,20 @@ "issues": "https://github.com/laravel/framework/issues", "source": "https://github.com/laravel/framework" }, - "time": "2024-04-22T15:28:19+00:00" + "time": "2024-10-18T01:53:01+00:00" }, { "name": "illuminate/view", - "version": "v11.5.0", + "version": "v11.29.0", "source": { "type": "git", "url": "https://github.com/illuminate/view.git", - "reference": "e0bc1cd7a54b7cba6a7e270e100db5c14c877c9f" + "reference": "ceb4b33b424cbbecd739929c393d1330d12cbfe2" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/illuminate/view/zipball/e0bc1cd7a54b7cba6a7e270e100db5c14c877c9f", - "reference": "e0bc1cd7a54b7cba6a7e270e100db5c14c877c9f", + "url": "https://api.github.com/repos/illuminate/view/zipball/ceb4b33b424cbbecd739929c393d1330d12cbfe2", + "reference": "ceb4b33b424cbbecd739929c393d1330d12cbfe2", "shasum": "" }, "require": { @@ -2594,32 +2605,36 @@ "issues": "https://github.com/laravel/framework/issues", "source": "https://github.com/laravel/framework" }, - "time": "2024-04-23T08:01:08+00:00" + "time": "2024-10-16T21:43:18+00:00" }, { "name": "jolicode/jolinotif", - "version": "v2.6.0", + "version": "v2.7.3", "source": { "type": "git", "url": "https://github.com/jolicode/JoliNotif.git", - "reference": "6a886aa19aec7cc283125631f31f93f71729bf40" + "reference": "3c3e1c410b107dd2603b732508fd95830f0e0196" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/jolicode/JoliNotif/zipball/6a886aa19aec7cc283125631f31f93f71729bf40", - "reference": "6a886aa19aec7cc283125631f31f93f71729bf40", + "url": "https://api.github.com/repos/jolicode/JoliNotif/zipball/3c3e1c410b107dd2603b732508fd95830f0e0196", + "reference": "3c3e1c410b107dd2603b732508fd95830f0e0196", "shasum": "" }, "require": { "jolicode/php-os-helper": "^0.1.0", "php": ">=8.1", + "psr/log": "^1.0 || ^2.0 || ^3.0", + "symfony/deprecation-contracts": "^3", "symfony/process": "^5.4 || ^6.0 || ^7.0" }, "require-dev": { - "friendsofphp/php-cs-fixer": "^3.13", "symfony/finder": "^5.4 || ^6.0 || ^7.0", "symfony/phpunit-bridge": "^5.4 || ^6.0 || ^7.0" }, + "suggest": { + "ext-ffi": "Needed to send notifications via libnotify on Linux" + }, "bin": [ "jolinotif" ], @@ -2649,7 +2664,7 @@ ], "support": { "issues": "https://github.com/jolicode/JoliNotif/issues", - "source": "https://github.com/jolicode/JoliNotif/tree/v2.6.0" + "source": "https://github.com/jolicode/JoliNotif/tree/v2.7.3" }, "funding": [ { @@ -2657,7 +2672,7 @@ "type": "tidelift" } ], - "time": "2023-12-03T13:14:21+00:00" + "time": "2024-09-30T13:34:54+00:00" }, { "name": "jolicode/php-os-helper", @@ -2766,16 +2781,16 @@ }, { "name": "laravel-zero/framework", - "version": "v11.0.1", + "version": "v11.0.2", "source": { "type": "git", "url": "https://github.com/laravel-zero/framework.git", - "reference": "882c3064e3b89483f2e51deadb6cc71df92297cf" + "reference": "f9b77723c5d893c35548cf018ce7a25e75a86c69" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/laravel-zero/framework/zipball/882c3064e3b89483f2e51deadb6cc71df92297cf", - "reference": "882c3064e3b89483f2e51deadb6cc71df92297cf", + "url": "https://api.github.com/repos/laravel-zero/framework/zipball/f9b77723c5d893c35548cf018ce7a25e75a86c69", + "reference": "f9b77723c5d893c35548cf018ce7a25e75a86c69", "shasum": "" }, "require": { @@ -2794,7 +2809,7 @@ "illuminate/support": "^11.5.0", "illuminate/testing": "^11.5.0", "laravel-zero/foundation": "^11.5.0", - "laravel/prompts": "^0.1.20", + "laravel/prompts": "^0.1.20 || ^0.2 || ^0.3", "league/flysystem": "^3.27.0", "nunomaduro/collision": "^8.1.1", "nunomaduro/laravel-console-summary": "^1.12.1", @@ -2878,20 +2893,20 @@ "type": "github" } ], - "time": "2024-04-25T10:17:42+00:00" + "time": "2024-10-08T13:59:03+00:00" }, { "name": "laravel/forge-sdk", - "version": "v3.14.3", + "version": "v3.18.0", "source": { "type": "git", "url": "https://github.com/laravel/forge-sdk.git", - "reference": "6815b83c8459b579520216d0a99f2cde1508b58d" + "reference": "d22e6acd86a1bdea01602105d17d4bb22b55870e" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/laravel/forge-sdk/zipball/6815b83c8459b579520216d0a99f2cde1508b58d", - "reference": "6815b83c8459b579520216d0a99f2cde1508b58d", + "url": "https://api.github.com/repos/laravel/forge-sdk/zipball/d22e6acd86a1bdea01602105d17d4bb22b55870e", + "reference": "d22e6acd86a1bdea01602105d17d4bb22b55870e", "shasum": "" }, "require": { @@ -2900,6 +2915,7 @@ "php": "^7.2|^8.0" }, "require-dev": { + "illuminate/support": "^7.0|^8.0|^9.0|^10.0|^11.0", "mockery/mockery": "^1.3.1", "phpstan/phpstan": "^1.10", "phpunit/phpunit": "^8.4|^9.0|^10.4" @@ -2908,6 +2924,11 @@ "extra": { "branch-alias": { "dev-master": "3.x-dev" + }, + "laravel": { + "providers": [ + "Laravel\\Forge\\ForgeServiceProvider" + ] } }, "autoload": { @@ -2946,25 +2967,25 @@ "issues": "https://github.com/laravel/forge-sdk/issues", "source": "https://github.com/laravel/forge-sdk" }, - "time": "2024-01-23T12:59:57+00:00" + "time": "2024-09-30T12:09:46+00:00" }, { "name": "laravel/prompts", - "version": "v0.1.20", + "version": "v0.3.1", "source": { "type": "git", "url": "https://github.com/laravel/prompts.git", - "reference": "bf9a360c484976692de0f3792f30066f4f4b34a2" + "reference": "0f3848a445562dac376b27968f753c65e7e1036e" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/laravel/prompts/zipball/bf9a360c484976692de0f3792f30066f4f4b34a2", - "reference": "bf9a360c484976692de0f3792f30066f4f4b34a2", + "url": "https://api.github.com/repos/laravel/prompts/zipball/0f3848a445562dac376b27968f753c65e7e1036e", + "reference": "0f3848a445562dac376b27968f753c65e7e1036e", "shasum": "" }, "require": { + "composer-runtime-api": "^2.2", "ext-mbstring": "*", - "illuminate/collections": "^10.0|^11.0", "php": "^8.1", "symfony/console": "^6.2|^7.0" }, @@ -2973,6 +2994,7 @@ "laravel/framework": ">=10.17.0 <10.25.0" }, "require-dev": { + "illuminate/collections": "^10.0|^11.0", "mockery/mockery": "^1.5", "pestphp/pest": "^2.3", "phpstan/phpstan": "^1.11", @@ -2984,7 +3006,7 @@ "type": "library", "extra": { "branch-alias": { - "dev-main": "0.1.x-dev" + "dev-main": "0.3.x-dev" } }, "autoload": { @@ -2999,34 +3021,36 @@ "license": [ "MIT" ], + "description": "Add beautiful and user-friendly forms to your command-line applications.", "support": { "issues": "https://github.com/laravel/prompts/issues", - "source": "https://github.com/laravel/prompts/tree/v0.1.20" + "source": "https://github.com/laravel/prompts/tree/v0.3.1" }, - "time": "2024-04-18T00:45:25+00:00" + "time": "2024-10-09T19:42:26+00:00" }, { "name": "laravel/serializable-closure", - "version": "v1.3.3", + "version": "v1.3.5", "source": { "type": "git", "url": "https://github.com/laravel/serializable-closure.git", - "reference": "3dbf8a8e914634c48d389c1234552666b3d43754" + "reference": "1dc4a3dbfa2b7628a3114e43e32120cce7cdda9c" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/laravel/serializable-closure/zipball/3dbf8a8e914634c48d389c1234552666b3d43754", - "reference": "3dbf8a8e914634c48d389c1234552666b3d43754", + "url": "https://api.github.com/repos/laravel/serializable-closure/zipball/1dc4a3dbfa2b7628a3114e43e32120cce7cdda9c", + "reference": "1dc4a3dbfa2b7628a3114e43e32120cce7cdda9c", "shasum": "" }, "require": { "php": "^7.3|^8.0" }, "require-dev": { - "nesbot/carbon": "^2.61", + "illuminate/support": "^8.0|^9.0|^10.0|^11.0", + "nesbot/carbon": "^2.61|^3.0", "pestphp/pest": "^1.21.3", "phpstan/phpstan": "^1.8.2", - "symfony/var-dumper": "^5.4.11" + "symfony/var-dumper": "^5.4.11|^6.2.0|^7.0.0" }, "type": "library", "extra": { @@ -3063,20 +3087,20 @@ "issues": "https://github.com/laravel/serializable-closure/issues", "source": "https://github.com/laravel/serializable-closure" }, - "time": "2023-11-08T14:08:06+00:00" + "time": "2024-09-23T13:33:08+00:00" }, { "name": "laravel/slack-notification-channel", - "version": "v3.2.0", + "version": "v3.3.2", "source": { "type": "git", "url": "https://github.com/laravel/slack-notification-channel.git", - "reference": "fc8d1873e3db63a480bc57aebb4bf5ec05332d91" + "reference": "5e04e4a0834b84650a207a76b7a67de8156d0b04" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/laravel/slack-notification-channel/zipball/fc8d1873e3db63a480bc57aebb4bf5ec05332d91", - "reference": "fc8d1873e3db63a480bc57aebb4bf5ec05332d91", + "url": "https://api.github.com/repos/laravel/slack-notification-channel/zipball/5e04e4a0834b84650a207a76b7a67de8156d0b04", + "reference": "5e04e4a0834b84650a207a76b7a67de8156d0b04", "shasum": "" }, "require": { @@ -3126,22 +3150,22 @@ ], "support": { "issues": "https://github.com/laravel/slack-notification-channel/issues", - "source": "https://github.com/laravel/slack-notification-channel/tree/v3.2.0" + "source": "https://github.com/laravel/slack-notification-channel/tree/v3.3.2" }, - "time": "2024-01-15T20:07:45+00:00" + "time": "2024-09-04T06:56:09+00:00" }, { "name": "league/commonmark", - "version": "2.4.2", + "version": "2.5.3", "source": { "type": "git", "url": "https://github.com/thephpleague/commonmark.git", - "reference": "91c24291965bd6d7c46c46a12ba7492f83b1cadf" + "reference": "b650144166dfa7703e62a22e493b853b58d874b0" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/thephpleague/commonmark/zipball/91c24291965bd6d7c46c46a12ba7492f83b1cadf", - "reference": "91c24291965bd6d7c46c46a12ba7492f83b1cadf", + "url": "https://api.github.com/repos/thephpleague/commonmark/zipball/b650144166dfa7703e62a22e493b853b58d874b0", + "reference": "b650144166dfa7703e62a22e493b853b58d874b0", "shasum": "" }, "require": { @@ -3154,8 +3178,8 @@ }, "require-dev": { "cebe/markdown": "^1.0", - "commonmark/cmark": "0.30.3", - "commonmark/commonmark.js": "0.30.0", + "commonmark/cmark": "0.31.1", + "commonmark/commonmark.js": "0.31.1", "composer/package-versions-deprecated": "^1.8", "embed/embed": "^4.4", "erusev/parsedown": "^1.0", @@ -3177,7 +3201,7 @@ "type": "library", "extra": { "branch-alias": { - "dev-main": "2.5-dev" + "dev-main": "2.6-dev" } }, "autoload": { @@ -3234,7 +3258,7 @@ "type": "tidelift" } ], - "time": "2024-02-02T11:59:32+00:00" + "time": "2024-08-16T11:46:16+00:00" }, { "name": "league/config", @@ -3320,16 +3344,16 @@ }, { "name": "league/flysystem", - "version": "3.27.0", + "version": "3.29.1", "source": { "type": "git", "url": "https://github.com/thephpleague/flysystem.git", - "reference": "4729745b1ab737908c7d055148c9a6b3e959832f" + "reference": "edc1bb7c86fab0776c3287dbd19b5fa278347319" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/thephpleague/flysystem/zipball/4729745b1ab737908c7d055148c9a6b3e959832f", - "reference": "4729745b1ab737908c7d055148c9a6b3e959832f", + "url": "https://api.github.com/repos/thephpleague/flysystem/zipball/edc1bb7c86fab0776c3287dbd19b5fa278347319", + "reference": "edc1bb7c86fab0776c3287dbd19b5fa278347319", "shasum": "" }, "require": { @@ -3353,10 +3377,13 @@ "composer/semver": "^3.0", "ext-fileinfo": "*", "ext-ftp": "*", + "ext-mongodb": "^1.3", "ext-zip": "*", "friendsofphp/php-cs-fixer": "^3.5", "google/cloud-storage": "^1.23", + "guzzlehttp/psr7": "^2.6", "microsoft/azure-storage-blob": "^1.1", + "mongodb/mongodb": "^1.2", "phpseclib/phpseclib": "^3.0.36", "phpstan/phpstan": "^1.10", "phpunit/phpunit": "^9.5.11|^10.0", @@ -3394,32 +3421,22 @@ ], "support": { "issues": "https://github.com/thephpleague/flysystem/issues", - "source": "https://github.com/thephpleague/flysystem/tree/3.27.0" + "source": "https://github.com/thephpleague/flysystem/tree/3.29.1" }, - "funding": [ - { - "url": "https://ecologi.com/frankdejonge", - "type": "custom" - }, - { - "url": "https://github.com/frankdejonge", - "type": "github" - } - ], - "time": "2024-04-07T19:17:50+00:00" + "time": "2024-10-08T08:58:34+00:00" }, { "name": "league/flysystem-local", - "version": "3.25.1", + "version": "3.29.0", "source": { "type": "git", "url": "https://github.com/thephpleague/flysystem-local.git", - "reference": "61a6a90d6e999e4ddd9ce5adb356de0939060b92" + "reference": "e0e8d52ce4b2ed154148453d321e97c8e931bd27" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/thephpleague/flysystem-local/zipball/61a6a90d6e999e4ddd9ce5adb356de0939060b92", - "reference": "61a6a90d6e999e4ddd9ce5adb356de0939060b92", + "url": "https://api.github.com/repos/thephpleague/flysystem-local/zipball/e0e8d52ce4b2ed154148453d321e97c8e931bd27", + "reference": "e0e8d52ce4b2ed154148453d321e97c8e931bd27", "shasum": "" }, "require": { @@ -3453,32 +3470,22 @@ "local" ], "support": { - "source": "https://github.com/thephpleague/flysystem-local/tree/3.25.1" + "source": "https://github.com/thephpleague/flysystem-local/tree/3.29.0" }, - "funding": [ - { - "url": "https://ecologi.com/frankdejonge", - "type": "custom" - }, - { - "url": "https://github.com/frankdejonge", - "type": "github" - } - ], - "time": "2024-03-15T19:58:44+00:00" + "time": "2024-08-09T21:24:39+00:00" }, { "name": "league/mime-type-detection", - "version": "1.15.0", + "version": "1.16.0", "source": { "type": "git", "url": "https://github.com/thephpleague/mime-type-detection.git", - "reference": "ce0f4d1e8a6f4eb0ddff33f57c69c50fd09f4301" + "reference": "2d6702ff215bf922936ccc1ad31007edc76451b9" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/thephpleague/mime-type-detection/zipball/ce0f4d1e8a6f4eb0ddff33f57c69c50fd09f4301", - "reference": "ce0f4d1e8a6f4eb0ddff33f57c69c50fd09f4301", + "url": "https://api.github.com/repos/thephpleague/mime-type-detection/zipball/2d6702ff215bf922936ccc1ad31007edc76451b9", + "reference": "2d6702ff215bf922936ccc1ad31007edc76451b9", "shasum": "" }, "require": { @@ -3509,7 +3516,7 @@ "description": "Mime-type detection for Flysystem", "support": { "issues": "https://github.com/thephpleague/mime-type-detection/issues", - "source": "https://github.com/thephpleague/mime-type-detection/tree/1.15.0" + "source": "https://github.com/thephpleague/mime-type-detection/tree/1.16.0" }, "funding": [ { @@ -3521,20 +3528,20 @@ "type": "tidelift" } ], - "time": "2024-01-28T23:22:08+00:00" + "time": "2024-09-21T08:32:55+00:00" }, { "name": "lorisleiva/laravel-actions", - "version": "v2.8.0", + "version": "v2.8.4", "source": { "type": "git", "url": "https://github.com/lorisleiva/laravel-actions.git", - "reference": "d5c2ca544f40d85f877b38eb6d23e9c967ecb69f" + "reference": "5a168bfdd3b75dd6ff259019d4aeef784bbd5403" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/lorisleiva/laravel-actions/zipball/d5c2ca544f40d85f877b38eb6d23e9c967ecb69f", - "reference": "d5c2ca544f40d85f877b38eb6d23e9c967ecb69f", + "url": "https://api.github.com/repos/lorisleiva/laravel-actions/zipball/5a168bfdd3b75dd6ff259019d4aeef784bbd5403", + "reference": "5a168bfdd3b75dd6ff259019d4aeef784bbd5403", "shasum": "" }, "require": { @@ -3543,7 +3550,7 @@ "php": "^8.1" }, "require-dev": { - "orchestra/testbench": "^9.0", + "orchestra/testbench": "^8.0|^9.0", "pestphp/pest": "^1.23|^2.34", "phpunit/phpunit": "^9.6|^10.0" }, @@ -3584,11 +3591,12 @@ "controller", "job", "laravel", + "listener", "object" ], "support": { "issues": "https://github.com/lorisleiva/laravel-actions/issues", - "source": "https://github.com/lorisleiva/laravel-actions/tree/v2.8.0" + "source": "https://github.com/lorisleiva/laravel-actions/tree/v2.8.4" }, "funding": [ { @@ -3596,7 +3604,7 @@ "type": "github" } ], - "time": "2024-03-13T12:47:32+00:00" + "time": "2024-09-10T09:57:29+00:00" }, { "name": "lorisleiva/lody", @@ -3672,16 +3680,16 @@ }, { "name": "monolog/monolog", - "version": "3.6.0", + "version": "3.7.0", "source": { "type": "git", "url": "https://github.com/Seldaek/monolog.git", - "reference": "4b18b21a5527a3d5ffdac2fd35d3ab25a9597654" + "reference": "f4393b648b78a5408747de94fca38beb5f7e9ef8" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/Seldaek/monolog/zipball/4b18b21a5527a3d5ffdac2fd35d3ab25a9597654", - "reference": "4b18b21a5527a3d5ffdac2fd35d3ab25a9597654", + "url": "https://api.github.com/repos/Seldaek/monolog/zipball/f4393b648b78a5408747de94fca38beb5f7e9ef8", + "reference": "f4393b648b78a5408747de94fca38beb5f7e9ef8", "shasum": "" }, "require": { @@ -3757,7 +3765,7 @@ ], "support": { "issues": "https://github.com/Seldaek/monolog/issues", - "source": "https://github.com/Seldaek/monolog/tree/3.6.0" + "source": "https://github.com/Seldaek/monolog/tree/3.7.0" }, "funding": [ { @@ -3769,20 +3777,20 @@ "type": "tidelift" } ], - "time": "2024-04-12T21:02:21+00:00" + "time": "2024-06-28T09:40:51+00:00" }, { "name": "nesbot/carbon", - "version": "3.3.0", + "version": "3.8.0", "source": { "type": "git", "url": "https://github.com/briannesbitt/Carbon.git", - "reference": "7219739c4e01d4680c980545821733b6ed8ee880" + "reference": "bbd3eef89af8ba66a3aa7952b5439168fbcc529f" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/briannesbitt/Carbon/zipball/7219739c4e01d4680c980545821733b6ed8ee880", - "reference": "7219739c4e01d4680c980545821733b6ed8ee880", + "url": "https://api.github.com/repos/briannesbitt/Carbon/zipball/bbd3eef89af8ba66a3aa7952b5439168fbcc529f", + "reference": "bbd3eef89af8ba66a3aa7952b5439168fbcc529f", "shasum": "" }, "require": { @@ -3800,13 +3808,13 @@ "require-dev": { "doctrine/dbal": "^3.6.3 || ^4.0", "doctrine/orm": "^2.15.2 || ^3.0", - "friendsofphp/php-cs-fixer": "^3.52.1", + "friendsofphp/php-cs-fixer": "^3.57.2", "kylekatarnls/multi-tester": "^2.5.3", "ondrejmirtes/better-reflection": "^6.25.0.4", "phpmd/phpmd": "^2.15.0", "phpstan/extension-installer": "^1.3.1", - "phpstan/phpstan": "^1.10.65", - "phpunit/phpunit": "^10.5.15", + "phpstan/phpstan": "^1.11.2", + "phpunit/phpunit": "^10.5.20", "squizlabs/php_codesniffer": "^3.9.0" }, "bin": [ @@ -3875,28 +3883,28 @@ "type": "tidelift" } ], - "time": "2024-04-18T16:35:06+00:00" + "time": "2024-08-19T06:22:39+00:00" }, { "name": "nette/schema", - "version": "v1.3.0", + "version": "v1.3.2", "source": { "type": "git", "url": "https://github.com/nette/schema.git", - "reference": "a6d3a6d1f545f01ef38e60f375d1cf1f4de98188" + "reference": "da801d52f0354f70a638673c4a0f04e16529431d" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/nette/schema/zipball/a6d3a6d1f545f01ef38e60f375d1cf1f4de98188", - "reference": "a6d3a6d1f545f01ef38e60f375d1cf1f4de98188", + "url": "https://api.github.com/repos/nette/schema/zipball/da801d52f0354f70a638673c4a0f04e16529431d", + "reference": "da801d52f0354f70a638673c4a0f04e16529431d", "shasum": "" }, "require": { "nette/utils": "^4.0", - "php": "8.1 - 8.3" + "php": "8.1 - 8.4" }, "require-dev": { - "nette/tester": "^2.4", + "nette/tester": "^2.5.2", "phpstan/phpstan-nette": "^1.0", "tracy/tracy": "^2.8" }, @@ -3935,26 +3943,26 @@ ], "support": { "issues": "https://github.com/nette/schema/issues", - "source": "https://github.com/nette/schema/tree/v1.3.0" + "source": "https://github.com/nette/schema/tree/v1.3.2" }, - "time": "2023-12-11T11:54:22+00:00" + "time": "2024-10-06T23:10:23+00:00" }, { "name": "nette/utils", - "version": "v4.0.4", + "version": "v4.0.5", "source": { "type": "git", "url": "https://github.com/nette/utils.git", - "reference": "d3ad0aa3b9f934602cb3e3902ebccf10be34d218" + "reference": "736c567e257dbe0fcf6ce81b4d6dbe05c6899f96" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/nette/utils/zipball/d3ad0aa3b9f934602cb3e3902ebccf10be34d218", - "reference": "d3ad0aa3b9f934602cb3e3902ebccf10be34d218", + "url": "https://api.github.com/repos/nette/utils/zipball/736c567e257dbe0fcf6ce81b4d6dbe05c6899f96", + "reference": "736c567e257dbe0fcf6ce81b4d6dbe05c6899f96", "shasum": "" }, "require": { - "php": ">=8.0 <8.4" + "php": "8.0 - 8.4" }, "conflict": { "nette/finder": "<3", @@ -4021,44 +4029,44 @@ ], "support": { "issues": "https://github.com/nette/utils/issues", - "source": "https://github.com/nette/utils/tree/v4.0.4" + "source": "https://github.com/nette/utils/tree/v4.0.5" }, - "time": "2024-01-17T16:50:36+00:00" + "time": "2024-08-07T15:39:19+00:00" }, { "name": "nunomaduro/collision", - "version": "v8.1.1", + "version": "v8.5.0", "source": { "type": "git", "url": "https://github.com/nunomaduro/collision.git", - "reference": "13e5d538b95a744d85f447a321ce10adb28e9af9" + "reference": "f5c101b929c958e849a633283adff296ed5f38f5" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/nunomaduro/collision/zipball/13e5d538b95a744d85f447a321ce10adb28e9af9", - "reference": "13e5d538b95a744d85f447a321ce10adb28e9af9", + "url": "https://api.github.com/repos/nunomaduro/collision/zipball/f5c101b929c958e849a633283adff296ed5f38f5", + "reference": "f5c101b929c958e849a633283adff296ed5f38f5", "shasum": "" }, "require": { - "filp/whoops": "^2.15.4", - "nunomaduro/termwind": "^2.0.1", + "filp/whoops": "^2.16.0", + "nunomaduro/termwind": "^2.1.0", "php": "^8.2.0", - "symfony/console": "^7.0.4" + "symfony/console": "^7.1.5" }, "conflict": { "laravel/framework": "<11.0.0 || >=12.0.0", "phpunit/phpunit": "<10.5.1 || >=12.0.0" }, "require-dev": { - "larastan/larastan": "^2.9.2", - "laravel/framework": "^11.0.0", - "laravel/pint": "^1.14.0", - "laravel/sail": "^1.28.2", - "laravel/sanctum": "^4.0.0", - "laravel/tinker": "^2.9.0", - "orchestra/testbench-core": "^9.0.0", - "pestphp/pest": "^2.34.1 || ^3.0.0", - "sebastian/environment": "^6.0.1 || ^7.0.0" + "larastan/larastan": "^2.9.8", + "laravel/framework": "^11.28.0", + "laravel/pint": "^1.18.1", + "laravel/sail": "^1.36.0", + "laravel/sanctum": "^4.0.3", + "laravel/tinker": "^2.10.0", + "orchestra/testbench-core": "^9.5.3", + "pestphp/pest": "^2.36.0 || ^3.4.0", + "sebastian/environment": "^6.1.0 || ^7.2.0" }, "type": "library", "extra": { @@ -4120,7 +4128,7 @@ "type": "patreon" } ], - "time": "2024-03-06T16:20:09+00:00" + "time": "2024-10-15T16:06:32+00:00" }, { "name": "nunomaduro/laravel-console-summary", @@ -4318,32 +4326,31 @@ }, { "name": "nunomaduro/termwind", - "version": "v2.0.1", + "version": "v2.2.0", "source": { "type": "git", "url": "https://github.com/nunomaduro/termwind.git", - "reference": "58c4c58cf23df7f498daeb97092e34f5259feb6a" + "reference": "42c84e4e8090766bbd6445d06cd6e57650626ea3" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/nunomaduro/termwind/zipball/58c4c58cf23df7f498daeb97092e34f5259feb6a", - "reference": "58c4c58cf23df7f498daeb97092e34f5259feb6a", + "url": "https://api.github.com/repos/nunomaduro/termwind/zipball/42c84e4e8090766bbd6445d06cd6e57650626ea3", + "reference": "42c84e4e8090766bbd6445d06cd6e57650626ea3", "shasum": "" }, "require": { "ext-mbstring": "*", "php": "^8.2", - "symfony/console": "^7.0.4" + "symfony/console": "^7.1.5" }, "require-dev": { - "ergebnis/phpstan-rules": "^2.2.0", - "illuminate/console": "^11.0.0", - "laravel/pint": "^1.14.0", - "mockery/mockery": "^1.6.7", - "pestphp/pest": "^2.34.1", - "phpstan/phpstan": "^1.10.59", - "phpstan/phpstan-strict-rules": "^1.5.2", - "symfony/var-dumper": "^7.0.4", + "illuminate/console": "^11.28.0", + "laravel/pint": "^1.18.1", + "mockery/mockery": "^1.6.12", + "pestphp/pest": "^2.36.0", + "phpstan/phpstan": "^1.12.6", + "phpstan/phpstan-strict-rules": "^1.6.1", + "symfony/var-dumper": "^7.1.5", "thecodingmachine/phpstan-strict-rules": "^1.0.0" }, "type": "library", @@ -4386,7 +4393,7 @@ ], "support": { "issues": "https://github.com/nunomaduro/termwind/issues", - "source": "https://github.com/nunomaduro/termwind/tree/v2.0.1" + "source": "https://github.com/nunomaduro/termwind/tree/v2.2.0" }, "funding": [ { @@ -4402,20 +4409,20 @@ "type": "github" } ], - "time": "2024-03-06T16:17:14+00:00" + "time": "2024-10-15T16:15:16+00:00" }, { "name": "phpoption/phpoption", - "version": "1.9.2", + "version": "1.9.3", "source": { "type": "git", "url": "https://github.com/schmittjoh/php-option.git", - "reference": "80735db690fe4fc5c76dfa7f9b770634285fa820" + "reference": "e3fac8b24f56113f7cb96af14958c0dd16330f54" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/schmittjoh/php-option/zipball/80735db690fe4fc5c76dfa7f9b770634285fa820", - "reference": "80735db690fe4fc5c76dfa7f9b770634285fa820", + "url": "https://api.github.com/repos/schmittjoh/php-option/zipball/e3fac8b24f56113f7cb96af14958c0dd16330f54", + "reference": "e3fac8b24f56113f7cb96af14958c0dd16330f54", "shasum": "" }, "require": { @@ -4423,13 +4430,13 @@ }, "require-dev": { "bamarni/composer-bin-plugin": "^1.8.2", - "phpunit/phpunit": "^8.5.34 || ^9.6.13 || ^10.4.2" + "phpunit/phpunit": "^8.5.39 || ^9.6.20 || ^10.5.28" }, "type": "library", "extra": { "bamarni-bin": { "bin-links": true, - "forward-command": true + "forward-command": false }, "branch-alias": { "dev-master": "1.9-dev" @@ -4465,7 +4472,7 @@ ], "support": { "issues": "https://github.com/schmittjoh/php-option/issues", - "source": "https://github.com/schmittjoh/php-option/tree/1.9.2" + "source": "https://github.com/schmittjoh/php-option/tree/1.9.3" }, "funding": [ { @@ -4477,7 +4484,7 @@ "type": "tidelift" } ], - "time": "2023-11-12T21:59:55+00:00" + "time": "2024-07-20T21:41:07+00:00" }, { "name": "psr/clock", @@ -4684,20 +4691,20 @@ }, { "name": "psr/http-factory", - "version": "1.0.2", + "version": "1.1.0", "source": { "type": "git", "url": "https://github.com/php-fig/http-factory.git", - "reference": "e616d01114759c4c489f93b099585439f795fe35" + "reference": "2b4765fddfe3b508ac62f829e852b1501d3f6e8a" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/php-fig/http-factory/zipball/e616d01114759c4c489f93b099585439f795fe35", - "reference": "e616d01114759c4c489f93b099585439f795fe35", + "url": "https://api.github.com/repos/php-fig/http-factory/zipball/2b4765fddfe3b508ac62f829e852b1501d3f6e8a", + "reference": "2b4765fddfe3b508ac62f829e852b1501d3f6e8a", "shasum": "" }, "require": { - "php": ">=7.0.0", + "php": ">=7.1", "psr/http-message": "^1.0 || ^2.0" }, "type": "library", @@ -4721,7 +4728,7 @@ "homepage": "https://www.php-fig.org/" } ], - "description": "Common interfaces for PSR-7 HTTP message factories", + "description": "PSR-17: Common interfaces for PSR-7 HTTP message factories", "keywords": [ "factory", "http", @@ -4733,9 +4740,9 @@ "response" ], "support": { - "source": "https://github.com/php-fig/http-factory/tree/1.0.2" + "source": "https://github.com/php-fig/http-factory" }, - "time": "2023-04-10T20:10:41+00:00" + "time": "2024-04-15T12:06:14+00:00" }, { "name": "psr/http-message", @@ -4792,16 +4799,16 @@ }, { "name": "psr/log", - "version": "3.0.0", + "version": "3.0.2", "source": { "type": "git", "url": "https://github.com/php-fig/log.git", - "reference": "fe5ea303b0887d5caefd3d431c3e61ad47037001" + "reference": "f16e1d5863e37f8d8c2a01719f5b34baa2b714d3" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/php-fig/log/zipball/fe5ea303b0887d5caefd3d431c3e61ad47037001", - "reference": "fe5ea303b0887d5caefd3d431c3e61ad47037001", + "url": "https://api.github.com/repos/php-fig/log/zipball/f16e1d5863e37f8d8c2a01719f5b34baa2b714d3", + "reference": "f16e1d5863e37f8d8c2a01719f5b34baa2b714d3", "shasum": "" }, "require": { @@ -4836,9 +4843,9 @@ "psr-3" ], "support": { - "source": "https://github.com/php-fig/log/tree/3.0.0" + "source": "https://github.com/php-fig/log/tree/3.0.2" }, - "time": "2021-07-14T16:46:02+00:00" + "time": "2024-09-11T13:17:53+00:00" }, { "name": "psr/simple-cache", @@ -5118,16 +5125,16 @@ }, { "name": "symfony/clock", - "version": "v7.0.5", + "version": "v7.1.1", "source": { "type": "git", "url": "https://github.com/symfony/clock.git", - "reference": "8b9d08887353d627d5f6c3bf3373b398b49051c2" + "reference": "3dfc8b084853586de51dd1441c6242c76a28cbe7" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/clock/zipball/8b9d08887353d627d5f6c3bf3373b398b49051c2", - "reference": "8b9d08887353d627d5f6c3bf3373b398b49051c2", + "url": "https://api.github.com/repos/symfony/clock/zipball/3dfc8b084853586de51dd1441c6242c76a28cbe7", + "reference": "3dfc8b084853586de51dd1441c6242c76a28cbe7", "shasum": "" }, "require": { @@ -5172,7 +5179,7 @@ "time" ], "support": { - "source": "https://github.com/symfony/clock/tree/v7.0.5" + "source": "https://github.com/symfony/clock/tree/v7.1.1" }, "funding": [ { @@ -5188,20 +5195,20 @@ "type": "tidelift" } ], - "time": "2024-03-02T12:46:12+00:00" + "time": "2024-05-31T14:57:53+00:00" }, { "name": "symfony/console", - "version": "v7.0.6", + "version": "v7.1.5", "source": { "type": "git", "url": "https://github.com/symfony/console.git", - "reference": "fde915cd8e7eb99b3d531d3d5c09531429c3f9e5" + "reference": "0fa539d12b3ccf068a722bbbffa07ca7079af9ee" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/console/zipball/fde915cd8e7eb99b3d531d3d5c09531429c3f9e5", - "reference": "fde915cd8e7eb99b3d531d3d5c09531429c3f9e5", + "url": "https://api.github.com/repos/symfony/console/zipball/0fa539d12b3ccf068a722bbbffa07ca7079af9ee", + "reference": "0fa539d12b3ccf068a722bbbffa07ca7079af9ee", "shasum": "" }, "require": { @@ -5265,7 +5272,7 @@ "terminal" ], "support": { - "source": "https://github.com/symfony/console/tree/v7.0.6" + "source": "https://github.com/symfony/console/tree/v7.1.5" }, "funding": [ { @@ -5281,20 +5288,20 @@ "type": "tidelift" } ], - "time": "2024-04-01T11:04:53+00:00" + "time": "2024-09-20T08:28:38+00:00" }, { "name": "symfony/css-selector", - "version": "v7.0.3", + "version": "v7.1.1", "source": { "type": "git", "url": "https://github.com/symfony/css-selector.git", - "reference": "ec60a4edf94e63b0556b6a0888548bb400a3a3be" + "reference": "1c7cee86c6f812896af54434f8ce29c8d94f9ff4" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/css-selector/zipball/ec60a4edf94e63b0556b6a0888548bb400a3a3be", - "reference": "ec60a4edf94e63b0556b6a0888548bb400a3a3be", + "url": "https://api.github.com/repos/symfony/css-selector/zipball/1c7cee86c6f812896af54434f8ce29c8d94f9ff4", + "reference": "1c7cee86c6f812896af54434f8ce29c8d94f9ff4", "shasum": "" }, "require": { @@ -5330,7 +5337,7 @@ "description": "Converts CSS selectors to XPath expressions", "homepage": "https://symfony.com", "support": { - "source": "https://github.com/symfony/css-selector/tree/v7.0.3" + "source": "https://github.com/symfony/css-selector/tree/v7.1.1" }, "funding": [ { @@ -5346,20 +5353,20 @@ "type": "tidelift" } ], - "time": "2024-01-23T15:02:46+00:00" + "time": "2024-05-31T14:57:53+00:00" }, { "name": "symfony/deprecation-contracts", - "version": "v3.4.0", + "version": "v3.5.0", "source": { "type": "git", "url": "https://github.com/symfony/deprecation-contracts.git", - "reference": "7c3aff79d10325257a001fcf92d991f24fc967cf" + "reference": "0e0d29ce1f20deffb4ab1b016a7257c4f1e789a1" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/deprecation-contracts/zipball/7c3aff79d10325257a001fcf92d991f24fc967cf", - "reference": "7c3aff79d10325257a001fcf92d991f24fc967cf", + "url": "https://api.github.com/repos/symfony/deprecation-contracts/zipball/0e0d29ce1f20deffb4ab1b016a7257c4f1e789a1", + "reference": "0e0d29ce1f20deffb4ab1b016a7257c4f1e789a1", "shasum": "" }, "require": { @@ -5368,7 +5375,7 @@ "type": "library", "extra": { "branch-alias": { - "dev-main": "3.4-dev" + "dev-main": "3.5-dev" }, "thanks": { "name": "symfony/contracts", @@ -5397,7 +5404,7 @@ "description": "A generic function and convention to trigger deprecation notices", "homepage": "https://symfony.com", "support": { - "source": "https://github.com/symfony/deprecation-contracts/tree/v3.4.0" + "source": "https://github.com/symfony/deprecation-contracts/tree/v3.5.0" }, "funding": [ { @@ -5413,20 +5420,20 @@ "type": "tidelift" } ], - "time": "2023-05-23T14:45:45+00:00" + "time": "2024-04-18T09:32:20+00:00" }, { "name": "symfony/error-handler", - "version": "v7.0.6", + "version": "v7.1.3", "source": { "type": "git", "url": "https://github.com/symfony/error-handler.git", - "reference": "46a4cc138f799886d4bd70477c55c699d3e9dfc8" + "reference": "432bb369952795c61ca1def65e078c4a80dad13c" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/error-handler/zipball/46a4cc138f799886d4bd70477c55c699d3e9dfc8", - "reference": "46a4cc138f799886d4bd70477c55c699d3e9dfc8", + "url": "https://api.github.com/repos/symfony/error-handler/zipball/432bb369952795c61ca1def65e078c4a80dad13c", + "reference": "432bb369952795c61ca1def65e078c4a80dad13c", "shasum": "" }, "require": { @@ -5472,7 +5479,7 @@ "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.0.6" + "source": "https://github.com/symfony/error-handler/tree/v7.1.3" }, "funding": [ { @@ -5488,20 +5495,20 @@ "type": "tidelift" } ], - "time": "2024-03-19T11:57:22+00:00" + "time": "2024-07-26T13:02:51+00:00" }, { "name": "symfony/event-dispatcher", - "version": "v7.0.3", + "version": "v7.1.1", "source": { "type": "git", "url": "https://github.com/symfony/event-dispatcher.git", - "reference": "834c28d533dd0636f910909d01b9ff45cc094b5e" + "reference": "9fa7f7a21beb22a39a8f3f28618b29e50d7a55a7" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/event-dispatcher/zipball/834c28d533dd0636f910909d01b9ff45cc094b5e", - "reference": "834c28d533dd0636f910909d01b9ff45cc094b5e", + "url": "https://api.github.com/repos/symfony/event-dispatcher/zipball/9fa7f7a21beb22a39a8f3f28618b29e50d7a55a7", + "reference": "9fa7f7a21beb22a39a8f3f28618b29e50d7a55a7", "shasum": "" }, "require": { @@ -5552,7 +5559,7 @@ "description": "Provides tools that allow your application components to communicate with each other by dispatching events and listening to them", "homepage": "https://symfony.com", "support": { - "source": "https://github.com/symfony/event-dispatcher/tree/v7.0.3" + "source": "https://github.com/symfony/event-dispatcher/tree/v7.1.1" }, "funding": [ { @@ -5568,20 +5575,20 @@ "type": "tidelift" } ], - "time": "2024-01-23T15:02:46+00:00" + "time": "2024-05-31T14:57:53+00:00" }, { "name": "symfony/event-dispatcher-contracts", - "version": "v3.4.2", + "version": "v3.5.0", "source": { "type": "git", "url": "https://github.com/symfony/event-dispatcher-contracts.git", - "reference": "4e64b49bf370ade88e567de29465762e316e4224" + "reference": "8f93aec25d41b72493c6ddff14e916177c9efc50" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/event-dispatcher-contracts/zipball/4e64b49bf370ade88e567de29465762e316e4224", - "reference": "4e64b49bf370ade88e567de29465762e316e4224", + "url": "https://api.github.com/repos/symfony/event-dispatcher-contracts/zipball/8f93aec25d41b72493c6ddff14e916177c9efc50", + "reference": "8f93aec25d41b72493c6ddff14e916177c9efc50", "shasum": "" }, "require": { @@ -5591,7 +5598,7 @@ "type": "library", "extra": { "branch-alias": { - "dev-main": "3.4-dev" + "dev-main": "3.5-dev" }, "thanks": { "name": "symfony/contracts", @@ -5628,7 +5635,7 @@ "standards" ], "support": { - "source": "https://github.com/symfony/event-dispatcher-contracts/tree/v3.4.2" + "source": "https://github.com/symfony/event-dispatcher-contracts/tree/v3.5.0" }, "funding": [ { @@ -5644,20 +5651,20 @@ "type": "tidelift" } ], - "time": "2024-01-23T14:51:35+00:00" + "time": "2024-04-18T09:32:20+00:00" }, { "name": "symfony/finder", - "version": "v7.0.0", + "version": "v7.1.4", "source": { "type": "git", "url": "https://github.com/symfony/finder.git", - "reference": "6e5688d69f7cfc4ed4a511e96007e06c2d34ce56" + "reference": "d95bbf319f7d052082fb7af147e0f835a695e823" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/finder/zipball/6e5688d69f7cfc4ed4a511e96007e06c2d34ce56", - "reference": "6e5688d69f7cfc4ed4a511e96007e06c2d34ce56", + "url": "https://api.github.com/repos/symfony/finder/zipball/d95bbf319f7d052082fb7af147e0f835a695e823", + "reference": "d95bbf319f7d052082fb7af147e0f835a695e823", "shasum": "" }, "require": { @@ -5692,7 +5699,7 @@ "description": "Finds files and directories via an intuitive fluent interface", "homepage": "https://symfony.com", "support": { - "source": "https://github.com/symfony/finder/tree/v7.0.0" + "source": "https://github.com/symfony/finder/tree/v7.1.4" }, "funding": [ { @@ -5708,20 +5715,20 @@ "type": "tidelift" } ], - "time": "2023-10-31T17:59:56+00:00" + "time": "2024-08-13T14:28:19+00:00" }, { "name": "symfony/http-foundation", - "version": "v7.0.6", + "version": "v7.1.5", "source": { "type": "git", "url": "https://github.com/symfony/http-foundation.git", - "reference": "8789625dcf36e5fbf753014678a1e090f1bc759c" + "reference": "e30ef73b1e44eea7eb37ba69600a354e553f694b" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/http-foundation/zipball/8789625dcf36e5fbf753014678a1e090f1bc759c", - "reference": "8789625dcf36e5fbf753014678a1e090f1bc759c", + "url": "https://api.github.com/repos/symfony/http-foundation/zipball/e30ef73b1e44eea7eb37ba69600a354e553f694b", + "reference": "e30ef73b1e44eea7eb37ba69600a354e553f694b", "shasum": "" }, "require": { @@ -5769,7 +5776,7 @@ "description": "Defines an object-oriented layer for the HTTP specification", "homepage": "https://symfony.com", "support": { - "source": "https://github.com/symfony/http-foundation/tree/v7.0.6" + "source": "https://github.com/symfony/http-foundation/tree/v7.1.5" }, "funding": [ { @@ -5785,25 +5792,26 @@ "type": "tidelift" } ], - "time": "2024-03-19T11:46:48+00:00" + "time": "2024-09-20T08:28:38+00:00" }, { "name": "symfony/http-kernel", - "version": "v7.0.6", + "version": "v7.1.5", "source": { "type": "git", "url": "https://github.com/symfony/http-kernel.git", - "reference": "34c872391046d59af804af62d4573b829cfe4824" + "reference": "44204d96150a9df1fc57601ec933d23fefc2d65b" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/http-kernel/zipball/34c872391046d59af804af62d4573b829cfe4824", - "reference": "34c872391046d59af804af62d4573b829cfe4824", + "url": "https://api.github.com/repos/symfony/http-kernel/zipball/44204d96150a9df1fc57601ec933d23fefc2d65b", + "reference": "44204d96150a9df1fc57601ec933d23fefc2d65b", "shasum": "" }, "require": { "php": ">=8.2", "psr/log": "^1|^2|^3", + "symfony/deprecation-contracts": "^2.5|^3", "symfony/error-handler": "^6.4|^7.0", "symfony/event-dispatcher": "^6.4|^7.0", "symfony/http-foundation": "^6.4|^7.0", @@ -5844,14 +5852,15 @@ "symfony/finder": "^6.4|^7.0", "symfony/http-client-contracts": "^2.5|^3", "symfony/process": "^6.4|^7.0", - "symfony/property-access": "^6.4|^7.0", + "symfony/property-access": "^7.1", "symfony/routing": "^6.4|^7.0", - "symfony/serializer": "^6.4.4|^7.0.4", + "symfony/serializer": "^7.1", "symfony/stopwatch": "^6.4|^7.0", "symfony/translation": "^6.4|^7.0", "symfony/translation-contracts": "^2.5|^3", "symfony/uid": "^6.4|^7.0", "symfony/validator": "^6.4|^7.0", + "symfony/var-dumper": "^6.4|^7.0", "symfony/var-exporter": "^6.4|^7.0", "twig/twig": "^3.0.4" }, @@ -5881,7 +5890,7 @@ "description": "Provides a structured process for converting a Request into a Response", "homepage": "https://symfony.com", "support": { - "source": "https://github.com/symfony/http-kernel/tree/v7.0.6" + "source": "https://github.com/symfony/http-kernel/tree/v7.1.5" }, "funding": [ { @@ -5897,20 +5906,20 @@ "type": "tidelift" } ], - "time": "2024-04-03T06:12:25+00:00" + "time": "2024-09-21T06:09:21+00:00" }, { "name": "symfony/mailer", - "version": "v7.0.6", + "version": "v7.1.5", "source": { "type": "git", "url": "https://github.com/symfony/mailer.git", - "reference": "eb0c3187c7ddfde12d8aa0e1fa5fb29e730a41e0" + "reference": "bbf21460c56f29810da3df3e206e38dfbb01e80b" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/mailer/zipball/eb0c3187c7ddfde12d8aa0e1fa5fb29e730a41e0", - "reference": "eb0c3187c7ddfde12d8aa0e1fa5fb29e730a41e0", + "url": "https://api.github.com/repos/symfony/mailer/zipball/bbf21460c56f29810da3df3e206e38dfbb01e80b", + "reference": "bbf21460c56f29810da3df3e206e38dfbb01e80b", "shasum": "" }, "require": { @@ -5961,7 +5970,7 @@ "description": "Helps sending emails", "homepage": "https://symfony.com", "support": { - "source": "https://github.com/symfony/mailer/tree/v7.0.6" + "source": "https://github.com/symfony/mailer/tree/v7.1.5" }, "funding": [ { @@ -5977,20 +5986,20 @@ "type": "tidelift" } ], - "time": "2024-03-28T09:20:36+00:00" + "time": "2024-09-08T12:32:26+00:00" }, { "name": "symfony/mime", - "version": "v7.0.6", + "version": "v7.1.5", "source": { "type": "git", "url": "https://github.com/symfony/mime.git", - "reference": "99362408c9abdf8c7cadcf0529b6fc8b16f5ace2" + "reference": "711d2e167e8ce65b05aea6b258c449671cdd38ff" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/mime/zipball/99362408c9abdf8c7cadcf0529b6fc8b16f5ace2", - "reference": "99362408c9abdf8c7cadcf0529b6fc8b16f5ace2", + "url": "https://api.github.com/repos/symfony/mime/zipball/711d2e167e8ce65b05aea6b258c449671cdd38ff", + "reference": "711d2e167e8ce65b05aea6b258c449671cdd38ff", "shasum": "" }, "require": { @@ -6003,7 +6012,7 @@ "phpdocumentor/reflection-docblock": "<3.2.2", "phpdocumentor/type-resolver": "<1.4.0", "symfony/mailer": "<6.4", - "symfony/serializer": "<6.4" + "symfony/serializer": "<6.4.3|>7.0,<7.0.3" }, "require-dev": { "egulias/email-validator": "^2.1.10|^3.1|^4", @@ -6013,7 +6022,7 @@ "symfony/process": "^6.4|^7.0", "symfony/property-access": "^6.4|^7.0", "symfony/property-info": "^6.4|^7.0", - "symfony/serializer": "^6.4|^7.0" + "symfony/serializer": "^6.4.3|^7.0.3" }, "type": "library", "autoload": { @@ -6045,7 +6054,7 @@ "mime-type" ], "support": { - "source": "https://github.com/symfony/mime/tree/v7.0.6" + "source": "https://github.com/symfony/mime/tree/v7.1.5" }, "funding": [ { @@ -6061,24 +6070,24 @@ "type": "tidelift" } ], - "time": "2024-03-21T19:37:36+00:00" + "time": "2024-09-20T08:28:38+00:00" }, { "name": "symfony/polyfill-ctype", - "version": "v1.29.0", + "version": "v1.31.0", "source": { "type": "git", "url": "https://github.com/symfony/polyfill-ctype.git", - "reference": "ef4d7e442ca910c4764bce785146269b30cb5fc4" + "reference": "a3cc8b044a6ea513310cbd48ef7333b384945638" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-ctype/zipball/ef4d7e442ca910c4764bce785146269b30cb5fc4", - "reference": "ef4d7e442ca910c4764bce785146269b30cb5fc4", + "url": "https://api.github.com/repos/symfony/polyfill-ctype/zipball/a3cc8b044a6ea513310cbd48ef7333b384945638", + "reference": "a3cc8b044a6ea513310cbd48ef7333b384945638", "shasum": "" }, "require": { - "php": ">=7.1" + "php": ">=7.2" }, "provide": { "ext-ctype": "*" @@ -6124,7 +6133,7 @@ "portable" ], "support": { - "source": "https://github.com/symfony/polyfill-ctype/tree/v1.29.0" + "source": "https://github.com/symfony/polyfill-ctype/tree/v1.31.0" }, "funding": [ { @@ -6140,24 +6149,24 @@ "type": "tidelift" } ], - "time": "2024-01-29T20:11:03+00:00" + "time": "2024-09-09T11:45:10+00:00" }, { "name": "symfony/polyfill-intl-grapheme", - "version": "v1.29.0", + "version": "v1.31.0", "source": { "type": "git", "url": "https://github.com/symfony/polyfill-intl-grapheme.git", - "reference": "32a9da87d7b3245e09ac426c83d334ae9f06f80f" + "reference": "b9123926e3b7bc2f98c02ad54f6a4b02b91a8abe" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-intl-grapheme/zipball/32a9da87d7b3245e09ac426c83d334ae9f06f80f", - "reference": "32a9da87d7b3245e09ac426c83d334ae9f06f80f", + "url": "https://api.github.com/repos/symfony/polyfill-intl-grapheme/zipball/b9123926e3b7bc2f98c02ad54f6a4b02b91a8abe", + "reference": "b9123926e3b7bc2f98c02ad54f6a4b02b91a8abe", "shasum": "" }, "require": { - "php": ">=7.1" + "php": ">=7.2" }, "suggest": { "ext-intl": "For best performance" @@ -6202,7 +6211,7 @@ "shim" ], "support": { - "source": "https://github.com/symfony/polyfill-intl-grapheme/tree/v1.29.0" + "source": "https://github.com/symfony/polyfill-intl-grapheme/tree/v1.31.0" }, "funding": [ { @@ -6218,26 +6227,25 @@ "type": "tidelift" } ], - "time": "2024-01-29T20:11:03+00:00" + "time": "2024-09-09T11:45:10+00:00" }, { "name": "symfony/polyfill-intl-idn", - "version": "v1.29.0", + "version": "v1.31.0", "source": { "type": "git", "url": "https://github.com/symfony/polyfill-intl-idn.git", - "reference": "a287ed7475f85bf6f61890146edbc932c0fff919" + "reference": "c36586dcf89a12315939e00ec9b4474adcb1d773" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-intl-idn/zipball/a287ed7475f85bf6f61890146edbc932c0fff919", - "reference": "a287ed7475f85bf6f61890146edbc932c0fff919", + "url": "https://api.github.com/repos/symfony/polyfill-intl-idn/zipball/c36586dcf89a12315939e00ec9b4474adcb1d773", + "reference": "c36586dcf89a12315939e00ec9b4474adcb1d773", "shasum": "" }, "require": { - "php": ">=7.1", - "symfony/polyfill-intl-normalizer": "^1.10", - "symfony/polyfill-php72": "^1.10" + "php": ">=7.2", + "symfony/polyfill-intl-normalizer": "^1.10" }, "suggest": { "ext-intl": "For best performance" @@ -6286,7 +6294,7 @@ "shim" ], "support": { - "source": "https://github.com/symfony/polyfill-intl-idn/tree/v1.29.0" + "source": "https://github.com/symfony/polyfill-intl-idn/tree/v1.31.0" }, "funding": [ { @@ -6302,24 +6310,24 @@ "type": "tidelift" } ], - "time": "2024-01-29T20:11:03+00:00" + "time": "2024-09-09T11:45:10+00:00" }, { "name": "symfony/polyfill-intl-normalizer", - "version": "v1.29.0", + "version": "v1.31.0", "source": { "type": "git", "url": "https://github.com/symfony/polyfill-intl-normalizer.git", - "reference": "bc45c394692b948b4d383a08d7753968bed9a83d" + "reference": "3833d7255cc303546435cb650316bff708a1c75c" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-intl-normalizer/zipball/bc45c394692b948b4d383a08d7753968bed9a83d", - "reference": "bc45c394692b948b4d383a08d7753968bed9a83d", + "url": "https://api.github.com/repos/symfony/polyfill-intl-normalizer/zipball/3833d7255cc303546435cb650316bff708a1c75c", + "reference": "3833d7255cc303546435cb650316bff708a1c75c", "shasum": "" }, "require": { - "php": ">=7.1" + "php": ">=7.2" }, "suggest": { "ext-intl": "For best performance" @@ -6367,7 +6375,7 @@ "shim" ], "support": { - "source": "https://github.com/symfony/polyfill-intl-normalizer/tree/v1.29.0" + "source": "https://github.com/symfony/polyfill-intl-normalizer/tree/v1.31.0" }, "funding": [ { @@ -6383,24 +6391,24 @@ "type": "tidelift" } ], - "time": "2024-01-29T20:11:03+00:00" + "time": "2024-09-09T11:45:10+00:00" }, { "name": "symfony/polyfill-mbstring", - "version": "v1.29.0", + "version": "v1.31.0", "source": { "type": "git", "url": "https://github.com/symfony/polyfill-mbstring.git", - "reference": "9773676c8a1bb1f8d4340a62efe641cf76eda7ec" + "reference": "85181ba99b2345b0ef10ce42ecac37612d9fd341" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-mbstring/zipball/9773676c8a1bb1f8d4340a62efe641cf76eda7ec", - "reference": "9773676c8a1bb1f8d4340a62efe641cf76eda7ec", + "url": "https://api.github.com/repos/symfony/polyfill-mbstring/zipball/85181ba99b2345b0ef10ce42ecac37612d9fd341", + "reference": "85181ba99b2345b0ef10ce42ecac37612d9fd341", "shasum": "" }, "require": { - "php": ">=7.1" + "php": ">=7.2" }, "provide": { "ext-mbstring": "*" @@ -6447,7 +6455,7 @@ "shim" ], "support": { - "source": "https://github.com/symfony/polyfill-mbstring/tree/v1.29.0" + "source": "https://github.com/symfony/polyfill-mbstring/tree/v1.31.0" }, "funding": [ { @@ -6463,97 +6471,24 @@ "type": "tidelift" } ], - "time": "2024-01-29T20:11:03+00:00" - }, - { - "name": "symfony/polyfill-php72", - "version": "v1.29.0", - "source": { - "type": "git", - "url": "https://github.com/symfony/polyfill-php72.git", - "reference": "861391a8da9a04cbad2d232ddd9e4893220d6e25" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-php72/zipball/861391a8da9a04cbad2d232ddd9e4893220d6e25", - "reference": "861391a8da9a04cbad2d232ddd9e4893220d6e25", - "shasum": "" - }, - "require": { - "php": ">=7.1" - }, - "type": "library", - "extra": { - "thanks": { - "name": "symfony/polyfill", - "url": "https://github.com/symfony/polyfill" - } - }, - "autoload": { - "files": [ - "bootstrap.php" - ], - "psr-4": { - "Symfony\\Polyfill\\Php72\\": "" - } - }, - "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 7.2+ features to lower PHP versions", - "homepage": "https://symfony.com", - "keywords": [ - "compatibility", - "polyfill", - "portable", - "shim" - ], - "support": { - "source": "https://github.com/symfony/polyfill-php72/tree/v1.29.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-01-29T20:11:03+00:00" + "time": "2024-09-09T11:45:10+00:00" }, { "name": "symfony/polyfill-php80", - "version": "v1.29.0", + "version": "v1.31.0", "source": { "type": "git", "url": "https://github.com/symfony/polyfill-php80.git", - "reference": "87b68208d5c1188808dd7839ee1e6c8ec3b02f1b" + "reference": "60328e362d4c2c802a54fcbf04f9d3fb892b4cf8" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-php80/zipball/87b68208d5c1188808dd7839ee1e6c8ec3b02f1b", - "reference": "87b68208d5c1188808dd7839ee1e6c8ec3b02f1b", + "url": "https://api.github.com/repos/symfony/polyfill-php80/zipball/60328e362d4c2c802a54fcbf04f9d3fb892b4cf8", + "reference": "60328e362d4c2c802a54fcbf04f9d3fb892b4cf8", "shasum": "" }, "require": { - "php": ">=7.1" + "php": ">=7.2" }, "type": "library", "extra": { @@ -6600,7 +6535,7 @@ "shim" ], "support": { - "source": "https://github.com/symfony/polyfill-php80/tree/v1.29.0" + "source": "https://github.com/symfony/polyfill-php80/tree/v1.31.0" }, "funding": [ { @@ -6616,25 +6551,24 @@ "type": "tidelift" } ], - "time": "2024-01-29T20:11:03+00:00" + "time": "2024-09-09T11:45:10+00:00" }, { "name": "symfony/polyfill-php83", - "version": "v1.29.0", + "version": "v1.31.0", "source": { "type": "git", "url": "https://github.com/symfony/polyfill-php83.git", - "reference": "86fcae159633351e5fd145d1c47de6c528f8caff" + "reference": "2fb86d65e2d424369ad2905e83b236a8805ba491" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-php83/zipball/86fcae159633351e5fd145d1c47de6c528f8caff", - "reference": "86fcae159633351e5fd145d1c47de6c528f8caff", + "url": "https://api.github.com/repos/symfony/polyfill-php83/zipball/2fb86d65e2d424369ad2905e83b236a8805ba491", + "reference": "2fb86d65e2d424369ad2905e83b236a8805ba491", "shasum": "" }, "require": { - "php": ">=7.1", - "symfony/polyfill-php80": "^1.14" + "php": ">=7.2" }, "type": "library", "extra": { @@ -6677,7 +6611,7 @@ "shim" ], "support": { - "source": "https://github.com/symfony/polyfill-php83/tree/v1.29.0" + "source": "https://github.com/symfony/polyfill-php83/tree/v1.31.0" }, "funding": [ { @@ -6693,20 +6627,20 @@ "type": "tidelift" } ], - "time": "2024-01-29T20:11:03+00:00" + "time": "2024-09-09T11:45:10+00:00" }, { "name": "symfony/process", - "version": "v7.0.4", + "version": "v7.1.5", "source": { "type": "git", "url": "https://github.com/symfony/process.git", - "reference": "0e7727191c3b71ebec6d529fa0e50a01ca5679e9" + "reference": "5c03ee6369281177f07f7c68252a280beccba847" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/process/zipball/0e7727191c3b71ebec6d529fa0e50a01ca5679e9", - "reference": "0e7727191c3b71ebec6d529fa0e50a01ca5679e9", + "url": "https://api.github.com/repos/symfony/process/zipball/5c03ee6369281177f07f7c68252a280beccba847", + "reference": "5c03ee6369281177f07f7c68252a280beccba847", "shasum": "" }, "require": { @@ -6738,7 +6672,7 @@ "description": "Executes commands in sub-processes", "homepage": "https://symfony.com", "support": { - "source": "https://github.com/symfony/process/tree/v7.0.4" + "source": "https://github.com/symfony/process/tree/v7.1.5" }, "funding": [ { @@ -6754,25 +6688,26 @@ "type": "tidelift" } ], - "time": "2024-02-22T20:27:20+00:00" + "time": "2024-09-19T21:48:23+00:00" }, { "name": "symfony/service-contracts", - "version": "v3.4.2", + "version": "v3.5.0", "source": { "type": "git", "url": "https://github.com/symfony/service-contracts.git", - "reference": "11bbf19a0fb7b36345861e85c5768844c552906e" + "reference": "bd1d9e59a81d8fa4acdcea3f617c581f7475a80f" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/service-contracts/zipball/11bbf19a0fb7b36345861e85c5768844c552906e", - "reference": "11bbf19a0fb7b36345861e85c5768844c552906e", + "url": "https://api.github.com/repos/symfony/service-contracts/zipball/bd1d9e59a81d8fa4acdcea3f617c581f7475a80f", + "reference": "bd1d9e59a81d8fa4acdcea3f617c581f7475a80f", "shasum": "" }, "require": { "php": ">=8.1", - "psr/container": "^1.1|^2.0" + "psr/container": "^1.1|^2.0", + "symfony/deprecation-contracts": "^2.5|^3" }, "conflict": { "ext-psr": "<1.1|>=2" @@ -6780,7 +6715,7 @@ "type": "library", "extra": { "branch-alias": { - "dev-main": "3.4-dev" + "dev-main": "3.5-dev" }, "thanks": { "name": "symfony/contracts", @@ -6820,7 +6755,7 @@ "standards" ], "support": { - "source": "https://github.com/symfony/service-contracts/tree/v3.4.2" + "source": "https://github.com/symfony/service-contracts/tree/v3.5.0" }, "funding": [ { @@ -6836,20 +6771,20 @@ "type": "tidelift" } ], - "time": "2023-12-19T21:51:00+00:00" + "time": "2024-04-18T09:32:20+00:00" }, { "name": "symfony/string", - "version": "v7.0.4", + "version": "v7.1.5", "source": { "type": "git", "url": "https://github.com/symfony/string.git", - "reference": "f5832521b998b0bec40bee688ad5de98d4cf111b" + "reference": "d66f9c343fa894ec2037cc928381df90a7ad4306" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/string/zipball/f5832521b998b0bec40bee688ad5de98d4cf111b", - "reference": "f5832521b998b0bec40bee688ad5de98d4cf111b", + "url": "https://api.github.com/repos/symfony/string/zipball/d66f9c343fa894ec2037cc928381df90a7ad4306", + "reference": "d66f9c343fa894ec2037cc928381df90a7ad4306", "shasum": "" }, "require": { @@ -6863,6 +6798,7 @@ "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", @@ -6906,7 +6842,7 @@ "utf8" ], "support": { - "source": "https://github.com/symfony/string/tree/v7.0.4" + "source": "https://github.com/symfony/string/tree/v7.1.5" }, "funding": [ { @@ -6922,20 +6858,20 @@ "type": "tidelift" } ], - "time": "2024-02-01T13:17:36+00:00" + "time": "2024-09-20T08:28:38+00:00" }, { "name": "symfony/translation", - "version": "v7.0.4", + "version": "v7.1.5", "source": { "type": "git", "url": "https://github.com/symfony/translation.git", - "reference": "5b75e872f7d135d7abb4613809fadc8d9f3d30a0" + "reference": "235535e3f84f3dfbdbde0208ede6ca75c3a489ea" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/translation/zipball/5b75e872f7d135d7abb4613809fadc8d9f3d30a0", - "reference": "5b75e872f7d135d7abb4613809fadc8d9f3d30a0", + "url": "https://api.github.com/repos/symfony/translation/zipball/235535e3f84f3dfbdbde0208ede6ca75c3a489ea", + "reference": "235535e3f84f3dfbdbde0208ede6ca75c3a489ea", "shasum": "" }, "require": { @@ -7000,7 +6936,7 @@ "description": "Provides tools to internationalize your application", "homepage": "https://symfony.com", "support": { - "source": "https://github.com/symfony/translation/tree/v7.0.4" + "source": "https://github.com/symfony/translation/tree/v7.1.5" }, "funding": [ { @@ -7016,20 +6952,20 @@ "type": "tidelift" } ], - "time": "2024-02-22T20:27:20+00:00" + "time": "2024-09-16T06:30:38+00:00" }, { "name": "symfony/translation-contracts", - "version": "v3.4.2", + "version": "v3.5.0", "source": { "type": "git", "url": "https://github.com/symfony/translation-contracts.git", - "reference": "43810bdb2ddb5400e5c5e778e27b210a0ca83b6b" + "reference": "b9d2189887bb6b2e0367a9fc7136c5239ab9b05a" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/translation-contracts/zipball/43810bdb2ddb5400e5c5e778e27b210a0ca83b6b", - "reference": "43810bdb2ddb5400e5c5e778e27b210a0ca83b6b", + "url": "https://api.github.com/repos/symfony/translation-contracts/zipball/b9d2189887bb6b2e0367a9fc7136c5239ab9b05a", + "reference": "b9d2189887bb6b2e0367a9fc7136c5239ab9b05a", "shasum": "" }, "require": { @@ -7038,7 +6974,7 @@ "type": "library", "extra": { "branch-alias": { - "dev-main": "3.4-dev" + "dev-main": "3.5-dev" }, "thanks": { "name": "symfony/contracts", @@ -7078,7 +7014,7 @@ "standards" ], "support": { - "source": "https://github.com/symfony/translation-contracts/tree/v3.4.2" + "source": "https://github.com/symfony/translation-contracts/tree/v3.5.0" }, "funding": [ { @@ -7094,20 +7030,20 @@ "type": "tidelift" } ], - "time": "2024-01-23T14:51:35+00:00" + "time": "2024-04-18T09:32:20+00:00" }, { "name": "symfony/var-dumper", - "version": "v7.0.6", + "version": "v7.1.5", "source": { "type": "git", "url": "https://github.com/symfony/var-dumper.git", - "reference": "66d13dc207d5dab6b4f4c2b5460efe1bea29dbfb" + "reference": "e20e03889539fd4e4211e14d2179226c513c010d" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/var-dumper/zipball/66d13dc207d5dab6b4f4c2b5460efe1bea29dbfb", - "reference": "66d13dc207d5dab6b4f4c2b5460efe1bea29dbfb", + "url": "https://api.github.com/repos/symfony/var-dumper/zipball/e20e03889539fd4e4211e14d2179226c513c010d", + "reference": "e20e03889539fd4e4211e14d2179226c513c010d", "shasum": "" }, "require": { @@ -7161,7 +7097,7 @@ "dump" ], "support": { - "source": "https://github.com/symfony/var-dumper/tree/v7.0.6" + "source": "https://github.com/symfony/var-dumper/tree/v7.1.5" }, "funding": [ { @@ -7177,7 +7113,7 @@ "type": "tidelift" } ], - "time": "2024-03-19T11:57:22+00:00" + "time": "2024-09-16T10:07:02+00:00" }, { "name": "tijsverkoyen/css-to-inline-styles", @@ -7234,23 +7170,23 @@ }, { "name": "vlucas/phpdotenv", - "version": "v5.6.0", + "version": "v5.6.1", "source": { "type": "git", "url": "https://github.com/vlucas/phpdotenv.git", - "reference": "2cf9fb6054c2bb1d59d1f3817706ecdb9d2934c4" + "reference": "a59a13791077fe3d44f90e7133eb68e7d22eaff2" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/vlucas/phpdotenv/zipball/2cf9fb6054c2bb1d59d1f3817706ecdb9d2934c4", - "reference": "2cf9fb6054c2bb1d59d1f3817706ecdb9d2934c4", + "url": "https://api.github.com/repos/vlucas/phpdotenv/zipball/a59a13791077fe3d44f90e7133eb68e7d22eaff2", + "reference": "a59a13791077fe3d44f90e7133eb68e7d22eaff2", "shasum": "" }, "require": { "ext-pcre": "*", - "graham-campbell/result-type": "^1.1.2", + "graham-campbell/result-type": "^1.1.3", "php": "^7.2.5 || ^8.0", - "phpoption/phpoption": "^1.9.2", + "phpoption/phpoption": "^1.9.3", "symfony/polyfill-ctype": "^1.24", "symfony/polyfill-mbstring": "^1.24", "symfony/polyfill-php80": "^1.24" @@ -7267,7 +7203,7 @@ "extra": { "bamarni-bin": { "bin-links": true, - "forward-command": true + "forward-command": false }, "branch-alias": { "dev-master": "5.6-dev" @@ -7302,7 +7238,7 @@ ], "support": { "issues": "https://github.com/vlucas/phpdotenv/issues", - "source": "https://github.com/vlucas/phpdotenv/tree/v5.6.0" + "source": "https://github.com/vlucas/phpdotenv/tree/v5.6.1" }, "funding": [ { @@ -7314,7 +7250,7 @@ "type": "tidelift" } ], - "time": "2023-11-12T22:43:29+00:00" + "time": "2024-07-20T21:52:34+00:00" }, { "name": "voku/portable-ascii", @@ -7452,16 +7388,16 @@ "packages-dev": [ { "name": "brianium/paratest", - "version": "v7.4.3", + "version": "v7.4.8", "source": { "type": "git", "url": "https://github.com/paratestphp/paratest.git", - "reference": "64fcfd0e28a6b8078a19dbf9127be2ee645b92ec" + "reference": "cf16fcbb9b8107a7df6b97e497fc91e819774d8b" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/paratestphp/paratest/zipball/64fcfd0e28a6b8078a19dbf9127be2ee645b92ec", - "reference": "64fcfd0e28a6b8078a19dbf9127be2ee645b92ec", + "url": "https://api.github.com/repos/paratestphp/paratest/zipball/cf16fcbb9b8107a7df6b97e497fc91e819774d8b", + "reference": "cf16fcbb9b8107a7df6b97e497fc91e819774d8b", "shasum": "" }, "require": { @@ -7469,31 +7405,30 @@ "ext-pcre": "*", "ext-reflection": "*", "ext-simplexml": "*", - "fidry/cpu-core-counter": "^1.1.0", - "jean85/pretty-package-versions": "^2.0.5", - "php": "~8.2.0 || ~8.3.0", - "phpunit/php-code-coverage": "^10.1.11 || ^11.0.0", - "phpunit/php-file-iterator": "^4.1.0 || ^5.0.0", - "phpunit/php-timer": "^6.0.0 || ^7.0.0", - "phpunit/phpunit": "^10.5.9 || ^11.0.3", - "sebastian/environment": "^6.0.1 || ^7.0.0", - "symfony/console": "^6.4.3 || ^7.0.3", - "symfony/process": "^6.4.3 || ^7.0.3" + "fidry/cpu-core-counter": "^1.2.0", + "jean85/pretty-package-versions": "^2.0.6", + "php": "~8.2.0 || ~8.3.0 || ~8.4.0", + "phpunit/php-code-coverage": "^10.1.16", + "phpunit/php-file-iterator": "^4.1.0", + "phpunit/php-timer": "^6.0.0", + "phpunit/phpunit": "^10.5.36", + "sebastian/environment": "^6.1.0", + "symfony/console": "^6.4.7 || ^7.1.5", + "symfony/process": "^6.4.7 || ^7.1.5" }, "require-dev": { "doctrine/coding-standard": "^12.0.0", "ext-pcov": "*", "ext-posix": "*", - "phpstan/phpstan": "^1.10.58", - "phpstan/phpstan-deprecation-rules": "^1.1.4", - "phpstan/phpstan-phpunit": "^1.3.15", - "phpstan/phpstan-strict-rules": "^1.5.2", - "squizlabs/php_codesniffer": "^3.9.0", - "symfony/filesystem": "^6.4.3 || ^7.0.3" + "phpstan/phpstan": "^1.12.6", + "phpstan/phpstan-deprecation-rules": "^1.2.1", + "phpstan/phpstan-phpunit": "^1.4.0", + "phpstan/phpstan-strict-rules": "^1.6.1", + "squizlabs/php_codesniffer": "^3.10.3", + "symfony/filesystem": "^6.4.3 || ^7.1.5" }, "bin": [ "bin/paratest", - "bin/paratest.bat", "bin/paratest_for_phpstorm" ], "type": "library", @@ -7530,7 +7465,7 @@ ], "support": { "issues": "https://github.com/paratestphp/paratest/issues", - "source": "https://github.com/paratestphp/paratest/tree/v7.4.3" + "source": "https://github.com/paratestphp/paratest/tree/v7.4.8" }, "funding": [ { @@ -7542,7 +7477,7 @@ "type": "paypal" } ], - "time": "2024-02-20T07:24:02+00:00" + "time": "2024-10-15T12:45:19+00:00" }, { "name": "doctrine/deprecations", @@ -7593,16 +7528,16 @@ }, { "name": "fidry/cpu-core-counter", - "version": "1.1.0", + "version": "1.2.0", "source": { "type": "git", "url": "https://github.com/theofidry/cpu-core-counter.git", - "reference": "f92996c4d5c1a696a6a970e20f7c4216200fcc42" + "reference": "8520451a140d3f46ac33042715115e290cf5785f" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/theofidry/cpu-core-counter/zipball/f92996c4d5c1a696a6a970e20f7c4216200fcc42", - "reference": "f92996c4d5c1a696a6a970e20f7c4216200fcc42", + "url": "https://api.github.com/repos/theofidry/cpu-core-counter/zipball/8520451a140d3f46ac33042715115e290cf5785f", + "reference": "8520451a140d3f46ac33042715115e290cf5785f", "shasum": "" }, "require": { @@ -7642,7 +7577,7 @@ ], "support": { "issues": "https://github.com/theofidry/cpu-core-counter/issues", - "source": "https://github.com/theofidry/cpu-core-counter/tree/1.1.0" + "source": "https://github.com/theofidry/cpu-core-counter/tree/1.2.0" }, "funding": [ { @@ -7650,7 +7585,7 @@ "type": "github" } ], - "time": "2024-02-07T09:43:46+00:00" + "time": "2024-08-06T10:04:20+00:00" }, { "name": "hamcrest/hamcrest-php", @@ -7764,16 +7699,16 @@ }, { "name": "laravel/pint", - "version": "v1.15.2", + "version": "v1.18.1", "source": { "type": "git", "url": "https://github.com/laravel/pint.git", - "reference": "2c9f8004899815f3f0ee3cb28ef7281e2b589134" + "reference": "35c00c05ec43e6b46d295efc0f4386ceb30d50d9" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/laravel/pint/zipball/2c9f8004899815f3f0ee3cb28ef7281e2b589134", - "reference": "2c9f8004899815f3f0ee3cb28ef7281e2b589134", + "url": "https://api.github.com/repos/laravel/pint/zipball/35c00c05ec43e6b46d295efc0f4386ceb30d50d9", + "reference": "35c00c05ec43e6b46d295efc0f4386ceb30d50d9", "shasum": "" }, "require": { @@ -7784,13 +7719,13 @@ "php": "^8.1.0" }, "require-dev": { - "friendsofphp/php-cs-fixer": "^3.54.0", - "illuminate/view": "^10.48.8", - "larastan/larastan": "^2.9.5", - "laravel-zero/framework": "^10.3.0", - "mockery/mockery": "^1.6.11", + "friendsofphp/php-cs-fixer": "^3.64.0", + "illuminate/view": "^10.48.20", + "larastan/larastan": "^2.9.8", + "laravel-zero/framework": "^10.4.0", + "mockery/mockery": "^1.6.12", "nunomaduro/termwind": "^1.15.1", - "pestphp/pest": "^2.34.7" + "pestphp/pest": "^2.35.1" }, "bin": [ "builds/pint" @@ -7826,20 +7761,20 @@ "issues": "https://github.com/laravel/pint/issues", "source": "https://github.com/laravel/pint" }, - "time": "2024-04-23T15:42:34+00:00" + "time": "2024-09-24T17:22:50+00:00" }, { "name": "mockery/mockery", - "version": "1.6.11", + "version": "1.6.12", "source": { "type": "git", "url": "https://github.com/mockery/mockery.git", - "reference": "81a161d0b135df89951abd52296adf97deb0723d" + "reference": "1f4efdd7d3beafe9807b08156dfcb176d18f1699" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/mockery/mockery/zipball/81a161d0b135df89951abd52296adf97deb0723d", - "reference": "81a161d0b135df89951abd52296adf97deb0723d", + "url": "https://api.github.com/repos/mockery/mockery/zipball/1f4efdd7d3beafe9807b08156dfcb176d18f1699", + "reference": "1f4efdd7d3beafe9807b08156dfcb176d18f1699", "shasum": "" }, "require": { @@ -7909,20 +7844,20 @@ "security": "https://github.com/mockery/mockery/security/advisories", "source": "https://github.com/mockery/mockery" }, - "time": "2024-03-21T18:34:15+00:00" + "time": "2024-05-16T03:13:13+00:00" }, { "name": "myclabs/deep-copy", - "version": "1.11.1", + "version": "1.12.0", "source": { "type": "git", "url": "https://github.com/myclabs/DeepCopy.git", - "reference": "7284c22080590fb39f2ffa3e9057f10a4ddd0e0c" + "reference": "3a6b9a42cd8f8771bd4295d13e1423fa7f3d942c" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/myclabs/DeepCopy/zipball/7284c22080590fb39f2ffa3e9057f10a4ddd0e0c", - "reference": "7284c22080590fb39f2ffa3e9057f10a4ddd0e0c", + "url": "https://api.github.com/repos/myclabs/DeepCopy/zipball/3a6b9a42cd8f8771bd4295d13e1423fa7f3d942c", + "reference": "3a6b9a42cd8f8771bd4295d13e1423fa7f3d942c", "shasum": "" }, "require": { @@ -7930,11 +7865,12 @@ }, "conflict": { "doctrine/collections": "<1.6.8", - "doctrine/common": "<2.13.3 || >=3,<3.2.2" + "doctrine/common": "<2.13.3 || >=3 <3.2.2" }, "require-dev": { "doctrine/collections": "^1.6.8", "doctrine/common": "^2.13.3 || ^3.2.2", + "phpspec/prophecy": "^1.10", "phpunit/phpunit": "^7.5.20 || ^8.5.23 || ^9.5.13" }, "type": "library", @@ -7960,7 +7896,7 @@ ], "support": { "issues": "https://github.com/myclabs/DeepCopy/issues", - "source": "https://github.com/myclabs/DeepCopy/tree/1.11.1" + "source": "https://github.com/myclabs/DeepCopy/tree/1.12.0" }, "funding": [ { @@ -7968,20 +7904,20 @@ "type": "tidelift" } ], - "time": "2023-03-08T13:26:56+00:00" + "time": "2024-06-12T14:39:25+00:00" }, { "name": "nikic/php-parser", - "version": "v5.0.2", + "version": "v5.3.1", "source": { "type": "git", "url": "https://github.com/nikic/PHP-Parser.git", - "reference": "139676794dc1e9231bf7bcd123cfc0c99182cb13" + "reference": "8eea230464783aa9671db8eea6f8c6ac5285794b" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/nikic/PHP-Parser/zipball/139676794dc1e9231bf7bcd123cfc0c99182cb13", - "reference": "139676794dc1e9231bf7bcd123cfc0c99182cb13", + "url": "https://api.github.com/repos/nikic/PHP-Parser/zipball/8eea230464783aa9671db8eea6f8c6ac5285794b", + "reference": "8eea230464783aa9671db8eea6f8c6ac5285794b", "shasum": "" }, "require": { @@ -7992,7 +7928,7 @@ }, "require-dev": { "ircmaxell/php-yacc": "^0.0.7", - "phpunit/phpunit": "^7.0 || ^8.0 || ^9.0" + "phpunit/phpunit": "^9.0" }, "bin": [ "bin/php-parse" @@ -8024,42 +7960,43 @@ ], "support": { "issues": "https://github.com/nikic/PHP-Parser/issues", - "source": "https://github.com/nikic/PHP-Parser/tree/v5.0.2" + "source": "https://github.com/nikic/PHP-Parser/tree/v5.3.1" }, - "time": "2024-03-05T20:51:40+00:00" + "time": "2024-10-08T18:51:32+00:00" }, { "name": "pestphp/pest", - "version": "v2.34.7", + "version": "v2.36.0", "source": { "type": "git", "url": "https://github.com/pestphp/pest.git", - "reference": "a7a3e4240e341d0fee1c54814ce18adc26ce5a76" + "reference": "f8c88bd14dc1772bfaf02169afb601ecdf2724cd" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/pestphp/pest/zipball/a7a3e4240e341d0fee1c54814ce18adc26ce5a76", - "reference": "a7a3e4240e341d0fee1c54814ce18adc26ce5a76", + "url": "https://api.github.com/repos/pestphp/pest/zipball/f8c88bd14dc1772bfaf02169afb601ecdf2724cd", + "reference": "f8c88bd14dc1772bfaf02169afb601ecdf2724cd", "shasum": "" }, "require": { "brianium/paratest": "^7.3.1", - "nunomaduro/collision": "^7.10.0|^8.1.1", - "nunomaduro/termwind": "^1.15.1|^2.0.1", + "nunomaduro/collision": "^7.11.0|^8.4.0", + "nunomaduro/termwind": "^1.16.0|^2.1.0", "pestphp/pest-plugin": "^2.1.1", "pestphp/pest-plugin-arch": "^2.7.0", "php": "^8.1.0", - "phpunit/phpunit": "^10.5.17" + "phpunit/phpunit": "^10.5.36" }, "conflict": { - "phpunit/phpunit": ">10.5.17", + "filp/whoops": "<2.16.0", + "phpunit/phpunit": ">10.5.36", "sebastian/exporter": "<5.1.0", "webmozart/assert": "<1.11.0" }, "require-dev": { - "pestphp/pest-dev-tools": "^2.16.0", - "pestphp/pest-plugin-type-coverage": "^2.8.1", - "symfony/process": "^6.4.0|^7.0.4" + "pestphp/pest-dev-tools": "^2.17.0", + "pestphp/pest-plugin-type-coverage": "^2.8.7", + "symfony/process": "^6.4.0|^7.1.5" }, "bin": [ "bin/pest" @@ -8122,7 +8059,7 @@ ], "support": { "issues": "https://github.com/pestphp/pest/issues", - "source": "https://github.com/pestphp/pest/tree/v2.34.7" + "source": "https://github.com/pestphp/pest/tree/v2.36.0" }, "funding": [ { @@ -8134,7 +8071,7 @@ "type": "github" } ], - "time": "2024-04-05T07:44:17+00:00" + "time": "2024-10-15T15:30:56+00:00" }, { "name": "pestphp/pest-plugin", @@ -8450,16 +8387,16 @@ }, { "name": "phpdocumentor/reflection-docblock", - "version": "5.4.0", + "version": "5.4.1", "source": { "type": "git", "url": "https://github.com/phpDocumentor/ReflectionDocBlock.git", - "reference": "298d2febfe79d03fe714eb871d5538da55205b1a" + "reference": "9d07b3f7fdcf5efec5d1609cba3c19c5ea2bdc9c" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/phpDocumentor/ReflectionDocBlock/zipball/298d2febfe79d03fe714eb871d5538da55205b1a", - "reference": "298d2febfe79d03fe714eb871d5538da55205b1a", + "url": "https://api.github.com/repos/phpDocumentor/ReflectionDocBlock/zipball/9d07b3f7fdcf5efec5d1609cba3c19c5ea2bdc9c", + "reference": "9d07b3f7fdcf5efec5d1609cba3c19c5ea2bdc9c", "shasum": "" }, "require": { @@ -8508,9 +8445,9 @@ "description": "With this component, a library can provide support for annotations via DocBlocks or otherwise retrieve information that is embedded in a DocBlock.", "support": { "issues": "https://github.com/phpDocumentor/ReflectionDocBlock/issues", - "source": "https://github.com/phpDocumentor/ReflectionDocBlock/tree/5.4.0" + "source": "https://github.com/phpDocumentor/ReflectionDocBlock/tree/5.4.1" }, - "time": "2024-04-09T21:13:58+00:00" + "time": "2024-05-21T05:55:05+00:00" }, { "name": "phpdocumentor/type-resolver", @@ -8572,16 +8509,16 @@ }, { "name": "phpstan/phpdoc-parser", - "version": "1.28.0", + "version": "1.33.0", "source": { "type": "git", "url": "https://github.com/phpstan/phpdoc-parser.git", - "reference": "cd06d6b1a1b3c75b0b83f97577869fd85a3cd4fb" + "reference": "82a311fd3690fb2bf7b64d5c98f912b3dd746140" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/phpstan/phpdoc-parser/zipball/cd06d6b1a1b3c75b0b83f97577869fd85a3cd4fb", - "reference": "cd06d6b1a1b3c75b0b83f97577869fd85a3cd4fb", + "url": "https://api.github.com/repos/phpstan/phpdoc-parser/zipball/82a311fd3690fb2bf7b64d5c98f912b3dd746140", + "reference": "82a311fd3690fb2bf7b64d5c98f912b3dd746140", "shasum": "" }, "require": { @@ -8613,38 +8550,38 @@ "description": "PHPDoc parser with support for nullable, intersection and generic types", "support": { "issues": "https://github.com/phpstan/phpdoc-parser/issues", - "source": "https://github.com/phpstan/phpdoc-parser/tree/1.28.0" + "source": "https://github.com/phpstan/phpdoc-parser/tree/1.33.0" }, - "time": "2024-04-03T18:51:33+00:00" + "time": "2024-10-13T11:25:22+00:00" }, { "name": "phpunit/php-code-coverage", - "version": "10.1.14", + "version": "10.1.16", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/php-code-coverage.git", - "reference": "e3f51450ebffe8e0efdf7346ae966a656f7d5e5b" + "reference": "7e308268858ed6baedc8704a304727d20bc07c77" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/php-code-coverage/zipball/e3f51450ebffe8e0efdf7346ae966a656f7d5e5b", - "reference": "e3f51450ebffe8e0efdf7346ae966a656f7d5e5b", + "url": "https://api.github.com/repos/sebastianbergmann/php-code-coverage/zipball/7e308268858ed6baedc8704a304727d20bc07c77", + "reference": "7e308268858ed6baedc8704a304727d20bc07c77", "shasum": "" }, "require": { "ext-dom": "*", "ext-libxml": "*", "ext-xmlwriter": "*", - "nikic/php-parser": "^4.18 || ^5.0", + "nikic/php-parser": "^4.19.1 || ^5.1.0", "php": ">=8.1", - "phpunit/php-file-iterator": "^4.0", - "phpunit/php-text-template": "^3.0", - "sebastian/code-unit-reverse-lookup": "^3.0", - "sebastian/complexity": "^3.0", - "sebastian/environment": "^6.0", - "sebastian/lines-of-code": "^2.0", - "sebastian/version": "^4.0", - "theseer/tokenizer": "^1.2.0" + "phpunit/php-file-iterator": "^4.1.0", + "phpunit/php-text-template": "^3.0.1", + "sebastian/code-unit-reverse-lookup": "^3.0.0", + "sebastian/complexity": "^3.2.0", + "sebastian/environment": "^6.1.0", + "sebastian/lines-of-code": "^2.0.2", + "sebastian/version": "^4.0.1", + "theseer/tokenizer": "^1.2.3" }, "require-dev": { "phpunit/phpunit": "^10.1" @@ -8656,7 +8593,7 @@ "type": "library", "extra": { "branch-alias": { - "dev-main": "10.1-dev" + "dev-main": "10.1.x-dev" } }, "autoload": { @@ -8685,7 +8622,7 @@ "support": { "issues": "https://github.com/sebastianbergmann/php-code-coverage/issues", "security": "https://github.com/sebastianbergmann/php-code-coverage/security/policy", - "source": "https://github.com/sebastianbergmann/php-code-coverage/tree/10.1.14" + "source": "https://github.com/sebastianbergmann/php-code-coverage/tree/10.1.16" }, "funding": [ { @@ -8693,7 +8630,7 @@ "type": "github" } ], - "time": "2024-03-12T15:33:41+00:00" + "time": "2024-08-22T04:31:57+00:00" }, { "name": "phpunit/php-file-iterator", @@ -8940,16 +8877,16 @@ }, { "name": "phpunit/phpunit", - "version": "10.5.17", + "version": "10.5.36", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/phpunit.git", - "reference": "c1f736a473d21957ead7e94fcc029f571895abf5" + "reference": "aa0a8ce701ea7ee314b0dfaa8970dc94f3f8c870" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/phpunit/zipball/c1f736a473d21957ead7e94fcc029f571895abf5", - "reference": "c1f736a473d21957ead7e94fcc029f571895abf5", + "url": "https://api.github.com/repos/sebastianbergmann/phpunit/zipball/aa0a8ce701ea7ee314b0dfaa8970dc94f3f8c870", + "reference": "aa0a8ce701ea7ee314b0dfaa8970dc94f3f8c870", "shasum": "" }, "require": { @@ -8959,26 +8896,26 @@ "ext-mbstring": "*", "ext-xml": "*", "ext-xmlwriter": "*", - "myclabs/deep-copy": "^1.10.1", - "phar-io/manifest": "^2.0.3", - "phar-io/version": "^3.0.2", + "myclabs/deep-copy": "^1.12.0", + "phar-io/manifest": "^2.0.4", + "phar-io/version": "^3.2.1", "php": ">=8.1", - "phpunit/php-code-coverage": "^10.1.5", - "phpunit/php-file-iterator": "^4.0", - "phpunit/php-invoker": "^4.0", - "phpunit/php-text-template": "^3.0", - "phpunit/php-timer": "^6.0", - "sebastian/cli-parser": "^2.0", - "sebastian/code-unit": "^2.0", - "sebastian/comparator": "^5.0", - "sebastian/diff": "^5.0", - "sebastian/environment": "^6.0", - "sebastian/exporter": "^5.1", - "sebastian/global-state": "^6.0.1", - "sebastian/object-enumerator": "^5.0", - "sebastian/recursion-context": "^5.0", - "sebastian/type": "^4.0", - "sebastian/version": "^4.0" + "phpunit/php-code-coverage": "^10.1.16", + "phpunit/php-file-iterator": "^4.1.0", + "phpunit/php-invoker": "^4.0.0", + "phpunit/php-text-template": "^3.0.1", + "phpunit/php-timer": "^6.0.0", + "sebastian/cli-parser": "^2.0.1", + "sebastian/code-unit": "^2.0.0", + "sebastian/comparator": "^5.0.2", + "sebastian/diff": "^5.1.1", + "sebastian/environment": "^6.1.0", + "sebastian/exporter": "^5.1.2", + "sebastian/global-state": "^6.0.2", + "sebastian/object-enumerator": "^5.0.0", + "sebastian/recursion-context": "^5.0.0", + "sebastian/type": "^4.0.0", + "sebastian/version": "^4.0.1" }, "suggest": { "ext-soap": "To be able to generate mocks based on WSDL files" @@ -9021,7 +8958,7 @@ "support": { "issues": "https://github.com/sebastianbergmann/phpunit/issues", "security": "https://github.com/sebastianbergmann/phpunit/security/policy", - "source": "https://github.com/sebastianbergmann/phpunit/tree/10.5.17" + "source": "https://github.com/sebastianbergmann/phpunit/tree/10.5.36" }, "funding": [ { @@ -9037,7 +8974,7 @@ "type": "tidelift" } ], - "time": "2024-04-05T04:39:01+00:00" + "time": "2024-10-08T15:36:51+00:00" }, { "name": "sebastian/cli-parser", @@ -9209,16 +9146,16 @@ }, { "name": "sebastian/comparator", - "version": "5.0.1", + "version": "5.0.3", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/comparator.git", - "reference": "2db5010a484d53ebf536087a70b4a5423c102372" + "reference": "a18251eb0b7a2dcd2f7aa3d6078b18545ef0558e" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/comparator/zipball/2db5010a484d53ebf536087a70b4a5423c102372", - "reference": "2db5010a484d53ebf536087a70b4a5423c102372", + "url": "https://api.github.com/repos/sebastianbergmann/comparator/zipball/a18251eb0b7a2dcd2f7aa3d6078b18545ef0558e", + "reference": "a18251eb0b7a2dcd2f7aa3d6078b18545ef0558e", "shasum": "" }, "require": { @@ -9229,7 +9166,7 @@ "sebastian/exporter": "^5.0" }, "require-dev": { - "phpunit/phpunit": "^10.3" + "phpunit/phpunit": "^10.5" }, "type": "library", "extra": { @@ -9274,7 +9211,7 @@ "support": { "issues": "https://github.com/sebastianbergmann/comparator/issues", "security": "https://github.com/sebastianbergmann/comparator/security/policy", - "source": "https://github.com/sebastianbergmann/comparator/tree/5.0.1" + "source": "https://github.com/sebastianbergmann/comparator/tree/5.0.3" }, "funding": [ { @@ -9282,7 +9219,7 @@ "type": "github" } ], - "time": "2023-08-14T13:18:12+00:00" + "time": "2024-10-18T14:56:07+00:00" }, { "name": "sebastian/complexity", From 40581ee3310a7afc8cef7e5d57bb5f287bd06197 Mon Sep 17 00:00:00 2001 From: Mehran Rasulian Date: Sun, 27 Oct 2024 13:04:35 +0400 Subject: [PATCH 16/23] Extracted the GitHub deploy key title --- app/Services/Forge/ForgeService.php | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/app/Services/Forge/ForgeService.php b/app/Services/Forge/ForgeService.php index 10a825d..30e5a4c 100644 --- a/app/Services/Forge/ForgeService.php +++ b/app/Services/Forge/ForgeService.php @@ -99,6 +99,11 @@ public function getFormattedDatabaseName(): string return Str::replace('-', '_', $dbName); } + public function getDeployKeyTitle(): string + { + return sprintf('Preview deploy key %s', $this->getFormattedDomainName()); + } + public function siteNginxTemplate(): string { return $this->forge->siteNginxFile($this->setting->server, $this->site->id); From 00094597b5d7514cca33c1e319f5a3365e6d4237 Mon Sep 17 00:00:00 2001 From: Mehran Rasulian Date: Sun, 27 Oct 2024 13:23:07 +0400 Subject: [PATCH 17/23] Use the getDeployKeyTitle when creating a new github deploy key --- app/Services/Forge/Pipeline/InstallGitRepository.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Services/Forge/Pipeline/InstallGitRepository.php b/app/Services/Forge/Pipeline/InstallGitRepository.php index 14da2b4..88d42ca 100644 --- a/app/Services/Forge/Pipeline/InstallGitRepository.php +++ b/app/Services/Forge/Pipeline/InstallGitRepository.php @@ -43,7 +43,7 @@ public function __invoke(ForgeService $service, Closure $next) $this->information('---> Adding deploy key to GitHub repository.'); $this->githubService->createDeployKey( - sprintf('Preview deploy key %s', $service->getFormattedDomainName()), + $service->getDeployKeyTitle(), $data['key'] ); } From e3de55596608fc080c874bc6530517d5d727021c Mon Sep 17 00:00:00 2001 From: Mehran Rasulian Date: Sun, 27 Oct 2024 13:25:10 +0400 Subject: [PATCH 18/23] Handle the github API error messages --- app/Services/Github/GithubService.php | 42 +++++++++++++++++++++++++-- 1 file changed, 39 insertions(+), 3 deletions(-) diff --git a/app/Services/Github/GithubService.php b/app/Services/Github/GithubService.php index 8f03ae6..fbef362 100644 --- a/app/Services/Github/GithubService.php +++ b/app/Services/Github/GithubService.php @@ -14,8 +14,9 @@ namespace App\Services\Github; use App\Services\Forge\ForgeSetting; +use Illuminate\Http\Client\Response; use Illuminate\Support\Facades\Http; -use Laravel\Forge\Exceptions\ValidationException; +use Illuminate\Validation\ValidationException; class GithubService { @@ -43,7 +44,9 @@ public function putCommentOnGithubPullRequest(string $body): array 'Authorization' => sprintf('Bearer %s', $this->setting->gitToken), ])->post($uri, ['body' => $body]); - throw_if($result->failed(), ValidationException::class, [$result->body()]); + if ($result->failed()) { + $this->handleApiErrors($result, 'Comment'); + } return json_decode($result->body(), true); } @@ -65,8 +68,41 @@ public function createDeployKey(string $title, string $key, bool $readonly = tru 'readonly' => $readonly, ]); - throw_if($result->failed() && ! in_array('key is already in use', $result->json('errors.*.message', [])), ValidationException::class, [$result->body()]); + if ($result->failed()) { + $this->handleApiErrors($result, 'Deploy key'); + } return json_decode($result->body(), true); } + + protected function handleApiErrors(Response $response, $apiName): void + { + // Extract all error messages from the response + $errorMessages = $response->json('errors.*.message', []); + + // Check if the specific error 'key is already in use' exists, used when creating a deploy key + $isDeployKeyInUse = in_array('key is already in use', $errorMessages); + + if ($isDeployKeyInUse) { + throw ValidationException::withMessages([ + 'forbidden' => ['The deploy key is already in use.'], + ]); + } + + // Handle other specific status codes if needed + throw match ($response->status()) { + 404 => ValidationException::withMessages([ + 'not_found' => ["{$apiName} could not be found."], + ]), + 401 => ValidationException::withMessages([ + 'authorization' => ['Unauthorized. Please check your GitHub token.'], + ]), + 403 => ValidationException::withMessages([ + 'forbidden' => ['Forbidden. You might not have the necessary permissions.'], + ]), + default => ValidationException::withMessages([ + 'api_error' => ['An unexpected error occurred: ' . $response->body()], + ]), + }; + } } From 1ca041d07e78ece47ec61a432b542a2c52213cad Mon Sep 17 00:00:00 2001 From: Mehran Rasulian Date: Sun, 27 Oct 2024 13:35:51 +0400 Subject: [PATCH 19/23] Handle removing the existing GitHub deploy key --- app/Commands/TearDownCommand.php | 2 + .../Pipeline/RemoveExistingDeployKey.php | 51 ++++++++++++++++++ app/Services/Github/GithubService.php | 54 +++++++++++++++++++ 3 files changed, 107 insertions(+) create mode 100644 app/Services/Forge/Pipeline/RemoveExistingDeployKey.php diff --git a/app/Commands/TearDownCommand.php b/app/Commands/TearDownCommand.php index 36f6e29..f4f2198 100644 --- a/app/Commands/TearDownCommand.php +++ b/app/Commands/TearDownCommand.php @@ -18,6 +18,7 @@ use App\Services\Forge\Pipeline\FindServer; use App\Services\Forge\Pipeline\FindSiteOrFail; use App\Services\Forge\Pipeline\RemoveDatabaseUser; +use App\Services\Forge\Pipeline\RemoveExistingDeployKey; use App\Services\Forge\Pipeline\RemoveInertiaSupport; use App\Services\Forge\Pipeline\RemoveTaskScheduler; use App\Services\Forge\Pipeline\RunOptionalCommands; @@ -43,6 +44,7 @@ public function handle(ForgeService $service): void RunOptionalCommands::class, RemoveTaskScheduler::class, RemoveDatabaseUser::class, + RemoveExistingDeployKey::class, DestroySite::class, ]) ->then(fn () => $this->success('Environment teardown successful! All provisioned resources have been removed.')); diff --git a/app/Services/Forge/Pipeline/RemoveExistingDeployKey.php b/app/Services/Forge/Pipeline/RemoveExistingDeployKey.php new file mode 100644 index 0000000..fb57050 --- /dev/null +++ b/app/Services/Forge/Pipeline/RemoveExistingDeployKey.php @@ -0,0 +1,51 @@ + + * + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. + */ + +namespace App\Services\Forge\Pipeline; + +use App\Services\Forge\ForgeService; +use App\Services\Github\GithubService; +use App\Traits\Outputifier; +use Closure; +use Illuminate\Support\Arr; + +class RemoveExistingDeployKey +{ + use Outputifier; + + public function __construct(public GithubService $githubService) + { + // + } + + public function __invoke(ForgeService $service, Closure $next) + { + if ($service->setting->githubCreateDeployKey) { + $this->information('---> Removing deploy key on GitHub repository.'); + + $gitHubDeployKey = $this->githubService->getDeployKey($service->getDeployKeyTitle()); + + if (! Arr::get($gitHubDeployKey, 'id')) { + $this->information('---> No deploy key found.'); + + return $next($service); + } + + $this->githubService->deleteDeployKey($gitHubDeployKey['id']); + + $service->site->destroyDeployKey(); + } + + return $next($service); + } +} diff --git a/app/Services/Github/GithubService.php b/app/Services/Github/GithubService.php index fbef362..6cd6ea2 100644 --- a/app/Services/Github/GithubService.php +++ b/app/Services/Github/GithubService.php @@ -16,6 +16,7 @@ use App\Services\Forge\ForgeSetting; use Illuminate\Http\Client\Response; use Illuminate\Support\Facades\Http; +use Illuminate\Support\Str; use Illuminate\Validation\ValidationException; class GithubService @@ -75,6 +76,59 @@ public function createDeployKey(string $title, string $key, bool $readonly = tru return json_decode($result->body(), true); } + public function listDeployKeys(): array + { + $uri = sprintf( + self::API_BASE_URL.'/repos/%s/keys', + $this->setting->repository + ); + + $result = Http::withHeaders([ + 'accepts' => self::API_ACCEPT, + 'X-GitHub-Api-Version' => self::API_VERSION, + 'Authorization' => sprintf('Bearer %s', $this->setting->gitToken), + ])->get($uri); + + return json_decode($result->body(), true); + } + + public function getDeployKey(string $title): array + { + $keys = $this->listDeployKeys(); + $existingDeployKey = []; + + foreach ($keys as $key) { + if (Str::contains($title, $key['title'])) { + $existingDeployKey = $key; + } + } + + return $existingDeployKey; + } + + + public function deleteDeployKey(int $keyId): bool + { + $uri = sprintf( + self::API_BASE_URL.'/repos/%s/keys/%s', + $this->setting->repository, + $keyId + ); + + $result = Http::withHeaders([ + 'accepts' => self::API_ACCEPT, + 'X-GitHub-Api-Version' => self::API_VERSION, + 'Authorization' => sprintf('Bearer %s', $this->setting->gitToken), + ])->delete($uri); + + + if ($result->failed()) { + $this->handleApiErrors($result, 'Deploy key'); + } + + return true; + } + protected function handleApiErrors(Response $response, $apiName): void { // Extract all error messages from the response From c1494f7aa307826412d1a2c11bdb6546f62c5082 Mon Sep 17 00:00:00 2001 From: Mehran Rasulian Date: Sun, 27 Oct 2024 13:49:13 +0400 Subject: [PATCH 20/23] Fix accessing the deploy key item offset error --- app/Services/Github/GithubService.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/app/Services/Github/GithubService.php b/app/Services/Github/GithubService.php index 6cd6ea2..72fd78f 100644 --- a/app/Services/Github/GithubService.php +++ b/app/Services/Github/GithubService.php @@ -15,6 +15,7 @@ use App\Services\Forge\ForgeSetting; use Illuminate\Http\Client\Response; +use Illuminate\Support\Arr; use Illuminate\Support\Facades\Http; use Illuminate\Support\Str; use Illuminate\Validation\ValidationException; @@ -98,7 +99,7 @@ public function getDeployKey(string $title): array $existingDeployKey = []; foreach ($keys as $key) { - if (Str::contains($title, $key['title'])) { + if (Str::contains($title, Arr::get($key, 'title'))) { $existingDeployKey = $key; } } From e3ad070389df3fabc731cc003b54932c9f6eacd4 Mon Sep 17 00:00:00 2001 From: Mehran Rasulian Date: Sun, 27 Oct 2024 14:56:00 +0400 Subject: [PATCH 21/23] Enhancements on the github server to delete all deploy keys match the deploy key title --- .../Pipeline/RemoveExistingDeployKey.php | 10 +----- app/Services/Github/GithubService.php | 34 +++++++++++++++---- 2 files changed, 29 insertions(+), 15 deletions(-) diff --git a/app/Services/Forge/Pipeline/RemoveExistingDeployKey.php b/app/Services/Forge/Pipeline/RemoveExistingDeployKey.php index fb57050..181b6d2 100644 --- a/app/Services/Forge/Pipeline/RemoveExistingDeployKey.php +++ b/app/Services/Forge/Pipeline/RemoveExistingDeployKey.php @@ -33,15 +33,7 @@ public function __invoke(ForgeService $service, Closure $next) if ($service->setting->githubCreateDeployKey) { $this->information('---> Removing deploy key on GitHub repository.'); - $gitHubDeployKey = $this->githubService->getDeployKey($service->getDeployKeyTitle()); - - if (! Arr::get($gitHubDeployKey, 'id')) { - $this->information('---> No deploy key found.'); - - return $next($service); - } - - $this->githubService->deleteDeployKey($gitHubDeployKey['id']); + $this->githubService->deleteAllKeys($service->getDeployKeyTitle()); $service->site->destroyDeployKey(); } diff --git a/app/Services/Github/GithubService.php b/app/Services/Github/GithubService.php index 72fd78f..422cd31 100644 --- a/app/Services/Github/GithubService.php +++ b/app/Services/Github/GithubService.php @@ -14,6 +14,7 @@ namespace App\Services\Github; use App\Services\Forge\ForgeSetting; +use App\Traits\Outputifier; use Illuminate\Http\Client\Response; use Illuminate\Support\Arr; use Illuminate\Support\Facades\Http; @@ -22,6 +23,8 @@ class GithubService { + use Outputifier; + private const API_ACCEPT = 'application/vnd.github+json'; private const API_VERSION = '2022-11-28'; @@ -77,7 +80,7 @@ public function createDeployKey(string $title, string $key, bool $readonly = tru return json_decode($result->body(), true); } - public function listDeployKeys(): array + public function getDeployKeys(): array { $uri = sprintf( self::API_BASE_URL.'/repos/%s/keys', @@ -93,18 +96,37 @@ public function listDeployKeys(): array return json_decode($result->body(), true); } - public function getDeployKey(string $title): array + public function getDeployKeysByTitle(string $title): array { - $keys = $this->listDeployKeys(); - $existingDeployKey = []; + $keys = $this->getDeployKeys(); + + $existingDeployKeys = []; foreach ($keys as $key) { if (Str::contains($title, Arr::get($key, 'title'))) { - $existingDeployKey = $key; + $existingDeployKeys[] = $key; + } + } + + return $existingDeployKeys; + } + + public function deleteAllKeys(string $keyTitle): bool + { + foreach ($this->getDeployKeysByTitle($keyTitle) as $deployKey) { + if (! Arr::has($deployKey, 'id')) { + $this->warning("---> Whoops! No GitHub ID found for the deploy key named: ".$keyTitle); + + continue; } + + + $this->deleteDeployKey( + Arr::get($deployKey, 'id') + ); } - return $existingDeployKey; + return true; } From 30a1d8ff174b00924e12974334145f5e0a4b93a6 Mon Sep 17 00:00:00 2001 From: Mehran Rasulian Date: Sun, 27 Oct 2024 20:58:19 +0400 Subject: [PATCH 22/23] Fixed the GitHub deleteAllKeys to delete matched deploy keys by title --- .../Pipeline/RemoveExistingDeployKey.php | 3 +-- app/Services/Github/GithubService.php | 21 +++++++++++++------ 2 files changed, 16 insertions(+), 8 deletions(-) diff --git a/app/Services/Forge/Pipeline/RemoveExistingDeployKey.php b/app/Services/Forge/Pipeline/RemoveExistingDeployKey.php index 181b6d2..7d4a7c2 100644 --- a/app/Services/Forge/Pipeline/RemoveExistingDeployKey.php +++ b/app/Services/Forge/Pipeline/RemoveExistingDeployKey.php @@ -17,7 +17,6 @@ use App\Services\Github\GithubService; use App\Traits\Outputifier; use Closure; -use Illuminate\Support\Arr; class RemoveExistingDeployKey { @@ -31,7 +30,7 @@ public function __construct(public GithubService $githubService) public function __invoke(ForgeService $service, Closure $next) { if ($service->setting->githubCreateDeployKey) { - $this->information('---> Removing deploy key on GitHub repository.'); + $this->information('---> Removing existing deploy keys on GitHub repository.'); $this->githubService->deleteAllKeys($service->getDeployKeyTitle()); diff --git a/app/Services/Github/GithubService.php b/app/Services/Github/GithubService.php index 422cd31..cce3cbb 100644 --- a/app/Services/Github/GithubService.php +++ b/app/Services/Github/GithubService.php @@ -113,17 +113,26 @@ public function getDeployKeysByTitle(string $title): array public function deleteAllKeys(string $keyTitle): bool { - foreach ($this->getDeployKeysByTitle($keyTitle) as $deployKey) { - if (! Arr::has($deployKey, 'id')) { + $gitProvider = $this->setting->gitProvider; + $deployKeys = $this->getDeployKeysByTitle($keyTitle); + + $this->information( + sprintf('---> Deploy keys to delete from %s by given title: %s', $gitProvider, $keyTitle) + ); + $this->information(sprintf('Deploy Keys found for delete: #%s', $gitProvider)); + + foreach ($deployKeys as $deployKey) { + if (! $deployKeyId = Arr::get($deployKey, 'id')) { $this->warning("---> Whoops! No GitHub ID found for the deploy key named: ".$keyTitle); continue; } - - $this->deleteDeployKey( - Arr::get($deployKey, 'id') - ); + if ($this->deleteDeployKey($deployKeyId)) { + $this->success( + sprintf("---> Removed deploy key #%s from GitHub.", $deployKeyId) + ); + } } return true; From 269f06da8d0dc91d786447286f180c0523f5cde7 Mon Sep 17 00:00:00 2001 From: Mehran Rasulian Date: Sun, 27 Oct 2024 21:01:25 +0400 Subject: [PATCH 23/23] Refactor --- app/Services/Github/GithubService.php | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/app/Services/Github/GithubService.php b/app/Services/Github/GithubService.php index cce3cbb..0479c92 100644 --- a/app/Services/Github/GithubService.php +++ b/app/Services/Github/GithubService.php @@ -117,7 +117,11 @@ public function deleteAllKeys(string $keyTitle): bool $deployKeys = $this->getDeployKeysByTitle($keyTitle); $this->information( - sprintf('---> Deploy keys to delete from %s by given title: %s', $gitProvider, $keyTitle) + sprintf( + '---> Getting deploy keys to delete from %s by given title: %s', + Str::ucfirst($gitProvider), + $keyTitle + ) ); $this->information(sprintf('Deploy Keys found for delete: #%s', $gitProvider));