Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
26 changes: 13 additions & 13 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,19 +18,19 @@
"php": "^8.1",
"doctrine/sql-formatter": "^1.1",
"guzzlehttp/promises": "^1.0 || ^2.0",
"illuminate/auth": "^10.21",
"illuminate/cache": "^10.21",
"illuminate/config": "^10.21",
"illuminate/console": "^10.21",
"illuminate/contracts": "^10.21",
"illuminate/database": "^10.21",
"illuminate/events": "^10.21",
"illuminate/http": "^10.21",
"illuminate/queue": "^10.21",
"illuminate/redis": "^10.21",
"illuminate/routing": "^10.21",
"illuminate/support": "^10.21",
"illuminate/view": "^10.21",
"illuminate/auth": "^10.34",
"illuminate/cache": "^10.34",
"illuminate/config": "^10.34",
"illuminate/console": "^10.34",
"illuminate/contracts": "^10.34",
"illuminate/database": "^10.34",
"illuminate/events": "^10.34",
"illuminate/http": "^10.34",
"illuminate/queue": "^10.34",
"illuminate/redis": "^10.34",
"illuminate/routing": "^10.34",
"illuminate/support": "^10.34",
"illuminate/view": "^10.34",
"livewire/livewire": "^3.2",
"nesbot/carbon": "^2.67"
},
Expand Down
7 changes: 7 additions & 0 deletions src/PulseServiceProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,14 @@

namespace Laravel\Pulse;

use Composer\InstalledVersions;
use Illuminate\Auth\Events\Logout;
use Illuminate\Contracts\Auth\Access\Gate;
use Illuminate\Contracts\Console\Kernel as ConsoleKernel;
use Illuminate\Contracts\Events\Dispatcher;
use Illuminate\Contracts\Foundation\Application;
use Illuminate\Contracts\Http\Kernel as HttpKernel;
use Illuminate\Foundation\Console\AboutCommand;
use Illuminate\Queue\Events\Looping;
use Illuminate\Queue\Events\WorkerStopping;
use Illuminate\Routing\Router;
Expand Down Expand Up @@ -216,6 +218,11 @@ protected function registerCommands(): void
Commands\RestartCommand::class,
Commands\PurgeCommand::class,
]);

AboutCommand::add('Pulse', fn () => [
'Version' => InstalledVersions::getPrettyVersion('laravel/pulse'),
'Enabled' => AboutCommand::format(config('pulse.enabled'), console: fn ($value) => $value ? '<fg=yellow;options=bold>ENABLED</>' : 'OFF'),
]);
}
}
}