-

-
-
-
+
+
+
-
-
+
+
+ @if (Route::has('login'))
+
+ @auth
+
Home
+ @else
+
Login
-
-
Laravel News
+ @if (Route::has('register'))
+
Register
+ @endif
+ @endauth
+
+ @endif
-
- Laravel News is a community driven portal and newsletter aggregating all of the latest and most important news in the Laravel ecosystem, including new package releases and tutorials.
-
-
+
+
+ Laravel
+
-
-
-
-
-
-
-
-
Vibrant Ecosystem
-
-
- Laravel's robust library of first-party tools and libraries, such as Forge, Vapor, Nova, Envoyer, and Herd help you take your projects to the next level. Pair them with powerful open source libraries like Cashier, Dusk, Echo, Horizon, Sanctum, Telescope, and more.
-
-
-
-
-
-
-
-
+
-
+
+
+
diff --git a/routes/api.php b/routes/api.php
new file mode 100644
index 0000000..889937e
--- /dev/null
+++ b/routes/api.php
@@ -0,0 +1,19 @@
+get('/user', function (Request $request) {
+ return $request->user();
+});
diff --git a/routes/channels.php b/routes/channels.php
new file mode 100644
index 0000000..5d451e1
--- /dev/null
+++ b/routes/channels.php
@@ -0,0 +1,18 @@
+id === (int) $id;
+});
diff --git a/routes/console.php b/routes/console.php
index eff2ed2..e05f4c9 100644
--- a/routes/console.php
+++ b/routes/console.php
@@ -3,6 +3,17 @@
use Illuminate\Foundation\Inspiring;
use Illuminate\Support\Facades\Artisan;
+/*
+|--------------------------------------------------------------------------
+| Console Routes
+|--------------------------------------------------------------------------
+|
+| This file is where you may define all of your Closure based console
+| commands. Each Closure is bound to a command instance allowing a
+| simple approach to interacting with each command's IO methods.
+|
+*/
+
Artisan::command('inspire', function () {
$this->comment(Inspiring::quote());
-})->purpose('Display an inspiring quote')->hourly();
+})->purpose('Display an inspiring quote');
diff --git a/routes/web.php b/routes/web.php
index d4c45a3..3410d62 100644
--- a/routes/web.php
+++ b/routes/web.php
@@ -2,15 +2,25 @@
use Illuminate\Support\Facades\Route;
-//Route::get('/', [\App\Http\Controllers\HomeController::class, 'index']);
-//Route::get('/organizers', [\App\Http\Controllers\HomeController::class, 'organizers']);
-//Route::get('/organizer/{screen}', [\App\Http\Controllers\HomeController::class, 'organizer']);
-//Route::get('/category/{slug}', [\App\Http\Controllers\HomeController::class, 'category']);
-//Route::get('/last-minutes', [\App\Http\Controllers\HomeController::class, 'lastminutes']);
-//Route::get('/search', [\App\Http\Controllers\HomeController::class, 'search']);
-//Route::get('/aplifier/list', [\App\Http\Controllers\ContestsController::class, 'twitterlist']);
-//Route::get('/aplifier/search', [\App\Http\Controllers\ContestsController::class, 'searchcontest']);
+/*
+|--------------------------------------------------------------------------
+| Web Routes
+|--------------------------------------------------------------------------
+|
+| Here is where you can register web routes for your application. These
+| routes are loaded by the RouteServiceProvider and all of them will
+| be assigned to the "web" middleware group. Make something great!
+|
+*/
-Route::get('/fake', [\App\Http\Controllers\FakeController::class, 'index']);
+Route::get('/', function () {
+ return view('welcome');
+});
-//Route::get('/img/{path}', [\App\Http\Controllers\WebpController::class, 'show'])->where('path', '.*');
+Route::view('home', 'home')
+ ->name('home')
+ ->middleware(['auth']);
+
+Route::view('profile', 'profile.edit')
+ ->name('profile.edit')
+ ->middleware(['auth']);
diff --git a/storage/framework/.gitignore b/storage/framework/.gitignore
index 01e4a6c..05c4471 100644
--- a/storage/framework/.gitignore
+++ b/storage/framework/.gitignore
@@ -1,3 +1,9 @@
-*
-!data/
-!.gitignore
+compiled.php
+config.php
+down
+events.scanned.php
+maintenance.php
+routes.php
+routes.scanned.php
+schedule-*
+services.json
diff --git a/storage/framework/cache/.gitignore b/storage/framework/cache/.gitignore
new file mode 100644
index 0000000..01e4a6c
--- /dev/null
+++ b/storage/framework/cache/.gitignore
@@ -0,0 +1,3 @@
+*
+!data/
+!.gitignore
diff --git a/storage/framework/cache/data/.gitignore b/storage/framework/cache/data/.gitignore
new file mode 100644
index 0000000..d6b7ef3
--- /dev/null
+++ b/storage/framework/cache/data/.gitignore
@@ -0,0 +1,2 @@
+*
+!.gitignore
diff --git a/storage/framework/sessions/.gitignore b/storage/framework/sessions/.gitignore
new file mode 100644
index 0000000..d6b7ef3
--- /dev/null
+++ b/storage/framework/sessions/.gitignore
@@ -0,0 +1,2 @@
+*
+!.gitignore
diff --git a/storage/framework/testing/.gitignore b/storage/framework/testing/.gitignore
new file mode 100644
index 0000000..d6b7ef3
--- /dev/null
+++ b/storage/framework/testing/.gitignore
@@ -0,0 +1,2 @@
+*
+!.gitignore
diff --git a/storage/framework/views/.gitignore b/storage/framework/views/.gitignore
new file mode 100644
index 0000000..d6b7ef3
--- /dev/null
+++ b/storage/framework/views/.gitignore
@@ -0,0 +1,2 @@
+*
+!.gitignore
diff --git a/tests/CreatesApplication.php b/tests/CreatesApplication.php
new file mode 100644
index 0000000..cc68301
--- /dev/null
+++ b/tests/CreatesApplication.php
@@ -0,0 +1,21 @@
+make(Kernel::class)->bootstrap();
+
+ return $app;
+ }
+}
diff --git a/tests/TestCase.php b/tests/TestCase.php
index fe1ffc2..2932d4a 100644
--- a/tests/TestCase.php
+++ b/tests/TestCase.php
@@ -6,5 +6,5 @@ use Illuminate\Foundation\Testing\TestCase as BaseTestCase;
abstract class TestCase extends BaseTestCase
{
- //
+ use CreatesApplication;
}
diff --git a/vite.config.js b/vite.config.js
deleted file mode 100644
index 421b569..0000000
--- a/vite.config.js
+++ /dev/null
@@ -1,11 +0,0 @@
-import { defineConfig } from 'vite';
-import laravel from 'laravel-vite-plugin';
-
-export default defineConfig({
- plugins: [
- laravel({
- input: ['resources/css/app.css', 'resources/js/app.js'],
- refresh: true,
- }),
- ],
-});