From fb0c574ed1725fe13c8ab073d2ead3fdc842c2ba Mon Sep 17 00:00:00 2001 From: Phil Burton Date: Fri, 1 Nov 2019 22:56:27 +0000 Subject: Added laravel project --- routes/api.php | 18 ++++++++++++++++++ routes/channels.php | 16 ++++++++++++++++ routes/console.php | 18 ++++++++++++++++++ routes/web.php | 16 ++++++++++++++++ 4 files changed, 68 insertions(+) create mode 100644 routes/api.php create mode 100644 routes/channels.php create mode 100644 routes/console.php create mode 100644 routes/web.php (limited to 'routes') diff --git a/routes/api.php b/routes/api.php new file mode 100644 index 0000000..c641ca5 --- /dev/null +++ b/routes/api.php @@ -0,0 +1,18 @@ +get('/user', function (Request $request) { + return $request->user(); +}); diff --git a/routes/channels.php b/routes/channels.php new file mode 100644 index 0000000..f16a20b --- /dev/null +++ b/routes/channels.php @@ -0,0 +1,16 @@ +id === (int) $id; +}); diff --git a/routes/console.php b/routes/console.php new file mode 100644 index 0000000..75dd0cd --- /dev/null +++ b/routes/console.php @@ -0,0 +1,18 @@ +comment(Inspiring::quote()); +})->describe('Display an inspiring quote'); diff --git a/routes/web.php b/routes/web.php new file mode 100644 index 0000000..810aa34 --- /dev/null +++ b/routes/web.php @@ -0,0 +1,16 @@ +