Skip to content

Commit 85bc096

Browse files
authored
Remove Horizon (#101)
* Remove Horizon * Update providers.php * Remove Horizon * Update phpunit.xml * Update AppServiceProvider.php * Delete HorizonServiceProvider.php * Delete horizon.php * Update console.php
1 parent 84bd411 commit 85bc096

File tree

8 files changed

+4
-338
lines changed

8 files changed

+4
-338
lines changed

app/Providers/AppServiceProvider.php

-6
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,6 @@
1212
use Spatie\Health\Checks\Checks\DatabaseConnectionCountCheck;
1313
use Spatie\Health\Checks\Checks\DebugModeCheck;
1414
use Spatie\Health\Checks\Checks\EnvironmentCheck;
15-
use Spatie\Health\Checks\Checks\HorizonCheck;
16-
use Spatie\Health\Checks\Checks\RedisCheck;
17-
use Spatie\Health\Checks\Checks\RedisMemoryUsageCheck;
1815
use Spatie\Health\Checks\Checks\UsedDiskSpaceCheck;
1916
use Spatie\Health\Facades\Health;
2017
use Spatie\SecurityAdvisoriesHealthCheck\SecurityAdvisoriesCheck;
@@ -43,9 +40,6 @@ public function boot(): void
4340
->failWhenMoreConnectionsThan(100),
4441
DebugModeCheck::new(),
4542
EnvironmentCheck::new(),
46-
RedisCheck::new(),
47-
RedisMemoryUsageCheck::new(),
48-
HorizonCheck::new(),
4943
SecurityAdvisoriesCheck::new(),
5044
]);
5145

app/Providers/HorizonServiceProvider.php

-18
This file was deleted.

bootstrap/providers.php

-1
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,4 @@
44
App\Providers\AppServiceProvider::class,
55
App\Providers\AuthServiceProvider::class,
66
App\Providers\Filament\AdminPanelProvider::class,
7-
App\Providers\HorizonServiceProvider::class,
87
];

composer.json

-2
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@
99
"filament/filament": "^3.2",
1010
"inertiajs/inertia-laravel": "^2.0",
1111
"laravel/framework": "^11.17",
12-
"laravel/horizon": "^5.26",
1312
"laravel/pulse": "^1.2",
1413
"laravel/sanctum": "^4.0",
1514
"laravel/tinker": "^2.9",
@@ -54,7 +53,6 @@
5453
],
5554
"build:prod": [
5655
"composer install --no-interaction --prefer-dist --optimize-autoloader",
57-
"@php artisan horizon:terminate",
5856
"@php artisan migrate --force",
5957
"@php artisan optimize:clear",
6058
"@php artisan optimize",

composer.lock

+4-84
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

config/horizon.php

-225
This file was deleted.

0 commit comments

Comments
 (0)