From 02ab79fba288ee4a33dfa3fc201d1f9d6f000618 Mon Sep 17 00:00:00 2001 From: "pieterjan.eilers" Date: Wed, 14 Aug 2024 11:53:04 +0200 Subject: [PATCH 1/2] contact mapping / register domain --- composer.json | 2 +- composer.lock | 806 ++++++++++++++---- .../registrars/realtimeregister/composer.json | 2 +- .../registrars/realtimeregister/composer.lock | 299 +++---- .../realtimeregister/realtimeregister.php | 6 + .../src/Actions/CheckAvailability.php | 4 +- .../src/Actions/ContactDetailsTrait.php | 1 + .../src/Actions/DomainTrait.php | 41 +- .../src/Actions/RegisterDomain.php | 38 +- .../registrars/realtimeregister/src/App.php | 4 +- .../realtimeregister/src/Entities/Domain.php | 2 + .../realtimeregister/src/LocalApi.php | 9 +- .../src/Services/ContactService.php | 55 +- 13 files changed, 913 insertions(+), 356 deletions(-) diff --git a/composer.json b/composer.json index 705fad4..c0668cc 100644 --- a/composer.json +++ b/composer.json @@ -4,7 +4,7 @@ "php": "^8.1" }, "require-dev": { - "illuminate/database": "^10.29", + "illuminate/database": "v9.52.16", "phpunit/phpunit": "^10.5", "squizlabs/php_codesniffer": "^3.10" } diff --git a/composer.lock b/composer.lock index b45996a..dd2725f 100644 --- a/composer.lock +++ b/composer.lock @@ -4,30 +4,30 @@ "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", "This file is @generated automatically" ], - "content-hash": "1041c07bc6f6c669d71a18ae38e1d9b2", + "content-hash": "acda649d859b7839ebf8642aae340705", "packages": [], "packages-dev": [ { "name": "brick/math", - "version": "0.12.1", + "version": "0.11.0", "source": { "type": "git", "url": "https://github.com/brick/math.git", - "reference": "f510c0a40911935b77b86859eb5223d58d660df1" + "reference": "0ad82ce168c82ba30d1c01ec86116ab52f589478" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/brick/math/zipball/f510c0a40911935b77b86859eb5223d58d660df1", - "reference": "f510c0a40911935b77b86859eb5223d58d660df1", + "url": "https://api.github.com/repos/brick/math/zipball/0ad82ce168c82ba30d1c01ec86116ab52f589478", + "reference": "0ad82ce168c82ba30d1c01ec86116ab52f589478", "shasum": "" }, "require": { - "php": "^8.1" + "php": "^8.0" }, "require-dev": { "php-coveralls/php-coveralls": "^2.2", - "phpunit/phpunit": "^10.1", - "vimeo/psalm": "5.16.0" + "phpunit/phpunit": "^9.0", + "vimeo/psalm": "5.0.0" }, "type": "library", "autoload": { @@ -47,17 +47,12 @@ "arithmetic", "bigdecimal", "bignum", - "bignumber", "brick", - "decimal", - "integer", - "math", - "mathematics", - "rational" + "math" ], "support": { "issues": "https://github.com/brick/math/issues", - "source": "https://github.com/brick/math/tree/0.12.1" + "source": "https://github.com/brick/math/tree/0.11.0" }, "funding": [ { @@ -65,30 +60,30 @@ "type": "github" } ], - "time": "2023-11-29T23:19:16+00:00" + "time": "2023-01-15T23:15:59+00:00" }, { "name": "carbonphp/carbon-doctrine-types", - "version": "2.1.0", + "version": "3.2.0", "source": { "type": "git", "url": "https://github.com/CarbonPHP/carbon-doctrine-types.git", - "reference": "99f76ffa36cce3b70a4a6abce41dba15ca2e84cb" + "reference": "18ba5ddfec8976260ead6e866180bd5d2f71aa1d" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/CarbonPHP/carbon-doctrine-types/zipball/99f76ffa36cce3b70a4a6abce41dba15ca2e84cb", - "reference": "99f76ffa36cce3b70a4a6abce41dba15ca2e84cb", + "url": "https://api.github.com/repos/CarbonPHP/carbon-doctrine-types/zipball/18ba5ddfec8976260ead6e866180bd5d2f71aa1d", + "reference": "18ba5ddfec8976260ead6e866180bd5d2f71aa1d", "shasum": "" }, "require": { - "php": "^7.4 || ^8.0" + "php": "^8.1" }, "conflict": { - "doctrine/dbal": "<3.7.0 || >=4.0.0" + "doctrine/dbal": "<4.0.0 || >=5.0.0" }, "require-dev": { - "doctrine/dbal": "^3.7.0", + "doctrine/dbal": "^4.0.0", "nesbot/carbon": "^2.71.0 || ^3.0.0", "phpunit/phpunit": "^10.3" }, @@ -118,7 +113,7 @@ ], "support": { "issues": "https://github.com/CarbonPHP/carbon-doctrine-types/issues", - "source": "https://github.com/CarbonPHP/carbon-doctrine-types/tree/2.1.0" + "source": "https://github.com/CarbonPHP/carbon-doctrine-types/tree/3.2.0" }, "funding": [ { @@ -134,7 +129,7 @@ "type": "tidelift" } ], - "time": "2023-12-11T17:09:12+00:00" + "time": "2024-02-09T16:56:22+00:00" }, { "name": "doctrine/inflector", @@ -229,31 +224,31 @@ }, { "name": "illuminate/collections", - "version": "v10.47.0", + "version": "v9.52.16", "source": { "type": "git", "url": "https://github.com/illuminate/collections.git", - "reference": "7bc2e907285b6a38acb3b386dcc577b185bf3d73" + "reference": "d3710b0b244bfc62c288c1a87eaa62dd28352d1f" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/illuminate/collections/zipball/7bc2e907285b6a38acb3b386dcc577b185bf3d73", - "reference": "7bc2e907285b6a38acb3b386dcc577b185bf3d73", + "url": "https://api.github.com/repos/illuminate/collections/zipball/d3710b0b244bfc62c288c1a87eaa62dd28352d1f", + "reference": "d3710b0b244bfc62c288c1a87eaa62dd28352d1f", "shasum": "" }, "require": { - "illuminate/conditionable": "^10.0", - "illuminate/contracts": "^10.0", - "illuminate/macroable": "^10.0", - "php": "^8.1" + "illuminate/conditionable": "^9.0", + "illuminate/contracts": "^9.0", + "illuminate/macroable": "^9.0", + "php": "^8.0.2" }, "suggest": { - "symfony/var-dumper": "Required to use the dump method (^6.2)." + "symfony/var-dumper": "Required to use the dump method (^6.0)." }, "type": "library", "extra": { "branch-alias": { - "dev-master": "10.x-dev" + "dev-master": "9.x-dev" } }, "autoload": { @@ -280,20 +275,20 @@ "issues": "https://github.com/laravel/framework/issues", "source": "https://github.com/laravel/framework" }, - "time": "2024-03-04T18:11:18+00:00" + "time": "2023-06-11T21:17:10+00:00" }, { "name": "illuminate/conditionable", - "version": "v10.47.0", + "version": "v9.52.16", "source": { "type": "git", "url": "https://github.com/illuminate/conditionable.git", - "reference": "d0958e4741fc9d6f516a552060fd1b829a85e009" + "reference": "bea24daa0fa84b7e7b0d5b84f62c71b7e2dc3364" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/illuminate/conditionable/zipball/d0958e4741fc9d6f516a552060fd1b829a85e009", - "reference": "d0958e4741fc9d6f516a552060fd1b829a85e009", + "url": "https://api.github.com/repos/illuminate/conditionable/zipball/bea24daa0fa84b7e7b0d5b84f62c71b7e2dc3364", + "reference": "bea24daa0fa84b7e7b0d5b84f62c71b7e2dc3364", "shasum": "" }, "require": { @@ -302,7 +297,7 @@ "type": "library", "extra": { "branch-alias": { - "dev-master": "10.x-dev" + "dev-master": "9.x-dev" } }, "autoload": { @@ -326,25 +321,25 @@ "issues": "https://github.com/laravel/framework/issues", "source": "https://github.com/laravel/framework" }, - "time": "2023-02-03T08:06:17+00:00" + "time": "2023-02-01T21:42:32+00:00" }, { "name": "illuminate/container", - "version": "v10.47.0", + "version": "v9.52.16", "source": { "type": "git", "url": "https://github.com/illuminate/container.git", - "reference": "ddc26273085fad3c471b2602ad820e0097ff7939" + "reference": "1641dda2d0750b68bb1264a3b37ff3973f2e6265" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/illuminate/container/zipball/ddc26273085fad3c471b2602ad820e0097ff7939", - "reference": "ddc26273085fad3c471b2602ad820e0097ff7939", + "url": "https://api.github.com/repos/illuminate/container/zipball/1641dda2d0750b68bb1264a3b37ff3973f2e6265", + "reference": "1641dda2d0750b68bb1264a3b37ff3973f2e6265", "shasum": "" }, "require": { - "illuminate/contracts": "^10.0", - "php": "^8.1", + "illuminate/contracts": "^9.0", + "php": "^8.0.2", "psr/container": "^1.1.1|^2.0.1" }, "provide": { @@ -353,7 +348,7 @@ "type": "library", "extra": { "branch-alias": { - "dev-master": "10.x-dev" + "dev-master": "9.x-dev" } }, "autoload": { @@ -377,31 +372,31 @@ "issues": "https://github.com/laravel/framework/issues", "source": "https://github.com/laravel/framework" }, - "time": "2023-06-18T09:12:03+00:00" + "time": "2023-01-24T16:54:18+00:00" }, { "name": "illuminate/contracts", - "version": "v10.47.0", + "version": "v9.52.16", "source": { "type": "git", "url": "https://github.com/illuminate/contracts.git", - "reference": "8d7152c4a1f5d9cf7da3e8b71f23e4556f6138ac" + "reference": "44f65d723b13823baa02ff69751a5948bde60c22" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/illuminate/contracts/zipball/8d7152c4a1f5d9cf7da3e8b71f23e4556f6138ac", - "reference": "8d7152c4a1f5d9cf7da3e8b71f23e4556f6138ac", + "url": "https://api.github.com/repos/illuminate/contracts/zipball/44f65d723b13823baa02ff69751a5948bde60c22", + "reference": "44f65d723b13823baa02ff69751a5948bde60c22", "shasum": "" }, "require": { - "php": "^8.1", + "php": "^8.0.2", "psr/container": "^1.1.1|^2.0.1", "psr/simple-cache": "^1.0|^2.0|^3.0" }, "type": "library", "extra": { "branch-alias": { - "dev-master": "10.x-dev" + "dev-master": "9.x-dev" } }, "autoload": { @@ -425,50 +420,47 @@ "issues": "https://github.com/laravel/framework/issues", "source": "https://github.com/laravel/framework" }, - "time": "2024-01-15T18:52:32+00:00" + "time": "2023-02-08T14:36:30+00:00" }, { "name": "illuminate/database", - "version": "v10.47.0", + "version": "v9.52.16", "source": { "type": "git", "url": "https://github.com/illuminate/database.git", - "reference": "385a67f5351be38c5c6f28d58f7d76cbaffcaa02" + "reference": "93cfc8e1f9ac147e6a2851ecabe8d8f21ad85182" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/illuminate/database/zipball/385a67f5351be38c5c6f28d58f7d76cbaffcaa02", - "reference": "385a67f5351be38c5c6f28d58f7d76cbaffcaa02", + "url": "https://api.github.com/repos/illuminate/database/zipball/93cfc8e1f9ac147e6a2851ecabe8d8f21ad85182", + "reference": "93cfc8e1f9ac147e6a2851ecabe8d8f21ad85182", "shasum": "" }, "require": { - "brick/math": "^0.9.3|^0.10.2|^0.11|^0.12", + "brick/math": "^0.9.3|^0.10.2|^0.11", "ext-pdo": "*", - "illuminate/collections": "^10.0", - "illuminate/container": "^10.0", - "illuminate/contracts": "^10.0", - "illuminate/macroable": "^10.0", - "illuminate/support": "^10.0", - "php": "^8.1" - }, - "conflict": { - "carbonphp/carbon-doctrine-types": ">=3.0", - "doctrine/dbal": ">=4.0" + "illuminate/collections": "^9.0", + "illuminate/container": "^9.0", + "illuminate/contracts": "^9.0", + "illuminate/macroable": "^9.0", + "illuminate/support": "^9.0", + "php": "^8.0.2", + "symfony/console": "^6.0.9" }, "suggest": { - "doctrine/dbal": "Required to rename columns and drop SQLite columns (^3.5.1).", + "doctrine/dbal": "Required to rename columns and drop SQLite columns (^2.13.3|^3.1.4).", "ext-filter": "Required to use the Postgres database driver.", "fakerphp/faker": "Required to use the eloquent factory builder (^1.21).", - "illuminate/console": "Required to use the database commands (^10.0).", - "illuminate/events": "Required to use the observers with Eloquent (^10.0).", - "illuminate/filesystem": "Required to use the migrations (^10.0).", - "illuminate/pagination": "Required to paginate the result set (^10.0).", - "symfony/finder": "Required to use Eloquent model factories (^6.2)." + "illuminate/console": "Required to use the database commands (^9.0).", + "illuminate/events": "Required to use the observers with Eloquent (^9.0).", + "illuminate/filesystem": "Required to use the migrations (^9.0).", + "illuminate/pagination": "Required to paginate the result set (^9.0).", + "symfony/finder": "Required to use Eloquent model factories (^6.0)." }, "type": "library", "extra": { "branch-alias": { - "dev-master": "10.x-dev" + "dev-master": "9.x-dev" } }, "autoload": { @@ -498,29 +490,29 @@ "issues": "https://github.com/laravel/framework/issues", "source": "https://github.com/laravel/framework" }, - "time": "2024-03-04T21:32:24+00:00" + "time": "2023-06-11T21:17:10+00:00" }, { "name": "illuminate/macroable", - "version": "v10.47.0", + "version": "v9.52.16", "source": { "type": "git", "url": "https://github.com/illuminate/macroable.git", - "reference": "dff667a46ac37b634dcf68909d9d41e94dc97c27" + "reference": "e3bfaf6401742a9c6abca61b9b10e998e5b6449a" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/illuminate/macroable/zipball/dff667a46ac37b634dcf68909d9d41e94dc97c27", - "reference": "dff667a46ac37b634dcf68909d9d41e94dc97c27", + "url": "https://api.github.com/repos/illuminate/macroable/zipball/e3bfaf6401742a9c6abca61b9b10e998e5b6449a", + "reference": "e3bfaf6401742a9c6abca61b9b10e998e5b6449a", "shasum": "" }, "require": { - "php": "^8.1" + "php": "^8.0.2" }, "type": "library", "extra": { "branch-alias": { - "dev-master": "10.x-dev" + "dev-master": "9.x-dev" } }, "autoload": { @@ -544,20 +536,20 @@ "issues": "https://github.com/laravel/framework/issues", "source": "https://github.com/laravel/framework" }, - "time": "2023-06-05T12:46:42+00:00" + "time": "2022-08-09T13:29:29+00:00" }, { "name": "illuminate/support", - "version": "v10.47.0", + "version": "v9.52.16", "source": { "type": "git", "url": "https://github.com/illuminate/support.git", - "reference": "a98f849a2a0f36fbcbec77d07cae680e240ccdc1" + "reference": "223c608dbca27232df6213f776bfe7bdeec24874" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/illuminate/support/zipball/a98f849a2a0f36fbcbec77d07cae680e240ccdc1", - "reference": "a98f849a2a0f36fbcbec77d07cae680e240ccdc1", + "url": "https://api.github.com/repos/illuminate/support/zipball/223c608dbca27232df6213f776bfe7bdeec24874", + "reference": "223c608dbca27232df6213f776bfe7bdeec24874", "shasum": "" }, "require": { @@ -565,30 +557,30 @@ "ext-ctype": "*", "ext-filter": "*", "ext-mbstring": "*", - "illuminate/collections": "^10.0", - "illuminate/conditionable": "^10.0", - "illuminate/contracts": "^10.0", - "illuminate/macroable": "^10.0", - "nesbot/carbon": "^2.67", - "php": "^8.1", + "illuminate/collections": "^9.0", + "illuminate/conditionable": "^9.0", + "illuminate/contracts": "^9.0", + "illuminate/macroable": "^9.0", + "nesbot/carbon": "^2.62.1", + "php": "^8.0.2", "voku/portable-ascii": "^2.0" }, "conflict": { "tightenco/collect": "<5.5.33" }, "suggest": { - "illuminate/filesystem": "Required to use the composer class (^10.0).", + "illuminate/filesystem": "Required to use the composer class (^9.0).", "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 (^6.2).", - "symfony/uid": "Required to use Str::ulid() (^6.2).", - "symfony/var-dumper": "Required to use the dd function (^6.2).", + "symfony/process": "Required to use the composer class (^6.0).", + "symfony/uid": "Required to use Str::ulid() (^6.0).", + "symfony/var-dumper": "Required to use the dd function (^6.0).", "vlucas/phpdotenv": "Required to use the Env class and env helper (^5.4.1)." }, "type": "library", "extra": { "branch-alias": { - "dev-master": "10.x-dev" + "dev-master": "9.x-dev" } }, "autoload": { @@ -615,7 +607,7 @@ "issues": "https://github.com/laravel/framework/issues", "source": "https://github.com/laravel/framework" }, - "time": "2024-03-02T00:22:09+00:00" + "time": "2023-06-11T21:11:53+00:00" }, { "name": "myclabs/deep-copy", @@ -679,16 +671,16 @@ }, { "name": "nesbot/carbon", - "version": "2.72.3", + "version": "2.72.5", "source": { "type": "git", "url": "https://github.com/briannesbitt/Carbon.git", - "reference": "0c6fd108360c562f6e4fd1dedb8233b423e91c83" + "reference": "afd46589c216118ecd48ff2b95d77596af1e57ed" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/briannesbitt/Carbon/zipball/0c6fd108360c562f6e4fd1dedb8233b423e91c83", - "reference": "0c6fd108360c562f6e4fd1dedb8233b423e91c83", + "url": "https://api.github.com/repos/briannesbitt/Carbon/zipball/afd46589c216118ecd48ff2b95d77596af1e57ed", + "reference": "afd46589c216118ecd48ff2b95d77596af1e57ed", "shasum": "" }, "require": { @@ -722,8 +714,8 @@ "type": "library", "extra": { "branch-alias": { - "dev-3.x": "3.x-dev", - "dev-master": "2.x-dev" + "dev-master": "3.x-dev", + "dev-2.x": "2.x-dev" }, "laravel": { "providers": [ @@ -782,7 +774,7 @@ "type": "tidelift" } ], - "time": "2024-01-25T10:35:09+00:00" + "time": "2024-06-03T19:18:41+00:00" }, { "name": "nikic/php-parser", @@ -1283,16 +1275,16 @@ }, { "name": "phpunit/phpunit", - "version": "10.5.29", + "version": "10.5.30", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/phpunit.git", - "reference": "8e9e80872b4e8064401788ee8a32d40b4455318f" + "reference": "b15524febac0153876b4ba9aab3326c2ee94c897" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/phpunit/zipball/8e9e80872b4e8064401788ee8a32d40b4455318f", - "reference": "8e9e80872b4e8064401788ee8a32d40b4455318f", + "url": "https://api.github.com/repos/sebastianbergmann/phpunit/zipball/b15524febac0153876b4ba9aab3326c2ee94c897", + "reference": "b15524febac0153876b4ba9aab3326c2ee94c897", "shasum": "" }, "require": { @@ -1313,7 +1305,7 @@ "phpunit/php-timer": "^6.0.0", "sebastian/cli-parser": "^2.0.1", "sebastian/code-unit": "^2.0.0", - "sebastian/comparator": "^5.0.1", + "sebastian/comparator": "^5.0.2", "sebastian/diff": "^5.1.1", "sebastian/environment": "^6.1.0", "sebastian/exporter": "^5.1.2", @@ -1364,7 +1356,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.29" + "source": "https://github.com/sebastianbergmann/phpunit/tree/10.5.30" }, "funding": [ { @@ -1380,7 +1372,7 @@ "type": "tidelift" } ], - "time": "2024-07-30T11:08:00+00:00" + "time": "2024-08-13T06:09:37+00:00" }, { "name": "psr/clock", @@ -1704,16 +1696,16 @@ }, { "name": "sebastian/comparator", - "version": "5.0.1", + "version": "5.0.2", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/comparator.git", - "reference": "2db5010a484d53ebf536087a70b4a5423c102372" + "reference": "2d3e04c3b4c1e84a5e7382221ad8883c8fbc4f53" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/comparator/zipball/2db5010a484d53ebf536087a70b4a5423c102372", - "reference": "2db5010a484d53ebf536087a70b4a5423c102372", + "url": "https://api.github.com/repos/sebastianbergmann/comparator/zipball/2d3e04c3b4c1e84a5e7382221ad8883c8fbc4f53", + "reference": "2d3e04c3b4c1e84a5e7382221ad8883c8fbc4f53", "shasum": "" }, "require": { @@ -1724,7 +1716,7 @@ "sebastian/exporter": "^5.0" }, "require-dev": { - "phpunit/phpunit": "^10.3" + "phpunit/phpunit": "^10.4" }, "type": "library", "extra": { @@ -1769,7 +1761,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.2" }, "funding": [ { @@ -1777,7 +1769,7 @@ "type": "github" } ], - "time": "2023-08-14T13:18:12+00:00" + "time": "2024-08-12T06:03:08+00:00" }, { "name": "sebastian/complexity", @@ -2530,18 +2522,112 @@ ], "time": "2024-07-21T23:26:44+00:00" }, + { + "name": "symfony/console", + "version": "v6.4.10", + "source": { + "type": "git", + "url": "https://github.com/symfony/console.git", + "reference": "504974cbe43d05f83b201d6498c206f16fc0cdbc" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/symfony/console/zipball/504974cbe43d05f83b201d6498c206f16fc0cdbc", + "reference": "504974cbe43d05f83b201d6498c206f16fc0cdbc", + "shasum": "" + }, + "require": { + "php": ">=8.1", + "symfony/deprecation-contracts": "^2.5|^3", + "symfony/polyfill-mbstring": "~1.0", + "symfony/service-contracts": "^2.5|^3", + "symfony/string": "^5.4|^6.0|^7.0" + }, + "conflict": { + "symfony/dependency-injection": "<5.4", + "symfony/dotenv": "<5.4", + "symfony/event-dispatcher": "<5.4", + "symfony/lock": "<5.4", + "symfony/process": "<5.4" + }, + "provide": { + "psr/log-implementation": "1.0|2.0|3.0" + }, + "require-dev": { + "psr/log": "^1|^2|^3", + "symfony/config": "^5.4|^6.0|^7.0", + "symfony/dependency-injection": "^5.4|^6.0|^7.0", + "symfony/event-dispatcher": "^5.4|^6.0|^7.0", + "symfony/http-foundation": "^6.4|^7.0", + "symfony/http-kernel": "^6.4|^7.0", + "symfony/lock": "^5.4|^6.0|^7.0", + "symfony/messenger": "^5.4|^6.0|^7.0", + "symfony/process": "^5.4|^6.0|^7.0", + "symfony/stopwatch": "^5.4|^6.0|^7.0", + "symfony/var-dumper": "^5.4|^6.0|^7.0" + }, + "type": "library", + "autoload": { + "psr-4": { + "Symfony\\Component\\Console\\": "" + }, + "exclude-from-classmap": [ + "/Tests/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Fabien Potencier", + "email": "fabien@symfony.com" + }, + { + "name": "Symfony Community", + "homepage": "https://symfony.com/contributors" + } + ], + "description": "Eases the creation of beautiful and testable command line interfaces", + "homepage": "https://symfony.com", + "keywords": [ + "cli", + "command-line", + "console", + "terminal" + ], + "support": { + "source": "https://github.com/symfony/console/tree/v6.4.10" + }, + "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-07-26T12:30:32+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": { @@ -2550,7 +2636,7 @@ "type": "library", "extra": { "branch-alias": { - "dev-main": "3.4-dev" + "dev-main": "3.5-dev" }, "thanks": { "name": "symfony/contracts", @@ -2579,7 +2665,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": [ { @@ -2595,20 +2681,258 @@ "type": "tidelift" } ], - "time": "2023-05-23T14:45:45+00:00" + "time": "2024-04-18T09:32:20+00:00" + }, + { + "name": "symfony/polyfill-ctype", + "version": "v1.30.0", + "source": { + "type": "git", + "url": "https://github.com/symfony/polyfill-ctype.git", + "reference": "0424dff1c58f028c451efff2045f5d92410bd540" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/symfony/polyfill-ctype/zipball/0424dff1c58f028c451efff2045f5d92410bd540", + "reference": "0424dff1c58f028c451efff2045f5d92410bd540", + "shasum": "" + }, + "require": { + "php": ">=7.1" + }, + "provide": { + "ext-ctype": "*" + }, + "suggest": { + "ext-ctype": "For best performance" + }, + "type": "library", + "extra": { + "thanks": { + "name": "symfony/polyfill", + "url": "https://github.com/symfony/polyfill" + } + }, + "autoload": { + "files": [ + "bootstrap.php" + ], + "psr-4": { + "Symfony\\Polyfill\\Ctype\\": "" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Gert de Pagter", + "email": "BackEndTea@gmail.com" + }, + { + "name": "Symfony Community", + "homepage": "https://symfony.com/contributors" + } + ], + "description": "Symfony polyfill for ctype functions", + "homepage": "https://symfony.com", + "keywords": [ + "compatibility", + "ctype", + "polyfill", + "portable" + ], + "support": { + "source": "https://github.com/symfony/polyfill-ctype/tree/v1.30.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-05-31T15:07:36+00:00" + }, + { + "name": "symfony/polyfill-intl-grapheme", + "version": "v1.30.0", + "source": { + "type": "git", + "url": "https://github.com/symfony/polyfill-intl-grapheme.git", + "reference": "64647a7c30b2283f5d49b874d84a18fc22054b7a" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/symfony/polyfill-intl-grapheme/zipball/64647a7c30b2283f5d49b874d84a18fc22054b7a", + "reference": "64647a7c30b2283f5d49b874d84a18fc22054b7a", + "shasum": "" + }, + "require": { + "php": ">=7.1" + }, + "suggest": { + "ext-intl": "For best performance" + }, + "type": "library", + "extra": { + "thanks": { + "name": "symfony/polyfill", + "url": "https://github.com/symfony/polyfill" + } + }, + "autoload": { + "files": [ + "bootstrap.php" + ], + "psr-4": { + "Symfony\\Polyfill\\Intl\\Grapheme\\": "" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Nicolas Grekas", + "email": "p@tchwork.com" + }, + { + "name": "Symfony Community", + "homepage": "https://symfony.com/contributors" + } + ], + "description": "Symfony polyfill for intl's grapheme_* functions", + "homepage": "https://symfony.com", + "keywords": [ + "compatibility", + "grapheme", + "intl", + "polyfill", + "portable", + "shim" + ], + "support": { + "source": "https://github.com/symfony/polyfill-intl-grapheme/tree/v1.30.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-05-31T15:07:36+00:00" + }, + { + "name": "symfony/polyfill-intl-normalizer", + "version": "v1.30.0", + "source": { + "type": "git", + "url": "https://github.com/symfony/polyfill-intl-normalizer.git", + "reference": "a95281b0be0d9ab48050ebd988b967875cdb9fdb" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/symfony/polyfill-intl-normalizer/zipball/a95281b0be0d9ab48050ebd988b967875cdb9fdb", + "reference": "a95281b0be0d9ab48050ebd988b967875cdb9fdb", + "shasum": "" + }, + "require": { + "php": ">=7.1" + }, + "suggest": { + "ext-intl": "For best performance" + }, + "type": "library", + "extra": { + "thanks": { + "name": "symfony/polyfill", + "url": "https://github.com/symfony/polyfill" + } + }, + "autoload": { + "files": [ + "bootstrap.php" + ], + "psr-4": { + "Symfony\\Polyfill\\Intl\\Normalizer\\": "" + }, + "classmap": [ + "Resources/stubs" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Nicolas Grekas", + "email": "p@tchwork.com" + }, + { + "name": "Symfony Community", + "homepage": "https://symfony.com/contributors" + } + ], + "description": "Symfony polyfill for intl's Normalizer class and related functions", + "homepage": "https://symfony.com", + "keywords": [ + "compatibility", + "intl", + "normalizer", + "polyfill", + "portable", + "shim" + ], + "support": { + "source": "https://github.com/symfony/polyfill-intl-normalizer/tree/v1.30.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-05-31T15:07:36+00:00" }, { "name": "symfony/polyfill-mbstring", - "version": "v1.29.0", + "version": "v1.30.0", "source": { "type": "git", "url": "https://github.com/symfony/polyfill-mbstring.git", - "reference": "9773676c8a1bb1f8d4340a62efe641cf76eda7ec" + "reference": "fd22ab50000ef01661e2a31d850ebaa297f8e03c" }, "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/fd22ab50000ef01661e2a31d850ebaa297f8e03c", + "reference": "fd22ab50000ef01661e2a31d850ebaa297f8e03c", "shasum": "" }, "require": { @@ -2659,7 +2983,7 @@ "shim" ], "support": { - "source": "https://github.com/symfony/polyfill-mbstring/tree/v1.29.0" + "source": "https://github.com/symfony/polyfill-mbstring/tree/v1.30.0" }, "funding": [ { @@ -2675,20 +2999,20 @@ "type": "tidelift" } ], - "time": "2024-01-29T20:11:03+00:00" + "time": "2024-06-19T12:30:46+00:00" }, { "name": "symfony/polyfill-php80", - "version": "v1.29.0", + "version": "v1.30.0", "source": { "type": "git", "url": "https://github.com/symfony/polyfill-php80.git", - "reference": "87b68208d5c1188808dd7839ee1e6c8ec3b02f1b" + "reference": "77fa7995ac1b21ab60769b7323d600a991a90433" }, "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/77fa7995ac1b21ab60769b7323d600a991a90433", + "reference": "77fa7995ac1b21ab60769b7323d600a991a90433", "shasum": "" }, "require": { @@ -2739,7 +3063,177 @@ "shim" ], "support": { - "source": "https://github.com/symfony/polyfill-php80/tree/v1.29.0" + "source": "https://github.com/symfony/polyfill-php80/tree/v1.30.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-05-31T15:07:36+00:00" + }, + { + "name": "symfony/service-contracts", + "version": "v3.5.0", + "source": { + "type": "git", + "url": "https://github.com/symfony/service-contracts.git", + "reference": "bd1d9e59a81d8fa4acdcea3f617c581f7475a80f" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/symfony/service-contracts/zipball/bd1d9e59a81d8fa4acdcea3f617c581f7475a80f", + "reference": "bd1d9e59a81d8fa4acdcea3f617c581f7475a80f", + "shasum": "" + }, + "require": { + "php": ">=8.1", + "psr/container": "^1.1|^2.0", + "symfony/deprecation-contracts": "^2.5|^3" + }, + "conflict": { + "ext-psr": "<1.1|>=2" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-main": "3.5-dev" + }, + "thanks": { + "name": "symfony/contracts", + "url": "https://github.com/symfony/contracts" + } + }, + "autoload": { + "psr-4": { + "Symfony\\Contracts\\Service\\": "" + }, + "exclude-from-classmap": [ + "/Test/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Nicolas Grekas", + "email": "p@tchwork.com" + }, + { + "name": "Symfony Community", + "homepage": "https://symfony.com/contributors" + } + ], + "description": "Generic abstractions related to writing services", + "homepage": "https://symfony.com", + "keywords": [ + "abstractions", + "contracts", + "decoupling", + "interfaces", + "interoperability", + "standards" + ], + "support": { + "source": "https://github.com/symfony/service-contracts/tree/v3.5.0" + }, + "funding": [ + { + "url": "https://symfony.com/sponsor", + "type": "custom" + }, + { + "url": "https://github.com/fabpot", + "type": "github" + }, + { + "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", + "type": "tidelift" + } + ], + "time": "2024-04-18T09:32:20+00:00" + }, + { + "name": "symfony/string", + "version": "v7.1.3", + "source": { + "type": "git", + "url": "https://github.com/symfony/string.git", + "reference": "ea272a882be7f20cad58d5d78c215001617b7f07" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/symfony/string/zipball/ea272a882be7f20cad58d5d78c215001617b7f07", + "reference": "ea272a882be7f20cad58d5d78c215001617b7f07", + "shasum": "" + }, + "require": { + "php": ">=8.2", + "symfony/polyfill-ctype": "~1.8", + "symfony/polyfill-intl-grapheme": "~1.0", + "symfony/polyfill-intl-normalizer": "~1.0", + "symfony/polyfill-mbstring": "~1.0" + }, + "conflict": { + "symfony/translation-contracts": "<2.5" + }, + "require-dev": { + "symfony/emoji": "^7.1", + "symfony/error-handler": "^6.4|^7.0", + "symfony/http-client": "^6.4|^7.0", + "symfony/intl": "^6.4|^7.0", + "symfony/translation-contracts": "^2.5|^3.0", + "symfony/var-exporter": "^6.4|^7.0" + }, + "type": "library", + "autoload": { + "files": [ + "Resources/functions.php" + ], + "psr-4": { + "Symfony\\Component\\String\\": "" + }, + "exclude-from-classmap": [ + "/Tests/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Nicolas Grekas", + "email": "p@tchwork.com" + }, + { + "name": "Symfony Community", + "homepage": "https://symfony.com/contributors" + } + ], + "description": "Provides an object-oriented API to strings and deals with bytes, UTF-8 code points and grapheme clusters in a unified way", + "homepage": "https://symfony.com", + "keywords": [ + "grapheme", + "i18n", + "string", + "unicode", + "utf-8", + "utf8" + ], + "support": { + "source": "https://github.com/symfony/string/tree/v7.1.3" }, "funding": [ { @@ -2755,20 +3249,20 @@ "type": "tidelift" } ], - "time": "2024-01-29T20:11:03+00:00" + "time": "2024-07-22T10:25:37+00:00" }, { "name": "symfony/translation", - "version": "v6.4.4", + "version": "v6.4.10", "source": { "type": "git", "url": "https://github.com/symfony/translation.git", - "reference": "bce6a5a78e94566641b2594d17e48b0da3184a8e" + "reference": "94041203f8ac200ae9e7c6a18fa6137814ccecc9" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/translation/zipball/bce6a5a78e94566641b2594d17e48b0da3184a8e", - "reference": "bce6a5a78e94566641b2594d17e48b0da3184a8e", + "url": "https://api.github.com/repos/symfony/translation/zipball/94041203f8ac200ae9e7c6a18fa6137814ccecc9", + "reference": "94041203f8ac200ae9e7c6a18fa6137814ccecc9", "shasum": "" }, "require": { @@ -2834,7 +3328,7 @@ "description": "Provides tools to internationalize your application", "homepage": "https://symfony.com", "support": { - "source": "https://github.com/symfony/translation/tree/v6.4.4" + "source": "https://github.com/symfony/translation/tree/v6.4.10" }, "funding": [ { @@ -2850,20 +3344,20 @@ "type": "tidelift" } ], - "time": "2024-02-20T13:16:58+00:00" + "time": "2024-07-26T12:30:32+00:00" }, { "name": "symfony/translation-contracts", - "version": "v3.4.1", + "version": "v3.5.0", "source": { "type": "git", "url": "https://github.com/symfony/translation-contracts.git", - "reference": "06450585bf65e978026bda220cdebca3f867fde7" + "reference": "b9d2189887bb6b2e0367a9fc7136c5239ab9b05a" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/translation-contracts/zipball/06450585bf65e978026bda220cdebca3f867fde7", - "reference": "06450585bf65e978026bda220cdebca3f867fde7", + "url": "https://api.github.com/repos/symfony/translation-contracts/zipball/b9d2189887bb6b2e0367a9fc7136c5239ab9b05a", + "reference": "b9d2189887bb6b2e0367a9fc7136c5239ab9b05a", "shasum": "" }, "require": { @@ -2872,7 +3366,7 @@ "type": "library", "extra": { "branch-alias": { - "dev-main": "3.4-dev" + "dev-main": "3.5-dev" }, "thanks": { "name": "symfony/contracts", @@ -2912,7 +3406,7 @@ "standards" ], "support": { - "source": "https://github.com/symfony/translation-contracts/tree/v3.4.1" + "source": "https://github.com/symfony/translation-contracts/tree/v3.5.0" }, "funding": [ { @@ -2928,7 +3422,7 @@ "type": "tidelift" } ], - "time": "2023-12-26T14:02:43+00:00" + "time": "2024-04-18T09:32:20+00:00" }, { "name": "theseer/tokenizer", diff --git a/modules/registrars/realtimeregister/composer.json b/modules/registrars/realtimeregister/composer.json index 2c1a4f3..c49fafb 100644 --- a/modules/registrars/realtimeregister/composer.json +++ b/modules/registrars/realtimeregister/composer.json @@ -25,7 +25,7 @@ "require": { "php": "^8.1", "sandwave-io/realtimeregister-php": "dev-master", - "illuminate/cache": "^10.29", + "illuminate/cache": "^v9.52.16", "giggsey/libphonenumber-for-php-lite": "^8.13" }, "require-dev": { diff --git a/modules/registrars/realtimeregister/composer.lock b/modules/registrars/realtimeregister/composer.lock index 06336c6..1be22e1 100644 --- a/modules/registrars/realtimeregister/composer.lock +++ b/modules/registrars/realtimeregister/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": "d2d7c3d953f3b5ae5751657e2bf1a48b", + "content-hash": "90a8926609684e76136e7afa0183c5d4", "packages": [ { "name": "carbonphp/carbon-doctrine-types", @@ -168,20 +168,20 @@ }, { "name": "giggsey/libphonenumber-for-php-lite", - "version": "8.13.31", + "version": "8.13.42", "source": { "type": "git", "url": "https://github.com/giggsey/libphonenumber-for-php-lite.git", - "reference": "04a7531f390833c7abf53f6b102e87b7aaa8038c" + "reference": "073b335ccd2197b6f6e21929330306ae9d4cc11f" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/giggsey/libphonenumber-for-php-lite/zipball/04a7531f390833c7abf53f6b102e87b7aaa8038c", - "reference": "04a7531f390833c7abf53f6b102e87b7aaa8038c", + "url": "https://api.github.com/repos/giggsey/libphonenumber-for-php-lite/zipball/073b335ccd2197b6f6e21929330306ae9d4cc11f", + "reference": "073b335ccd2197b6f6e21929330306ae9d4cc11f", "shasum": "" }, "require": { - "php": "^8.0", + "php": "^8.1", "symfony/polyfill-mbstring": "^1.17" }, "conflict": { @@ -190,16 +190,17 @@ "require-dev": { "ext-dom": "*", "friendsofphp/php-cs-fixer": "^3.12", - "infection/infection": "^0.26.16", + "infection/infection": "^0.28", "pear/pear-core-minimal": "^1.10.11", "pear/pear_exception": "^1.0.2", - "pear/versioncontrol_git": "^0.5", + "pear/versioncontrol_git": "^0.7", "phing/phing": "^2.17.4", "phpstan/extension-installer": "^1.2", "phpstan/phpstan": "^1.8", "phpstan/phpstan-phpunit": "^1.2", - "phpunit/phpunit": "^9.5.26", - "symfony/console": "^6.0" + "phpunit/phpunit": "^10.5", + "symfony/console": "^6.0", + "symfony/var-exporter": "^6.0" }, "suggest": { "giggsey/libphonenumber-for-php": "Use libphonenumber-for-php for geocoding, carriers, timezones and matching" @@ -246,26 +247,26 @@ "issues": "https://github.com/giggsey/libphonenumber-for-php-lite/issues", "source": "https://github.com/giggsey/libphonenumber-for-php-lite" }, - "time": "2024-02-26T08:41:32+00:00" + "time": "2024-07-29T07:18:32+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" @@ -276,9 +277,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": { @@ -356,7 +357,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": [ { @@ -372,20 +373,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.3", "source": { "type": "git", "url": "https://github.com/guzzle/promises.git", - "reference": "bbff78d96034045e58e13dedd6ad91b5d1253223" + "reference": "6ea8dd08867a2a42619d65c3deb2c0fcbf81c8f8" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/guzzle/promises/zipball/bbff78d96034045e58e13dedd6ad91b5d1253223", - "reference": "bbff78d96034045e58e13dedd6ad91b5d1253223", + "url": "https://api.github.com/repos/guzzle/promises/zipball/6ea8dd08867a2a42619d65c3deb2c0fcbf81c8f8", + "reference": "6ea8dd08867a2a42619d65c3deb2c0fcbf81c8f8", "shasum": "" }, "require": { @@ -393,7 +394,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": { @@ -439,7 +440,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.3" }, "funding": [ { @@ -455,20 +456,20 @@ "type": "tidelift" } ], - "time": "2023-12-03T20:19:20+00:00" + "time": "2024-07-18T10:29:17+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": { @@ -483,8 +484,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" @@ -555,7 +556,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": [ { @@ -571,28 +572,28 @@ "type": "tidelift" } ], - "time": "2023-12-03T20:05:35+00:00" + "time": "2024-07-18T11:15:46+00:00" }, { "name": "illuminate/cache", - "version": "v10.47.0", + "version": "v9.52.16", "source": { "type": "git", "url": "https://github.com/illuminate/cache.git", - "reference": "7799a94229a65144a5616b140dd2fda55c95d905" + "reference": "72532b4bc11aaf61610dc5f7b315f65c5d6d9cf7" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/illuminate/cache/zipball/7799a94229a65144a5616b140dd2fda55c95d905", - "reference": "7799a94229a65144a5616b140dd2fda55c95d905", + "url": "https://api.github.com/repos/illuminate/cache/zipball/72532b4bc11aaf61610dc5f7b315f65c5d6d9cf7", + "reference": "72532b4bc11aaf61610dc5f7b315f65c5d6d9cf7", "shasum": "" }, "require": { - "illuminate/collections": "^10.0", - "illuminate/contracts": "^10.0", - "illuminate/macroable": "^10.0", - "illuminate/support": "^10.0", - "php": "^8.1" + "illuminate/collections": "^9.0", + "illuminate/contracts": "^9.0", + "illuminate/macroable": "^9.0", + "illuminate/support": "^9.0", + "php": "^8.0.2" }, "provide": { "psr/simple-cache-implementation": "1.0|2.0|3.0" @@ -601,15 +602,15 @@ "ext-apcu": "Required to use the APC cache driver.", "ext-filter": "Required to use the DynamoDb cache driver.", "ext-memcached": "Required to use the memcache cache driver.", - "illuminate/database": "Required to use the database cache driver (^10.0).", - "illuminate/filesystem": "Required to use the file cache driver (^10.0).", - "illuminate/redis": "Required to use the redis cache driver (^10.0).", - "symfony/cache": "Required to use PSR-6 cache bridge (^6.2)." + "illuminate/database": "Required to use the database cache driver (^9.0).", + "illuminate/filesystem": "Required to use the file cache driver (^9.0).", + "illuminate/redis": "Required to use the redis cache driver (^9.0).", + "symfony/cache": "Required to use PSR-6 cache bridge (^6.0)." }, "type": "library", "extra": { "branch-alias": { - "dev-master": "10.x-dev" + "dev-master": "9.x-dev" } }, "autoload": { @@ -633,35 +634,35 @@ "issues": "https://github.com/laravel/framework/issues", "source": "https://github.com/laravel/framework" }, - "time": "2024-03-04T14:05:29+00:00" + "time": "2023-06-01T16:09:55+00:00" }, { "name": "illuminate/collections", - "version": "v10.47.0", + "version": "v9.52.16", "source": { "type": "git", "url": "https://github.com/illuminate/collections.git", - "reference": "7bc2e907285b6a38acb3b386dcc577b185bf3d73" + "reference": "d3710b0b244bfc62c288c1a87eaa62dd28352d1f" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/illuminate/collections/zipball/7bc2e907285b6a38acb3b386dcc577b185bf3d73", - "reference": "7bc2e907285b6a38acb3b386dcc577b185bf3d73", + "url": "https://api.github.com/repos/illuminate/collections/zipball/d3710b0b244bfc62c288c1a87eaa62dd28352d1f", + "reference": "d3710b0b244bfc62c288c1a87eaa62dd28352d1f", "shasum": "" }, "require": { - "illuminate/conditionable": "^10.0", - "illuminate/contracts": "^10.0", - "illuminate/macroable": "^10.0", - "php": "^8.1" + "illuminate/conditionable": "^9.0", + "illuminate/contracts": "^9.0", + "illuminate/macroable": "^9.0", + "php": "^8.0.2" }, "suggest": { - "symfony/var-dumper": "Required to use the dump method (^6.2)." + "symfony/var-dumper": "Required to use the dump method (^6.0)." }, "type": "library", "extra": { "branch-alias": { - "dev-master": "10.x-dev" + "dev-master": "9.x-dev" } }, "autoload": { @@ -688,20 +689,20 @@ "issues": "https://github.com/laravel/framework/issues", "source": "https://github.com/laravel/framework" }, - "time": "2024-03-04T18:11:18+00:00" + "time": "2023-06-11T21:17:10+00:00" }, { "name": "illuminate/conditionable", - "version": "v10.47.0", + "version": "v9.52.16", "source": { "type": "git", "url": "https://github.com/illuminate/conditionable.git", - "reference": "d0958e4741fc9d6f516a552060fd1b829a85e009" + "reference": "bea24daa0fa84b7e7b0d5b84f62c71b7e2dc3364" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/illuminate/conditionable/zipball/d0958e4741fc9d6f516a552060fd1b829a85e009", - "reference": "d0958e4741fc9d6f516a552060fd1b829a85e009", + "url": "https://api.github.com/repos/illuminate/conditionable/zipball/bea24daa0fa84b7e7b0d5b84f62c71b7e2dc3364", + "reference": "bea24daa0fa84b7e7b0d5b84f62c71b7e2dc3364", "shasum": "" }, "require": { @@ -710,7 +711,7 @@ "type": "library", "extra": { "branch-alias": { - "dev-master": "10.x-dev" + "dev-master": "9.x-dev" } }, "autoload": { @@ -734,31 +735,31 @@ "issues": "https://github.com/laravel/framework/issues", "source": "https://github.com/laravel/framework" }, - "time": "2023-02-03T08:06:17+00:00" + "time": "2023-02-01T21:42:32+00:00" }, { "name": "illuminate/contracts", - "version": "v10.47.0", + "version": "v9.52.16", "source": { "type": "git", "url": "https://github.com/illuminate/contracts.git", - "reference": "8d7152c4a1f5d9cf7da3e8b71f23e4556f6138ac" + "reference": "44f65d723b13823baa02ff69751a5948bde60c22" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/illuminate/contracts/zipball/8d7152c4a1f5d9cf7da3e8b71f23e4556f6138ac", - "reference": "8d7152c4a1f5d9cf7da3e8b71f23e4556f6138ac", + "url": "https://api.github.com/repos/illuminate/contracts/zipball/44f65d723b13823baa02ff69751a5948bde60c22", + "reference": "44f65d723b13823baa02ff69751a5948bde60c22", "shasum": "" }, "require": { - "php": "^8.1", + "php": "^8.0.2", "psr/container": "^1.1.1|^2.0.1", "psr/simple-cache": "^1.0|^2.0|^3.0" }, "type": "library", "extra": { "branch-alias": { - "dev-master": "10.x-dev" + "dev-master": "9.x-dev" } }, "autoload": { @@ -782,29 +783,29 @@ "issues": "https://github.com/laravel/framework/issues", "source": "https://github.com/laravel/framework" }, - "time": "2024-01-15T18:52:32+00:00" + "time": "2023-02-08T14:36:30+00:00" }, { "name": "illuminate/macroable", - "version": "v10.47.0", + "version": "v9.52.16", "source": { "type": "git", "url": "https://github.com/illuminate/macroable.git", - "reference": "dff667a46ac37b634dcf68909d9d41e94dc97c27" + "reference": "e3bfaf6401742a9c6abca61b9b10e998e5b6449a" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/illuminate/macroable/zipball/dff667a46ac37b634dcf68909d9d41e94dc97c27", - "reference": "dff667a46ac37b634dcf68909d9d41e94dc97c27", + "url": "https://api.github.com/repos/illuminate/macroable/zipball/e3bfaf6401742a9c6abca61b9b10e998e5b6449a", + "reference": "e3bfaf6401742a9c6abca61b9b10e998e5b6449a", "shasum": "" }, "require": { - "php": "^8.1" + "php": "^8.0.2" }, "type": "library", "extra": { "branch-alias": { - "dev-master": "10.x-dev" + "dev-master": "9.x-dev" } }, "autoload": { @@ -828,20 +829,20 @@ "issues": "https://github.com/laravel/framework/issues", "source": "https://github.com/laravel/framework" }, - "time": "2023-06-05T12:46:42+00:00" + "time": "2022-08-09T13:29:29+00:00" }, { "name": "illuminate/support", - "version": "v10.47.0", + "version": "v9.52.16", "source": { "type": "git", "url": "https://github.com/illuminate/support.git", - "reference": "a98f849a2a0f36fbcbec77d07cae680e240ccdc1" + "reference": "223c608dbca27232df6213f776bfe7bdeec24874" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/illuminate/support/zipball/a98f849a2a0f36fbcbec77d07cae680e240ccdc1", - "reference": "a98f849a2a0f36fbcbec77d07cae680e240ccdc1", + "url": "https://api.github.com/repos/illuminate/support/zipball/223c608dbca27232df6213f776bfe7bdeec24874", + "reference": "223c608dbca27232df6213f776bfe7bdeec24874", "shasum": "" }, "require": { @@ -849,30 +850,30 @@ "ext-ctype": "*", "ext-filter": "*", "ext-mbstring": "*", - "illuminate/collections": "^10.0", - "illuminate/conditionable": "^10.0", - "illuminate/contracts": "^10.0", - "illuminate/macroable": "^10.0", - "nesbot/carbon": "^2.67", - "php": "^8.1", + "illuminate/collections": "^9.0", + "illuminate/conditionable": "^9.0", + "illuminate/contracts": "^9.0", + "illuminate/macroable": "^9.0", + "nesbot/carbon": "^2.62.1", + "php": "^8.0.2", "voku/portable-ascii": "^2.0" }, "conflict": { "tightenco/collect": "<5.5.33" }, "suggest": { - "illuminate/filesystem": "Required to use the composer class (^10.0).", + "illuminate/filesystem": "Required to use the composer class (^9.0).", "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 (^6.2).", - "symfony/uid": "Required to use Str::ulid() (^6.2).", - "symfony/var-dumper": "Required to use the dd function (^6.2).", + "symfony/process": "Required to use the composer class (^6.0).", + "symfony/uid": "Required to use Str::ulid() (^6.0).", + "symfony/var-dumper": "Required to use the dd function (^6.0).", "vlucas/phpdotenv": "Required to use the Env class and env helper (^5.4.1)." }, "type": "library", "extra": { "branch-alias": { - "dev-master": "10.x-dev" + "dev-master": "9.x-dev" } }, "autoload": { @@ -899,20 +900,20 @@ "issues": "https://github.com/laravel/framework/issues", "source": "https://github.com/laravel/framework" }, - "time": "2024-03-02T00:22:09+00:00" + "time": "2023-06-11T21:11:53+00:00" }, { "name": "nesbot/carbon", - "version": "2.72.3", + "version": "2.72.5", "source": { "type": "git", "url": "https://github.com/briannesbitt/Carbon.git", - "reference": "0c6fd108360c562f6e4fd1dedb8233b423e91c83" + "reference": "afd46589c216118ecd48ff2b95d77596af1e57ed" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/briannesbitt/Carbon/zipball/0c6fd108360c562f6e4fd1dedb8233b423e91c83", - "reference": "0c6fd108360c562f6e4fd1dedb8233b423e91c83", + "url": "https://api.github.com/repos/briannesbitt/Carbon/zipball/afd46589c216118ecd48ff2b95d77596af1e57ed", + "reference": "afd46589c216118ecd48ff2b95d77596af1e57ed", "shasum": "" }, "require": { @@ -946,8 +947,8 @@ "type": "library", "extra": { "branch-alias": { - "dev-3.x": "3.x-dev", - "dev-master": "2.x-dev" + "dev-master": "3.x-dev", + "dev-2.x": "2.x-dev" }, "laravel": { "providers": [ @@ -1006,7 +1007,7 @@ "type": "tidelift" } ], - "time": "2024-01-25T10:35:09+00:00" + "time": "2024-06-03T19:18:41+00:00" }, { "name": "psr/clock", @@ -1163,20 +1164,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", @@ -1200,7 +1201,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", @@ -1212,9 +1213,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", @@ -1420,12 +1421,12 @@ "source": { "type": "git", "url": "https://github.com/sandwave-io/realtimeregister-php.git", - "reference": "44ed13a4b0a3098dbb9c67e2712a953605e34e9b" + "reference": "923ae0a7c6d20016c6d135535fcc896c288ab085" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sandwave-io/realtimeregister-php/zipball/44ed13a4b0a3098dbb9c67e2712a953605e34e9b", - "reference": "44ed13a4b0a3098dbb9c67e2712a953605e34e9b", + "url": "https://api.github.com/repos/sandwave-io/realtimeregister-php/zipball/923ae0a7c6d20016c6d135535fcc896c288ab085", + "reference": "923ae0a7c6d20016c6d135535fcc896c288ab085", "shasum": "" }, "require": { @@ -1493,20 +1494,20 @@ "source": "https://github.com/sandwave-io/realtimeregister-php/tree/master", "issues": "https://github.com/sandwave-io/realtimeregister-php/issues" }, - "time": "2024-01-17T13:13:03+00:00" + "time": "2024-07-15T07:00:50+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": { @@ -1515,7 +1516,7 @@ "type": "library", "extra": { "branch-alias": { - "dev-main": "3.4-dev" + "dev-main": "3.5-dev" }, "thanks": { "name": "symfony/contracts", @@ -1544,7 +1545,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": [ { @@ -1560,20 +1561,20 @@ "type": "tidelift" } ], - "time": "2023-05-23T14:45:45+00:00" + "time": "2024-04-18T09:32:20+00:00" }, { "name": "symfony/polyfill-mbstring", - "version": "v1.29.0", + "version": "v1.30.0", "source": { "type": "git", "url": "https://github.com/symfony/polyfill-mbstring.git", - "reference": "9773676c8a1bb1f8d4340a62efe641cf76eda7ec" + "reference": "fd22ab50000ef01661e2a31d850ebaa297f8e03c" }, "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/fd22ab50000ef01661e2a31d850ebaa297f8e03c", + "reference": "fd22ab50000ef01661e2a31d850ebaa297f8e03c", "shasum": "" }, "require": { @@ -1624,7 +1625,7 @@ "shim" ], "support": { - "source": "https://github.com/symfony/polyfill-mbstring/tree/v1.29.0" + "source": "https://github.com/symfony/polyfill-mbstring/tree/v1.30.0" }, "funding": [ { @@ -1640,20 +1641,20 @@ "type": "tidelift" } ], - "time": "2024-01-29T20:11:03+00:00" + "time": "2024-06-19T12:30:46+00:00" }, { "name": "symfony/polyfill-php80", - "version": "v1.29.0", + "version": "v1.30.0", "source": { "type": "git", "url": "https://github.com/symfony/polyfill-php80.git", - "reference": "87b68208d5c1188808dd7839ee1e6c8ec3b02f1b" + "reference": "77fa7995ac1b21ab60769b7323d600a991a90433" }, "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/77fa7995ac1b21ab60769b7323d600a991a90433", + "reference": "77fa7995ac1b21ab60769b7323d600a991a90433", "shasum": "" }, "require": { @@ -1704,7 +1705,7 @@ "shim" ], "support": { - "source": "https://github.com/symfony/polyfill-php80/tree/v1.29.0" + "source": "https://github.com/symfony/polyfill-php80/tree/v1.30.0" }, "funding": [ { @@ -1720,20 +1721,20 @@ "type": "tidelift" } ], - "time": "2024-01-29T20:11:03+00:00" + "time": "2024-05-31T15:07:36+00:00" }, { "name": "symfony/translation", - "version": "v6.4.4", + "version": "v6.4.10", "source": { "type": "git", "url": "https://github.com/symfony/translation.git", - "reference": "bce6a5a78e94566641b2594d17e48b0da3184a8e" + "reference": "94041203f8ac200ae9e7c6a18fa6137814ccecc9" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/translation/zipball/bce6a5a78e94566641b2594d17e48b0da3184a8e", - "reference": "bce6a5a78e94566641b2594d17e48b0da3184a8e", + "url": "https://api.github.com/repos/symfony/translation/zipball/94041203f8ac200ae9e7c6a18fa6137814ccecc9", + "reference": "94041203f8ac200ae9e7c6a18fa6137814ccecc9", "shasum": "" }, "require": { @@ -1799,7 +1800,7 @@ "description": "Provides tools to internationalize your application", "homepage": "https://symfony.com", "support": { - "source": "https://github.com/symfony/translation/tree/v6.4.4" + "source": "https://github.com/symfony/translation/tree/v6.4.10" }, "funding": [ { @@ -1815,20 +1816,20 @@ "type": "tidelift" } ], - "time": "2024-02-20T13:16:58+00:00" + "time": "2024-07-26T12:30:32+00:00" }, { "name": "symfony/translation-contracts", - "version": "v3.4.1", + "version": "v3.5.0", "source": { "type": "git", "url": "https://github.com/symfony/translation-contracts.git", - "reference": "06450585bf65e978026bda220cdebca3f867fde7" + "reference": "b9d2189887bb6b2e0367a9fc7136c5239ab9b05a" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/translation-contracts/zipball/06450585bf65e978026bda220cdebca3f867fde7", - "reference": "06450585bf65e978026bda220cdebca3f867fde7", + "url": "https://api.github.com/repos/symfony/translation-contracts/zipball/b9d2189887bb6b2e0367a9fc7136c5239ab9b05a", + "reference": "b9d2189887bb6b2e0367a9fc7136c5239ab9b05a", "shasum": "" }, "require": { @@ -1837,7 +1838,7 @@ "type": "library", "extra": { "branch-alias": { - "dev-main": "3.4-dev" + "dev-main": "3.5-dev" }, "thanks": { "name": "symfony/contracts", @@ -1877,7 +1878,7 @@ "standards" ], "support": { - "source": "https://github.com/symfony/translation-contracts/tree/v3.4.1" + "source": "https://github.com/symfony/translation-contracts/tree/v3.5.0" }, "funding": [ { @@ -1893,7 +1894,7 @@ "type": "tidelift" } ], - "time": "2023-12-26T14:02:43+00:00" + "time": "2024-04-18T09:32:20+00:00" }, { "name": "voku/portable-ascii", diff --git a/modules/registrars/realtimeregister/realtimeregister.php b/modules/registrars/realtimeregister/realtimeregister.php index d55464f..9fd83df 100644 --- a/modules/registrars/realtimeregister/realtimeregister.php +++ b/modules/registrars/realtimeregister/realtimeregister.php @@ -5,6 +5,7 @@ use RealtimeRegister\Actions\CheckAvailability; use RealtimeRegister\Actions\GetContactDetails; use RealtimeRegister\Actions\GetDomainInformation; +use RealtimeRegister\Actions\RegisterDomain; use RealtimeRegister\Actions\SaveContactDetails; use RealtimeRegister\Actions\SaveNameservers; use RealtimeRegister\Actions\SaveRegistrarLock; @@ -84,6 +85,11 @@ function realtimeregister_AdminCustomButtonArray(array $params): array ]; } +function realtimeregister_RegisterDomain(array $params): array +{ + return App::dispatch(RegisterDomain::class, $params); +} + function realtimeregister_GetTldPricing(array $params) { // TODO for tldsync diff --git a/modules/registrars/realtimeregister/src/Actions/CheckAvailability.php b/modules/registrars/realtimeregister/src/Actions/CheckAvailability.php index 51b0dd7..41e4823 100644 --- a/modules/registrars/realtimeregister/src/Actions/CheckAvailability.php +++ b/modules/registrars/realtimeregister/src/Actions/CheckAvailability.php @@ -13,7 +13,6 @@ class CheckAvailability extends Action public function __invoke(Request $request) { $isProxy = App::isProxy(); - $isProxy->enable('premium'); $isProxyDomains = $isProxy->checkMany( @@ -24,6 +23,7 @@ public function __invoke(Request $request) $results = new ResultsList(); foreach ($isProxyDomains as $result) { + $tld = trim(strstr($result->getDomain(), '.'), '.'); $searchResult = new SearchResult($request->get('searchTerm'), $tld); @@ -47,7 +47,7 @@ public function __invoke(Request $request) $results->append($searchResult); - return $results; } + return $results; } } diff --git a/modules/registrars/realtimeregister/src/Actions/ContactDetailsTrait.php b/modules/registrars/realtimeregister/src/Actions/ContactDetailsTrait.php index 5ef8f6f..6eeb2af 100644 --- a/modules/registrars/realtimeregister/src/Actions/ContactDetailsTrait.php +++ b/modules/registrars/realtimeregister/src/Actions/ContactDetailsTrait.php @@ -2,6 +2,7 @@ namespace RealtimeRegister\Actions; +use Illuminate\Support\Arr; use SandwaveIo\RealtimeRegister\Domain\Contact; use SandwaveIo\RealtimeRegister\Domain\DomainContact; use SandwaveIo\RealtimeRegister\Domain\DomainDetails; diff --git a/modules/registrars/realtimeregister/src/Actions/DomainTrait.php b/modules/registrars/realtimeregister/src/Actions/DomainTrait.php index dc98310..e89dd13 100644 --- a/modules/registrars/realtimeregister/src/Actions/DomainTrait.php +++ b/modules/registrars/realtimeregister/src/Actions/DomainTrait.php @@ -4,6 +4,7 @@ use RealtimeRegister\App; use RealtimeRegister\Models\ContactMapping; +use RealtimeRegister\Services\ContactService; trait DomainTrait { @@ -32,34 +33,34 @@ protected function getOrCreateContact(int $clientId, int $contactId, string $rol return $handle; } - // Should we use the request domain? - // Fetch the whmcs contact $whmcsContact = App::localApi()->contact($clientId, $contactId); - if (!$whmcsContact) { - return null; - } - - $fields = [ - 'name' => $whmcsContact->get('') - ]; // Try and match the whmcs contact to a rtr contact - // Should we even match the contact? - $contacts = App::client()->contacts->list( - App::registrarConfig()->get('customer_handle'), - parameters: [ - 'order' => '-createdDate', - 'export' => true, - 'fields' => 'handle' - ] - ); + // Should we even match the contact? yes / on exception only? + + // $contact = ContactService::findRemote(); // If we do not find a match we create a new contact + $rtrContact = ContactService::convertToRtrContact($whmcsContact, $organizationAllowed); + $handle = uniqid(App::registrarConfig()->contactHandlePrefix() ?: ''); - // Map the contact in the mapper + App::client()->contacts->create( + customer: App::registrarConfig()->customerHandle(), + handle: $handle, + name: $rtrContact->get('name'), + addressLine: $rtrContact->get('addressLine'), + postalCode: $rtrContact->get('postalCode'), + city: $rtrContact->get('city'), + country: $rtrContact->get('country'), + email: $rtrContact->get('email'), + voice: $rtrContact->get('voice'), + organization: $rtrContact->get('organization'), + state: $rtrContact->get('state') + ); - // + ContactService::addContactMapping($clientId, $contactId, $handle, $organizationAllowed); + return $handle; } } diff --git a/modules/registrars/realtimeregister/src/Actions/RegisterDomain.php b/modules/registrars/realtimeregister/src/Actions/RegisterDomain.php index 0bc62bb..e524a59 100644 --- a/modules/registrars/realtimeregister/src/Actions/RegisterDomain.php +++ b/modules/registrars/realtimeregister/src/Actions/RegisterDomain.php @@ -4,16 +4,25 @@ use RealtimeRegister\App; use RealtimeRegister\Request; +use SandwaveIo\RealtimeRegister\Domain\DomainContactCollection; class RegisterDomain extends Action { use DomainTrait; + private static array $CONTACT_ROLES = [ + "TECH" => "techContacts", + "ADMIN" => "adminContacts", + "BILLING" => "billingContacts" + ]; + + /** * @throws \Exception */ public function __invoke(Request $request) { + $metadata = $this->metadata($request); $domain = $request->domain; @@ -29,18 +38,24 @@ public function __invoke(Request $request) $orderId = App::localApi()->domain( clientId: $request->get('clientid'), domainId: $request->get('domainid') - )->get('orderid'); + )->get('orderId'); $contactId = App::localApi()->order(id: $orderId)->get('contactid'); $contacts = []; - foreach (['REGISTRANT', 'ADMIN', 'BILLING'] as $role) { - $organizationAllowed = $metadata->{strtolower($role) . 'Contacts'}->organizationAllowed; + $registrant = $this->getOrCreateContact( + clientId: $request->get('client_id'), + contactId: $contactId, + role: 'REGISTRANT', + organizationAllowed: $metadata->registrant->organizationAllowed + ); + foreach (self::$CONTACT_ROLES as $role => $name) { + $organizationAllowed = $metadata->{$name}->organizationAllowed; $contacts[] = [ 'role' => $role, 'handle' => $this->getOrCreateContact( - clientId: $request->get('clientid'), + clientId: $request->get('client_id'), contactId: $contactId, role: $role, organizationAllowed: $organizationAllowed @@ -48,17 +63,14 @@ public function __invoke(Request $request) ]; } - // Fetch order id - // Fetch contact id - - // Create contacts for domain with all roles - - $registration = App::client()->domains->register( + App::client()->domains->register( domainName: $domain->domainName(), - customer: null, - registrant: null, + customer: App::registrarConfig()->customerHandle(), + registrant: $registrant, + period: $domain->period, autoRenew: false, - ns: $domain->nameservers + ns: $domain->nameservers, + contacts: DomainContactCollection::fromArray($contacts) ); } } diff --git a/modules/registrars/realtimeregister/src/App.php b/modules/registrars/realtimeregister/src/App.php index d008d66..174f3f6 100644 --- a/modules/registrars/realtimeregister/src/App.php +++ b/modules/registrars/realtimeregister/src/App.php @@ -25,7 +25,7 @@ class App protected const TABLE_REGISTRANT_HANDLE = 'mod_realtimeregister_registrant_handle'; protected const API_URL = "https://api.yoursrs.com/"; - protected const API_URL_TEST = "https://api.yoursrs-ote.com/"; + protected const API_URL_TEST = "host.docker.internal:8003"; //FIXME protected const IS_PROXY_HOST = "is.yoursrs.com"; protected const IS_PROXY_HOST_TEST = "is.yoursrs-ote.com"; @@ -119,7 +119,7 @@ public static function isProxy(): IsProxy } return static::$isProxy = new IsProxy( - apiKey: App::registrarConfig()->apiKey(), + apiKey: "cGlldGVyamFuL2FkbWluOmtlcvS8FZgoxd2yygmFBvvP0iJGmkyd2MrEh+PejQy/", host: App::registrarConfig()->isTest() ? self::IS_PROXY_HOST_TEST : self::IS_PROXY_HOST ); } diff --git a/modules/registrars/realtimeregister/src/Entities/Domain.php b/modules/registrars/realtimeregister/src/Entities/Domain.php index 1d4fc9d..c822d4c 100644 --- a/modules/registrars/realtimeregister/src/Entities/Domain.php +++ b/modules/registrars/realtimeregister/src/Entities/Domain.php @@ -9,6 +9,7 @@ class Domain public function __construct( public readonly string $name, public readonly string $tld, + public readonly int $period = 12, public readonly array $nameservers = [], public readonly ?Contact $registrant = null, public readonly ?Contact $admin = null, @@ -34,6 +35,7 @@ public static function fromWhmcs(array $params): static return new static( name: $params['sld'], tld: $params['tld'], + period: $params['period'] ?? 12, nameservers: array_filter([ $params['ns1'] ?? null, $params['ns2'] ?? null, diff --git a/modules/registrars/realtimeregister/src/LocalApi.php b/modules/registrars/realtimeregister/src/LocalApi.php index ac96912..c9f0de9 100644 --- a/modules/registrars/realtimeregister/src/LocalApi.php +++ b/modules/registrars/realtimeregister/src/LocalApi.php @@ -15,7 +15,8 @@ public function domains(array $filters = []): Collection { $data = localApi('GetClientsDomains', array_filter($filters)); - return collect($data['domains'] ?? [])->map(fn($domain) => new DataObject($domain)); + + return collect($data['domains'] ?? [])->map(fn($domain) => new DataObject($domain[0])); } public function domain(int $clientId = null, int $domainId = null, string $domain = null): ?DataObject @@ -35,7 +36,7 @@ public function orders(array $filters = []): Collection { $data = localApi('GetOrders', array_filter($filters)); - return collect($data['orders'] ?? [])->map(fn($order) => new DataObject($order)); + return collect($data['orders'] ?? [])->map(fn($order) => new DataObject($order[0])); } public function order( @@ -73,7 +74,9 @@ public function contact(int $clientId, int $contactId): ?DataObject $start += (int)$data['numreturned']; } while ($start < (int)$data['totalresults']); - return null; + + + return new DataObject(localAPI('GetClientsDetails', ['clientid' => $clientId])['client']); } public function createContact() diff --git a/modules/registrars/realtimeregister/src/Services/ContactService.php b/modules/registrars/realtimeregister/src/Services/ContactService.php index cdda9a4..dea16b5 100644 --- a/modules/registrars/realtimeregister/src/Services/ContactService.php +++ b/modules/registrars/realtimeregister/src/Services/ContactService.php @@ -5,15 +5,15 @@ use Illuminate\Database\Eloquent\Collection; use Illuminate\Support\Arr; use RealtimeRegister\App; -use RealtimeRegister\Entities\Contact; +use RealtimeRegister\Entities\DataObject; use RealtimeRegister\Models\ContactMapping; use SandwaveIo\RealtimeRegister\Domain\Contact as RTRContact; class ContactService { - public function findRemote(Contact $contact, bool $organizationAllowed) + public static function findRemote(DataObject $contact, bool $organizationAllowed) { - $params = Arr::only($contact->toArray(), ['organization', 'name', 'email', 'country']); + $params = Arr::only($contact->getArrayCopy(), ['organization', 'name', 'email', 'country']); if (!$organizationAllowed) { unset($params['organization']); @@ -25,14 +25,10 @@ public function findRemote(Contact $contact, bool $organizationAllowed) 'export' => true ]); - dd($params); - - $result = App::client()->contacts->list( + return App::client()->contacts->list( customer: App::registrarConfig()->customerHandle(), parameters: $params - ); - - dd($result); + )[0]; } public function findByContactId($contactId) @@ -47,6 +43,26 @@ public function findLocal(RTRContact $contact) // Search with data } + public static function convertToRtrContact(DataObject $whmcsContact, bool $organizationAllowed) : DataObject + { + $rtr_contact = [ + 'name' => trim($whmcsContact['firstname'] . " " . $whmcsContact['lastname']), + 'addressLine' => array_values(array_filter([$whmcsContact['address1'], $whmcsContact['address2']])), + 'postalCode' => $whmcsContact['postcode'], + 'city' => $whmcsContact['city'], + 'state' => $whmcsContact['state'], + 'country' => $whmcsContact['country'], + 'email' => $whmcsContact['email'], + 'voice' => $whmcsContact['phonenumberformatted'], + ]; + + if ($organizationAllowed) { + $rtr_contact['organization'] = $whmcsContact['organization']; + } + + return new DataObject($rtr_contact); + } + /** * @param string|int $userId * @param string|int $contactId @@ -67,4 +83,25 @@ public function handleHasMapping(string $handle): bool { return ContactMapping::query()->where('handle', $handle)->exists(); } + + public static function addContactMapping(int $clientId, int $contactId, string $handle, bool $orgAllowed): void { + ContactMapping::query()->insert([ + "userid" => $clientId, + "contactid" => $contactId, + "handle" => $handle, + "org_allowed" => $orgAllowed + ]); + } + + public static function getMatchingRtrContact() { + //TODO if necessary +// App::client()->contacts->list( +// App::registrarConfig()->get('customer_handle'), +// parameters: [ +// 'order' => '-createdDate', +// 'export' => true, +// 'fields' => 'handle' +// ] +// )->first(); + } } From 9935a45b97a7345fcdcf8022dcea112a2f4c3e84 Mon Sep 17 00:00:00 2001 From: "pieterjan.eilers" Date: Wed, 14 Aug 2024 13:16:49 +0200 Subject: [PATCH 2/2] fix period --- .../realtimeregister/src/Actions/Domains/RegisterDomain.php | 2 +- modules/registrars/realtimeregister/src/Entities/Domain.php | 2 -- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/modules/registrars/realtimeregister/src/Actions/Domains/RegisterDomain.php b/modules/registrars/realtimeregister/src/Actions/Domains/RegisterDomain.php index b371b06..2e20900 100644 --- a/modules/registrars/realtimeregister/src/Actions/Domains/RegisterDomain.php +++ b/modules/registrars/realtimeregister/src/Actions/Domains/RegisterDomain.php @@ -68,7 +68,7 @@ public function __invoke(Request $request) domainName: $domain->domainName(), customer: App::registrarConfig()->customerHandle(), registrant: $registrant, - period: $domain->period, + period: $request->registrationPeriod, autoRenew: false, ns: $domain->nameservers, contacts: DomainContactCollection::fromArray($contacts) diff --git a/modules/registrars/realtimeregister/src/Entities/Domain.php b/modules/registrars/realtimeregister/src/Entities/Domain.php index c822d4c..1d4fc9d 100644 --- a/modules/registrars/realtimeregister/src/Entities/Domain.php +++ b/modules/registrars/realtimeregister/src/Entities/Domain.php @@ -9,7 +9,6 @@ class Domain public function __construct( public readonly string $name, public readonly string $tld, - public readonly int $period = 12, public readonly array $nameservers = [], public readonly ?Contact $registrant = null, public readonly ?Contact $admin = null, @@ -35,7 +34,6 @@ public static function fromWhmcs(array $params): static return new static( name: $params['sld'], tld: $params['tld'], - period: $params['period'] ?? 12, nameservers: array_filter([ $params['ns1'] ?? null, $params['ns2'] ?? null,