feat: add analysis tools and dashboard views for intern data tracking and reporting

This commit is contained in:
Ümit Tunç
2026-08-31 12:57:06 +03:00
parent 3b0d2664e4
commit f1a579c8ee
15 changed files with 4793 additions and 0 deletions
+19
View File
@@ -0,0 +1,19 @@
<?php
require __DIR__ . '/../vendor/autoload.php';
$app = require_once __DIR__ . '/../bootstrap/app.php';
$kernel = $app->make(Illuminate\Contracts\Http\Kernel::class);
$request = Illuminate\Http\Request::create('/stajyer/panel', 'GET');
// start session
$session = $app->make('session')->driver();
$session->setId('test-session');
$session->start();
$session->put('intern_id', 18);
$session->save();
$request->setLaravelSession($session);
$cookies = ['laravel_session' => $session->getId()];
$request->cookies->add($cookies);
$response = $kernel->handle($request);
echo "GET /stajyer/panel -> HTTP Status: " . $response->getStatusCode() . " | Output Length: " . strlen($response->getContent()) . "\n";