diff --git a/.env.secrets.example b/.env.secrets.example new file mode 100644 index 000000000..7eaca7cbc --- /dev/null +++ b/.env.secrets.example @@ -0,0 +1,6 @@ +# Secrets related to pushing to GH, Sync files to BunnyCDN etc. +# Not related to Coolify, but to how we publish new versions. + +GITHUB_TOKEN= +BUNNY_API_KEY= +BUNNY_STORAGE_API_KEY= diff --git a/.github/workflows/production-build.yml b/.github/workflows/production-build.yml index 52dcaad25..611ffac15 100644 --- a/.github/workflows/production-build.yml +++ b/.github/workflows/production-build.yml @@ -19,6 +19,9 @@ jobs: registry: ${{ env.REGISTRY }} username: ${{ github.actor }} password: ${{ secrets.GITHUB_TOKEN }} + - name: Sync configuration files to BunnyCDN + run: | + docker run --rm -v "$(pwd):/app" -w /app php:8.2-alpine3.16 php artisan app:sync-to-bunny-cdn --env=secrets - name: Get Version id: version run: | @@ -31,7 +34,7 @@ jobs: platforms: linux/amd64 push: true tags: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:${{ steps.version.outputs.VERSION }} - - uses: sarisia/actions-status-discord@v1 - if: always() - with: - webhook: ${{ secrets.DISCORD_WEBHOOK_DEV_RELEASE_CHANNEL }} + # - uses: sarisia/actions-status-discord@v1 + # if: always() + # with: + # webhook: ${{ secrets.DISCORD_WEBHOOK_DEV_RELEASE_CHANNEL }} diff --git a/app/Console/Commands/SyncToBunnyCDN.php b/app/Console/Commands/SyncToBunnyCDN.php new file mode 100644 index 000000000..9b9357132 --- /dev/null +++ b/app/Console/Commands/SyncToBunnyCDN.php @@ -0,0 +1,77 @@ + env('BUNNY_STORAGE_API_KEY'), + 'Accept' => 'application/json', + 'Content-Type' => 'application/octet-stream' + ]; + $fileStream = fopen($file, "r"); + $file = fread($fileStream, filesize($file)); + return PendingRequest::baseUrl('https://storage.bunnycdn.com')->withHeaders($headers)->withBody($file)->throw(); + }); + try { + Http::pool(fn (Pool $pool) => [ + $pool->storage(file: "$parent_dir/$compose_file")->put("/$bunny_cdn_storage_name/$bunny_cdn_path/$compose_file"), + $pool->storage(file: "$parent_dir/$compose_file_prod")->put("/$bunny_cdn_storage_name/$bunny_cdn_path/$compose_file_prod"), + $pool->storage(file: "$parent_dir/scripts/$upgrade_script")->put("/$bunny_cdn_storage_name/$bunny_cdn_path/$upgrade_script"), + $pool->storage(file: "$parent_dir/$production_env")->put("/$bunny_cdn_storage_name/$bunny_cdn_path/$production_env"), + ]); + + $res = Http::withHeaders([ + 'AccessKey' => env('BUNNY_API_KEY'), + 'Accept' => 'application/json', + ])->get('https://api.bunny.net/purge', [ + "url" => e("$bunny_cdn/$bunny_cdn_path/$compose_file"), + "url" => e("$bunny_cdn/$bunny_cdn_path/$compose_file_prod"), + "url" => e("$bunny_cdn/$bunny_cdn_path/$upgrade_script"), + "url" => e("$bunny_cdn/$bunny_cdn_path/$production_env") + ]); + if ($res->ok()) { + echo 'All files uploaded & purged...'; + } + } catch (\Exception $e) { + echo 'Something went wrong.'; + echo $e->getMessage(); + } + } +} diff --git a/app/Http/Livewire/CheckUpdate.php b/app/Http/Livewire/CheckUpdate.php index cb253d175..f55d4d8b2 100644 --- a/app/Http/Livewire/CheckUpdate.php +++ b/app/Http/Livewire/CheckUpdate.php @@ -15,19 +15,17 @@ class CheckUpdate extends Component protected function upgrade() { - $branch = 'v4'; - $location = "https://raw.githubusercontent.com/coollabsio/coolify/$branch"; - + $cdn = "https://coolify-cdn.b-cdn.net/files"; $server = Server::where('ip', 'host.docker.internal')->first(); if (!$server) { return; } runRemoteCommandSync($server, [ - "curl -fsSL $location/docker-compose.yml -o /data/coolify/source/docker-compose.yml", - "curl -fsSL $location/docker-compose.prod.yml -o /data/coolify/source/docker-compose.prod.yml", - "curl -fsSL $location/.env.production -o /data/coolify/source/.env.production", - "curl -fsSL $location/scripts/upgrade.sh -o /data/coolify/source/upgrade.sh", + "curl -fsSL $cdn/docker-compose.yml -o /data/coolify/source/docker-compose.yml", + "curl -fsSL $cdn/docker-compose.prod.yml -o /data/coolify/source/docker-compose.prod.yml", + "curl -fsSL $cdn/.env.production -o /data/coolify/source/.env.production", + "curl -fsSL $cdn/upgrade.sh -o /data/coolify/source/upgrade.sh", "nohup bash /data/coolify/source/upgrade.sh $this->latestVersion &" ]); $this->emit('updateInitiated'); diff --git a/composer.json b/composer.json index 92f1fdf09..fee83295f 100644 --- a/composer.json +++ b/composer.json @@ -29,7 +29,9 @@ "pestphp/pest": "^v2.4.0", "phpunit/phpunit": "^10.0.19", "serversideup/spin": "^v1.1.0", - "spatie/laravel-ignition": "^2.1.0" + "spatie/laravel-ignition": "^2.1.0", + "symfony/http-client": "^6.2", + "toshy/bunnynet-php": "^3.0" }, "autoload": { "files": [ diff --git a/composer.lock b/composer.lock index dd3966948..be92f572a 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": "987e0c4c7aea49957b194208f27253b3", + "content-hash": "fe67e3799aed430897c4ad82f323abe1", "packages": [ { "name": "bacon/bacon-qr-code", @@ -62,26 +62,25 @@ }, { "name": "brick/math", - "version": "0.10.2", + "version": "0.11.0", "source": { "type": "git", "url": "https://github.com/brick/math.git", - "reference": "459f2781e1a08d52ee56b0b1444086e038561e3f" + "reference": "0ad82ce168c82ba30d1c01ec86116ab52f589478" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/brick/math/zipball/459f2781e1a08d52ee56b0b1444086e038561e3f", - "reference": "459f2781e1a08d52ee56b0b1444086e038561e3f", + "url": "https://api.github.com/repos/brick/math/zipball/0ad82ce168c82ba30d1c01ec86116ab52f589478", + "reference": "0ad82ce168c82ba30d1c01ec86116ab52f589478", "shasum": "" }, "require": { - "ext-json": "*", - "php": "^7.4 || ^8.0" + "php": "^8.0" }, "require-dev": { "php-coveralls/php-coveralls": "^2.2", "phpunit/phpunit": "^9.0", - "vimeo/psalm": "4.25.0" + "vimeo/psalm": "5.0.0" }, "type": "library", "autoload": { @@ -106,7 +105,7 @@ ], "support": { "issues": "https://github.com/brick/math/issues", - "source": "https://github.com/brick/math/tree/0.10.2" + "source": "https://github.com/brick/math/tree/0.11.0" }, "funding": [ { @@ -114,7 +113,7 @@ "type": "github" } ], - "time": "2022-08-10T22:54:19+00:00" + "time": "2023-01-15T23:15:59+00:00" }, { "name": "dasprid/enum", @@ -715,22 +714,22 @@ }, { "name": "guzzlehttp/guzzle", - "version": "7.5.0", + "version": "7.5.1", "source": { "type": "git", "url": "https://github.com/guzzle/guzzle.git", - "reference": "b50a2a1251152e43f6a37f0fa053e730a67d25ba" + "reference": "b964ca597e86b752cd994f27293e9fa6b6a95ed9" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/guzzle/guzzle/zipball/b50a2a1251152e43f6a37f0fa053e730a67d25ba", - "reference": "b50a2a1251152e43f6a37f0fa053e730a67d25ba", + "url": "https://api.github.com/repos/guzzle/guzzle/zipball/b964ca597e86b752cd994f27293e9fa6b6a95ed9", + "reference": "b964ca597e86b752cd994f27293e9fa6b6a95ed9", "shasum": "" }, "require": { "ext-json": "*", "guzzlehttp/promises": "^1.5", - "guzzlehttp/psr7": "^1.9 || ^2.4", + "guzzlehttp/psr7": "^1.9.1 || ^2.4.5", "php": "^7.2.5 || ^8.0", "psr/http-client": "^1.0", "symfony/deprecation-contracts": "^2.2 || ^3.0" @@ -823,7 +822,7 @@ ], "support": { "issues": "https://github.com/guzzle/guzzle/issues", - "source": "https://github.com/guzzle/guzzle/tree/7.5.0" + "source": "https://github.com/guzzle/guzzle/tree/7.5.1" }, "funding": [ { @@ -839,7 +838,7 @@ "type": "tidelift" } ], - "time": "2022-08-28T15:39:27+00:00" + "time": "2023-04-17T16:30:08+00:00" }, { "name": "guzzlehttp/promises", @@ -927,22 +926,22 @@ }, { "name": "guzzlehttp/psr7", - "version": "2.4.4", + "version": "2.5.0", "source": { "type": "git", "url": "https://github.com/guzzle/psr7.git", - "reference": "3cf1b6d4f0c820a2cf8bcaec39fc698f3443b5cf" + "reference": "b635f279edd83fc275f822a1188157ffea568ff6" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/guzzle/psr7/zipball/3cf1b6d4f0c820a2cf8bcaec39fc698f3443b5cf", - "reference": "3cf1b6d4f0c820a2cf8bcaec39fc698f3443b5cf", + "url": "https://api.github.com/repos/guzzle/psr7/zipball/b635f279edd83fc275f822a1188157ffea568ff6", + "reference": "b635f279edd83fc275f822a1188157ffea568ff6", "shasum": "" }, "require": { "php": "^7.2.5 || ^8.0", "psr/http-factory": "^1.0", - "psr/http-message": "^1.0", + "psr/http-message": "^1.1 || ^2.0", "ralouphie/getallheaders": "^3.0" }, "provide": { @@ -962,9 +961,6 @@ "bamarni-bin": { "bin-links": true, "forward-command": false - }, - "branch-alias": { - "dev-master": "2.4-dev" } }, "autoload": { @@ -1026,7 +1022,7 @@ ], "support": { "issues": "https://github.com/guzzle/psr7/issues", - "source": "https://github.com/guzzle/psr7/tree/2.4.4" + "source": "https://github.com/guzzle/psr7/tree/2.5.0" }, "funding": [ { @@ -1042,7 +1038,7 @@ "type": "tidelift" } ], - "time": "2023-03-09T13:19:02+00:00" + "time": "2023-04-17T16:11:26+00:00" }, { "name": "guzzlehttp/uri-template", @@ -1130,16 +1126,16 @@ }, { "name": "laravel/fortify", - "version": "v1.16.0", + "version": "v1.17.1", "source": { "type": "git", "url": "https://github.com/laravel/fortify.git", - "reference": "e626fc70fcd940d01326c6c44512398cccc3113c" + "reference": "76908639d6c58a4996ce8bbacea9ec7f610b2ec6" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/laravel/fortify/zipball/e626fc70fcd940d01326c6c44512398cccc3113c", - "reference": "e626fc70fcd940d01326c6c44512398cccc3113c", + "url": "https://api.github.com/repos/laravel/fortify/zipball/76908639d6c58a4996ce8bbacea9ec7f610b2ec6", + "reference": "76908639d6c58a4996ce8bbacea9ec7f610b2ec6", "shasum": "" }, "require": { @@ -1152,6 +1148,7 @@ "require-dev": { "mockery/mockery": "^1.0", "orchestra/testbench": "^6.0|^7.0|^8.0", + "phpstan/phpstan": "^1.10", "phpunit/phpunit": "^9.3" }, "type": "library", @@ -1189,20 +1186,20 @@ "issues": "https://github.com/laravel/fortify/issues", "source": "https://github.com/laravel/fortify" }, - "time": "2023-01-06T15:57:08+00:00" + "time": "2023-04-19T15:48:59+00:00" }, { "name": "laravel/framework", - "version": "v10.7.1", + "version": "v10.9.0", "source": { "type": "git", "url": "https://github.com/laravel/framework.git", - "reference": "ddbbb2b50388721fe63312bb4469cae13163fd36" + "reference": "35078125f61ef0b125edf524de934f108d4b47fd" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/laravel/framework/zipball/ddbbb2b50388721fe63312bb4469cae13163fd36", - "reference": "ddbbb2b50388721fe63312bb4469cae13163fd36", + "url": "https://api.github.com/repos/laravel/framework/zipball/35078125f61ef0b125edf524de934f108d4b47fd", + "reference": "35078125f61ef0b125edf524de934f108d4b47fd", "shasum": "" }, "require": { @@ -1389,20 +1386,20 @@ "issues": "https://github.com/laravel/framework/issues", "source": "https://github.com/laravel/framework" }, - "time": "2023-04-11T14:11:49+00:00" + "time": "2023-04-25T13:47:18+00:00" }, { "name": "laravel/sanctum", - "version": "v3.2.1", + "version": "v3.2.4", "source": { "type": "git", "url": "https://github.com/laravel/sanctum.git", - "reference": "d09d69bac55708fcd4a3b305d760e673d888baf9" + "reference": "c8269dcff3cda261ce113ab9548a0253d709aa91" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/laravel/sanctum/zipball/d09d69bac55708fcd4a3b305d760e673d888baf9", - "reference": "d09d69bac55708fcd4a3b305d760e673d888baf9", + "url": "https://api.github.com/repos/laravel/sanctum/zipball/c8269dcff3cda261ce113ab9548a0253d709aa91", + "reference": "c8269dcff3cda261ce113ab9548a0253d709aa91", "shasum": "" }, "require": { @@ -1416,6 +1413,7 @@ "require-dev": { "mockery/mockery": "^1.0", "orchestra/testbench": "^7.0|^8.0", + "phpstan/phpstan": "^1.10", "phpunit/phpunit": "^9.3" }, "type": "library", @@ -1454,7 +1452,7 @@ "issues": "https://github.com/laravel/sanctum/issues", "source": "https://github.com/laravel/sanctum" }, - "time": "2023-01-13T15:41:49+00:00" + "time": "2023-04-26T18:55:47+00:00" }, { "name": "laravel/serializable-closure", @@ -2812,16 +2810,16 @@ }, { "name": "phpstan/phpdoc-parser", - "version": "1.18.1", + "version": "1.20.3", "source": { "type": "git", "url": "https://github.com/phpstan/phpdoc-parser.git", - "reference": "22dcdfd725ddf99583bfe398fc624ad6c5004a0f" + "reference": "6c04009f6cae6eda2f040745b6b846080ef069c2" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/phpstan/phpdoc-parser/zipball/22dcdfd725ddf99583bfe398fc624ad6c5004a0f", - "reference": "22dcdfd725ddf99583bfe398fc624ad6c5004a0f", + "url": "https://api.github.com/repos/phpstan/phpdoc-parser/zipball/6c04009f6cae6eda2f040745b6b846080ef069c2", + "reference": "6c04009f6cae6eda2f040745b6b846080ef069c2", "shasum": "" }, "require": { @@ -2851,9 +2849,9 @@ "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.18.1" + "source": "https://github.com/phpstan/phpdoc-parser/tree/1.20.3" }, - "time": "2023-04-07T11:51:11+00:00" + "time": "2023-04-25T09:01:03+00:00" }, { "name": "pimple/pimple", @@ -3220,16 +3218,16 @@ }, { "name": "psr/http-message", - "version": "1.1", + "version": "2.0", "source": { "type": "git", "url": "https://github.com/php-fig/http-message.git", - "reference": "cb6ce4845ce34a8ad9e68117c10ee90a29919eba" + "reference": "402d35bcb92c70c026d1a6a9883f06b2ead23d71" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/php-fig/http-message/zipball/cb6ce4845ce34a8ad9e68117c10ee90a29919eba", - "reference": "cb6ce4845ce34a8ad9e68117c10ee90a29919eba", + "url": "https://api.github.com/repos/php-fig/http-message/zipball/402d35bcb92c70c026d1a6a9883f06b2ead23d71", + "reference": "402d35bcb92c70c026d1a6a9883f06b2ead23d71", "shasum": "" }, "require": { @@ -3238,7 +3236,7 @@ "type": "library", "extra": { "branch-alias": { - "dev-master": "1.1.x-dev" + "dev-master": "2.0.x-dev" } }, "autoload": { @@ -3253,7 +3251,7 @@ "authors": [ { "name": "PHP-FIG", - "homepage": "http://www.php-fig.org/" + "homepage": "https://www.php-fig.org/" } ], "description": "Common interface for HTTP messages", @@ -3267,9 +3265,9 @@ "response" ], "support": { - "source": "https://github.com/php-fig/http-message/tree/1.1" + "source": "https://github.com/php-fig/http-message/tree/2.0" }, - "time": "2023-04-04T09:50:52+00:00" + "time": "2023-04-04T09:54:51+00:00" }, { "name": "psr/log", @@ -3374,16 +3372,16 @@ }, { "name": "psy/psysh", - "version": "v0.11.15", + "version": "v0.11.16", "source": { "type": "git", "url": "https://github.com/bobthecow/psysh.git", - "reference": "5350ce0ec8ecf2c5b5cf554cd2496f97b444af85" + "reference": "151b145906804eea8e5d71fea23bfb470c904bfb" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/bobthecow/psysh/zipball/5350ce0ec8ecf2c5b5cf554cd2496f97b444af85", - "reference": "5350ce0ec8ecf2c5b5cf554cd2496f97b444af85", + "url": "https://api.github.com/repos/bobthecow/psysh/zipball/151b145906804eea8e5d71fea23bfb470c904bfb", + "reference": "151b145906804eea8e5d71fea23bfb470c904bfb", "shasum": "" }, "require": { @@ -3444,9 +3442,9 @@ ], "support": { "issues": "https://github.com/bobthecow/psysh/issues", - "source": "https://github.com/bobthecow/psysh/tree/v0.11.15" + "source": "https://github.com/bobthecow/psysh/tree/v0.11.16" }, - "time": "2023-04-07T21:57:09+00:00" + "time": "2023-04-26T12:53:57+00:00" }, { "name": "ralouphie/getallheaders", @@ -3583,20 +3581,20 @@ }, { "name": "ramsey/uuid", - "version": "4.7.3", + "version": "4.7.4", "source": { "type": "git", "url": "https://github.com/ramsey/uuid.git", - "reference": "433b2014e3979047db08a17a205f410ba3869cf2" + "reference": "60a4c63ab724854332900504274f6150ff26d286" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/ramsey/uuid/zipball/433b2014e3979047db08a17a205f410ba3869cf2", - "reference": "433b2014e3979047db08a17a205f410ba3869cf2", + "url": "https://api.github.com/repos/ramsey/uuid/zipball/60a4c63ab724854332900504274f6150ff26d286", + "reference": "60a4c63ab724854332900504274f6150ff26d286", "shasum": "" }, "require": { - "brick/math": "^0.8.8 || ^0.9 || ^0.10", + "brick/math": "^0.8.8 || ^0.9 || ^0.10 || ^0.11", "ext-json": "*", "php": "^8.0", "ramsey/collection": "^1.2 || ^2.0" @@ -3659,7 +3657,7 @@ ], "support": { "issues": "https://github.com/ramsey/uuid/issues", - "source": "https://github.com/ramsey/uuid/tree/4.7.3" + "source": "https://github.com/ramsey/uuid/tree/4.7.4" }, "funding": [ { @@ -3671,7 +3669,7 @@ "type": "tidelift" } ], - "time": "2023-01-12T18:13:24+00:00" + "time": "2023-04-15T23:01:58+00:00" }, { "name": "spatie/backtrace", @@ -3828,16 +3826,16 @@ }, { "name": "spatie/laravel-data", - "version": "3.4.3", + "version": "3.4.4", "source": { "type": "git", "url": "https://github.com/spatie/laravel-data.git", - "reference": "f573c7a5e35acce4fea7ccba8fa8d6449cf1e987" + "reference": "d0208dbc6d49ca44ef3ba0dd542cd83ba15bcbc4" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/spatie/laravel-data/zipball/f573c7a5e35acce4fea7ccba8fa8d6449cf1e987", - "reference": "f573c7a5e35acce4fea7ccba8fa8d6449cf1e987", + "url": "https://api.github.com/repos/spatie/laravel-data/zipball/d0208dbc6d49ca44ef3ba0dd542cd83ba15bcbc4", + "reference": "d0208dbc6d49ca44ef3ba0dd542cd83ba15bcbc4", "shasum": "" }, "require": { @@ -3899,7 +3897,7 @@ ], "support": { "issues": "https://github.com/spatie/laravel-data/issues", - "source": "https://github.com/spatie/laravel-data/tree/3.4.3" + "source": "https://github.com/spatie/laravel-data/tree/3.4.4" }, "funding": [ { @@ -3907,20 +3905,20 @@ "type": "github" } ], - "time": "2023-04-12T10:50:15+00:00" + "time": "2023-04-14T08:24:46+00:00" }, { "name": "spatie/laravel-package-tools", - "version": "1.14.2", + "version": "1.15.0", "source": { "type": "git", "url": "https://github.com/spatie/laravel-package-tools.git", - "reference": "bab62023a4745a61170ad5424184533685e73c2d" + "reference": "efab1844b8826443135201c4443690f032c3d533" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/spatie/laravel-package-tools/zipball/bab62023a4745a61170ad5424184533685e73c2d", - "reference": "bab62023a4745a61170ad5424184533685e73c2d", + "url": "https://api.github.com/repos/spatie/laravel-package-tools/zipball/efab1844b8826443135201c4443690f032c3d533", + "reference": "efab1844b8826443135201c4443690f032c3d533", "shasum": "" }, "require": { @@ -3959,7 +3957,7 @@ ], "support": { "issues": "https://github.com/spatie/laravel-package-tools/issues", - "source": "https://github.com/spatie/laravel-package-tools/tree/1.14.2" + "source": "https://github.com/spatie/laravel-package-tools/tree/1.15.0" }, "funding": [ { @@ -3967,7 +3965,7 @@ "type": "github" } ], - "time": "2023-03-14T16:41:21+00:00" + "time": "2023-04-27T08:09:01+00:00" }, { "name": "spatie/laravel-ray", @@ -4182,21 +4180,21 @@ }, { "name": "spatie/url", - "version": "2.2.0", + "version": "2.2.1", "source": { "type": "git", "url": "https://github.com/spatie/url.git", - "reference": "8a52d669b7ada3bd8ba4a3cdba885056a35a978d" + "reference": "70468105958905d9a8566409212715e9754ca242" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/spatie/url/zipball/8a52d669b7ada3bd8ba4a3cdba885056a35a978d", - "reference": "8a52d669b7ada3bd8ba4a3cdba885056a35a978d", + "url": "https://api.github.com/repos/spatie/url/zipball/70468105958905d9a8566409212715e9754ca242", + "reference": "70468105958905d9a8566409212715e9754ca242", "shasum": "" }, "require": { "php": "^8.0", - "psr/http-message": "^1.0", + "psr/http-message": "^1.0 || ^2.0", "spatie/macroable": "^2.0" }, "require-dev": { @@ -4228,7 +4226,7 @@ ], "support": { "issues": "https://github.com/spatie/url/issues", - "source": "https://github.com/spatie/url/tree/2.2.0" + "source": "https://github.com/spatie/url/tree/2.2.1" }, "funding": [ { @@ -4240,7 +4238,7 @@ "type": "github" } ], - "time": "2022-12-14T09:57:56+00:00" + "time": "2023-04-27T11:07:22+00:00" }, { "name": "symfony/console", @@ -7130,27 +7128,27 @@ }, { "name": "zbateson/stream-decorators", - "version": "1.1.0", + "version": "1.2.0", "source": { "type": "git", "url": "https://github.com/zbateson/stream-decorators.git", - "reference": "7466ff45d249c86b96267a83cdae68365ae1787e" + "reference": "712b9e7d25dc665a6c64bdba65929bbb6f0932aa" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/zbateson/stream-decorators/zipball/7466ff45d249c86b96267a83cdae68365ae1787e", - "reference": "7466ff45d249c86b96267a83cdae68365ae1787e", + "url": "https://api.github.com/repos/zbateson/stream-decorators/zipball/712b9e7d25dc665a6c64bdba65929bbb6f0932aa", + "reference": "712b9e7d25dc665a6c64bdba65929bbb6f0932aa", "shasum": "" }, "require": { "guzzlehttp/psr7": "^1.9 | ^2.0", - "php": ">=7.1", + "php": ">=7.2", "zbateson/mb-wrapper": "^1.0.0" }, "require-dev": { "friendsofphp/php-cs-fixer": "*", "phpstan/phpstan": "*", - "phpunit/phpunit": "<=9.0" + "phpunit/phpunit": "<10.0" }, "type": "library", "autoload": { @@ -7181,7 +7179,7 @@ ], "support": { "issues": "https://github.com/zbateson/stream-decorators/issues", - "source": "https://github.com/zbateson/stream-decorators/tree/1.1.0" + "source": "https://github.com/zbateson/stream-decorators/tree/1.2.0" }, "funding": [ { @@ -7189,22 +7187,22 @@ "type": "github" } ], - "time": "2023-01-11T23:22:44+00:00" + "time": "2023-04-19T16:56:59+00:00" } ], "packages-dev": [ { "name": "brianium/paratest", - "version": "v7.1.2", + "version": "v7.1.3", "source": { "type": "git", "url": "https://github.com/paratestphp/paratest.git", - "reference": "10e66ccdad397200f8129a034f0d3bf8cbe4c524" + "reference": "f394bb33b2bb7a4120b531e8991409b7aa62fc43" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/paratestphp/paratest/zipball/10e66ccdad397200f8129a034f0d3bf8cbe4c524", - "reference": "10e66ccdad397200f8129a034f0d3bf8cbe4c524", + "url": "https://api.github.com/repos/paratestphp/paratest/zipball/f394bb33b2bb7a4120b531e8991409b7aa62fc43", + "reference": "f394bb33b2bb7a4120b531e8991409b7aa62fc43", "shasum": "" }, "require": { @@ -7215,23 +7213,23 @@ "fidry/cpu-core-counter": "^0.4.1 || ^0.5.1", "jean85/pretty-package-versions": "^2.0.5", "php": "~8.1.0 || ~8.2.0", - "phpunit/php-code-coverage": "^10.0.2", + "phpunit/php-code-coverage": "^10.1.0", "phpunit/php-file-iterator": "^4.0.1", "phpunit/php-timer": "^6.0", - "phpunit/phpunit": "^10.0.17", - "sebastian/environment": "^6.0", - "symfony/console": "^6.2.7", - "symfony/process": "^6.2.7" + "phpunit/phpunit": "^10.1.0", + "sebastian/environment": "^6.0.1", + "symfony/console": "^6.2.8", + "symfony/process": "^6.2.8" }, "require-dev": { "doctrine/coding-standard": "^11.1.0", "ext-pcov": "*", "ext-posix": "*", "infection/infection": "^0.26.19", - "phpstan/phpstan": "^1.10.7", + "phpstan/phpstan": "^1.10.13", "phpstan/phpstan-deprecation-rules": "^1.1.3", - "phpstan/phpstan-phpunit": "^1.3.10", - "phpstan/phpstan-strict-rules": "^1.5", + "phpstan/phpstan-phpunit": "^1.3.11", + "phpstan/phpstan-strict-rules": "^1.5.1", "squizlabs/php_codesniffer": "^3.7.2", "symfony/filesystem": "^6.2.7" }, @@ -7274,7 +7272,7 @@ ], "support": { "issues": "https://github.com/paratestphp/paratest/issues", - "source": "https://github.com/paratestphp/paratest/tree/v7.1.2" + "source": "https://github.com/paratestphp/paratest/tree/v7.1.3" }, "funding": [ { @@ -7286,7 +7284,7 @@ "type": "paypal" } ], - "time": "2023-03-20T15:15:41+00:00" + "time": "2023-04-14T06:17:37+00:00" }, { "name": "fakerphp/faker", @@ -7600,16 +7598,16 @@ }, { "name": "laravel/dusk", - "version": "v7.7.0", + "version": "v7.7.1", "source": { "type": "git", "url": "https://github.com/laravel/dusk.git", - "reference": "c1d17269c317bc99fef3c2e885465d0bb6398434" + "reference": "836338ec355fc129b09f26f3cbc19de2daf065ad" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/laravel/dusk/zipball/c1d17269c317bc99fef3c2e885465d0bb6398434", - "reference": "c1d17269c317bc99fef3c2e885465d0bb6398434", + "url": "https://api.github.com/repos/laravel/dusk/zipball/836338ec355fc129b09f26f3cbc19de2daf065ad", + "reference": "836338ec355fc129b09f26f3cbc19de2daf065ad", "shasum": "" }, "require": { @@ -7628,7 +7626,9 @@ "require-dev": { "mockery/mockery": "^1.4.2", "orchestra/testbench": "^7.0|^8.0", - "phpunit/phpunit": "^9.5.10|^10.0.1" + "phpstan/phpstan": "^1.10", + "phpunit/phpunit": "^9.5.10|^10.0.1", + "psy/psysh": "^0.11.12" }, "suggest": { "ext-pcntl": "Used to gracefully terminate Dusk when tests are running." @@ -7667,22 +7667,22 @@ ], "support": { "issues": "https://github.com/laravel/dusk/issues", - "source": "https://github.com/laravel/dusk/tree/v7.7.0" + "source": "https://github.com/laravel/dusk/tree/v7.7.1" }, - "time": "2023-02-21T11:38:10+00:00" + "time": "2023-04-13T14:50:22+00:00" }, { "name": "laravel/pint", - "version": "v1.8.0", + "version": "v1.10.0", "source": { "type": "git", "url": "https://github.com/laravel/pint.git", - "reference": "4b8f2ef22bfcddd1d163cfd282e3f42ee1a5cce2" + "reference": "c7a01fa9bdd79819e7a2f1ba63ac1b02e6692dbc" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/laravel/pint/zipball/4b8f2ef22bfcddd1d163cfd282e3f42ee1a5cce2", - "reference": "4b8f2ef22bfcddd1d163cfd282e3f42ee1a5cce2", + "url": "https://api.github.com/repos/laravel/pint/zipball/c7a01fa9bdd79819e7a2f1ba63ac1b02e6692dbc", + "reference": "c7a01fa9bdd79819e7a2f1ba63ac1b02e6692dbc", "shasum": "" }, "require": { @@ -7735,7 +7735,7 @@ "issues": "https://github.com/laravel/pint/issues", "source": "https://github.com/laravel/pint" }, - "time": "2023-04-04T13:08:09+00:00" + "time": "2023-04-25T14:52:30+00:00" }, { "name": "mockery/mockery", @@ -7868,105 +7868,42 @@ ], "time": "2023-03-08T13:26:56+00:00" }, - { - "name": "myclabs/php-enum", - "version": "1.8.4", - "source": { - "type": "git", - "url": "https://github.com/myclabs/php-enum.git", - "reference": "a867478eae49c9f59ece437ae7f9506bfaa27483" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/myclabs/php-enum/zipball/a867478eae49c9f59ece437ae7f9506bfaa27483", - "reference": "a867478eae49c9f59ece437ae7f9506bfaa27483", - "shasum": "" - }, - "require": { - "ext-json": "*", - "php": "^7.3 || ^8.0" - }, - "require-dev": { - "phpunit/phpunit": "^9.5", - "squizlabs/php_codesniffer": "1.*", - "vimeo/psalm": "^4.6.2" - }, - "type": "library", - "autoload": { - "psr-4": { - "MyCLabs\\Enum\\": "src/" - }, - "classmap": [ - "stubs/Stringable.php" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "PHP Enum contributors", - "homepage": "https://github.com/myclabs/php-enum/graphs/contributors" - } - ], - "description": "PHP Enum implementation", - "homepage": "http://github.com/myclabs/php-enum", - "keywords": [ - "enum" - ], - "support": { - "issues": "https://github.com/myclabs/php-enum/issues", - "source": "https://github.com/myclabs/php-enum/tree/1.8.4" - }, - "funding": [ - { - "url": "https://github.com/mnapoli", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/myclabs/php-enum", - "type": "tidelift" - } - ], - "time": "2022-08-04T09:53:51+00:00" - }, { "name": "nunomaduro/collision", - "version": "v7.4.0", + "version": "v7.5.2", "source": { "type": "git", "url": "https://github.com/nunomaduro/collision.git", - "reference": "42bab217d4913d6610f341d0468cec860aae165e" + "reference": "76b3cabda0aabda455fc3b9db6c3615f5a87c7ff" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/nunomaduro/collision/zipball/42bab217d4913d6610f341d0468cec860aae165e", - "reference": "42bab217d4913d6610f341d0468cec860aae165e", + "url": "https://api.github.com/repos/nunomaduro/collision/zipball/76b3cabda0aabda455fc3b9db6c3615f5a87c7ff", + "reference": "76b3cabda0aabda455fc3b9db6c3615f5a87c7ff", "shasum": "" }, "require": { - "filp/whoops": "^2.15.1", + "filp/whoops": "^2.15.2", "nunomaduro/termwind": "^1.15.1", "php": "^8.1.0", - "symfony/console": "^6.2.7" + "symfony/console": "^6.2.8" }, "conflict": { - "phpunit/phpunit": "<10.0.17" + "phpunit/phpunit": "<10.1.2" }, "require-dev": { - "brianium/paratest": "^7.1.2", - "laravel/framework": "^10.5.1", - "laravel/pint": "^1.7.0", - "laravel/sail": "^1.21.3", + "brianium/paratest": "^7.1.3", + "laravel/framework": "^10.8.0", + "laravel/pint": "^1.9.0", + "laravel/sail": "^1.21.4", "laravel/sanctum": "^3.2.1", "laravel/tinker": "^2.8.1", - "nunomaduro/larastan": "^2.5.1", - "orchestra/testbench-core": "^8.2.0", - "pestphp/pest": "^2.3.0", - "phpunit/phpunit": "^10.0.19", - "sebastian/environment": "^6.0.0", - "spatie/laravel-ignition": "^2.0.0" + "nunomaduro/larastan": "^2.6.0", + "orchestra/testbench-core": "^8.5.0", + "pestphp/pest": "^2.5.2", + "phpunit/phpunit": "^10.1.1", + "sebastian/environment": "^6.0.1", + "spatie/laravel-ignition": "^2.1.0" }, "type": "library", "extra": { @@ -8025,33 +7962,111 @@ "type": "patreon" } ], - "time": "2023-03-31T08:17:12+00:00" + "time": "2023-04-22T22:12:40+00:00" }, { - "name": "pestphp/pest", - "version": "v2.4.0", + "name": "nyholm/psr7", + "version": "1.7.0", "source": { "type": "git", - "url": "https://github.com/pestphp/pest.git", - "reference": "12c75524a2548e787ade52023d6e2d5725dba9bb" + "url": "https://github.com/Nyholm/psr7.git", + "reference": "ed7cf98f6562831dbc3c962406b5e49dc8179c8c" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/pestphp/pest/zipball/12c75524a2548e787ade52023d6e2d5725dba9bb", - "reference": "12c75524a2548e787ade52023d6e2d5725dba9bb", + "url": "https://api.github.com/repos/Nyholm/psr7/zipball/ed7cf98f6562831dbc3c962406b5e49dc8179c8c", + "reference": "ed7cf98f6562831dbc3c962406b5e49dc8179c8c", "shasum": "" }, "require": { - "brianium/paratest": "^7.1.2", - "nunomaduro/collision": "^7.4.0", + "php": ">=7.2", + "php-http/message-factory": "^1.0", + "psr/http-factory": "^1.0", + "psr/http-message": "^1.1 || ^2.0" + }, + "provide": { + "php-http/message-factory-implementation": "1.0", + "psr/http-factory-implementation": "1.0", + "psr/http-message-implementation": "1.0" + }, + "require-dev": { + "http-interop/http-factory-tests": "^0.9", + "php-http/psr7-integration-tests": "^1.0@dev", + "phpunit/phpunit": "^7.5 || 8.5 || 9.4", + "symfony/error-handler": "^4.4" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "1.7-dev" + } + }, + "autoload": { + "psr-4": { + "Nyholm\\Psr7\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Tobias Nyholm", + "email": "tobias.nyholm@gmail.com" + }, + { + "name": "Martijn van der Ven", + "email": "martijn@vanderven.se" + } + ], + "description": "A fast PHP7 implementation of PSR-7", + "homepage": "https://tnyholm.se", + "keywords": [ + "psr-17", + "psr-7" + ], + "support": { + "issues": "https://github.com/Nyholm/psr7/issues", + "source": "https://github.com/Nyholm/psr7/tree/1.7.0" + }, + "funding": [ + { + "url": "https://github.com/Zegnat", + "type": "github" + }, + { + "url": "https://github.com/nyholm", + "type": "github" + } + ], + "time": "2023-04-20T08:38:48+00:00" + }, + { + "name": "pestphp/pest", + "version": "v2.5.3", + "source": { + "type": "git", + "url": "https://github.com/pestphp/pest.git", + "reference": "9842e1051d77d3eb1c598dd459b1babfa73a04eb" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/pestphp/pest/zipball/9842e1051d77d3eb1c598dd459b1babfa73a04eb", + "reference": "9842e1051d77d3eb1c598dd459b1babfa73a04eb", + "shasum": "" + }, + "require": { + "brianium/paratest": "^7.1.3", + "nunomaduro/collision": "^7.5.2", "nunomaduro/termwind": "^1.15.1", "pestphp/pest-plugin": "^2.0.1", - "pestphp/pest-plugin-arch": "^2.1.1", + "pestphp/pest-plugin-arch": "^2.1.2", "php": "^8.1.0", - "phpunit/phpunit": "^10.0.19" + "phpunit/phpunit": "^10.1.2" }, "conflict": { - "phpunit/phpunit": ">10.0.19", + "phpunit/phpunit": ">10.1.2", "webmozart/assert": "<1.11.0" }, "require-dev": { @@ -8112,7 +8127,7 @@ ], "support": { "issues": "https://github.com/pestphp/pest/issues", - "source": "https://github.com/pestphp/pest/tree/v2.4.0" + "source": "https://github.com/pestphp/pest/tree/v2.5.3" }, "funding": [ { @@ -8124,7 +8139,7 @@ "type": "github" } ], - "time": "2023-04-02T20:12:31+00:00" + "time": "2023-04-22T22:14:57+00:00" }, { "name": "pestphp/pest-plugin", @@ -8197,26 +8212,26 @@ }, { "name": "pestphp/pest-plugin-arch", - "version": "v2.1.1", + "version": "v2.1.2", "source": { "type": "git", "url": "https://github.com/pestphp/pest-plugin-arch.git", - "reference": "eb458dee939014a7f796147fa011db5e73dac63c" + "reference": "485cbfbe2e194e9cfd8284625bd8922c9d27ac6f" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/pestphp/pest-plugin-arch/zipball/eb458dee939014a7f796147fa011db5e73dac63c", - "reference": "eb458dee939014a7f796147fa011db5e73dac63c", + "url": "https://api.github.com/repos/pestphp/pest-plugin-arch/zipball/485cbfbe2e194e9cfd8284625bd8922c9d27ac6f", + "reference": "485cbfbe2e194e9cfd8284625bd8922c9d27ac6f", "shasum": "" }, "require": { - "nunomaduro/collision": "^7.4.0", + "nunomaduro/collision": "^7.5.0", "pestphp/pest-plugin": "^2.0.1", "php": "^8.1", - "ta-tikoma/phpunit-architecture-test": "^0.7.2" + "ta-tikoma/phpunit-architecture-test": "^0.7.3" }, "require-dev": { - "pestphp/pest": "^2.3.0", + "pestphp/pest": "^2.5.1", "pestphp/pest-dev-tools": "^2.6.0" }, "type": "library", @@ -8245,7 +8260,7 @@ "unit" ], "support": { - "source": "https://github.com/pestphp/pest-plugin-arch/tree/v2.1.1" + "source": "https://github.com/pestphp/pest-plugin-arch/tree/v2.1.2" }, "funding": [ { @@ -8257,7 +8272,7 @@ "type": "github" } ], - "time": "2023-04-02T19:43:12+00:00" + "time": "2023-04-19T08:48:22+00:00" }, { "name": "phar-io/manifest", @@ -8370,6 +8385,60 @@ }, "time": "2022-02-21T01:04:05+00:00" }, + { + "name": "php-http/message-factory", + "version": "1.1.0", + "source": { + "type": "git", + "url": "https://github.com/php-http/message-factory.git", + "reference": "4d8778e1c7d405cbb471574821c1ff5b68cc8f57" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/php-http/message-factory/zipball/4d8778e1c7d405cbb471574821c1ff5b68cc8f57", + "reference": "4d8778e1c7d405cbb471574821c1ff5b68cc8f57", + "shasum": "" + }, + "require": { + "php": ">=5.4", + "psr/http-message": "^1.0 || ^2.0" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "1.x-dev" + } + }, + "autoload": { + "psr-4": { + "Http\\Message\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Márk Sági-Kazár", + "email": "mark.sagikazar@gmail.com" + } + ], + "description": "Factory interfaces for PSR-7 HTTP Message", + "homepage": "http://php-http.org", + "keywords": [ + "factory", + "http", + "message", + "stream", + "uri" + ], + "support": { + "issues": "https://github.com/php-http/message-factory/issues", + "source": "https://github.com/php-http/message-factory/tree/1.1.0" + }, + "time": "2023-04-14T14:16:17+00:00" + }, { "name": "php-webdriver/webdriver", "version": "1.14.0", @@ -8495,16 +8564,16 @@ }, { "name": "phpunit/php-code-coverage", - "version": "10.1.0", + "version": "10.1.1", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/php-code-coverage.git", - "reference": "fc4f5ee614fa82d50ecf9014b51af0a9561f3df8" + "reference": "884a0da7f9f46f28b2cb69134217fd810b793974" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/php-code-coverage/zipball/fc4f5ee614fa82d50ecf9014b51af0a9561f3df8", - "reference": "fc4f5ee614fa82d50ecf9014b51af0a9561f3df8", + "url": "https://api.github.com/repos/sebastianbergmann/php-code-coverage/zipball/884a0da7f9f46f28b2cb69134217fd810b793974", + "reference": "884a0da7f9f46f28b2cb69134217fd810b793974", "shasum": "" }, "require": { @@ -8523,7 +8592,7 @@ "theseer/tokenizer": "^1.2.0" }, "require-dev": { - "phpunit/phpunit": "^10.0" + "phpunit/phpunit": "^10.1" }, "suggest": { "ext-pcov": "PHP extension that provides line coverage", @@ -8561,7 +8630,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.0" + "source": "https://github.com/sebastianbergmann/php-code-coverage/tree/10.1.1" }, "funding": [ { @@ -8569,7 +8638,7 @@ "type": "github" } ], - "time": "2023-04-13T07:08:27+00:00" + "time": "2023-04-17T12:15:40+00:00" }, { "name": "phpunit/php-file-iterator", @@ -8814,16 +8883,16 @@ }, { "name": "phpunit/phpunit", - "version": "10.0.19", + "version": "10.1.2", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/phpunit.git", - "reference": "20c23e85c86e5c06d63538ba464e8054f4744e62" + "reference": "6f0cd95be71add539f8fd2be25b2a4a29789000b" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/phpunit/zipball/20c23e85c86e5c06d63538ba464e8054f4744e62", - "reference": "20c23e85c86e5c06d63538ba464e8054f4744e62", + "url": "https://api.github.com/repos/sebastianbergmann/phpunit/zipball/6f0cd95be71add539f8fd2be25b2a4a29789000b", + "reference": "6f0cd95be71add539f8fd2be25b2a4a29789000b", "shasum": "" }, "require": { @@ -8837,7 +8906,7 @@ "phar-io/manifest": "^2.0.3", "phar-io/version": "^3.0.2", "php": ">=8.1", - "phpunit/php-code-coverage": "^10.0", + "phpunit/php-code-coverage": "^10.1.1", "phpunit/php-file-iterator": "^4.0", "phpunit/php-invoker": "^4.0", "phpunit/php-text-template": "^3.0", @@ -8863,7 +8932,7 @@ "type": "library", "extra": { "branch-alias": { - "dev-main": "10.0-dev" + "dev-main": "10.1-dev" } }, "autoload": { @@ -8895,7 +8964,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.0.19" + "source": "https://github.com/sebastianbergmann/phpunit/tree/10.1.2" }, "funding": [ { @@ -8911,7 +8980,7 @@ "type": "tidelift" } ], - "time": "2023-03-27T11:46:33+00:00" + "time": "2023-04-22T07:38:19+00:00" }, { "name": "sebastian/cli-parser", @@ -9939,16 +10008,16 @@ }, { "name": "spatie/ignition", - "version": "1.5.0", + "version": "1.6.0", "source": { "type": "git", "url": "https://github.com/spatie/ignition.git", - "reference": "4db9c9626e4d7745efbe0b512157326190b41b65" + "reference": "fbcfcabc44e506e40c4d72fd4ddf465e272a600e" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/spatie/ignition/zipball/4db9c9626e4d7745efbe0b512157326190b41b65", - "reference": "4db9c9626e4d7745efbe0b512157326190b41b65", + "url": "https://api.github.com/repos/spatie/ignition/zipball/fbcfcabc44e506e40c4d72fd4ddf465e272a600e", + "reference": "fbcfcabc44e506e40c4d72fd4ddf465e272a600e", "shasum": "" }, "require": { @@ -9979,7 +10048,7 @@ "type": "library", "extra": { "branch-alias": { - "dev-main": "1.4.x-dev" + "dev-main": "1.5.x-dev" } }, "autoload": { @@ -10018,7 +10087,7 @@ "type": "github" } ], - "time": "2023-04-12T09:07:50+00:00" + "time": "2023-04-27T08:40:07+00:00" }, { "name": "spatie/laravel-ignition", @@ -10113,30 +10182,198 @@ "time": "2023-04-12T09:26:00+00:00" }, { - "name": "ta-tikoma/phpunit-architecture-test", - "version": "0.7.2", + "name": "symfony/http-client", + "version": "v6.2.9", "source": { "type": "git", - "url": "https://github.com/ta-tikoma/phpunit-architecture-test.git", - "reference": "d8616ea630cbbdfd2158973389eaba0b9c7dd4c8" + "url": "https://github.com/symfony/http-client.git", + "reference": "7daf5d24c21a683164688b95bb73b7a4bd3b32fc" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/ta-tikoma/phpunit-architecture-test/zipball/d8616ea630cbbdfd2158973389eaba0b9c7dd4c8", - "reference": "d8616ea630cbbdfd2158973389eaba0b9c7dd4c8", + "url": "https://api.github.com/repos/symfony/http-client/zipball/7daf5d24c21a683164688b95bb73b7a4bd3b32fc", + "reference": "7daf5d24c21a683164688b95bb73b7a4bd3b32fc", + "shasum": "" + }, + "require": { + "php": ">=8.1", + "psr/log": "^1|^2|^3", + "symfony/deprecation-contracts": "^2.1|^3", + "symfony/http-client-contracts": "^3", + "symfony/service-contracts": "^1.0|^2|^3" + }, + "provide": { + "php-http/async-client-implementation": "*", + "php-http/client-implementation": "*", + "psr/http-client-implementation": "1.0", + "symfony/http-client-implementation": "3.0" + }, + "require-dev": { + "amphp/amp": "^2.5", + "amphp/http-client": "^4.2.1", + "amphp/http-tunnel": "^1.0", + "amphp/socket": "^1.1", + "guzzlehttp/promises": "^1.4", + "nyholm/psr7": "^1.0", + "php-http/httplug": "^1.0|^2.0", + "psr/http-client": "^1.0", + "symfony/dependency-injection": "^5.4|^6.0", + "symfony/http-kernel": "^5.4|^6.0", + "symfony/process": "^5.4|^6.0", + "symfony/stopwatch": "^5.4|^6.0" + }, + "type": "library", + "autoload": { + "psr-4": { + "Symfony\\Component\\HttpClient\\": "" + }, + "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 powerful methods to fetch HTTP resources synchronously or asynchronously", + "homepage": "https://symfony.com", + "keywords": [ + "http" + ], + "support": { + "source": "https://github.com/symfony/http-client/tree/v6.2.9" + }, + "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": "2023-04-11T16:03:19+00:00" + }, + { + "name": "symfony/http-client-contracts", + "version": "v3.2.1", + "source": { + "type": "git", + "url": "https://github.com/symfony/http-client-contracts.git", + "reference": "df2ecd6cb70e73c1080e6478aea85f5f4da2c48b" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/symfony/http-client-contracts/zipball/df2ecd6cb70e73c1080e6478aea85f5f4da2c48b", + "reference": "df2ecd6cb70e73c1080e6478aea85f5f4da2c48b", + "shasum": "" + }, + "require": { + "php": ">=8.1" + }, + "suggest": { + "symfony/http-client-implementation": "" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-main": "3.3-dev" + }, + "thanks": { + "name": "symfony/contracts", + "url": "https://github.com/symfony/contracts" + } + }, + "autoload": { + "psr-4": { + "Symfony\\Contracts\\HttpClient\\": "" + }, + "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 HTTP clients", + "homepage": "https://symfony.com", + "keywords": [ + "abstractions", + "contracts", + "decoupling", + "interfaces", + "interoperability", + "standards" + ], + "support": { + "source": "https://github.com/symfony/http-client-contracts/tree/v3.2.1" + }, + "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": "2023-03-01T10:32:47+00:00" + }, + { + "name": "ta-tikoma/phpunit-architecture-test", + "version": "0.7.3", + "source": { + "type": "git", + "url": "https://github.com/ta-tikoma/phpunit-architecture-test.git", + "reference": "90b2e1d53b2c09b6371f84476699b69b36e378fd" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/ta-tikoma/phpunit-architecture-test/zipball/90b2e1d53b2c09b6371f84476699b69b36e378fd", + "reference": "90b2e1d53b2c09b6371f84476699b69b36e378fd", "shasum": "" }, "require": { - "myclabs/php-enum": "^1.8.4", "nikic/php-parser": "^4.15.4", "php": "^8.1.0", "phpdocumentor/reflection-docblock": "^5.3.0", - "phpunit/phpunit": "^9.6.5|^10.0.18", + "phpunit/phpunit": "^10.1.1", "symfony/finder": "^6.2.7" }, "require-dev": { - "laravel/pint": "^1.7.0", - "phpstan/phpstan": "^1.10.8" + "laravel/pint": "^1.9.0", + "phpstan/phpstan": "^1.10.13" }, "type": "library", "autoload": { @@ -10168,9 +10405,9 @@ ], "support": { "issues": "https://github.com/ta-tikoma/phpunit-architecture-test/issues", - "source": "https://github.com/ta-tikoma/phpunit-architecture-test/tree/0.7.2" + "source": "https://github.com/ta-tikoma/phpunit-architecture-test/tree/0.7.3" }, - "time": "2023-03-24T11:15:54+00:00" + "time": "2023-04-19T08:46:06+00:00" }, { "name": "theseer/tokenizer", @@ -10221,6 +10458,68 @@ } ], "time": "2021-07-28T10:34:58+00:00" + }, + { + "name": "toshy/bunnynet-php", + "version": "3.2.0", + "source": { + "type": "git", + "url": "https://github.com/ToshY/BunnyNet-PHP.git", + "reference": "ca36206d7cd558e492755244b5af6b1e5125ff80" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/ToshY/BunnyNet-PHP/zipball/ca36206d7cd558e492755244b5af6b1e5125ff80", + "reference": "ca36206d7cd558e492755244b5af6b1e5125ff80", + "shasum": "" + }, + "require": { + "ext-json": "*", + "nyholm/psr7": "^1.6.1", + "php": "^8.1", + "psr/http-client": "^1.0" + }, + "require-dev": { + "friendsofphp/php-cs-fixer": "^3.13", + "phpmd/phpmd": "^2.13", + "phpro/grumphp": "^1.15", + "phpstan/phpstan": "^1.9", + "phpunit/phpunit": "^10.0", + "rector/rector": "^0.15.1" + }, + "type": "library", + "autoload": { + "psr-4": { + "ToshY\\BunnyNet\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "ToshY", + "homepage": "https://github.com/ToshY" + } + ], + "description": "BunnyNet API client for PHP", + "keywords": [ + "Bunny CDN PHP", + "Bunny PHP", + "Bunny.net", + "BunnyNet PHP client", + "BunnyNet-PHP", + "BunnyWay", + "BunnyWay-PHP", + "ToshY", + "bunnyCDN" + ], + "support": { + "issues": "https://github.com/ToshY/BunnyNet-PHP/issues", + "source": "https://github.com/ToshY/BunnyNet-PHP/tree/3.2.0" + }, + "time": "2023-04-22T14:22:00+00:00" } ], "aliases": [], diff --git a/scripts/install.sh b/scripts/install.sh index 93f1d8eb8..74f392aa0 100644 --- a/scripts/install.sh +++ b/scripts/install.sh @@ -1,6 +1,7 @@ #!/bin/bash ## Do not modify this file. You will lost the ability to installation and autoupdate! VERSION="0.1.0" +CDN="https://coolify-cdn.b-cdn.net/files" if [ "$EUID" -ne 0 ]; then echo "Please run as root" @@ -27,10 +28,10 @@ chown -R 9999:root /data chmod -R 700 /data echo "Downloading required files from GitHub..." -curl -fsSL https://raw.githubusercontent.com/coollabsio/coolify/${COOLIFY_VERSION_BRANCH}/docker-compose.yml -o /data/coolify/source/docker-compose.yml -curl -fsSL https://raw.githubusercontent.com/coollabsio/coolify/${COOLIFY_VERSION_BRANCH}/docker-compose.prod.yml -o /data/coolify/source/docker-compose.prod.yml -curl -fsSL https://raw.githubusercontent.com/coollabsio/coolify/${COOLIFY_VERSION_BRANCH}/.env.production -o /data/coolify/source/.env.production -curl -fsSL https://raw.githubusercontent.com/coollabsio/coolify/v4/scripts/upgrade.sh -o /data/coolify/source/upgrade.sh +curl -fsSL $CDN/docker-compose.yml -o /data/coolify/source/docker-compose.yml +curl -fsSL $CDN/docker-compose.prod.yml -o /data/coolify/source/docker-compose.prod.yml +curl -fsSL $CDN/.env.production -o /data/coolify/source/.env.production +curl -fsSL $CDN/upgrade.sh -o /data/coolify/source/upgrade.sh # Copy .env.example if .env does not exist if [ ! -f /data/coolify/source/.env ]; then