Add Laravel broadcasting setup

Register channel routes and add the default broadcasting configuration generated for Laravel broadcasting support.
This commit is contained in:
2026-03-21 11:08:18 +01:00
parent 979e011257
commit 60f78e8235
3 changed files with 90 additions and 0 deletions

View File

@@ -9,6 +9,7 @@ return Application::configure(basePath: dirname(__DIR__))
web: __DIR__.'/../routes/web.php',
api: __DIR__.'/../routes/api.php',
commands: __DIR__.'/../routes/console.php',
channels: __DIR__.'/../routes/channels.php',
health: '/up',
)
->withMiddleware(function (Middleware $middleware): void {