diff --git a/.env.example b/.env.example index 37b8f8d..0f6c6de 100644 --- a/.env.example +++ b/.env.example @@ -33,11 +33,6 @@ QUEUE_CONNECTION=sync MEMCACHED_HOST=127.0.0.1 -REDIS_HOST=127.0.0.1 -REDIS_PASSWORD=null -REDIS_PORT=6379 -REDIS_CLIENT=phpredis - MAIL_MAILER=log MAIL_HOST=127.0.0.1 MAIL_PORT=2525 diff --git a/app/Providers/AppServiceProvider.php b/app/Providers/AppServiceProvider.php index beeb134..eb16bd0 100644 --- a/app/Providers/AppServiceProvider.php +++ b/app/Providers/AppServiceProvider.php @@ -2,7 +2,6 @@ namespace App\Providers; -use App\Enums\Environment; use App\Models\User; use Illuminate\Http\Resources\Json\JsonResource; use Illuminate\Support\Facades\Vite; @@ -18,14 +17,6 @@ class AppServiceProvider extends ServiceProvider { - public function register(): void - { - if ($this->app->environment(Environment::LOCAL->value)) { - $this->app->register(\Laravel\Telescope\TelescopeServiceProvider::class); - $this->app->register(TelescopeServiceProvider::class); - } - } - public function boot(): void { JsonResource::withoutWrapping(); diff --git a/app/Providers/TelescopeServiceProvider.php b/app/Providers/TelescopeServiceProvider.php deleted file mode 100644 index bec6bc5..0000000 --- a/app/Providers/TelescopeServiceProvider.php +++ /dev/null @@ -1,65 +0,0 @@ -hideSensitiveRequestDetails(); - - $isLocal = $this->app->environment(Environment::LOCAL->value); - - Telescope::filter(function (IncomingEntry $entry) use ($isLocal) { - return $isLocal || - $entry->isReportableException() || - $entry->isFailedRequest() || - $entry->isFailedJob() || - $entry->isScheduledTask() || - $entry->hasMonitoredTag(); - }); - } - - /** - * Prevent sensitive request details from being logged by Telescope. - */ - protected function hideSensitiveRequestDetails(): void - { - if ($this->app->environment(Environment::LOCAL->value)) { - return; - } - - Telescope::hideRequestParameters(['_token']); - - Telescope::hideRequestHeaders([ - 'cookie', - 'x-csrf-token', - 'x-xsrf-token', - ]); - } - - /** - * Register the Telescope gate. - * - * This gate determines who can access Telescope in non-local environments. - */ - protected function gate(): void - { - Gate::define('viewTelescope', function ($user) { - return in_array($user->email, [ - // - ]); - }); - } -} diff --git a/composer.json b/composer.json index f21e5de..74a2d92 100644 --- a/composer.json +++ b/composer.json @@ -25,7 +25,6 @@ "barryvdh/laravel-debugbar": "^3.13", "fakerphp/faker": "^1.23", "laravel/pint": "^1.17", - "laravel/telescope": "^5.2", "mockery/mockery": "^1.6", "nunomaduro/collision": "^8.3", "pestphp/pest": "^3.0", @@ -95,13 +94,6 @@ "@php artisan key:generate --ansi" ] }, - "extra": { - "laravel": { - "dont-discover": [ - "laravel/telescope" - ] - } - }, "config": { "optimize-autoloader": true, "preferred-install": "dist", diff --git a/composer.lock b/composer.lock index a728712..cc84090 100644 --- a/composer.lock +++ b/composer.lock @@ -4,32 +4,32 @@ "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", "This file is @generated automatically" ], - "content-hash": "86275a2197cddd869b78d87325d40492", + "content-hash": "f2ca35f097ad621a742238ee1440af32", "packages": [ { "name": "althinect/filament-spatie-roles-permissions", - "version": "v2.2.42", + "version": "v2.3", "source": { "type": "git", "url": "https://github.com/Althinect/filament-spatie-roles-permissions.git", - "reference": "cfffc4c79a55d0fbd87367d69be8b6fb12d781f5" + "reference": "7278e336eabd95150843c8153f680aab3f2ba131" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/Althinect/filament-spatie-roles-permissions/zipball/cfffc4c79a55d0fbd87367d69be8b6fb12d781f5", - "reference": "cfffc4c79a55d0fbd87367d69be8b6fb12d781f5", + "url": "https://api.github.com/repos/Althinect/filament-spatie-roles-permissions/zipball/7278e336eabd95150843c8153f680aab3f2ba131", + "reference": "7278e336eabd95150843c8153f680aab3f2ba131", "shasum": "" }, "require": { "filament/filament": "^3.0", - "illuminate/support": "^9|^10|^11", + "illuminate/support": "^9|^10|^11|^12.0", "php": "^8.1|^8.2", "spatie/laravel-permission": "^5.4|^6.0" }, "require-dev": { "laravel/pint": "^1.10", - "orchestra/testbench": "^7.0|^9.0", - "phpunit/phpunit": "^9.0|^10.5" + "orchestra/testbench": "^7.0|^9.0|^10.0", + "phpunit/phpunit": "^9.0|^10.5|^11.5.3" }, "type": "library", "extra": { @@ -65,9 +65,9 @@ ], "support": { "issues": "https://github.com/Althinect/filament-spatie-roles-permissions/issues", - "source": "https://github.com/Althinect/filament-spatie-roles-permissions/tree/v2.2.42" + "source": "https://github.com/Althinect/filament-spatie-roles-permissions/tree/v2.3" }, - "time": "2025-02-03T17:38:28+00:00" + "time": "2025-03-01T21:25:50+00:00" }, { "name": "anourvalar/eloquent-serialize", @@ -1183,7 +1183,7 @@ }, { "name": "filament/actions", - "version": "v3.3.0", + "version": "v3.3.3", "source": { "type": "git", "url": "https://github.com/filamentphp/actions.git", @@ -1236,16 +1236,16 @@ }, { "name": "filament/filament", - "version": "v3.3.0", + "version": "v3.3.3", "source": { "type": "git", "url": "https://github.com/filamentphp/panels.git", - "reference": "2ddea9d4c3c7d1bfce2d9ea6b3d7d7fe8c5682ec" + "reference": "6ca7e497517a78413777ab74a0688a70337f6b4f" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/filamentphp/panels/zipball/2ddea9d4c3c7d1bfce2d9ea6b3d7d7fe8c5682ec", - "reference": "2ddea9d4c3c7d1bfce2d9ea6b3d7d7fe8c5682ec", + "url": "https://api.github.com/repos/filamentphp/panels/zipball/6ca7e497517a78413777ab74a0688a70337f6b4f", + "reference": "6ca7e497517a78413777ab74a0688a70337f6b4f", "shasum": "" }, "require": { @@ -1297,20 +1297,20 @@ "issues": "https://github.com/filamentphp/filament/issues", "source": "https://github.com/filamentphp/filament" }, - "time": "2025-02-25T08:19:05+00:00" + "time": "2025-03-05T09:26:29+00:00" }, { "name": "filament/forms", - "version": "v3.3.0", + "version": "v3.3.3", "source": { "type": "git", "url": "https://github.com/filamentphp/forms.git", - "reference": "2d3670835f3fef356e8a0c2dc756eeb9f9acce73" + "reference": "420f6b2b30288c853024d189213e38f644dd6f6e" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/filamentphp/forms/zipball/2d3670835f3fef356e8a0c2dc756eeb9f9acce73", - "reference": "2d3670835f3fef356e8a0c2dc756eeb9f9acce73", + "url": "https://api.github.com/repos/filamentphp/forms/zipball/420f6b2b30288c853024d189213e38f644dd6f6e", + "reference": "420f6b2b30288c853024d189213e38f644dd6f6e", "shasum": "" }, "require": { @@ -1353,20 +1353,20 @@ "issues": "https://github.com/filamentphp/filament/issues", "source": "https://github.com/filamentphp/filament" }, - "time": "2025-02-25T08:19:00+00:00" + "time": "2025-03-05T09:26:39+00:00" }, { "name": "filament/infolists", - "version": "v3.3.0", + "version": "v3.3.3", "source": { "type": "git", "url": "https://github.com/filamentphp/infolists.git", - "reference": "3e5f9d2ec79a2be9080c9e081c5284bbeb93ed7a" + "reference": "3498bfd23670f94d9c2160d2a7382775dfc97430" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/filamentphp/infolists/zipball/3e5f9d2ec79a2be9080c9e081c5284bbeb93ed7a", - "reference": "3e5f9d2ec79a2be9080c9e081c5284bbeb93ed7a", + "url": "https://api.github.com/repos/filamentphp/infolists/zipball/3498bfd23670f94d9c2160d2a7382775dfc97430", + "reference": "3498bfd23670f94d9c2160d2a7382775dfc97430", "shasum": "" }, "require": { @@ -1404,11 +1404,11 @@ "issues": "https://github.com/filamentphp/filament/issues", "source": "https://github.com/filamentphp/filament" }, - "time": "2025-02-25T08:19:04+00:00" + "time": "2025-03-03T08:11:43+00:00" }, { "name": "filament/notifications", - "version": "v3.3.0", + "version": "v3.3.3", "source": { "type": "git", "url": "https://github.com/filamentphp/notifications.git", @@ -1460,16 +1460,16 @@ }, { "name": "filament/support", - "version": "v3.3.0", + "version": "v3.3.3", "source": { "type": "git", "url": "https://github.com/filamentphp/support.git", - "reference": "9ae768216b8f1cd6921946c98364b95f51053b20" + "reference": "fb5ff99b8f7559815434c109d505c12c141510da" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/filamentphp/support/zipball/9ae768216b8f1cd6921946c98364b95f51053b20", - "reference": "9ae768216b8f1cd6921946c98364b95f51053b20", + "url": "https://api.github.com/repos/filamentphp/support/zipball/fb5ff99b8f7559815434c109d505c12c141510da", + "reference": "fb5ff99b8f7559815434c109d505c12c141510da", "shasum": "" }, "require": { @@ -1515,20 +1515,20 @@ "issues": "https://github.com/filamentphp/filament/issues", "source": "https://github.com/filamentphp/filament" }, - "time": "2025-02-25T08:19:17+00:00" + "time": "2025-03-05T09:26:25+00:00" }, { "name": "filament/tables", - "version": "v3.3.0", + "version": "v3.3.3", "source": { "type": "git", "url": "https://github.com/filamentphp/tables.git", - "reference": "0b5152d810780d03a560b8e5387dc61881b72b42" + "reference": "5f2fbd8f0c6ffd19b2462269778ed96ce3c6fd35" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/filamentphp/tables/zipball/0b5152d810780d03a560b8e5387dc61881b72b42", - "reference": "0b5152d810780d03a560b8e5387dc61881b72b42", + "url": "https://api.github.com/repos/filamentphp/tables/zipball/5f2fbd8f0c6ffd19b2462269778ed96ce3c6fd35", + "reference": "5f2fbd8f0c6ffd19b2462269778ed96ce3c6fd35", "shasum": "" }, "require": { @@ -1567,11 +1567,11 @@ "issues": "https://github.com/filamentphp/filament/issues", "source": "https://github.com/filamentphp/filament" }, - "time": "2025-02-25T08:19:15+00:00" + "time": "2025-03-03T09:07:30+00:00" }, { "name": "filament/widgets", - "version": "v3.3.0", + "version": "v3.3.3", "source": { "type": "git", "url": "https://github.com/filamentphp/widgets.git", @@ -2292,16 +2292,16 @@ }, { "name": "kirschbaum-development/eloquent-power-joins", - "version": "4.2.0", + "version": "4.2.1", "source": { "type": "git", "url": "https://github.com/kirschbaum-development/eloquent-power-joins.git", - "reference": "aafbe349e0ad4862273880652d0141bb753c4fc7" + "reference": "84a24784d9abde8bafb1998a0841a6bc10fa6f8e" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/kirschbaum-development/eloquent-power-joins/zipball/aafbe349e0ad4862273880652d0141bb753c4fc7", - "reference": "aafbe349e0ad4862273880652d0141bb753c4fc7", + "url": "https://api.github.com/repos/kirschbaum-development/eloquent-power-joins/zipball/84a24784d9abde8bafb1998a0841a6bc10fa6f8e", + "reference": "84a24784d9abde8bafb1998a0841a6bc10fa6f8e", "shasum": "" }, "require": { @@ -2349,9 +2349,9 @@ ], "support": { "issues": "https://github.com/kirschbaum-development/eloquent-power-joins/issues", - "source": "https://github.com/kirschbaum-development/eloquent-power-joins/tree/4.2.0" + "source": "https://github.com/kirschbaum-development/eloquent-power-joins/tree/4.2.1" }, - "time": "2025-02-13T23:30:29+00:00" + "time": "2025-03-05T10:11:33+00:00" }, { "name": "laravel/framework", @@ -3096,16 +3096,16 @@ }, { "name": "league/csv", - "version": "9.21.0", + "version": "9.22.0", "source": { "type": "git", "url": "https://github.com/thephpleague/csv.git", - "reference": "72196d11ebba22d868954cb39c0c7346207430cc" + "reference": "afc109aa11f3086b8be8dfffa04ac31480b36b76" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/thephpleague/csv/zipball/72196d11ebba22d868954cb39c0c7346207430cc", - "reference": "72196d11ebba22d868954cb39c0c7346207430cc", + "url": "https://api.github.com/repos/thephpleague/csv/zipball/afc109aa11f3086b8be8dfffa04ac31480b36b76", + "reference": "afc109aa11f3086b8be8dfffa04ac31480b36b76", "shasum": "" }, "require": { @@ -3115,19 +3115,23 @@ "require-dev": { "ext-dom": "*", "ext-xdebug": "*", - "friendsofphp/php-cs-fixer": "^3.64.0", - "phpbench/phpbench": "^1.3.1", - "phpstan/phpstan": "^1.12.11", + "friendsofphp/php-cs-fixer": "^3.69.0", + "phpbench/phpbench": "^1.4.0", + "phpstan/phpstan": "^1.12.18", "phpstan/phpstan-deprecation-rules": "^1.2.1", - "phpstan/phpstan-phpunit": "^1.4.1", - "phpstan/phpstan-strict-rules": "^1.6.1", - "phpunit/phpunit": "^10.5.16 || ^11.4.3", - "symfony/var-dumper": "^6.4.8 || ^7.1.8" + "phpstan/phpstan-phpunit": "^1.4.2", + "phpstan/phpstan-strict-rules": "^1.6.2", + "phpunit/phpunit": "^10.5.16 || ^11.5.7", + "symfony/var-dumper": "^6.4.8 || ^7.2.3" }, "suggest": { "ext-dom": "Required to use the XMLConverter and the HTMLConverter classes", "ext-iconv": "Needed to ease transcoding CSV using iconv stream filters", - "ext-mbstring": "Needed to ease transcoding CSV using mb stream filters" + "ext-mbstring": "Needed to ease transcoding CSV using mb stream filters", + "ext-mysqli": "Requiered to use the package with the MySQLi extension", + "ext-pdo": "Required to use the package with the PDO extension", + "ext-pgsql": "Requiered to use the package with the PgSQL extension", + "ext-sqlite3": "Required to use the package with the SQLite3 extension" }, "type": "library", "extra": { @@ -3140,7 +3144,7 @@ "src/functions_include.php" ], "psr-4": { - "League\\Csv\\": "src/" + "League\\Csv\\": "src" } }, "notification-url": "https://packagist.org/downloads/", @@ -3179,7 +3183,7 @@ "type": "github" } ], - "time": "2025-01-08T19:27:58+00:00" + "time": "2025-02-28T10:00:39+00:00" }, { "name": "league/flysystem", @@ -3545,16 +3549,16 @@ }, { "name": "livewire/livewire", - "version": "v3.6.0", + "version": "v3.6.1", "source": { "type": "git", "url": "https://github.com/livewire/livewire.git", - "reference": "4c66b569cb729ba9b2f4a3c4e79f50fd8f2b71d1" + "reference": "0df0a762698176d714e42e2dfed92b6b9e24b8e4" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/livewire/livewire/zipball/4c66b569cb729ba9b2f4a3c4e79f50fd8f2b71d1", - "reference": "4c66b569cb729ba9b2f4a3c4e79f50fd8f2b71d1", + "url": "https://api.github.com/repos/livewire/livewire/zipball/0df0a762698176d714e42e2dfed92b6b9e24b8e4", + "reference": "0df0a762698176d714e42e2dfed92b6b9e24b8e4", "shasum": "" }, "require": { @@ -3609,7 +3613,7 @@ "description": "A front-end framework for Laravel.", "support": { "issues": "https://github.com/livewire/livewire/issues", - "source": "https://github.com/livewire/livewire/tree/v3.6.0" + "source": "https://github.com/livewire/livewire/tree/v3.6.1" }, "funding": [ { @@ -3617,7 +3621,7 @@ "type": "github" } ], - "time": "2025-02-26T00:57:32+00:00" + "time": "2025-03-04T21:48:52+00:00" }, { "name": "masterminds/html5", @@ -4268,16 +4272,16 @@ }, { "name": "openspout/openspout", - "version": "v4.28.5", + "version": "v4.29.0", "source": { "type": "git", "url": "https://github.com/openspout/openspout.git", - "reference": "ab05a09fe6fce57c90338f83280648a9786ce36b" + "reference": "3032427a0cd95bdbd8081165f2daf134554cdcc1" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/openspout/openspout/zipball/ab05a09fe6fce57c90338f83280648a9786ce36b", - "reference": "ab05a09fe6fce57c90338f83280648a9786ce36b", + "url": "https://api.github.com/repos/openspout/openspout/zipball/3032427a0cd95bdbd8081165f2daf134554cdcc1", + "reference": "3032427a0cd95bdbd8081165f2daf134554cdcc1", "shasum": "" }, "require": { @@ -4287,17 +4291,17 @@ "ext-libxml": "*", "ext-xmlreader": "*", "ext-zip": "*", - "php": "~8.2.0 || ~8.3.0 || ~8.4.0" + "php": "~8.3.0 || ~8.4.0" }, "require-dev": { "ext-zlib": "*", - "friendsofphp/php-cs-fixer": "^3.68.3", - "infection/infection": "^0.29.10", + "friendsofphp/php-cs-fixer": "^3.70.2", + "infection/infection": "^0.29.14", "phpbench/phpbench": "^1.4.0", - "phpstan/phpstan": "^2.1.2", + "phpstan/phpstan": "^2.1.7", "phpstan/phpstan-phpunit": "^2.0.4", - "phpstan/phpstan-strict-rules": "^2", - "phpunit/phpunit": "^11.5.4" + "phpstan/phpstan-strict-rules": "^2.0.3", + "phpunit/phpunit": "^12.0.6" }, "suggest": { "ext-iconv": "To handle non UTF-8 CSV files (if \"php-mbstring\" is not already installed or is too limited)", @@ -4345,7 +4349,7 @@ ], "support": { "issues": "https://github.com/openspout/openspout/issues", - "source": "https://github.com/openspout/openspout/tree/v4.28.5" + "source": "https://github.com/openspout/openspout/tree/v4.29.0" }, "funding": [ { @@ -4357,7 +4361,7 @@ "type": "github" } ], - "time": "2025-01-30T13:51:11+00:00" + "time": "2025-03-06T09:59:55+00:00" }, { "name": "phpoption/phpoption", @@ -5700,16 +5704,16 @@ }, { "name": "spatie/laravel-health", - "version": "1.32.3", + "version": "1.32.4", "source": { "type": "git", "url": "https://github.com/spatie/laravel-health.git", - "reference": "3a3665f36902201c2dd9617e0b85659ef6595f91" + "reference": "6510025255c04fa2bd37c2a6611095c5129b53c2" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/spatie/laravel-health/zipball/3a3665f36902201c2dd9617e0b85659ef6595f91", - "reference": "3a3665f36902201c2dd9617e0b85659ef6595f91", + "url": "https://api.github.com/repos/spatie/laravel-health/zipball/6510025255c04fa2bd37c2a6611095c5129b53c2", + "reference": "6510025255c04fa2bd37c2a6611095c5129b53c2", "shasum": "" }, "require": { @@ -5781,7 +5785,7 @@ "spatie" ], "support": { - "source": "https://github.com/spatie/laravel-health/tree/1.32.3" + "source": "https://github.com/spatie/laravel-health/tree/1.32.4" }, "funding": [ { @@ -5789,7 +5793,7 @@ "type": "github" } ], - "time": "2025-02-24T07:32:22+00:00" + "time": "2025-03-03T08:40:12+00:00" }, { "name": "spatie/laravel-package-tools", @@ -5853,16 +5857,16 @@ }, { "name": "spatie/laravel-permission", - "version": "6.15.0", + "version": "6.16.0", "source": { "type": "git", "url": "https://github.com/spatie/laravel-permission.git", - "reference": "86074fcfd127f9fa7bcdf550b7c938e3beb0d65f" + "reference": "4fa03c06509e037a4d42c131d0f181e3e4bbd483" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/spatie/laravel-permission/zipball/86074fcfd127f9fa7bcdf550b7c938e3beb0d65f", - "reference": "86074fcfd127f9fa7bcdf550b7c938e3beb0d65f", + "url": "https://api.github.com/repos/spatie/laravel-permission/zipball/4fa03c06509e037a4d42c131d0f181e3e4bbd483", + "reference": "4fa03c06509e037a4d42c131d0f181e3e4bbd483", "shasum": "" }, "require": { @@ -5924,7 +5928,7 @@ ], "support": { "issues": "https://github.com/spatie/laravel-permission/issues", - "source": "https://github.com/spatie/laravel-permission/tree/6.15.0" + "source": "https://github.com/spatie/laravel-permission/tree/6.16.0" }, "funding": [ { @@ -5932,7 +5936,7 @@ "type": "github" } ], - "time": "2025-02-17T19:18:01+00:00" + "time": "2025-02-28T20:29:57+00:00" }, { "name": "spatie/packagist-api", @@ -8887,16 +8891,16 @@ }, { "name": "tightenco/ziggy", - "version": "v2.5.1", + "version": "v2.5.2", "source": { "type": "git", "url": "https://github.com/tighten/ziggy.git", - "reference": "40df446f6053787edb245381c3b3d80b031b5fc0" + "reference": "d59dbb61dc0a1d9abb2130451b9e5e0f264bfe1c" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/tighten/ziggy/zipball/40df446f6053787edb245381c3b3d80b031b5fc0", - "reference": "40df446f6053787edb245381c3b3d80b031b5fc0", + "url": "https://api.github.com/repos/tighten/ziggy/zipball/d59dbb61dc0a1d9abb2130451b9e5e0f264bfe1c", + "reference": "d59dbb61dc0a1d9abb2130451b9e5e0f264bfe1c", "shasum": "" }, "require": { @@ -8906,9 +8910,9 @@ }, "require-dev": { "laravel/folio": "^1.1", - "orchestra/testbench": "^7.0 || ^8.0 || ^9.0", - "pestphp/pest": "^2.26", - "pestphp/pest-plugin-laravel": "^2.4" + "orchestra/testbench": "^7.0 || ^8.0 || ^9.0 || ^10.0", + "pestphp/pest": "^2.26|^3.0", + "pestphp/pest-plugin-laravel": "^2.4|^3.0" }, "type": "library", "extra": { @@ -8951,9 +8955,9 @@ ], "support": { "issues": "https://github.com/tighten/ziggy/issues", - "source": "https://github.com/tighten/ziggy/tree/v2.5.1" + "source": "https://github.com/tighten/ziggy/tree/v2.5.2" }, - "time": "2025-01-31T19:23:01+00:00" + "time": "2025-02-27T15:43:52+00:00" }, { "name": "tijsverkoyen/css-to-inline-styles", @@ -9721,75 +9725,6 @@ }, "time": "2025-02-18T03:18:57+00:00" }, - { - "name": "laravel/telescope", - "version": "v5.5.0", - "source": { - "type": "git", - "url": "https://github.com/laravel/telescope.git", - "reference": "2594b20b946155ba767002d8af971e33e1095637" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/laravel/telescope/zipball/2594b20b946155ba767002d8af971e33e1095637", - "reference": "2594b20b946155ba767002d8af971e33e1095637", - "shasum": "" - }, - "require": { - "ext-json": "*", - "laravel/framework": "^8.37|^9.0|^10.0|^11.0|^12.0", - "php": "^8.0", - "symfony/console": "^5.3|^6.0|^7.0", - "symfony/var-dumper": "^5.0|^6.0|^7.0" - }, - "require-dev": { - "ext-gd": "*", - "guzzlehttp/guzzle": "^6.0|^7.0", - "laravel/octane": "^1.4|^2.0|dev-develop", - "orchestra/testbench": "^6.40|^7.37|^8.17|^9.0|^10.0", - "phpstan/phpstan": "^1.10", - "phpunit/phpunit": "^9.0|^10.5|^11.5" - }, - "type": "library", - "extra": { - "laravel": { - "providers": [ - "Laravel\\Telescope\\TelescopeServiceProvider" - ] - } - }, - "autoload": { - "psr-4": { - "Laravel\\Telescope\\": "src/", - "Laravel\\Telescope\\Database\\Factories\\": "database/factories/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Taylor Otwell", - "email": "taylor@laravel.com" - }, - { - "name": "Mohamed Said", - "email": "mohamed@laravel.com" - } - ], - "description": "An elegant debug assistant for the Laravel framework.", - "keywords": [ - "debugging", - "laravel", - "monitoring" - ], - "support": { - "issues": "https://github.com/laravel/telescope/issues", - "source": "https://github.com/laravel/telescope/tree/v5.5.0" - }, - "time": "2025-02-11T15:01:27+00:00" - }, { "name": "mockery/mockery", "version": "1.6.12", @@ -10739,16 +10674,16 @@ }, { "name": "php-di/php-di", - "version": "7.0.8", + "version": "7.0.9", "source": { "type": "git", "url": "https://github.com/PHP-DI/PHP-DI.git", - "reference": "98ddc81f8f768a2ad39e4cbe737285eaeabe577a" + "reference": "d8480267f5cf239650debba704f3ecd15b638cde" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/PHP-DI/PHP-DI/zipball/98ddc81f8f768a2ad39e4cbe737285eaeabe577a", - "reference": "98ddc81f8f768a2ad39e4cbe737285eaeabe577a", + "url": "https://api.github.com/repos/PHP-DI/PHP-DI/zipball/d8480267f5cf239650debba704f3ecd15b638cde", + "reference": "d8480267f5cf239650debba704f3ecd15b638cde", "shasum": "" }, "require": { @@ -10765,7 +10700,7 @@ "friendsofphp/proxy-manager-lts": "^1", "mnapoli/phpunit-easymock": "^1.3", "phpunit/phpunit": "^9.6", - "vimeo/psalm": "^4.6" + "vimeo/psalm": "^5|^6" }, "suggest": { "friendsofphp/proxy-manager-lts": "Install it if you want to use lazy injection (version ^1)" @@ -10796,7 +10731,7 @@ ], "support": { "issues": "https://github.com/PHP-DI/PHP-DI/issues", - "source": "https://github.com/PHP-DI/PHP-DI/tree/7.0.8" + "source": "https://github.com/PHP-DI/PHP-DI/tree/7.0.9" }, "funding": [ { @@ -10808,7 +10743,7 @@ "type": "tidelift" } ], - "time": "2025-01-28T21:02:46+00:00" + "time": "2025-02-28T12:46:35+00:00" }, { "name": "phpdocumentor/reflection-common", @@ -11628,16 +11563,16 @@ }, { "name": "sebastian/comparator", - "version": "6.3.0", + "version": "6.3.1", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/comparator.git", - "reference": "d4e47a769525c4dd38cea90e5dcd435ddbbc7115" + "reference": "24b8fbc2c8e201bb1308e7b05148d6ab393b6959" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/comparator/zipball/d4e47a769525c4dd38cea90e5dcd435ddbbc7115", - "reference": "d4e47a769525c4dd38cea90e5dcd435ddbbc7115", + "url": "https://api.github.com/repos/sebastianbergmann/comparator/zipball/24b8fbc2c8e201bb1308e7b05148d6ab393b6959", + "reference": "24b8fbc2c8e201bb1308e7b05148d6ab393b6959", "shasum": "" }, "require": { @@ -11656,7 +11591,7 @@ "type": "library", "extra": { "branch-alias": { - "dev-main": "6.2-dev" + "dev-main": "6.3-dev" } }, "autoload": { @@ -11696,7 +11631,7 @@ "support": { "issues": "https://github.com/sebastianbergmann/comparator/issues", "security": "https://github.com/sebastianbergmann/comparator/security/policy", - "source": "https://github.com/sebastianbergmann/comparator/tree/6.3.0" + "source": "https://github.com/sebastianbergmann/comparator/tree/6.3.1" }, "funding": [ { @@ -11704,7 +11639,7 @@ "type": "github" } ], - "time": "2025-01-06T10:28:19+00:00" + "time": "2025-03-07T06:57:01+00:00" }, { "name": "sebastian/complexity", diff --git a/config/telescope.php b/config/telescope.php deleted file mode 100644 index dba9e23..0000000 --- a/config/telescope.php +++ /dev/null @@ -1,205 +0,0 @@ - env('TELESCOPE_ENABLED', true), - - /* - |-------------------------------------------------------------------------- - | Telescope Domain - |-------------------------------------------------------------------------- - | - | This is the subdomain where Telescope will be accessible from. If the - | setting is null, Telescope will reside under the same domain as the - | application. Otherwise, this value will be used as the subdomain. - | - */ - - 'domain' => env('TELESCOPE_DOMAIN'), - - /* - |-------------------------------------------------------------------------- - | Telescope Path - |-------------------------------------------------------------------------- - | - | This is the URI path where Telescope will be accessible from. Feel free - | to change this path to anything you like. Note that the URI will not - | affect the paths of its internal API that aren't exposed to users. - | - */ - - 'path' => env('TELESCOPE_PATH', 'telescope'), - - /* - |-------------------------------------------------------------------------- - | Telescope Storage Driver - |-------------------------------------------------------------------------- - | - | This configuration options determines the storage driver that will - | be used to store Telescope's data. In addition, you may set any - | custom options as needed by the particular driver you choose. - | - */ - - 'driver' => env('TELESCOPE_DRIVER', 'database'), - - 'storage' => [ - 'database' => [ - 'connection' => env('DB_CONNECTION', 'mysql'), - 'chunk' => 1000, - ], - ], - - /* - |-------------------------------------------------------------------------- - | Telescope Queue - |-------------------------------------------------------------------------- - | - | This configuration options determines the queue connection and queue - | which will be used to process ProcessPendingUpdate jobs. This can - | be changed if you would prefer to use a non-default connection. - | - */ - - 'queue' => [ - 'connection' => env('TELESCOPE_QUEUE_CONNECTION', null), - 'queue' => env('TELESCOPE_QUEUE', null), - ], - - /* - |-------------------------------------------------------------------------- - | Telescope Route Middleware - |-------------------------------------------------------------------------- - | - | These middleware will be assigned to every Telescope route, giving you - | the chance to add your own middleware to this list or change any of - | the existing middleware. Or, you can simply stick with this list. - | - */ - - 'middleware' => [ - 'web', - Authorize::class, - ], - - /* - |-------------------------------------------------------------------------- - | Allowed / Ignored Paths & Commands - |-------------------------------------------------------------------------- - | - | The following array lists the URI paths and Artisan commands that will - | not be watched by Telescope. In addition to this list, some Laravel - | commands, like migrations and queue commands, are always ignored. - | - */ - - 'only_paths' => [ - // 'api/*' - ], - - 'ignore_paths' => [ - 'livewire*', - 'nova-api*', - 'pulse*', - ], - - 'ignore_commands' => [ - // - ], - - /* - |-------------------------------------------------------------------------- - | Telescope Watchers - |-------------------------------------------------------------------------- - | - | The following array lists the "watchers" that will be registered with - | Telescope. The watchers gather the application's profile data when - | a request or task is executed. Feel free to customize this list. - | - */ - - 'watchers' => [ - Watchers\BatchWatcher::class => env('TELESCOPE_BATCH_WATCHER', true), - - Watchers\CacheWatcher::class => [ - 'enabled' => env('TELESCOPE_CACHE_WATCHER', true), - 'hidden' => [], - ], - - Watchers\ClientRequestWatcher::class => env('TELESCOPE_CLIENT_REQUEST_WATCHER', true), - - Watchers\CommandWatcher::class => [ - 'enabled' => env('TELESCOPE_COMMAND_WATCHER', true), - 'ignore' => [], - ], - - Watchers\DumpWatcher::class => [ - 'enabled' => env('TELESCOPE_DUMP_WATCHER', true), - 'always' => env('TELESCOPE_DUMP_WATCHER_ALWAYS', false), - ], - - Watchers\EventWatcher::class => [ - 'enabled' => env('TELESCOPE_EVENT_WATCHER', true), - 'ignore' => [], - ], - - Watchers\ExceptionWatcher::class => env('TELESCOPE_EXCEPTION_WATCHER', true), - - Watchers\GateWatcher::class => [ - 'enabled' => env('TELESCOPE_GATE_WATCHER', true), - 'ignore_abilities' => [], - 'ignore_packages' => true, - 'ignore_paths' => [], - ], - - Watchers\JobWatcher::class => env('TELESCOPE_JOB_WATCHER', true), - - Watchers\LogWatcher::class => [ - 'enabled' => env('TELESCOPE_LOG_WATCHER', true), - 'level' => 'error', - ], - - Watchers\MailWatcher::class => env('TELESCOPE_MAIL_WATCHER', true), - - Watchers\ModelWatcher::class => [ - 'enabled' => env('TELESCOPE_MODEL_WATCHER', true), - 'events' => ['eloquent.*'], - 'hydrations' => true, - ], - - Watchers\NotificationWatcher::class => env('TELESCOPE_NOTIFICATION_WATCHER', true), - - Watchers\QueryWatcher::class => [ - 'enabled' => env('TELESCOPE_QUERY_WATCHER', true), - 'ignore_packages' => true, - 'ignore_paths' => [], - 'slow' => 100, - ], - - Watchers\RedisWatcher::class => env('TELESCOPE_REDIS_WATCHER', true), - - Watchers\RequestWatcher::class => [ - 'enabled' => env('TELESCOPE_REQUEST_WATCHER', true), - 'size_limit' => env('TELESCOPE_RESPONSE_SIZE_LIMIT', 64), - 'ignore_http_methods' => [], - 'ignore_status_codes' => [], - ], - - Watchers\ScheduleWatcher::class => env('TELESCOPE_SCHEDULE_WATCHER', true), - Watchers\ViewWatcher::class => env('TELESCOPE_VIEW_WATCHER', true), - ], -]; diff --git a/database/migrations/2024_10_28_151140_create_telescope_entries_table.php b/database/migrations/2024_10_28_151140_create_telescope_entries_table.php deleted file mode 100644 index 700a83f..0000000 --- a/database/migrations/2024_10_28_151140_create_telescope_entries_table.php +++ /dev/null @@ -1,70 +0,0 @@ -getConnection()); - - $schema->create('telescope_entries', function (Blueprint $table) { - $table->bigIncrements('sequence'); - $table->uuid('uuid'); - $table->uuid('batch_id'); - $table->string('family_hash')->nullable(); - $table->boolean('should_display_on_index')->default(true); - $table->string('type', 20); - $table->longText('content'); - $table->dateTime('created_at')->nullable(); - - $table->unique('uuid'); - $table->index('batch_id'); - $table->index('family_hash'); - $table->index('created_at'); - $table->index(['type', 'should_display_on_index']); - }); - - $schema->create('telescope_entries_tags', function (Blueprint $table) { - $table->uuid('entry_uuid'); - $table->string('tag'); - - $table->primary(['entry_uuid', 'tag']); - $table->index('tag'); - - $table->foreign('entry_uuid') - ->references('uuid') - ->on('telescope_entries') - ->onDelete('cascade'); - }); - - $schema->create('telescope_monitoring', function (Blueprint $table) { - $table->string('tag')->primary(); - }); - } - - /** - * Reverse the migrations. - */ - public function down(): void - { - $schema = Schema::connection($this->getConnection()); - - $schema->dropIfExists('telescope_entries_tags'); - $schema->dropIfExists('telescope_entries'); - $schema->dropIfExists('telescope_monitoring'); - } -}; diff --git a/phpunit.xml b/phpunit.xml index 848e3da..5fcac90 100644 --- a/phpunit.xml +++ b/phpunit.xml @@ -19,7 +19,6 @@ ./app/Filament ./app/Providers/Filament - ./app/Providers/TelescopeServiceProvider.php diff --git a/tests/Architecture/AppTest.php b/tests/Architecture/AppTest.php index 07671f9..b4f7578 100644 --- a/tests/Architecture/AppTest.php +++ b/tests/Architecture/AppTest.php @@ -1,8 +1,6 @@ preset()->laravel() - ->ignoring(AdminPanelProvider::class) - ->ignoring(TelescopeServiceProvider::class); + ->ignoring(AdminPanelProvider::class);