repo
stringlengths
7
63
file_url
stringlengths
81
284
file_path
stringlengths
5
200
content
stringlengths
0
32.8k
language
stringclasses
1 value
license
stringclasses
7 values
commit_sha
stringlengths
40
40
retrieved_at
stringdate
2026-01-04 15:02:33
2026-01-05 05:24:06
truncated
bool
2 classes
phpvms/phpvms
https://github.com/phpvms/phpvms/blob/8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9/app/Http/Controllers/Auth/OAuthController.php
app/Http/Controllers/Auth/OAuthController.php
<?php namespace App\Http\Controllers\Auth; use App\Contracts\Controller; use App\Models\Enums\UserState; use App\Models\User; use App\Models\UserOAuthToken; use App\Services\UserService; use Illuminate\Http\RedirectResponse; use Illuminate\Http\Request; use Illuminate\Support\Facades\Auth; use Illuminate\Support\Faca...
php
BSD-3-Clause
8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9
2026-01-05T02:29:57.665749Z
false
phpvms/phpvms
https://github.com/phpvms/phpvms/blob/8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9/app/Http/Controllers/Auth/LoginController.php
app/Http/Controllers/Auth/LoginController.php
<?php namespace App\Http\Controllers\Auth; use App\Contracts\Controller; use App\Exceptions\PilotIdNotFound; use App\Models\Enums\UserState; use App\Models\User; use App\Services\UserService; use Illuminate\Foundation\Auth\AuthenticatesUsers; use Illuminate\Http\RedirectResponse; use Illuminate\Http\Request; use Illu...
php
BSD-3-Clause
8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9
2026-01-05T02:29:57.665749Z
false
phpvms/phpvms
https://github.com/phpvms/phpvms/blob/8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9/app/Http/Controllers/Auth/VerificationController.php
app/Http/Controllers/Auth/VerificationController.php
<?php namespace App\Http\Controllers\Auth; use App\Models\User; use Illuminate\Auth\Access\AuthorizationException; use Illuminate\Auth\Events\Verified; use Illuminate\Foundation\Auth\VerifiesEmails; use Illuminate\Http\Request; use Illuminate\Routing\Controller; use Illuminate\Support\Facades\Log; class Verification...
php
BSD-3-Clause
8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9
2026-01-05T02:29:57.665749Z
false
phpvms/phpvms
https://github.com/phpvms/phpvms/blob/8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9/app/Http/Controllers/Auth/ForgotPasswordController.php
app/Http/Controllers/Auth/ForgotPasswordController.php
<?php namespace App\Http\Controllers\Auth; use App\Contracts\Controller; use Illuminate\Foundation\Auth\SendsPasswordResetEmails; use Illuminate\View\View; /** * Class ForgotPasswordController */ class ForgotPasswordController extends Controller { use SendsPasswordResetEmails; /** * ForgotPasswordCon...
php
BSD-3-Clause
8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9
2026-01-05T02:29:57.665749Z
false
phpvms/phpvms
https://github.com/phpvms/phpvms/blob/8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9/app/Http/Controllers/Auth/ResetPasswordController.php
app/Http/Controllers/Auth/ResetPasswordController.php
<?php namespace App\Http\Controllers\Auth; use App\Contracts\Controller; use Illuminate\Foundation\Auth\ResetsPasswords; use Illuminate\Http\Request; use Illuminate\View\View; /** * Class ResetPasswordController */ class ResetPasswordController extends Controller { use ResetsPasswords; protected $redirect...
php
BSD-3-Clause
8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9
2026-01-05T02:29:57.665749Z
false
phpvms/phpvms
https://github.com/phpvms/phpvms/blob/8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9/app/Http/Controllers/Auth/RegisterController.php
app/Http/Controllers/Auth/RegisterController.php
<?php namespace App\Http\Controllers\Auth; use App\Contracts\Controller; use App\Models\Enums\UserState; use App\Models\Invite; use App\Models\User; use App\Models\UserField; use App\Models\UserFieldValue; use App\Repositories\AirlineRepository; use App\Services\UserService; use App\Support\Countries; use App\Support...
php
BSD-3-Clause
8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9
2026-01-05T02:29:57.665749Z
false
phpvms/phpvms
https://github.com/phpvms/phpvms/blob/8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9/app/Http/Controllers/Api/MaintenanceController.php
app/Http/Controllers/Api/MaintenanceController.php
<?php namespace App\Http\Controllers\Api; use App\Console\Cron; use App\Console\Kernel; use App\Contracts\Controller; use App\Exceptions\CronInvalid; use Illuminate\Http\JsonResponse; use Illuminate\Http\Request; use Symfony\Component\Console\Input\ArgvInput; use Symfony\Component\Console\Output\NullOutput; class Ma...
php
BSD-3-Clause
8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9
2026-01-05T02:29:57.665749Z
false
phpvms/phpvms
https://github.com/phpvms/phpvms/blob/8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9/app/Http/Controllers/Api/AirlineController.php
app/Http/Controllers/Api/AirlineController.php
<?php namespace App\Http\Controllers\Api; use App\Contracts\Controller; use App\Http\Resources\Airline as AirlineResource; use App\Repositories\AirlineRepository; use Illuminate\Http\Request; class AirlineController extends Controller { /** * AirlineController constructor. */ public function __cons...
php
BSD-3-Clause
8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9
2026-01-05T02:29:57.665749Z
false
phpvms/phpvms
https://github.com/phpvms/phpvms/blob/8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9/app/Http/Controllers/Api/StatusController.php
app/Http/Controllers/Api/StatusController.php
<?php namespace App\Http\Controllers\Api; use App\Contracts\Controller; use App\Services\VersionService; use Illuminate\Http\JsonResponse; /** * Class StatusController */ class StatusController extends Controller { public function __construct( private readonly VersionService $versionSvc ) {} p...
php
BSD-3-Clause
8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9
2026-01-05T02:29:57.665749Z
false
phpvms/phpvms
https://github.com/phpvms/phpvms/blob/8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9/app/Http/Controllers/Api/UserController.php
app/Http/Controllers/Api/UserController.php
<?php namespace App\Http\Controllers\Api; use App\Contracts\Controller; use App\Exceptions\BidExistsForFlight; use App\Exceptions\BidNotFound; use App\Exceptions\Unauthorized; use App\Exceptions\UserNotFound; use App\Http\Resources\Bid as BidResource; use App\Http\Resources\Pirep as PirepResource; use App\Http\Resour...
php
BSD-3-Clause
8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9
2026-01-05T02:29:57.665749Z
false
phpvms/phpvms
https://github.com/phpvms/phpvms/blob/8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9/app/Http/Controllers/Api/NewsController.php
app/Http/Controllers/Api/NewsController.php
<?php namespace App\Http\Controllers\Api; use App\Contracts\Controller; use App\Http\Resources\News as NewsResource; use App\Repositories\NewsRepository; use Illuminate\Http\Request; class NewsController extends Controller { /** * AirlineController constructor. */ public function __construct( ...
php
BSD-3-Clause
8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9
2026-01-05T02:29:57.665749Z
false
phpvms/phpvms
https://github.com/phpvms/phpvms/blob/8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9/app/Http/Controllers/Api/SettingsController.php
app/Http/Controllers/Api/SettingsController.php
<?php namespace App\Http\Controllers\Api; use App\Contracts\Controller; use App\Http\Resources\Setting as SettingResource; use App\Repositories\SettingRepository; use Illuminate\Http\Request; use Illuminate\Http\Resources\Json\AnonymousResourceCollection; /** * Class SettingsController */ class SettingsController ...
php
BSD-3-Clause
8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9
2026-01-05T02:29:57.665749Z
false
phpvms/phpvms
https://github.com/phpvms/phpvms/blob/8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9/app/Http/Controllers/Api/FleetController.php
app/Http/Controllers/Api/FleetController.php
<?php namespace App\Http\Controllers\Api; use App\Contracts\Controller; use App\Http\Resources\Aircraft as AircraftResource; use App\Http\Resources\Subfleet as SubfleetResource; use App\Repositories\AircraftRepository; use App\Repositories\SubfleetRepository; use Illuminate\Http\Request; /** * Class FleetController...
php
BSD-3-Clause
8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9
2026-01-05T02:29:57.665749Z
false
phpvms/phpvms
https://github.com/phpvms/phpvms/blob/8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9/app/Http/Controllers/Api/FlightController.php
app/Http/Controllers/Api/FlightController.php
<?php namespace App\Http\Controllers\Api; use App\Contracts\Controller; use App\Exceptions\AssetNotFound; use App\Http\Resources\Flight as FlightResource; use App\Http\Resources\Navdata as NavdataResource; use App\Models\Aircraft; use App\Models\Enums\AircraftState; use App\Models\Enums\AircraftStatus; use App\Models...
php
BSD-3-Clause
8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9
2026-01-05T02:29:57.665749Z
false
phpvms/phpvms
https://github.com/phpvms/phpvms/blob/8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9/app/Http/Controllers/Api/PirepController.php
app/Http/Controllers/Api/PirepController.php
<?php namespace App\Http\Controllers\Api; use App\Contracts\Controller; use App\Events\PirepUpdated; use App\Exceptions\AircraftNotAtAirport; use App\Exceptions\AircraftPermissionDenied; use App\Exceptions\PirepCancelled; use App\Exceptions\PirepError; use App\Exceptions\UserNotAtAirport; use App\Http\Requests\Acars\...
php
BSD-3-Clause
8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9
2026-01-05T02:29:57.665749Z
false
phpvms/phpvms
https://github.com/phpvms/phpvms/blob/8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9/app/Http/Controllers/Api/AirportController.php
app/Http/Controllers/Api/AirportController.php
<?php namespace App\Http\Controllers\Api; use App\Contracts\Controller; use App\Http\Resources\Airport as AirportResource; use App\Http\Resources\AirportDistance as AirportDistanceResource; use App\Repositories\AirportRepository; use App\Repositories\Criteria\WhereCriteria; use App\Services\AirportService; use Illumi...
php
BSD-3-Clause
8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9
2026-01-05T02:29:57.665749Z
false
phpvms/phpvms
https://github.com/phpvms/phpvms/blob/8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9/app/Http/Controllers/Api/AcarsController.php
app/Http/Controllers/Api/AcarsController.php
<?php namespace App\Http\Controllers\Api; use App\Contracts\Controller; use App\Events\AcarsUpdate; use App\Exceptions\PirepCancelled; use App\Exceptions\PirepNotFound; use App\Http\Requests\Acars\EventRequest; use App\Http\Requests\Acars\LogRequest; use App\Http\Requests\Acars\PositionRequest; use App\Http\Resources...
php
BSD-3-Clause
8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9
2026-01-05T02:29:57.665749Z
false
phpvms/phpvms
https://github.com/phpvms/phpvms/blob/8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9/app/Http/Controllers/Frontend/CreditsController.php
app/Http/Controllers/Frontend/CreditsController.php
<?php namespace App\Http\Controllers\Frontend; use App\Contracts\Controller; use Illuminate\View\View; use Nwidart\Modules\Facades\Module; class CreditsController extends Controller { public function index(): View { $all_modules = Module::all(); $v7_defaults = ['Awards', 'Vacentral', 'Sample'...
php
BSD-3-Clause
8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9
2026-01-05T02:29:57.665749Z
false
phpvms/phpvms
https://github.com/phpvms/phpvms/blob/8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9/app/Http/Controllers/Frontend/DownloadController.php
app/Http/Controllers/Frontend/DownloadController.php
<?php namespace App\Http\Controllers\Frontend; use App\Contracts\Controller; use App\Models\Airline; use App\Models\File; use Illuminate\Http\RedirectResponse; use Illuminate\Support\Facades\Auth; use Illuminate\Support\Facades\DB; use Illuminate\Support\Facades\Storage; use Illuminate\View\View; use Laracasts\Flash\...
php
BSD-3-Clause
8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9
2026-01-05T02:29:57.665749Z
false
phpvms/phpvms
https://github.com/phpvms/phpvms/blob/8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9/app/Http/Controllers/Frontend/ProfileController.php
app/Http/Controllers/Frontend/ProfileController.php
<?php namespace App\Http\Controllers\Frontend; use App\Contracts\Controller; use App\Events\ProfileUpdated; use App\Models\User; use App\Models\UserField; use App\Models\UserFieldValue; use App\Repositories\AirlineRepository; use App\Repositories\UserRepository; use App\Support\Countries; use App\Support\Timezonelist...
php
BSD-3-Clause
8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9
2026-01-05T02:29:57.665749Z
false
phpvms/phpvms
https://github.com/phpvms/phpvms/blob/8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9/app/Http/Controllers/Frontend/UserController.php
app/Http/Controllers/Frontend/UserController.php
<?php namespace App\Http\Controllers\Frontend; use App\Contracts\Controller; use App\Models\Enums\UserState; use App\Repositories\Criteria\WhereCriteria; use App\Repositories\UserRepository; use Illuminate\Http\Request; use Illuminate\Support\Facades\Log; use Illuminate\View\View; use League\ISO3166\ISO3166; use Pret...
php
BSD-3-Clause
8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9
2026-01-05T02:29:57.665749Z
false
phpvms/phpvms
https://github.com/phpvms/phpvms/blob/8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9/app/Http/Controllers/Frontend/SimBriefController.php
app/Http/Controllers/Frontend/SimBriefController.php
<?php namespace App\Http\Controllers\Frontend; use App\Exceptions\AssetNotFound; use App\Models\Aircraft; use App\Models\Bid; use App\Models\Enums\AircraftState; use App\Models\Enums\AircraftStatus; use App\Models\Enums\AirframeSource; use App\Models\Enums\FareType; use App\Models\Enums\FlightType; use App\Models\Far...
php
BSD-3-Clause
8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9
2026-01-05T02:29:57.665749Z
false
phpvms/phpvms
https://github.com/phpvms/phpvms/blob/8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9/app/Http/Controllers/Frontend/LiveMapController.php
app/Http/Controllers/Frontend/LiveMapController.php
<?php namespace App\Http\Controllers\Frontend; use App\Contracts\Controller; use Illuminate\Http\Request; use Illuminate\View\View; class LiveMapController extends Controller { public function index(Request $request): View { return view('livemap.index'); } }
php
BSD-3-Clause
8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9
2026-01-05T02:29:57.665749Z
false
phpvms/phpvms
https://github.com/phpvms/phpvms/blob/8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9/app/Http/Controllers/Frontend/HomeController.php
app/Http/Controllers/Frontend/HomeController.php
<?php namespace App\Http\Controllers\Frontend; use App\Contracts\Controller; use App\Models\Enums\UserState; use App\Models\User; use Illuminate\Http\RedirectResponse; use Illuminate\Support\Facades\Log; use Illuminate\View\View; use PDOException; class HomeController extends Controller { /** * Show the app...
php
BSD-3-Clause
8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9
2026-01-05T02:29:57.665749Z
false
phpvms/phpvms
https://github.com/phpvms/phpvms/blob/8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9/app/Http/Controllers/Frontend/FlightController.php
app/Http/Controllers/Frontend/FlightController.php
<?php namespace App\Http\Controllers\Frontend; use App\Contracts\Controller; use App\Models\Aircraft; use App\Models\Bid; use App\Models\Enums\FlightType; use App\Models\Flight; use App\Models\Typerating; use App\Models\User; use App\Repositories\AirlineRepository; use App\Repositories\Criteria\WhereCriteria; use App...
php
BSD-3-Clause
8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9
2026-01-05T02:29:57.665749Z
false
phpvms/phpvms
https://github.com/phpvms/phpvms/blob/8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9/app/Http/Controllers/Frontend/PirepController.php
app/Http/Controllers/Frontend/PirepController.php
<?php namespace App\Http\Controllers\Frontend; use App\Contracts\Controller; use App\Filament\Resources\Pireps\PirepResource; use App\Http\Requests\CreatePirepRequest; use App\Http\Requests\UpdatePirepRequest; use App\Models\Enums\PirepFieldSource; use App\Models\Enums\PirepSource; use App\Models\Enums\PirepState; us...
php
BSD-3-Clause
8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9
2026-01-05T02:29:57.665749Z
false
phpvms/phpvms
https://github.com/phpvms/phpvms/blob/8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9/app/Http/Controllers/Frontend/AirportController.php
app/Http/Controllers/Frontend/AirportController.php
<?php namespace App\Http\Controllers\Frontend; use App\Contracts\Controller; use App\Repositories\AirportRepository; use App\Repositories\FlightRepository; use Illuminate\Http\RedirectResponse; use Illuminate\Http\Request; use Illuminate\View\View; use Laracasts\Flash\Flash; class AirportController extends Controlle...
php
BSD-3-Clause
8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9
2026-01-05T02:29:57.665749Z
false
phpvms/phpvms
https://github.com/phpvms/phpvms/blob/8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9/app/Http/Controllers/Frontend/PageController.php
app/Http/Controllers/Frontend/PageController.php
<?php namespace App\Http\Controllers\Frontend; use App\Contracts\Controller; use App\Exceptions\PageNotFound; use App\Exceptions\Unauthorized; use App\Models\Page; use App\Repositories\PageRepository; use Exception; use Illuminate\Support\Facades\Auth; use Illuminate\View\View; class PageController extends Controlle...
php
BSD-3-Clause
8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9
2026-01-05T02:29:57.665749Z
false
phpvms/phpvms
https://github.com/phpvms/phpvms/blob/8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9/app/Http/Controllers/Frontend/LanguageController.php
app/Http/Controllers/Frontend/LanguageController.php
<?php namespace App\Http\Controllers\Frontend; use App\Contracts\Controller; use Illuminate\Http\RedirectResponse; use Illuminate\Support\Facades\Cookie; class LanguageController extends Controller { public function switchLang(string $lang): RedirectResponse { $cookie = Cookie::make('lang', $lang, 60...
php
BSD-3-Clause
8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9
2026-01-05T02:29:57.665749Z
false
phpvms/phpvms
https://github.com/phpvms/phpvms/blob/8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9/app/Http/Controllers/Frontend/DashboardController.php
app/Http/Controllers/Frontend/DashboardController.php
<?php namespace App\Http\Controllers\Frontend; use App\Contracts\Controller; use App\Models\User; use App\Repositories\PirepRepository; use Exception; use Illuminate\Support\Facades\Auth; use Illuminate\View\View; /** * Class DashboardController */ class DashboardController extends Controller { /** * Dash...
php
BSD-3-Clause
8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9
2026-01-05T02:29:57.665749Z
false
phpvms/phpvms
https://github.com/phpvms/phpvms/blob/8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9/app/Http/Composers/VersionComposer.php
app/Http/Composers/VersionComposer.php
<?php namespace App\Http\Composers; use App\Contracts\Composer; use App\Services\VersionService; use Illuminate\View\View; class VersionComposer extends Composer { public function __construct( private readonly VersionService $versionSvc ) {} public function compose(View $view) { $vie...
php
BSD-3-Clause
8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9
2026-01-05T02:29:57.665749Z
false
phpvms/phpvms
https://github.com/phpvms/phpvms/blob/8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9/app/Http/Composers/PageLinksComposer.php
app/Http/Composers/PageLinksComposer.php
<?php namespace App\Http\Composers; use App\Contracts\Composer; use App\Repositories\PageRepository; use Exception; use Illuminate\Support\Facades\Auth; use Illuminate\View\View; class PageLinksComposer extends Composer { public static array $fields = ['id', 'name', 'slug', 'icon', 'type', 'link', 'new_window'];...
php
BSD-3-Clause
8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9
2026-01-05T02:29:57.665749Z
false
phpvms/phpvms
https://github.com/phpvms/phpvms/blob/8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9/app/Http/Middleware/SetActiveTheme.php
app/Http/Middleware/SetActiveTheme.php
<?php namespace App\Http\Middleware; use App\Contracts\Middleware; use Closure; use Exception; use Igaster\LaravelTheme\Facades\Theme; use Illuminate\Http\Request; use Illuminate\Support\Facades\Log; /** * Read the current theme from the settings (set in admin), and set it */ class SetActiveTheme implements Middle...
php
BSD-3-Clause
8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9
2026-01-05T02:29:57.665749Z
false
phpvms/phpvms
https://github.com/phpvms/phpvms/blob/8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9/app/Http/Middleware/MeasureExecutionTime.php
app/Http/Middleware/MeasureExecutionTime.php
<?php /** * https://stackoverflow.com/a/34894933 */ namespace App\Http\Middleware; use App\Contracts\Middleware; use Closure; use Illuminate\Http\Request; class MeasureExecutionTime implements Middleware { public function handle(Request $request, Closure $next) { // Get the response $respo...
php
BSD-3-Clause
8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9
2026-01-05T02:29:57.665749Z
false
phpvms/phpvms
https://github.com/phpvms/phpvms/blob/8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9/app/Http/Middleware/RedirectIfAuthenticated.php
app/Http/Middleware/RedirectIfAuthenticated.php
<?php namespace App\Http\Middleware; use App\Contracts\Middleware; use Closure; use Illuminate\Http\Request; use Illuminate\Support\Facades\Auth; class RedirectIfAuthenticated implements Middleware { public function handle(Request $request, Closure $next, $guard = null) { if (Auth::guard($guard)->che...
php
BSD-3-Clause
8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9
2026-01-05T02:29:57.665749Z
false
phpvms/phpvms
https://github.com/phpvms/phpvms/blob/8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9/app/Http/Middleware/JsonResponse.php
app/Http/Middleware/JsonResponse.php
<?php /** * Set the content type in the API layer */ namespace App\Http\Middleware; use App\Contracts\Middleware; use Closure; use Illuminate\Http\Request; class JsonResponse implements Middleware { public function handle(Request $request, Closure $next) { $response = $next($request); $res...
php
BSD-3-Clause
8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9
2026-01-05T02:29:57.665749Z
false
phpvms/phpvms
https://github.com/phpvms/phpvms/blob/8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9/app/Http/Middleware/TrustProxies.php
app/Http/Middleware/TrustProxies.php
<?php namespace App\Http\Middleware; use Closure; use Illuminate\Http\Middleware\TrustProxies as Middleware; use Illuminate\Http\Request; class TrustProxies extends Middleware { /** * The trusted proxies for this application. * * @var array<int, string>|string|null */ protected $proxies =...
php
BSD-3-Clause
8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9
2026-01-05T02:29:57.665749Z
false
phpvms/phpvms
https://github.com/phpvms/phpvms/blob/8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9/app/Http/Middleware/SetActiveLanguage.php
app/Http/Middleware/SetActiveLanguage.php
<?php namespace App\Http\Middleware; use Closure; use Illuminate\Http\RedirectResponse; use Illuminate\Http\Request; use Illuminate\Http\Response; use Illuminate\Support\Facades\App; class SetActiveLanguage { /** * Handle an incoming request. * * @param Closure(Request):((Response|RedirectRespons...
php
BSD-3-Clause
8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9
2026-01-05T02:29:57.665749Z
false
phpvms/phpvms
https://github.com/phpvms/phpvms/blob/8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9/app/Http/Middleware/EnableActivityLogging.php
app/Http/Middleware/EnableActivityLogging.php
<?php namespace App\Http\Middleware; use Closure; use Illuminate\Http\Request; use Symfony\Component\HttpFoundation\Response; class EnableActivityLogging { /** * Handle an incoming request. * * @param Closure(Request):Response $next */ public function handle(Request $request, Closure $nex...
php
BSD-3-Clause
8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9
2026-01-05T02:29:57.665749Z
false
phpvms/phpvms
https://github.com/phpvms/phpvms/blob/8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9/app/Http/Middleware/InstalledCheck.php
app/Http/Middleware/InstalledCheck.php
<?php /** * Handle the authentication for the API layer */ namespace App\Http\Middleware; use App\Contracts\Middleware; use App\Filament\System\Installer; use App\Models\User; use Closure; use Illuminate\Http\Request; use Illuminate\Support\Facades\Schema; /** * Check the app.key to see whether we're installed o...
php
BSD-3-Clause
8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9
2026-01-05T02:29:57.665749Z
false
phpvms/phpvms
https://github.com/phpvms/phpvms/blob/8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9/app/Http/Middleware/UpdatePending.php
app/Http/Middleware/UpdatePending.php
<?php namespace App\Http\Middleware; use App\Contracts\Middleware; use App\Services\Installer\InstallerService; use Closure; use Illuminate\Http\Request; /** * Determine if an update is pending by checking in with the Installer service */ class UpdatePending implements Middleware { private $installerSvc; ...
php
BSD-3-Clause
8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9
2026-01-05T02:29:57.665749Z
false
phpvms/phpvms
https://github.com/phpvms/phpvms/blob/8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9/app/Http/Middleware/ApiAuth.php
app/Http/Middleware/ApiAuth.php
<?php /** * Handle the authentication for the API layer */ namespace App\Http\Middleware; use App\Contracts\Middleware; use App\Models\Enums\UserState; use App\Models\User; use Closure; use Illuminate\Contracts\Routing\ResponseFactory; use Illuminate\Http\Request; use Illuminate\Support\Facades\Auth; use Symfony\C...
php
BSD-3-Clause
8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9
2026-01-05T02:29:57.665749Z
false
phpvms/phpvms
https://github.com/phpvms/phpvms/blob/8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9/app/Http/Middleware/EncryptCookies.php
app/Http/Middleware/EncryptCookies.php
<?php namespace App\Http\Middleware; use App\Contracts\Middleware; use Illuminate\Cookie\Middleware\EncryptCookies as BaseEncrypter; class EncryptCookies extends BaseEncrypter implements Middleware { /** * The names of the cookies that should not be encrypted. * * @var array<int, string> */ ...
php
BSD-3-Clause
8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9
2026-01-05T02:29:57.665749Z
false
phpvms/phpvms
https://github.com/phpvms/phpvms/blob/8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9/app/Http/Middleware/VerifyCsrfToken.php
app/Http/Middleware/VerifyCsrfToken.php
<?php namespace App\Http\Middleware; use App\Contracts\Middleware; use Illuminate\Foundation\Http\Middleware\VerifyCsrfToken as BaseVerifier; class VerifyCsrfToken extends BaseVerifier implements Middleware { /** * The URIs that should be excluded from CSRF verification. * * @var array<int, string...
php
BSD-3-Clause
8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9
2026-01-05T02:29:57.665749Z
false
phpvms/phpvms
https://github.com/phpvms/phpvms/blob/8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9/app/Http/Resources/AcarsLog.php
app/Http/Resources/AcarsLog.php
<?php namespace App\Http\Resources; use App\Contracts\Resource; /** * ACARS table but only include the fields for the routes * Class AcarsRoute */ class AcarsLog extends Resource {}
php
BSD-3-Clause
8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9
2026-01-05T02:29:57.665749Z
false
phpvms/phpvms
https://github.com/phpvms/phpvms/blob/8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9/app/Http/Resources/Airport.php
app/Http/Resources/Airport.php
<?php namespace App\Http\Resources; use App\Contracts\Resource; /** * @mixin \App\Models\Airport */ class Airport extends Resource { public function toArray($request) { $res = parent::toArray($request); if (!empty($this->description)) { $res['description'] = $this->description;...
php
BSD-3-Clause
8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9
2026-01-05T02:29:57.665749Z
false
phpvms/phpvms
https://github.com/phpvms/phpvms/blob/8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9/app/Http/Resources/BidSubfleet.php
app/Http/Resources/BidSubfleet.php
<?php namespace App\Http\Resources; /** * @mixin \App\Models\Subfleet * * @property \App\Models\Aircraft $aircraft * @property \App\Models\Fare[] $fares */ class BidSubfleet extends Subfleet { public function toArray($request) { return [ 'airline_id' => $this->airlin...
php
BSD-3-Clause
8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9
2026-01-05T02:29:57.665749Z
false
phpvms/phpvms
https://github.com/phpvms/phpvms/blob/8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9/app/Http/Resources/Pirep.php
app/Http/Resources/Pirep.php
<?php namespace App\Http\Resources; use App\Contracts\Resource; use App\Http\Resources\SimBrief as SimbriefResource; use App\Models\Enums\PirepStatus; use App\Support\Units\Distance; use App\Support\Units\Fuel; use Illuminate\Http\Request; /** * @mixin \App\Models\Pirep */ class Pirep extends Resource { /** ...
php
BSD-3-Clause
8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9
2026-01-05T02:29:57.665749Z
false
phpvms/phpvms
https://github.com/phpvms/phpvms/blob/8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9/app/Http/Resources/SimBrief.php
app/Http/Resources/SimBrief.php
<?php namespace App\Http\Resources; use App\Contracts\Resource; use App\Models\Fare; use Exception; use Illuminate\Http\Resources\MissingValue; /** * @mixin \App\Models\SimBrief */ class SimBrief extends Resource { public function toArray($request) { $data = [ 'id' => $this->id...
php
BSD-3-Clause
8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9
2026-01-05T02:29:57.665749Z
false
phpvms/phpvms
https://github.com/phpvms/phpvms/blob/8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9/app/Http/Resources/Subfleet.php
app/Http/Resources/Subfleet.php
<?php namespace App\Http\Resources; use App\Contracts\Resource; /** * @mixin \App\Models\Subfleet */ class Subfleet extends Resource { public function toArray($request) { $res = parent::toArray($request); $res['fares'] = Fare::collection($this->fares); $res['aircraft'] = Aircraft::c...
php
BSD-3-Clause
8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9
2026-01-05T02:29:57.665749Z
false
phpvms/phpvms
https://github.com/phpvms/phpvms/blob/8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9/app/Http/Resources/Aircraft.php
app/Http/Resources/Aircraft.php
<?php namespace App\Http\Resources; use App\Contracts\Resource; use App\Support\Units\Fuel; use App\Support\Units\Mass; /** * @mixin \App\Models\Aircraft */ class Aircraft extends Resource { public function toArray($request) { $res = parent::toArray($request); $res['ident'] = $this->ident; ...
php
BSD-3-Clause
8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9
2026-01-05T02:29:57.665749Z
false
phpvms/phpvms
https://github.com/phpvms/phpvms/blob/8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9/app/Http/Resources/AirportDistance.php
app/Http/Resources/AirportDistance.php
<?php namespace App\Http\Resources; use App\Contracts\Resource; class AirportDistance extends Resource { public function toArray($request) { $res = parent::toArray($request); $res['distance'] = $res['distance']->getResponseUnits(); return $res; } }
php
BSD-3-Clause
8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9
2026-01-05T02:29:57.665749Z
false
phpvms/phpvms
https://github.com/phpvms/phpvms/blob/8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9/app/Http/Resources/User.php
app/Http/Resources/User.php
<?php namespace App\Http\Resources; use App\Contracts\Resource; /** * @mixin \App\Models\User */ class User extends Resource { public function toArray($request) { $res = [ 'id' => $this->id, 'pilot_id' => $this->pilot_id, 'ident' => $this-...
php
BSD-3-Clause
8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9
2026-01-05T02:29:57.665749Z
false
phpvms/phpvms
https://github.com/phpvms/phpvms/blob/8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9/app/Http/Resources/Acars.php
app/Http/Resources/Acars.php
<?php namespace App\Http\Resources; use App\Contracts\Resource; use App\Support\Units\Distance; use App\Support\Units\Fuel; use Illuminate\Http\Request; /** * @mixin \App\Models\Acars */ class Acars extends Resource { /** * Transform the resource into an array. * * @param Request $request ...
php
BSD-3-Clause
8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9
2026-01-05T02:29:57.665749Z
false
phpvms/phpvms
https://github.com/phpvms/phpvms/blob/8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9/app/Http/Resources/PirepComment.php
app/Http/Resources/PirepComment.php
<?php namespace App\Http\Resources; use App\Contracts\Resource; use Illuminate\Http\Request; /** * @mixin \App\Models\PirepComment */ class PirepComment extends Resource { /** * Transform the resource into an array. * * @param Request $request * @return array */ public function to...
php
BSD-3-Clause
8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9
2026-01-05T02:29:57.665749Z
false
phpvms/phpvms
https://github.com/phpvms/phpvms/blob/8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9/app/Http/Resources/AcarsRoute.php
app/Http/Resources/AcarsRoute.php
<?php namespace App\Http\Resources; use App\Contracts\Resource; /** * ACARS table but only include the fields for the routes * Class AcarsRoute */ class AcarsRoute extends Resource {}
php
BSD-3-Clause
8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9
2026-01-05T02:29:57.665749Z
false
phpvms/phpvms
https://github.com/phpvms/phpvms/blob/8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9/app/Http/Resources/JournalTransaction.php
app/Http/Resources/JournalTransaction.php
<?php namespace App\Http\Resources; use App\Contracts\Resource; class JournalTransaction extends Resource { public function toArray($request) { $transaction = parent::toArray($request); return $transaction; } }
php
BSD-3-Clause
8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9
2026-01-05T02:29:57.665749Z
false
phpvms/phpvms
https://github.com/phpvms/phpvms/blob/8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9/app/Http/Resources/Award.php
app/Http/Resources/Award.php
<?php namespace App\Http\Resources; use App\Contracts\Resource; /** * @mixin \App\Models\Award */ class Award extends Resource { public function toArray($request) { return [ 'id' => $this->id, 'name' => $this->name, 'description' => $this->descrip...
php
BSD-3-Clause
8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9
2026-01-05T02:29:57.665749Z
false
phpvms/phpvms
https://github.com/phpvms/phpvms/blob/8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9/app/Http/Resources/UserBid.php
app/Http/Resources/UserBid.php
<?php namespace App\Http\Resources; use App\Contracts\Resource; use App\Models\Bid; /** * @mixin Bid */ class UserBid extends Resource { public function toArray($request) { return [ 'id' => $this->id, 'user_id' => $this->user_id, 'flight_id' => $this-...
php
BSD-3-Clause
8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9
2026-01-05T02:29:57.665749Z
false
phpvms/phpvms
https://github.com/phpvms/phpvms/blob/8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9/app/Http/Resources/Navdata.php
app/Http/Resources/Navdata.php
<?php namespace App\Http\Resources; use App\Contracts\Resource; use App\Models\Enums\NavaidType; class Navdata extends Resource { public function toArray($request) { $res = parent::toArray($request); // Some details about the navaid type $type = [ 'type' => $res['type'], ...
php
BSD-3-Clause
8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9
2026-01-05T02:29:57.665749Z
false
phpvms/phpvms
https://github.com/phpvms/phpvms/blob/8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9/app/Http/Resources/Bid.php
app/Http/Resources/Bid.php
<?php namespace App\Http\Resources; use App\Contracts\Resource; /** * @mixin \App\Models\Bid */ class Bid extends Resource { public function toArray($request) { $res = parent::toArray($request); $res['flight'] = new BidFlight($this->flight); return $res; } }
php
BSD-3-Clause
8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9
2026-01-05T02:29:57.665749Z
false
phpvms/phpvms
https://github.com/phpvms/phpvms/blob/8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9/app/Http/Resources/Airline.php
app/Http/Resources/Airline.php
<?php namespace App\Http\Resources; use App\Contracts\Resource; /** * @mixin \App\Models\Airline */ class Airline extends Resource { public function toArray($request) { return [ 'id' => $this->id, 'icao' => $this->icao, 'iata' => $this->iata, ...
php
BSD-3-Clause
8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9
2026-01-05T02:29:57.665749Z
false
phpvms/phpvms
https://github.com/phpvms/phpvms/blob/8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9/app/Http/Resources/Rank.php
app/Http/Resources/Rank.php
<?php namespace App\Http\Resources; use App\Contracts\Resource; use Illuminate\Http\Request; /** * @mixin \App\Models\Rank */ class Rank extends Resource { /** * Transform the resource into an array. * * @param Request $request * @return array */ public function toArray($request) ...
php
BSD-3-Clause
8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9
2026-01-05T02:29:57.665749Z
false
phpvms/phpvms
https://github.com/phpvms/phpvms/blob/8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9/app/Http/Resources/Setting.php
app/Http/Resources/Setting.php
<?php namespace App\Http\Resources; use App\Contracts\Resource; /** * @mixin \App\Models\Setting */ class Setting extends Resource { public function toArray($request) { return [ 'id' => $this->id, 'type' => $this->type, 'name' => $this->nam...
php
BSD-3-Clause
8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9
2026-01-05T02:29:57.665749Z
false
phpvms/phpvms
https://github.com/phpvms/phpvms/blob/8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9/app/Http/Resources/Fare.php
app/Http/Resources/Fare.php
<?php namespace App\Http\Resources; use App\Contracts\Resource; /** * @mixin \App\Models\Fare * * @property int|null $count */ class Fare extends Resource { public function toArray($request) { return [ 'id' => $this->id, 'code' => $this->code, 'name' ...
php
BSD-3-Clause
8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9
2026-01-05T02:29:57.665749Z
false
phpvms/phpvms
https://github.com/phpvms/phpvms/blob/8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9/app/Http/Resources/News.php
app/Http/Resources/News.php
<?php namespace App\Http\Resources; use App\Contracts\Resource; use Illuminate\Http\Request; /** * @mixin \App\Models\News */ class News extends Resource { /** * Transform the resource into an array. * * @param Request $request * @return array */ public function toArray($request) ...
php
BSD-3-Clause
8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9
2026-01-05T02:29:57.665749Z
false
phpvms/phpvms
https://github.com/phpvms/phpvms/blob/8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9/app/Http/Resources/BidFlight.php
app/Http/Resources/BidFlight.php
<?php namespace App\Http\Resources; use App\Http\Resources\SimBrief as SimbriefResource; use Illuminate\Http\Request; use PhpUnitsOfMeasure\Exception\NonNumericValue; use PhpUnitsOfMeasure\Exception\NonStringUnitName; /** * @mixin \App\Models\Flight */ class BidFlight extends Flight { /** * @param Reques...
php
BSD-3-Clause
8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9
2026-01-05T02:29:57.665749Z
false
phpvms/phpvms
https://github.com/phpvms/phpvms/blob/8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9/app/Http/Resources/PirepFieldCollection.php
app/Http/Resources/PirepFieldCollection.php
<?php namespace App\Http\Resources; use Illuminate\Http\Resources\Json\ResourceCollection; class PirepFieldCollection extends ResourceCollection { public function toArray($request) { $res = []; foreach ($this->collection as $field) { $res[$field->name] = $field->value; } ...
php
BSD-3-Clause
8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9
2026-01-05T02:29:57.665749Z
false
phpvms/phpvms
https://github.com/phpvms/phpvms/blob/8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9/app/Http/Resources/Flight.php
app/Http/Resources/Flight.php
<?php namespace App\Http\Resources; use App\Contracts\Resource; use App\Http\Resources\SimBrief as SimbriefResource; use App\Support\Units\Distance; use Illuminate\Http\Request; use Illuminate\Support\Collection; use PhpUnitsOfMeasure\Exception\NonNumericValue; use PhpUnitsOfMeasure\Exception\NonStringUnitName; use s...
php
BSD-3-Clause
8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9
2026-01-05T02:29:57.665749Z
false
phpvms/phpvms
https://github.com/phpvms/phpvms/blob/8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9/app/Utils/IdMapper.php
app/Utils/IdMapper.php
<?php namespace App\Utils; use App\Contracts\Service; use Spatie\Valuestore\Valuestore; class IdMapper extends Service { private Valuestore $valueStore; public function __construct() { $this->valueStore = Valuestore::make(storage_path('app/legacy_migration.json')); } /** * Create a...
php
BSD-3-Clause
8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9
2026-01-05T02:29:57.665749Z
false
phpvms/phpvms
https://github.com/phpvms/phpvms/blob/8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9/app/Utils/ImporterDB.php
app/Utils/ImporterDB.php
<?php namespace App\Utils; use Exception; use Illuminate\Support\Facades\Log; use PDO; use PDOException; use PDOStatement; /** * Real basic to interface with an importer */ class ImporterDB { /** * @var int */ public $batchSize; private ?PDO $conn; /** * @var string */ pri...
php
BSD-3-Clause
8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9
2026-01-05T02:29:57.665749Z
false
phpvms/phpvms
https://github.com/phpvms/phpvms/blob/8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9/app/Listeners/TLDUpdater.php
app/Listeners/TLDUpdater.php
<?php namespace App\Listeners; use App\Events\CronWeekly; use Illuminate\Support\Facades\Http; use Illuminate\Support\Facades\Log; class TLDUpdater { public function handle(CronWeekly $event): void { $response = Http::get(config('phpvms.tld_list_url')); if ($response->successful()) { ...
php
BSD-3-Clause
8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9
2026-01-05T02:29:57.665749Z
false
phpvms/phpvms
https://github.com/phpvms/phpvms/blob/8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9/app/Listeners/FareListener.php
app/Listeners/FareListener.php
<?php namespace App\Listeners; use App\Contracts\Listener; use App\Events\Fares; use App\Models\Enums\FareType; use App\Models\Fare; use Illuminate\Bus\Queueable; use Illuminate\Contracts\Queue\ShouldQueue; class FareListener extends Listener // implements ShouldQueue { // use Queueable; /** * Return a...
php
BSD-3-Clause
8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9
2026-01-05T02:29:57.665749Z
false
phpvms/phpvms
https://github.com/phpvms/phpvms/blob/8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9/app/Listeners/FinanceEventHandler.php
app/Listeners/FinanceEventHandler.php
<?php namespace App\Listeners; use App\Contracts\Listener; use App\Events\PirepAccepted; use App\Events\PirepRejected; use App\Services\Finance\PirepFinanceService; use Exception; use Illuminate\Bus\Queueable; use Illuminate\Contracts\Queue\ShouldQueue; use InvalidArgumentException; use Prettus\Validator\Exceptions\V...
php
BSD-3-Clause
8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9
2026-01-05T02:29:57.665749Z
false
phpvms/phpvms
https://github.com/phpvms/phpvms/blob/8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9/app/Listeners/BidEventHandler.php
app/Listeners/BidEventHandler.php
<?php namespace App\Listeners; use App\Contracts\Listener; use App\Events\PirepFiled; use App\Services\BidService; use Exception; use Illuminate\Bus\Queueable; use Illuminate\Contracts\Queue\ShouldQueue; use InvalidArgumentException; use UnexpectedValueException; /** * Do stuff with bids - like if a PIREP is accept...
php
BSD-3-Clause
8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9
2026-01-05T02:29:57.665749Z
false
phpvms/phpvms
https://github.com/phpvms/phpvms/blob/8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9/app/Listeners/AwardHandler.php
app/Listeners/AwardHandler.php
<?php namespace App\Listeners; use App\Contracts\Listener; use App\Events\ProcessAward; use App\Models\Award; use App\Models\User; use Illuminate\Bus\Queueable; use Illuminate\Contracts\Queue\ShouldQueue; /** * Look for and run any of the award classes. Don't modify this. * See the documentation on creating awards...
php
BSD-3-Clause
8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9
2026-01-05T02:29:57.665749Z
false
phpvms/phpvms
https://github.com/phpvms/phpvms/blob/8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9/app/Listeners/DiversionHandler.php
app/Listeners/DiversionHandler.php
<?php namespace App\Listeners; use App\Contracts\Listener; use App\Events\CronNightly; use App\Events\PirepFiled; use App\Services\FlightService; use App\Services\PirepService; use Illuminate\Bus\Queueable; use Illuminate\Contracts\Queue\ShouldQueue; class DiversionHandler extends Listener // implements ShouldQueue ...
php
BSD-3-Clause
8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9
2026-01-05T02:29:57.665749Z
false
phpvms/phpvms
https://github.com/phpvms/phpvms/blob/8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9/app/Listeners/PirepEventsHandler.php
app/Listeners/PirepEventsHandler.php
<?php namespace App\Listeners; use App\Contracts\Listener; use App\Events\PirepPrefiled; use Illuminate\Bus\Queueable; use Illuminate\Contracts\Queue\ShouldQueue; /** * Handler for PIREP events */ class PirepEventsHandler extends Listener // implements ShouldQueue { // use Queueable; /** The events and th...
php
BSD-3-Clause
8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9
2026-01-05T02:29:57.665749Z
false
phpvms/phpvms
https://github.com/phpvms/phpvms/blob/8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9/app/Listeners/MessageLoggedListener.php
app/Listeners/MessageLoggedListener.php
<?php namespace App\Listeners; use Illuminate\Log\Events\MessageLogged; use Symfony\Component\Console\Output\ConsoleOutput; /** * Show logs in the console * * https://stackoverflow.com/questions/48264479/log-laravel-with-artisan-output */ class MessageLoggedListener { public function handle(MessageLogged $ev...
php
BSD-3-Clause
8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9
2026-01-05T02:29:57.665749Z
false
phpvms/phpvms
https://github.com/phpvms/phpvms/blob/8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9/app/Listeners/ExpenseListener.php
app/Listeners/ExpenseListener.php
<?php namespace App\Listeners; use App\Contracts\Listener; use App\Events\Expenses; use App\Models\Enums\ExpenseType; use App\Models\Expense; use Illuminate\Bus\Queueable; use Illuminate\Contracts\Queue\ShouldQueue; class ExpenseListener extends Listener // implements ShouldQueue { // use Queueable; /** ...
php
BSD-3-Clause
8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9
2026-01-05T02:29:57.665749Z
false
phpvms/phpvms
https://github.com/phpvms/phpvms/blob/8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9/app/Listeners/UserStateListener.php
app/Listeners/UserStateListener.php
<?php namespace App\Listeners; use App\Contracts\Listener; use App\Events\PirepFiled; use App\Events\UserStateChanged; use App\Models\Enums\UserState; use Illuminate\Bus\Queueable; use Illuminate\Contracts\Queue\ShouldQueue; class UserStateListener extends Listener // implements ShouldQueue { // use Queueable; ...
php
BSD-3-Clause
8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9
2026-01-05T02:29:57.665749Z
false
phpvms/phpvms
https://github.com/phpvms/phpvms/blob/8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9/app/Filament/RelationManagers/FaresRelationManager.php
app/Filament/RelationManagers/FaresRelationManager.php
<?php namespace App\Filament\RelationManagers; use App\Models\Fare; use Filament\Actions\AttachAction; use Filament\Actions\BulkActionGroup; use Filament\Actions\DetachAction; use Filament\Actions\DetachBulkAction; use Filament\Resources\RelationManagers\RelationManager; use Filament\Schemas\Schema; use Filament\Tabl...
php
BSD-3-Clause
8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9
2026-01-05T02:29:57.665749Z
false
phpvms/phpvms
https://github.com/phpvms/phpvms/blob/8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9/app/Filament/RelationManagers/FilesRelationManager.php
app/Filament/RelationManagers/FilesRelationManager.php
<?php namespace App\Filament\RelationManagers; use App\Models\File; use Filament\Actions\Action; use Filament\Actions\BulkActionGroup; use Filament\Actions\CreateAction; use Filament\Actions\DeleteAction; use Filament\Actions\DeleteBulkAction; use Filament\Forms\Components\FileUpload; use Filament\Forms\Components\Te...
php
BSD-3-Clause
8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9
2026-01-05T02:29:57.665749Z
false
phpvms/phpvms
https://github.com/phpvms/phpvms/blob/8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9/app/Filament/RelationManagers/ExpensesRelationManager.php
app/Filament/RelationManagers/ExpensesRelationManager.php
<?php namespace App\Filament\RelationManagers; use App\Models\Aircraft; use App\Models\Enums\ExpenseType; use App\Models\Subfleet; use Filament\Actions\BulkActionGroup; use Filament\Actions\CreateAction; use Filament\Actions\DeleteAction; use Filament\Actions\DeleteBulkAction; use Filament\Actions\EditAction; use Fil...
php
BSD-3-Clause
8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9
2026-01-05T02:29:57.665749Z
false
phpvms/phpvms
https://github.com/phpvms/phpvms/blob/8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9/app/Filament/Pages/Backups.php
app/Filament/Pages/Backups.php
<?php namespace App\Filament\Pages; use App\Models\Enums\NavigationGroup; use BezhanSalleh\FilamentShield\Traits\HasPageShield; use Filament\Support\Icons\Heroicon; use ShuvroRoy\FilamentSpatieLaravelBackup\Pages\Backups as BaseBackups; class Backups extends BaseBackups { use HasPageShield; protected static...
php
BSD-3-Clause
8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9
2026-01-05T02:29:57.665749Z
false
phpvms/phpvms
https://github.com/phpvms/phpvms/blob/8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9/app/Filament/Pages/Maintenance.php
app/Filament/Pages/Maintenance.php
<?php namespace App\Filament\Pages; use App\Models\Enums\NavigationGroup; use App\Repositories\KvpRepository; use App\Services\CronService; use App\Services\Installer\InstallerService; use App\Services\Installer\SeederService; use App\Services\VersionService; use App\Support\Utils; use BezhanSalleh\FilamentShield\Tra...
php
BSD-3-Clause
8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9
2026-01-05T02:29:57.665749Z
false
phpvms/phpvms
https://github.com/phpvms/phpvms/blob/8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9/app/Filament/Pages/Finances.php
app/Filament/Pages/Finances.php
<?php namespace App\Filament\Pages; use App\Filament\Widgets\AirlineFinanceChart; use App\Filament\Widgets\AirlineFinanceTable; use App\Models\Enums\NavigationGroup; use App\Repositories\AirlineRepository; use BezhanSalleh\FilamentShield\Traits\HasPageShield; use Filament\Forms\Components\DatePicker; use Filament\For...
php
BSD-3-Clause
8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9
2026-01-05T02:29:57.665749Z
false
phpvms/phpvms
https://github.com/phpvms/phpvms/blob/8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9/app/Filament/Pages/Settings.php
app/Filament/Pages/Settings.php
<?php namespace App\Filament\Pages; use App\Models\Enums\NavigationGroup; use App\Models\Setting; use App\Repositories\SettingRepository; use App\Services\FinanceService; use BezhanSalleh\FilamentShield\Traits\HasPageShield; use Filament\Actions\Action; use Filament\Forms\Components\DatePicker; use Filament\Forms\Com...
php
BSD-3-Clause
8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9
2026-01-05T02:29:57.665749Z
false
phpvms/phpvms
https://github.com/phpvms/phpvms/blob/8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9/app/Filament/Pages/Dashboard.php
app/Filament/Pages/Dashboard.php
<?php namespace App\Filament\Pages; use App\Http\Middleware\UpdatePending; use Filament\Pages\Dashboard as FilamentDashboard; class Dashboard extends FilamentDashboard { protected static string|array $routeMiddleware = [UpdatePending::class]; }
php
BSD-3-Clause
8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9
2026-01-05T02:29:57.665749Z
false
phpvms/phpvms
https://github.com/phpvms/phpvms/blob/8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9/app/Filament/Actions/ExportAction.php
app/Filament/Actions/ExportAction.php
<?php namespace App\Filament\Actions; use App\Models\Enums\ImportExportType; use App\Repositories\AircraftRepository; use App\Repositories\AirportRepository; use App\Repositories\ExpenseRepository; use App\Repositories\FareRepository; use App\Repositories\FlightRepository; use App\Repositories\SubfleetRepository; use...
php
BSD-3-Clause
8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9
2026-01-05T02:29:57.665749Z
false
phpvms/phpvms
https://github.com/phpvms/phpvms/blob/8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9/app/Filament/Actions/ImportAction.php
app/Filament/Actions/ImportAction.php
<?php namespace App\Filament\Actions; use App\Models\Enums\ImportExportType; use App\Services\ImportService; use Filament\Actions\Action; use Filament\Actions\Concerns\CanCustomizeProcess; use Filament\Forms\Components\FileUpload; use Filament\Forms\Components\Select; use Filament\Forms\Components\Toggle; use Filamen...
php
BSD-3-Clause
8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9
2026-01-05T02:29:57.665749Z
false
phpvms/phpvms
https://github.com/phpvms/phpvms/blob/8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9/app/Filament/Infolists/Components/StreamEntry.php
app/Filament/Infolists/Components/StreamEntry.php
<?php namespace App\Filament\Infolists\Components; use Filament\Infolists\Components\Entry; class StreamEntry extends Entry { protected string $view = 'filament.infolists.components.stream-entry'; }
php
BSD-3-Clause
8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9
2026-01-05T02:29:57.665749Z
false
phpvms/phpvms
https://github.com/phpvms/phpvms/blob/8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9/app/Filament/Plugins/ModuleLinksPlugin.php
app/Filament/Plugins/ModuleLinksPlugin.php
<?php namespace App\Filament\Plugins; use App\Services\ModuleService; use Filament\Contracts\Plugin; use Filament\Facades\Filament; use Filament\Navigation\NavigationGroup; use Filament\Navigation\NavigationItem; use Filament\Panel; use Filament\Support\Icons\Heroicon; use Filament\View\PanelsRenderHook; class Modul...
php
BSD-3-Clause
8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9
2026-01-05T02:29:57.665749Z
false
phpvms/phpvms
https://github.com/phpvms/phpvms/blob/8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9/app/Filament/Plugins/LanguageSwitcherPlugin.php
app/Filament/Plugins/LanguageSwitcherPlugin.php
<?php declare(strict_types=1); namespace App\Filament\Plugins; use App\Http\Middleware\SetActiveLanguage; use Filament\Contracts\Plugin; use Filament\Panel; use Filament\View\PanelsRenderHook; use Illuminate\View\View; final class LanguageSwitcherPlugin implements Plugin { /** * Instantiate the plugin ...
php
BSD-3-Clause
8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9
2026-01-05T02:29:57.665749Z
false
phpvms/phpvms
https://github.com/phpvms/phpvms/blob/8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9/app/Filament/Resources/Subfleets/SubfleetResource.php
app/Filament/Resources/Subfleets/SubfleetResource.php
<?php namespace App\Filament\Resources\Subfleets; use App\Filament\RelationManagers\ExpensesRelationManager; use App\Filament\RelationManagers\FaresRelationManager; use App\Filament\RelationManagers\FilesRelationManager; use App\Filament\Resources\Subfleets\Pages\CreateSubfleet; use App\Filament\Resources\Subfleets\P...
php
BSD-3-Clause
8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9
2026-01-05T02:29:57.665749Z
false
phpvms/phpvms
https://github.com/phpvms/phpvms/blob/8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9/app/Filament/Resources/Subfleets/RelationManagers/TyperatingsRelationManager.php
app/Filament/Resources/Subfleets/RelationManagers/TyperatingsRelationManager.php
<?php namespace App\Filament\Resources\Subfleets\RelationManagers; use Filament\Actions\AttachAction; use Filament\Actions\BulkActionGroup; use Filament\Actions\DetachAction; use Filament\Actions\DetachBulkAction; use Filament\Resources\RelationManagers\RelationManager; use Filament\Schemas\Schema; use Filament\Table...
php
BSD-3-Clause
8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9
2026-01-05T02:29:57.665749Z
false
phpvms/phpvms
https://github.com/phpvms/phpvms/blob/8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9/app/Filament/Resources/Subfleets/RelationManagers/RanksRelationManager.php
app/Filament/Resources/Subfleets/RelationManagers/RanksRelationManager.php
<?php namespace App\Filament\Resources\Subfleets\RelationManagers; use Filament\Actions\AttachAction; use Filament\Actions\BulkActionGroup; use Filament\Actions\DetachAction; use Filament\Actions\DetachBulkAction; use Filament\Resources\RelationManagers\RelationManager; use Filament\Schemas\Schema; use Filament\Table...
php
BSD-3-Clause
8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9
2026-01-05T02:29:57.665749Z
false
phpvms/phpvms
https://github.com/phpvms/phpvms/blob/8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9/app/Filament/Resources/Subfleets/RelationManagers/AircraftRelationManager.php
app/Filament/Resources/Subfleets/RelationManagers/AircraftRelationManager.php
<?php namespace App\Filament\Resources\Subfleets\RelationManagers; use App\Filament\Actions\ExportAction; use App\Filament\Actions\ImportAction; use App\Filament\Resources\Subfleets\Resources\Aircraft\AircraftResource; use App\Filament\Resources\Subfleets\Resources\Aircraft\Tables\AircraftTable; use App\Models\Enums\...
php
BSD-3-Clause
8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9
2026-01-05T02:29:57.665749Z
false
phpvms/phpvms
https://github.com/phpvms/phpvms/blob/8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9/app/Filament/Resources/Subfleets/Schemas/SubfleetForm.php
app/Filament/Resources/Subfleets/Schemas/SubfleetForm.php
<?php namespace App\Filament\Resources\Subfleets\Schemas; use App\Models\Airport; use App\Models\Enums\FuelType; use Filament\Forms\Components\Select; use Filament\Forms\Components\TextInput; use Filament\Schemas\Components\Section; use Filament\Schemas\Schema; class SubfleetForm { public static function configu...
php
BSD-3-Clause
8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9
2026-01-05T02:29:57.665749Z
false
phpvms/phpvms
https://github.com/phpvms/phpvms/blob/8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9/app/Filament/Resources/Subfleets/Pages/ListSubfleets.php
app/Filament/Resources/Subfleets/Pages/ListSubfleets.php
<?php namespace App\Filament\Resources\Subfleets\Pages; use App\Filament\Actions\ExportAction; use App\Filament\Actions\ImportAction; use App\Filament\Resources\Subfleets\SubfleetResource; use App\Models\Enums\ImportExportType; use Filament\Actions\CreateAction; use Filament\Resources\Pages\ListRecords; use Filament\...
php
BSD-3-Clause
8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9
2026-01-05T02:29:57.665749Z
false