#add git monitor

This commit is contained in:
2025-12-18 10:18:25 +08:00
parent 2ec44b5665
commit 5f6bba1d9f
18 changed files with 889 additions and 20 deletions

View File

@@ -0,0 +1,25 @@
<?php
namespace App\Providers;
use App\Console\Commands\GitMonitorCacheCommand;
use App\Console\Commands\GitMonitorCheckCommand;
use Illuminate\Support\ServiceProvider;
class GitMonitorServiceProvider extends ServiceProvider
{
public function register(): void
{
//
}
public function boot(): void
{
if ($this->app->runningInConsole()) {
$this->commands([
GitMonitorCheckCommand::class,
GitMonitorCacheCommand::class,
]);
}
}
}