From e5d5fec5f782e6abf8628f3e1d11a8cbbe70a677 Mon Sep 17 00:00:00 2001 From: Sam Light Date: Sun, 30 Mar 2025 20:39:33 +0100 Subject: Setup workbench --- workbench/.gitignore | 2 ++ .../app/Providers/WorkbenchServiceProvider.php | 24 ++++++++++++++++++++++ workbench/bootstrap/app.php | 18 ++++++++++++++++ workbench/resources/views/index.blade.php | 16 +++++++++++++++ workbench/routes/web.php | 7 +++++++ 5 files changed, 67 insertions(+) create mode 100644 workbench/.gitignore create mode 100644 workbench/app/Providers/WorkbenchServiceProvider.php create mode 100644 workbench/bootstrap/app.php create mode 100644 workbench/resources/views/index.blade.php create mode 100644 workbench/routes/web.php (limited to 'workbench') diff --git a/workbench/.gitignore b/workbench/.gitignore new file mode 100644 index 0000000..7260321 --- /dev/null +++ b/workbench/.gitignore @@ -0,0 +1,2 @@ +.env +.env.dusk diff --git a/workbench/app/Providers/WorkbenchServiceProvider.php b/workbench/app/Providers/WorkbenchServiceProvider.php new file mode 100644 index 0000000..e8cec9c --- /dev/null +++ b/workbench/app/Providers/WorkbenchServiceProvider.php @@ -0,0 +1,24 @@ +withRouting( + web: __DIR__.'/../routes/web.php', + ) + ->withMiddleware(function (Middleware $middleware) { + // + }) + ->withExceptions(function (Exceptions $exceptions) { + // + })->create(); diff --git a/workbench/resources/views/index.blade.php b/workbench/resources/views/index.blade.php new file mode 100644 index 0000000..1c05dfc --- /dev/null +++ b/workbench/resources/views/index.blade.php @@ -0,0 +1,16 @@ + + + + + {{ $title = __('Laralight assets testing') }} + + + +

+ {{ $title }} +

+

+ {{ __('testing enviroment for laravel assets library') }} +

+ + diff --git a/workbench/routes/web.php b/workbench/routes/web.php new file mode 100644 index 0000000..67e84cf --- /dev/null +++ b/workbench/routes/web.php @@ -0,0 +1,7 @@ +