- Any-LLM Gateway setup with Docker Compose - Laravel 11 admin interface with Livewire - Dashboard with usage statistics and charts - Gateway Users management with budget tracking - API Keys management with revocation - Budget templates with assignment - Usage Logs with filtering and CSV export - Model Pricing management with calculator - PostgreSQL database integration - Complete authentication system for admins
21 lines
358 B
PHP
21 lines
358 B
PHP
<?php
|
|
|
|
namespace App\Livewire\Actions;
|
|
|
|
use Illuminate\Support\Facades\Auth;
|
|
use Illuminate\Support\Facades\Session;
|
|
|
|
class Logout
|
|
{
|
|
/**
|
|
* Log the current user out of the application.
|
|
*/
|
|
public function __invoke(): void
|
|
{
|
|
Auth::guard('web')->logout();
|
|
|
|
Session::invalidate();
|
|
Session::regenerateToken();
|
|
}
|
|
}
|