We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 54f70a6 commit 5f32a29Copy full SHA for 5f32a29
bootstrap/app.php
@@ -15,7 +15,7 @@
15
->withProviders()
16
->withRouting(
17
web: __DIR__.'/../routes/web.php',
18
- // api: __DIR__.'/../routes/api.php',
+ api: __DIR__.'/../routes/api.php',
19
commands: __DIR__.'/../routes/console.php',
20
// channels: __DIR__.'/../routes/channels.php',
21
health: '/up',
routes/channels.php
routes/console.php
@@ -0,0 +1,8 @@
1
+<?php
2
+
3
+use Illuminate\Foundation\Inspiring;
4
+use Illuminate\Support\Facades\Artisan;
5
6
+Artisan::command('inspire', function () {
7
+ $this->comment(Inspiring::quote());
8
+})->purpose('Display an inspiring quote')->hourly();
0 commit comments