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/Filament/Resources/Fares/Pages/EditFare.php
app/Filament/Resources/Fares/Pages/EditFare.php
<?php namespace App\Filament\Resources\Fares\Pages; use App\Filament\Resources\Fares\FareResource; use Filament\Actions\DeleteAction; use Filament\Actions\ForceDeleteAction; use Filament\Actions\RestoreAction; use Filament\Resources\Pages\EditRecord; class EditFare extends EditRecord { protected static string $r...
php
BSD-3-Clause
8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9
2026-01-05T02:29:57.665749Z
false
phpvms/phpvms
https://github.com/phpvms/phpvms/blob/8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9/app/Filament/Resources/Fares/Pages/CreateFare.php
app/Filament/Resources/Fares/Pages/CreateFare.php
<?php namespace App\Filament\Resources\Fares\Pages; use App\Filament\Resources\Fares\FareResource; use Filament\Resources\Pages\CreateRecord; class CreateFare extends CreateRecord { protected static string $resource = FareResource::class; }
php
BSD-3-Clause
8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9
2026-01-05T02:29:57.665749Z
false
phpvms/phpvms
https://github.com/phpvms/phpvms/blob/8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9/app/Filament/Resources/Fares/Tables/FaresTable.php
app/Filament/Resources/Fares/Tables/FaresTable.php
<?php namespace App\Filament\Resources\Fares\Tables; use App\Models\Enums\FareType; use Filament\Actions\BulkActionGroup; use Filament\Actions\DeleteAction; use Filament\Actions\DeleteBulkAction; use Filament\Actions\EditAction; use Filament\Actions\ForceDeleteAction; use Filament\Actions\ForceDeleteBulkAction; use F...
php
BSD-3-Clause
8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9
2026-01-05T02:29:57.665749Z
false
phpvms/phpvms
https://github.com/phpvms/phpvms/blob/8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9/app/Filament/Resources/SimBriefAirframes/SimBriefAirframeResource.php
app/Filament/Resources/SimBriefAirframes/SimBriefAirframeResource.php
<?php namespace App\Filament\Resources\SimBriefAirframes; use App\Filament\Resources\SimBriefAirframes\Pages\ManageSimBriefAirframes; use App\Filament\Resources\SimBriefAirframes\Schemas\SimBriefAirframeForm; use App\Filament\Resources\SimBriefAirframes\Tables\SimBriefAirframesTable; use App\Models\Enums\NavigationGr...
php
BSD-3-Clause
8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9
2026-01-05T02:29:57.665749Z
false
phpvms/phpvms
https://github.com/phpvms/phpvms/blob/8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9/app/Filament/Resources/SimBriefAirframes/Schemas/SimBriefAirframeForm.php
app/Filament/Resources/SimBriefAirframes/Schemas/SimBriefAirframeForm.php
<?php namespace App\Filament\Resources\SimBriefAirframes\Schemas; use App\Models\Enums\AirframeSource; use Filament\Forms\Components\Hidden; use Filament\Forms\Components\TextInput; use Filament\Schemas\Schema; class SimBriefAirframeForm { public static function configure(Schema $schema): Schema { re...
php
BSD-3-Clause
8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9
2026-01-05T02:29:57.665749Z
false
phpvms/phpvms
https://github.com/phpvms/phpvms/blob/8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9/app/Filament/Resources/SimBriefAirframes/Pages/ManageSimBriefAirframes.php
app/Filament/Resources/SimBriefAirframes/Pages/ManageSimBriefAirframes.php
<?php namespace App\Filament\Resources\SimBriefAirframes\Pages; use App\Filament\Resources\SimBriefAirframes\SimBriefAirframeResource; use Filament\Actions\CreateAction; use Filament\Resources\Pages\ManageRecords; use Filament\Support\Icons\Heroicon; class ManageSimBriefAirframes extends ManageRecords { protecte...
php
BSD-3-Clause
8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9
2026-01-05T02:29:57.665749Z
false
phpvms/phpvms
https://github.com/phpvms/phpvms/blob/8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9/app/Filament/Resources/SimBriefAirframes/Tables/SimBriefAirframesTable.php
app/Filament/Resources/SimBriefAirframes/Tables/SimBriefAirframesTable.php
<?php namespace App\Filament\Resources\SimBriefAirframes\Tables; use Filament\Actions\BulkActionGroup; use Filament\Actions\DeleteAction; use Filament\Actions\DeleteBulkAction; use Filament\Actions\EditAction; use Filament\Tables\Columns\TextColumn; use Filament\Tables\Table; class SimBriefAirframesTable { publi...
php
BSD-3-Clause
8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9
2026-01-05T02:29:57.665749Z
false
phpvms/phpvms
https://github.com/phpvms/phpvms/blob/8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9/app/Filament/Resources/Pireps/PirepResource.php
app/Filament/Resources/Pireps/PirepResource.php
<?php namespace App\Filament\Resources\Pireps; use App\Filament\Resources\Pireps\Pages\EditPirep; use App\Filament\Resources\Pireps\Pages\ListPireps; use App\Filament\Resources\Pireps\RelationManagers\CommentsRelationManager; use App\Filament\Resources\Pireps\RelationManagers\FaresRelationManager; use App\Filament\Re...
php
BSD-3-Clause
8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9
2026-01-05T02:29:57.665749Z
false
phpvms/phpvms
https://github.com/phpvms/phpvms/blob/8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9/app/Filament/Resources/Pireps/RelationManagers/CommentsRelationManager.php
app/Filament/Resources/Pireps/RelationManagers/CommentsRelationManager.php
<?php namespace App\Filament\Resources\Pireps\RelationManagers; use Filament\Actions\BulkActionGroup; use Filament\Actions\CreateAction; use Filament\Actions\DeleteAction; use Filament\Actions\DeleteBulkAction; use Filament\Actions\EditAction; use Filament\Forms\Components\Textarea; use Filament\Resources\RelationMan...
php
BSD-3-Clause
8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9
2026-01-05T02:29:57.665749Z
false
phpvms/phpvms
https://github.com/phpvms/phpvms/blob/8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9/app/Filament/Resources/Pireps/RelationManagers/FaresRelationManager.php
app/Filament/Resources/Pireps/RelationManagers/FaresRelationManager.php
<?php namespace App\Filament\Resources\Pireps\RelationManagers; use App\Models\PirepFare; use Filament\Resources\RelationManagers\RelationManager; use Filament\Schemas\Schema; use Filament\Tables\Columns\TextColumn; use Filament\Tables\Columns\TextInputColumn; use Filament\Tables\Table; use Illuminate\Database\Eloque...
php
BSD-3-Clause
8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9
2026-01-05T02:29:57.665749Z
false
phpvms/phpvms
https://github.com/phpvms/phpvms/blob/8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9/app/Filament/Resources/Pireps/RelationManagers/TransactionsRelationManager.php
app/Filament/Resources/Pireps/RelationManagers/TransactionsRelationManager.php
<?php namespace App\Filament\Resources\Pireps\RelationManagers; use App\Models\Pirep; use App\Services\Finance\PirepFinanceService; use Filament\Actions\Action; use Filament\Notifications\Notification; use Filament\Resources\RelationManagers\RelationManager; use Filament\Schemas\Schema; use Filament\Tables\Columns\Su...
php
BSD-3-Clause
8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9
2026-01-05T02:29:57.665749Z
false
phpvms/phpvms
https://github.com/phpvms/phpvms/blob/8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9/app/Filament/Resources/Pireps/RelationManagers/FieldValuesRelationManager.php
app/Filament/Resources/Pireps/RelationManagers/FieldValuesRelationManager.php
<?php namespace App\Filament\Resources\Pireps\RelationManagers; use App\Models\Enums\PirepSource; use App\Models\Pirep; use App\Models\PirepField; use App\Models\PirepFieldValue; use Filament\Actions\CreateAction; use Filament\Forms\Components\Select; use Filament\Forms\Components\TextInput; use Filament\Resources\Re...
php
BSD-3-Clause
8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9
2026-01-05T02:29:57.665749Z
false
phpvms/phpvms
https://github.com/phpvms/phpvms/blob/8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9/app/Filament/Resources/Pireps/Schemas/PirepForm.php
app/Filament/Resources/Pireps/Schemas/PirepForm.php
<?php namespace App\Filament\Resources\Pireps\Schemas; use App\Models\Airport; use App\Models\Enums\FlightType; use App\Models\Enums\PirepSource; use App\Models\Pirep; use Filament\Forms\Components\RichEditor; use Filament\Forms\Components\Select; use Filament\Forms\Components\Textarea; use Filament\Forms\Components\...
php
BSD-3-Clause
8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9
2026-01-05T02:29:57.665749Z
false
phpvms/phpvms
https://github.com/phpvms/phpvms/blob/8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9/app/Filament/Resources/Pireps/Pages/EditPirep.php
app/Filament/Resources/Pireps/Pages/EditPirep.php
<?php namespace App\Filament\Resources\Pireps\Pages; use App\Filament\Resources\Pireps\Actions\AcceptAction; use App\Filament\Resources\Pireps\Actions\RejectAction; use App\Filament\Resources\Pireps\PirepResource; use Carbon\Carbon; use Filament\Actions\DeleteAction; use Filament\Actions\ForceDeleteAction; use Filame...
php
BSD-3-Clause
8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9
2026-01-05T02:29:57.665749Z
false
phpvms/phpvms
https://github.com/phpvms/phpvms/blob/8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9/app/Filament/Resources/Pireps/Pages/ListPireps.php
app/Filament/Resources/Pireps/Pages/ListPireps.php
<?php namespace App\Filament\Resources\Pireps\Pages; use App\Filament\Resources\Pireps\Actions\PirepFieldsAction; use App\Filament\Resources\Pireps\PirepResource; use App\Filament\Resources\Pireps\Widgets\PirepStats; use App\Models\Enums\PirepState; use Filament\Pages\Concerns\ExposesTableToWidgets; use Filament\Reso...
php
BSD-3-Clause
8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9
2026-01-05T02:29:57.665749Z
false
phpvms/phpvms
https://github.com/phpvms/phpvms/blob/8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9/app/Filament/Resources/Pireps/Actions/ViewAction.php
app/Filament/Resources/Pireps/Actions/ViewAction.php
<?php namespace App\Filament\Resources\Pireps\Actions; use App\Models\Pirep; use Filament\Actions\Action; use Filament\Support\Icons\Heroicon; class ViewAction { public static function make(): Action { return Action::make('view') ->color('info') ->icon(Heroicon::Eye) ...
php
BSD-3-Clause
8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9
2026-01-05T02:29:57.665749Z
false
phpvms/phpvms
https://github.com/phpvms/phpvms/blob/8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9/app/Filament/Resources/Pireps/Actions/PirepFieldsAction.php
app/Filament/Resources/Pireps/Actions/PirepFieldsAction.php
<?php namespace App\Filament\Resources\Pireps\Actions; use App\Filament\Resources\PirepFields\PirepFieldResource; use App\Models\PirepField; use Filament\Actions\Action; use Filament\Support\Icons\Heroicon; class PirepFieldsAction { public static function make(): Action { return Action::make('pirepfi...
php
BSD-3-Clause
8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9
2026-01-05T02:29:57.665749Z
false
phpvms/phpvms
https://github.com/phpvms/phpvms/blob/8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9/app/Filament/Resources/Pireps/Actions/RejectAction.php
app/Filament/Resources/Pireps/Actions/RejectAction.php
<?php namespace App\Filament\Resources\Pireps\Actions; use App\Models\Enums\PirepState; use App\Models\Pirep; use App\Services\PirepService; use Filament\Actions\Action; use Filament\Notifications\Notification; use Filament\Support\Icons\Heroicon; class RejectAction { public static function make(): Action { ...
php
BSD-3-Clause
8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9
2026-01-05T02:29:57.665749Z
false
phpvms/phpvms
https://github.com/phpvms/phpvms/blob/8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9/app/Filament/Resources/Pireps/Actions/AcceptAction.php
app/Filament/Resources/Pireps/Actions/AcceptAction.php
<?php namespace App\Filament\Resources\Pireps\Actions; use App\Models\Enums\PirepState; use App\Models\Pirep; use App\Services\PirepService; use Filament\Actions\Action; use Filament\Notifications\Notification; use Filament\Support\Icons\Heroicon; class AcceptAction { public static function make(): Action { ...
php
BSD-3-Clause
8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9
2026-01-05T02:29:57.665749Z
false
phpvms/phpvms
https://github.com/phpvms/phpvms/blob/8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9/app/Filament/Resources/Pireps/Tables/PirepsTable.php
app/Filament/Resources/Pireps/Tables/PirepsTable.php
<?php namespace App\Filament\Resources\Pireps\Tables; use App\Filament\Resources\Pireps\Actions\AcceptAction; use App\Filament\Resources\Pireps\Actions\RejectAction; use App\Filament\Resources\Pireps\PirepResource; use App\Filament\Resources\Users\UserResource; use App\Models\Airport; use App\Models\Enums\PirepSource...
php
BSD-3-Clause
8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9
2026-01-05T02:29:57.665749Z
false
phpvms/phpvms
https://github.com/phpvms/phpvms/blob/8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9/app/Filament/Resources/Pireps/Widgets/PirepStats.php
app/Filament/Resources/Pireps/Widgets/PirepStats.php
<?php namespace App\Filament\Resources\Pireps\Widgets; use App\Filament\Resources\Pireps\Pages\ListPireps; use App\Models\Enums\PirepState; use App\Models\Pirep; use Filament\Widgets\Concerns\InteractsWithPageTable; use Filament\Widgets\StatsOverviewWidget as BaseWidget; use Filament\Widgets\StatsOverviewWidget\Stat;...
php
BSD-3-Clause
8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9
2026-01-05T02:29:57.665749Z
false
phpvms/phpvms
https://github.com/phpvms/phpvms/blob/8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9/app/Filament/Widgets/AirlineFinanceChart.php
app/Filament/Widgets/AirlineFinanceChart.php
<?php namespace App\Filament\Widgets; use App\Filament\Pages\Dashboard; use App\Filament\Pages\Finances; use App\Models\Airline; use App\Models\JournalTransaction; use BezhanSalleh\FilamentShield\Traits\HasWidgetShield; use Filament\Support\Colors\Color; use Filament\Widgets\ChartWidget; use Filament\Widgets\Concerns...
php
BSD-3-Clause
8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9
2026-01-05T02:29:57.665749Z
false
phpvms/phpvms
https://github.com/phpvms/phpvms/blob/8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9/app/Filament/Widgets/LatestPirepsChart.php
app/Filament/Widgets/LatestPirepsChart.php
<?php namespace App\Filament\Widgets; use App\Models\Pirep; use BezhanSalleh\FilamentShield\Traits\HasWidgetShield; use Filament\Widgets\ChartWidget; use Flowframe\Trend\Trend; use Flowframe\Trend\TrendValue; class LatestPirepsChart extends ChartWidget { use HasWidgetShield; protected ?string $pollingInterv...
php
BSD-3-Clause
8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9
2026-01-05T02:29:57.665749Z
false
phpvms/phpvms
https://github.com/phpvms/phpvms/blob/8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9/app/Filament/Widgets/AirlineFinanceTable.php
app/Filament/Widgets/AirlineFinanceTable.php
<?php namespace App\Filament\Widgets; use App\Filament\Pages\Dashboard; use App\Filament\Pages\Finances; use App\Models\Airline; use App\Models\JournalTransaction; use BezhanSalleh\FilamentShield\Traits\HasWidgetShield; use Filament\Tables\Columns\Summarizers\Sum; use Filament\Tables\Columns\TextColumn; use Filament\...
php
BSD-3-Clause
8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9
2026-01-05T02:29:57.665749Z
false
phpvms/phpvms
https://github.com/phpvms/phpvms/blob/8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9/app/Filament/Widgets/VersionWidget.php
app/Filament/Widgets/VersionWidget.php
<?php namespace App\Filament\Widgets; use App\Services\VersionService; use Filament\Widgets\Widget; class VersionWidget extends Widget { protected string $view = 'filament.widgets.version-widget'; protected int|string|array $columnSpan = 'full'; protected static ?int $sort = 0; protected string $v...
php
BSD-3-Clause
8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9
2026-01-05T02:29:57.665749Z
false
phpvms/phpvms
https://github.com/phpvms/phpvms/blob/8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9/app/Filament/Widgets/News.php
app/Filament/Widgets/News.php
<?php namespace App\Filament\Widgets; use App\Events\NewsAdded; use App\Events\NewsUpdated; use App\Models\News as NewsModel; use BezhanSalleh\FilamentShield\Traits\HasWidgetShield; use Filament\Actions\ActionGroup; use Filament\Actions\CreateAction; use Filament\Actions\DeleteAction; use Filament\Actions\EditAction;...
php
BSD-3-Clause
8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9
2026-01-05T02:29:57.665749Z
false
phpvms/phpvms
https://github.com/phpvms/phpvms/blob/8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9/app/Filament/System/Installer.php
app/Filament/System/Installer.php
<?php namespace App\Filament\System; use App\Filament\Infolists\Components\StreamEntry; use App\Models\User; use App\Services\AirlineService; use App\Services\Installer\MigrationService; use App\Services\Installer\RequirementsService; use App\Services\Installer\SeederService; use App\Services\Installer\StreamedComman...
php
BSD-3-Clause
8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9
2026-01-05T02:29:57.665749Z
false
phpvms/phpvms
https://github.com/phpvms/phpvms/blob/8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9/app/Filament/System/Updater.php
app/Filament/System/Updater.php
<?php namespace App\Filament\System; use App\Filament\Infolists\Components\StreamEntry; use App\Services\Installer\InstallerService; use App\Services\Installer\MigrationService; use App\Services\Installer\SeederService; use App\Services\Installer\StreamedCommandsService; use Filament\Actions\Action; use Filament\Faca...
php
BSD-3-Clause
8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9
2026-01-05T02:29:57.665749Z
false
phpvms/phpvms
https://github.com/phpvms/phpvms/blob/8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9/app/Support/Money.php
app/Support/Money.php
<?php namespace App\Support; use Akaunting\Money\Currency; use Akaunting\Money\Money as MoneyBase; use InvalidArgumentException; use OutOfBoundsException; use UnexpectedValueException; /** * Compositional wrapper to MoneyPHP with some helpers */ class Money { public MoneyBase $money; public $subunit_amoun...
php
BSD-3-Clause
8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9
2026-01-05T02:29:57.665749Z
false
phpvms/phpvms
https://github.com/phpvms/phpvms/blob/8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9/app/Support/Metar.php
app/Support/Metar.php
<?php namespace App\Support; use App\Support\Units\Altitude; use App\Support\Units\Distance; use App\Support\Units\Pressure; use App\Support\Units\Temperature; use App\Support\Units\Velocity; use ArrayAccess; use PhpUnitsOfMeasure\Exception\NonNumericValue; use PhpUnitsOfMeasure\Exception\NonStringUnitName; use func...
php
BSD-3-Clause
8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9
2026-01-05T02:29:57.665749Z
true
phpvms/phpvms
https://github.com/phpvms/phpvms/blob/8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9/app/Support/Database.php
app/Support/Database.php
<?php namespace App\Support; use Carbon\Carbon; use Exception; use Illuminate\Database\QueryException; use Illuminate\Support\Facades\DB; use Illuminate\Support\Facades\Log; use Symfony\Component\Yaml\Yaml; class Database { protected static function time(): string { return Carbon::now('UTC'); } ...
php
BSD-3-Clause
8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9
2026-01-05T02:29:57.665749Z
false
phpvms/phpvms
https://github.com/phpvms/phpvms/blob/8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9/app/Support/HttpClient.php
app/Support/HttpClient.php
<?php namespace App\Support; use GuzzleHttp\Client as GuzzleClient; use GuzzleHttp\Exception\GuzzleException; use GuzzleHttp\RequestOptions; use function GuzzleHttp\json_decode; /** * Helper for HTTP stuff */ class HttpClient { private GuzzleClient $httpClient; public function __construct(GuzzleClient $h...
php
BSD-3-Clause
8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9
2026-01-05T02:29:57.665749Z
false
phpvms/phpvms
https://github.com/phpvms/phpvms/blob/8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9/app/Support/Countries.php
app/Support/Countries.php
<?php namespace App\Support; use Illuminate\Support\Collection; use League\ISO3166\ISO3166; /** * Class Countries */ class Countries { /** * Get a select box list of all the countries * * @return Collection */ public static function getSelectList() { return collect((new ISO3...
php
BSD-3-Clause
8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9
2026-01-05T02:29:57.665749Z
false
phpvms/phpvms
https://github.com/phpvms/phpvms/blob/8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9/app/Support/ThemeViewFinder.php
app/Support/ThemeViewFinder.php
<?php namespace App\Support; use Igaster\LaravelTheme\Facades\Theme; use Illuminate\Filesystem\Filesystem; use Illuminate\Support\Arr; class ThemeViewFinder extends \Igaster\LaravelTheme\themeViewFinder { public $themeEngine; public function __construct(Filesystem $files, array $paths, ?array $extensions = ...
php
BSD-3-Clause
8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9
2026-01-05T02:29:57.665749Z
false
phpvms/phpvms
https://github.com/phpvms/phpvms/blob/8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9/app/Support/Timezonelist.php
app/Support/Timezonelist.php
<?php /** * MIT License * Copyright (c) 2017 Anh Vũ Đỗ * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation the rights * to use, copy, modi...
php
BSD-3-Clause
8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9
2026-01-05T02:29:57.665749Z
false
phpvms/phpvms
https://github.com/phpvms/phpvms/blob/8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9/app/Support/Utils.php
app/Support/Utils.php
<?php namespace App\Support; use App\Contracts\Model; use Hashids\Hashids; use Illuminate\Contracts\Container\BindingResolutionException; use Nwidart\Modules\Facades\Module; use Pdp\Rules; /** * Global utilities */ class Utils { /** * Generate a new ID with a given length */ public static functio...
php
BSD-3-Clause
8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9
2026-01-05T02:29:57.665749Z
false
phpvms/phpvms
https://github.com/phpvms/phpvms/blob/8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9/app/Support/ICAO.php
app/Support/ICAO.php
<?php namespace App\Support; use Exception; /** * ICAO Helper Tools */ class ICAO { /** * Create a random hex code. Eventually this may follow the format in: * ICAO Aeronautical Telecommunications, Annex 10, Vol. III, chapter 9 * * @param null $country * * @throws Exception *...
php
BSD-3-Clause
8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9
2026-01-05T02:29:57.665749Z
false
phpvms/phpvms
https://github.com/phpvms/phpvms/blob/8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9/app/Support/ClassLoader.php
app/Support/ClassLoader.php
<?php namespace App\Support; use Composer\Autoload\ClassMapGenerator; use Exception; use Log; /** * Class find/load related functionality. Is used to find * the award classes right now that might be in a module */ class ClassLoader { public static function getClassesInPath($path): array { if (!fil...
php
BSD-3-Clause
8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9
2026-01-05T02:29:57.665749Z
false
phpvms/phpvms
https://github.com/phpvms/phpvms/blob/8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9/app/Support/Math.php
app/Support/Math.php
<?php namespace App\Support; /** * Helper math */ class Math { /** * Determine from the base rate, if we want to return the overridden rate * or if the overridden rate is a percentage, then return that amount */ public static function applyAmountOrPercent($base_rate, $override_rate = null): ?...
php
BSD-3-Clause
8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9
2026-01-05T02:29:57.665749Z
false
phpvms/phpvms
https://github.com/phpvms/phpvms/blob/8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9/app/Support/Dates.php
app/Support/Dates.php
<?php namespace App\Support; use Carbon\Carbon; class Dates { /** * Bitwise operator for setting days of week to integer field * * @param int $datefield initial datefield * @param array $day_enums Array of values from config("enum.days") */ public static function setDays(int $datef...
php
BSD-3-Clause
8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9
2026-01-05T02:29:57.665749Z
false
phpvms/phpvms
https://github.com/phpvms/phpvms/blob/8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9/app/Support/Units/Mass.php
app/Support/Units/Mass.php
<?php namespace App\Support\Units; use App\Contracts\Unit; use PhpUnitsOfMeasure\Exception\NonNumericValue; use PhpUnitsOfMeasure\Exception\NonStringUnitName; use PhpUnitsOfMeasure\PhysicalQuantity\Mass as MassUnit; class Mass extends Unit { public array $responseUnits = [ 'kg', 'lbs', ]; ...
php
BSD-3-Clause
8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9
2026-01-05T02:29:57.665749Z
false
phpvms/phpvms
https://github.com/phpvms/phpvms/blob/8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9/app/Support/Units/Pressure.php
app/Support/Units/Pressure.php
<?php namespace App\Support\Units; use App\Contracts\Unit; use PhpUnitsOfMeasure\Exception\NonNumericValue; use PhpUnitsOfMeasure\Exception\NonStringUnitName; use PhpUnitsOfMeasure\PhysicalQuantity\Pressure as PressureUnit; /** * Composition for the converter */ class Pressure extends Unit { public array $resp...
php
BSD-3-Clause
8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9
2026-01-05T02:29:57.665749Z
false
phpvms/phpvms
https://github.com/phpvms/phpvms/blob/8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9/app/Support/Units/Altitude.php
app/Support/Units/Altitude.php
<?php namespace App\Support\Units; use App\Contracts\Unit; use PhpUnitsOfMeasure\Exception\NonNumericValue; use PhpUnitsOfMeasure\Exception\NonStringUnitName; use PhpUnitsOfMeasure\PhysicalQuantity\Length; class Altitude extends Unit { public array $responseUnits = [ 'ft', 'km', 'm', ...
php
BSD-3-Clause
8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9
2026-01-05T02:29:57.665749Z
false
phpvms/phpvms
https://github.com/phpvms/phpvms/blob/8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9/app/Support/Units/Distance.php
app/Support/Units/Distance.php
<?php namespace App\Support\Units; use App\Contracts\Unit; use PhpUnitsOfMeasure\Exception\NonNumericValue; use PhpUnitsOfMeasure\Exception\NonStringUnitName; use PhpUnitsOfMeasure\PhysicalQuantity\Length; class Distance extends Unit { public array $responseUnits = [ 'm', 'km', 'mi', ...
php
BSD-3-Clause
8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9
2026-01-05T02:29:57.665749Z
false
phpvms/phpvms
https://github.com/phpvms/phpvms/blob/8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9/app/Support/Units/Velocity.php
app/Support/Units/Velocity.php
<?php namespace App\Support\Units; use App\Contracts\Unit; use PhpUnitsOfMeasure\Exception\NonNumericValue; use PhpUnitsOfMeasure\Exception\NonStringUnitName; use PhpUnitsOfMeasure\PhysicalQuantity\Velocity as VelocityUnit; /** * Class Velocity */ class Velocity extends Unit { public array $responseUnits = [ ...
php
BSD-3-Clause
8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9
2026-01-05T02:29:57.665749Z
false
phpvms/phpvms
https://github.com/phpvms/phpvms/blob/8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9/app/Support/Units/Time.php
app/Support/Units/Time.php
<?php namespace App\Support\Units; use DateTimeImmutable; use DateTimeZone; use Exception; use Illuminate\Contracts\Support\Arrayable; class Time implements Arrayable { public $hours; public $minutes; public static function init($minutes, $hours): self { return new self($minutes, $hours); ...
php
BSD-3-Clause
8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9
2026-01-05T02:29:57.665749Z
false
phpvms/phpvms
https://github.com/phpvms/phpvms/blob/8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9/app/Support/Units/Fuel.php
app/Support/Units/Fuel.php
<?php namespace App\Support\Units; use App\Contracts\Unit; use PhpUnitsOfMeasure\Exception\NonNumericValue; use PhpUnitsOfMeasure\Exception\NonStringUnitName; use PhpUnitsOfMeasure\PhysicalQuantity\Mass; class Fuel extends Unit { public array $responseUnits = [ 'kg', 'lbs', ]; /** *...
php
BSD-3-Clause
8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9
2026-01-05T02:29:57.665749Z
false
phpvms/phpvms
https://github.com/phpvms/phpvms/blob/8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9/app/Support/Units/Temperature.php
app/Support/Units/Temperature.php
<?php namespace App\Support\Units; use App\Contracts\Unit; use PhpUnitsOfMeasure\Exception\NonNumericValue; use PhpUnitsOfMeasure\Exception\NonStringUnitName; use PhpUnitsOfMeasure\PhysicalQuantity\Temperature as TemperatureUnit; /** * Composition for the converter */ class Temperature extends Unit { public ar...
php
BSD-3-Clause
8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9
2026-01-05T02:29:57.665749Z
false
phpvms/phpvms
https://github.com/phpvms/phpvms/blob/8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9/app/Support/Units/Volume.php
app/Support/Units/Volume.php
<?php namespace App\Support\Units; use App\Contracts\Unit; use PhpUnitsOfMeasure\Exception\NonNumericValue; use PhpUnitsOfMeasure\Exception\NonStringUnitName; use PhpUnitsOfMeasure\PhysicalQuantity\Volume as VolumeUnit; /** * Wrap the converter class */ class Volume extends Unit { public array $responseUnits =...
php
BSD-3-Clause
8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9
2026-01-05T02:29:57.665749Z
false
phpvms/phpvms
https://github.com/phpvms/phpvms/blob/8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9/app/Support/Modules/DatabaseActivator.php
app/Support/Modules/DatabaseActivator.php
<?php namespace App\Support\Modules; use Exception; use Illuminate\Support\Facades\Cache; use Illuminate\Support\Facades\DB; use Illuminate\Support\Facades\Log; use Nwidart\Modules\Contracts\ActivatorInterface; use Nwidart\Modules\Module; class DatabaseActivator implements ActivatorInterface { /** * Array o...
php
BSD-3-Clause
8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9
2026-01-05T02:29:57.665749Z
false
phpvms/phpvms
https://github.com/phpvms/phpvms/blob/8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9/app/Support/Resources/CustomPaginatedResourceResponse.php
app/Support/Resources/CustomPaginatedResourceResponse.php
<?php namespace App\Support\Resources; use Illuminate\Http\Resources\Json\PaginatedResourceResponse; use Illuminate\Support\Arr; class CustomPaginatedResourceResponse extends PaginatedResourceResponse { protected function paginationLinks($paginated) { return [ 'first' => null, ...
php
BSD-3-Clause
8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9
2026-01-05T02:29:57.665749Z
false
phpvms/phpvms
https://github.com/phpvms/phpvms/blob/8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9/app/Support/Resources/CustomAnonymousResourceCollection.php
app/Support/Resources/CustomAnonymousResourceCollection.php
<?php namespace App\Support\Resources; use Illuminate\Http\Resources\Json\AnonymousResourceCollection; use Illuminate\Pagination\AbstractPaginator; class CustomAnonymousResourceCollection extends AnonymousResourceCollection { public function toResponse($request) { return $this->resource instanceof Ab...
php
BSD-3-Clause
8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9
2026-01-05T02:29:57.665749Z
false
phpvms/phpvms
https://github.com/phpvms/phpvms/blob/8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9/app/Services/PirepService.php
app/Services/PirepService.php
<?php namespace App\Services; use App\Contracts\Service; use App\Events\PirepAccepted; use App\Events\PirepCancelled; use App\Events\PirepFiled; use App\Events\PirepPrefiled; use App\Events\PirepRejected; use App\Events\ProcessAward; use App\Events\UserStatsChanged; use App\Exceptions\AircraftInvalid; use App\Excepti...
php
BSD-3-Clause
8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9
2026-01-05T02:29:57.665749Z
false
phpvms/phpvms
https://github.com/phpvms/phpvms/blob/8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9/app/Services/BidService.php
app/Services/BidService.php
<?php namespace App\Services; use App\Contracts\Service; use App\Exceptions\BidExistsForAircraft; use App\Exceptions\BidExistsForFlight; use App\Exceptions\UserBidLimit; use App\Models\Aircraft; use App\Models\Bid; use App\Models\Flight; use App\Models\Pirep; use App\Models\SimBrief; use App\Models\User; use Exceptio...
php
BSD-3-Clause
8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9
2026-01-05T02:29:57.665749Z
false
phpvms/phpvms
https://github.com/phpvms/phpvms/blob/8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9/app/Services/CronService.php
app/Services/CronService.php
<?php namespace App\Services; use App\Contracts\Service; use App\Repositories\KvpRepository; use DateTime; use DateTimeZone; use Illuminate\Support\Facades\Log; use Symfony\Component\Process\PhpExecutableFinder; class CronService extends Service { public function __construct( private readonly KvpReposito...
php
BSD-3-Clause
8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9
2026-01-05T02:29:57.665749Z
false
phpvms/phpvms
https://github.com/phpvms/phpvms/blob/8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9/app/Services/GeoService.php
app/Services/GeoService.php
<?php namespace App\Services; use App\Contracts\Service; use App\Models\Acars; use App\Models\Enums\AcarsType; use App\Models\Flight; use App\Models\GeoJson; use App\Models\GeoJson\Feature\FeatureCollection; use App\Models\Pirep; use App\Repositories\AcarsRepository; use App\Repositories\NavdataRepository; use Except...
php
BSD-3-Clause
8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9
2026-01-05T02:29:57.665749Z
false
phpvms/phpvms
https://github.com/phpvms/phpvms/blob/8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9/app/Services/OAuthService.php
app/Services/OAuthService.php
<?php namespace App\Services; use App\Contracts\Service; use App\Models\UserOAuthToken; use GuzzleHttp\Exception\ClientException; use Illuminate\Database\Eloquent\Builder; use Illuminate\Support\Facades\Log; use Laravel\Socialite\Facades\Socialite; class OAuthService extends Service { public function refreshToke...
php
BSD-3-Clause
8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9
2026-01-05T02:29:57.665749Z
false
phpvms/phpvms
https://github.com/phpvms/phpvms/blob/8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9/app/Services/AirportService.php
app/Services/AirportService.php
<?php namespace App\Services; use App\Contracts\AirportLookup; use App\Contracts\Metar as MetarProvider; use App\Contracts\Service; use App\Exceptions\AirportNotFound; use App\Models\Airport; use App\Repositories\AirportRepository; use App\Support\Metar; use App\Support\Units\Distance; use Illuminate\Database\Eloquen...
php
BSD-3-Clause
8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9
2026-01-05T02:29:57.665749Z
false
phpvms/phpvms
https://github.com/phpvms/phpvms/blob/8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9/app/Services/RoleService.php
app/Services/RoleService.php
<?php namespace App\Services; use App\Contracts\Service; use App\Models\Role; class RoleService extends Service { /** * Update a role with the given attributes * * * @return Role */ public function updateRole(Role $role, array $attrs) { $role->update($attrs); $rol...
php
BSD-3-Clause
8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9
2026-01-05T02:29:57.665749Z
false
phpvms/phpvms
https://github.com/phpvms/phpvms/blob/8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9/app/Services/ImportService.php
app/Services/ImportService.php
<?php namespace App\Services; use App\Contracts\ImportExport; use App\Contracts\Service; use App\Models\Aircraft; use App\Models\Airport; use App\Models\Expense; use App\Models\Fare; use App\Models\Flight; use App\Models\FlightFieldValue; use App\Models\Subfleet; use App\Services\ImportExport\AircraftImporter; use Ap...
php
BSD-3-Clause
8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9
2026-01-05T02:29:57.665749Z
false
phpvms/phpvms
https://github.com/phpvms/phpvms/blob/8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9/app/Services/FleetService.php
app/Services/FleetService.php
<?php namespace App\Services; use App\Contracts\Service; use App\Models\Flight; use App\Models\Rank; use App\Models\Subfleet; use App\Models\Typerating; class FleetService extends Service { /** * @return Subfleet */ public function addSubfleetToRank(Subfleet $subfleet, Rank $rank, array $overrides ...
php
BSD-3-Clause
8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9
2026-01-05T02:29:57.665749Z
false
phpvms/phpvms
https://github.com/phpvms/phpvms/blob/8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9/app/Services/ModuleService.php
app/Services/ModuleService.php
<?php namespace App\Services; use App\Contracts\Service; use App\Exceptions\ModuleExistsException; use App\Exceptions\ModuleInstallationError; use App\Exceptions\ModuleInvalidFileType; use App\Models\Module; use Exception; use Illuminate\Filesystem\Filesystem; use Illuminate\Http\UploadedFile; use Illuminate\Support\...
php
BSD-3-Clause
8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9
2026-01-05T02:29:57.665749Z
false
phpvms/phpvms
https://github.com/phpvms/phpvms/blob/8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9/app/Services/FileService.php
app/Services/FileService.php
<?php namespace App\Services; use App\Contracts\Service; use App\Models\File; use Exception; use Hashids\HashidsException; use Illuminate\Http\UploadedFile; use Illuminate\Support\Facades\Log; use Illuminate\Support\Facades\Storage; use Illuminate\Support\Str; class FileService extends Service { /** * Save ...
php
BSD-3-Clause
8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9
2026-01-05T02:29:57.665749Z
false
phpvms/phpvms
https://github.com/phpvms/phpvms/blob/8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9/app/Services/NewsService.php
app/Services/NewsService.php
<?php namespace App\Services; use App\Contracts\Service; use App\Events\NewsAdded; use App\Events\NewsUpdated; use App\Models\News; use App\Repositories\NewsRepository; use Prettus\Validator\Exceptions\ValidatorException; class NewsService extends Service { private NewsRepository $newsRepo; public function ...
php
BSD-3-Clause
8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9
2026-01-05T02:29:57.665749Z
false
phpvms/phpvms
https://github.com/phpvms/phpvms/blob/8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9/app/Services/AircraftService.php
app/Services/AircraftService.php
<?php namespace App\Services; use App\Contracts\Service; use App\Models\Aircraft; use App\Models\Enums\AircraftStatus; use App\Models\Enums\PirepState; use App\Models\Pirep; class AircraftService extends Service { /** * Recalculate all aircraft stats and hours */ public function recalculateStats() ...
php
BSD-3-Clause
8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9
2026-01-05T02:29:57.665749Z
false
phpvms/phpvms
https://github.com/phpvms/phpvms/blob/8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9/app/Services/DatabaseService.php
app/Services/DatabaseService.php
<?php namespace App\Services; use App\Contracts\Service; use App\Support\Database; use Carbon\Carbon; use Exception; use Webpatser\Uuid\Uuid; class DatabaseService extends Service { protected $time_fields = [ 'created_at', 'updated_at', ]; protected $uuid_tables = [ 'acars', ...
php
BSD-3-Clause
8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9
2026-01-05T02:29:57.665749Z
false
phpvms/phpvms
https://github.com/phpvms/phpvms/blob/8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9/app/Services/AwardService.php
app/Services/AwardService.php
<?php namespace App\Services; use App\Contracts\Award; use App\Contracts\Service; use App\Support\ClassLoader; use Nwidart\Modules\Facades\Module; use function get_class; class AwardService extends Service { /** * Find any of the award classes * * @return Award[] */ public function findA...
php
BSD-3-Clause
8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9
2026-01-05T02:29:57.665749Z
false
phpvms/phpvms
https://github.com/phpvms/phpvms/blob/8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9/app/Services/VersionService.php
app/Services/VersionService.php
<?php namespace App\Services; use App\Contracts\Service; use App\Repositories\KvpRepository; use App\Support\HttpClient; use GuzzleHttp\Exception\GuzzleException; use Illuminate\Support\Facades\Log; use Symfony\Component\Yaml\Yaml; use Version\Version; class VersionService extends Service { public function __con...
php
BSD-3-Clause
8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9
2026-01-05T02:29:57.665749Z
false
phpvms/phpvms
https://github.com/phpvms/phpvms/blob/8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9/app/Services/FlightService.php
app/Services/FlightService.php
<?php namespace App\Services; use App\Contracts\Service; use App\Exceptions\DuplicateFlight; use App\Models\Aircraft; use App\Models\Bid; use App\Models\Enums\Days; use App\Models\Enums\PirepState; use App\Models\Enums\PirepStatus; use App\Models\Flight; use App\Models\FlightFieldValue; use App\Models\Subfleet; use A...
php
BSD-3-Clause
8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9
2026-01-05T02:29:57.665749Z
false
phpvms/phpvms
https://github.com/phpvms/phpvms/blob/8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9/app/Services/SimBriefService.php
app/Services/SimBriefService.php
<?php namespace App\Services; use App\Contracts\Service; use App\Models\Acars; use App\Models\Enums\AcarsType; use App\Models\Enums\AirframeSource; use App\Models\Pirep; use App\Models\SimBrief; use App\Models\SimBriefAircraft; use App\Models\SimBriefAirframe; use App\Models\SimBriefLayout; use App\Models\SimBriefXML...
php
BSD-3-Clause
8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9
2026-01-05T02:29:57.665749Z
false
phpvms/phpvms
https://github.com/phpvms/phpvms/blob/8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9/app/Services/ExportService.php
app/Services/ExportService.php
<?php namespace App\Services; use App\Contracts\ImportExport; use App\Contracts\Service; use App\Services\ImportExport\AircraftExporter; use App\Services\ImportExport\AirportExporter; use App\Services\ImportExport\ExpenseExporter; use App\Services\ImportExport\FareExporter; use App\Services\ImportExport\FlightExporte...
php
BSD-3-Clause
8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9
2026-01-05T02:29:57.665749Z
false
phpvms/phpvms
https://github.com/phpvms/phpvms/blob/8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9/app/Services/LegacyImporterService.php
app/Services/LegacyImporterService.php
<?php namespace App\Services; use App\Contracts\Service; use App\Repositories\KvpRepository; use App\Services\LegacyImporter\AircraftImporter; use App\Services\LegacyImporter\AirlineImporter; use App\Services\LegacyImporter\AirportImporter; use App\Services\LegacyImporter\BaseImporter; use App\Services\LegacyImporter...
php
BSD-3-Clause
8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9
2026-01-05T02:29:57.665749Z
false
phpvms/phpvms
https://github.com/phpvms/phpvms/blob/8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9/app/Services/FinanceService.php
app/Services/FinanceService.php
<?php namespace App\Services; use App\Contracts\Model; use App\Contracts\Service; use App\Models\Airline; use App\Models\Expense; use App\Models\Journal; use App\Models\JournalTransaction; use App\Models\User; use App\Repositories\AirlineRepository; use App\Repositories\JournalRepository; use App\Support\Dates; use A...
php
BSD-3-Clause
8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9
2026-01-05T02:29:57.665749Z
false
phpvms/phpvms
https://github.com/phpvms/phpvms/blob/8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9/app/Services/UserService.php
app/Services/UserService.php
<?php namespace App\Services; use App\Contracts\Service; use App\Events\UserStateChanged; use App\Events\UserStatsChanged; use App\Exceptions\PilotIdNotFound; use App\Exceptions\UserPilotIdExists; use App\Models\Airline; use App\Models\Bid; use App\Models\Enums\PirepState; use App\Models\Enums\UserState; use App\Mode...
php
BSD-3-Clause
8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9
2026-01-05T02:29:57.665749Z
false
phpvms/phpvms
https://github.com/phpvms/phpvms/blob/8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9/app/Services/AnalyticsService.php
app/Services/AnalyticsService.php
<?php namespace App\Services; use App\Contracts\Service; use Exception; use Illuminate\Support\Facades\DB; use Illuminate\Support\Facades\Log; use PDO; use VaCentral\Models\Stat; use VaCentral\VaCentral; class AnalyticsService extends Service { /** * Send out some stats about the install, like the PHP and D...
php
BSD-3-Clause
8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9
2026-01-05T02:29:57.665749Z
false
phpvms/phpvms
https://github.com/phpvms/phpvms/blob/8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9/app/Services/AirlineService.php
app/Services/AirlineService.php
<?php namespace App\Services; use App\Contracts\Service; use App\Models\Airline; use App\Repositories\AirlineRepository; use App\Repositories\FlightRepository; use App\Repositories\PirepRepository; use App\Repositories\SubfleetRepository; use Prettus\Validator\Exceptions\ValidatorException; class AirlineService exte...
php
BSD-3-Clause
8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9
2026-01-05T02:29:57.665749Z
false
phpvms/phpvms
https://github.com/phpvms/phpvms/blob/8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9/app/Services/FareService.php
app/Services/FareService.php
<?php namespace App\Services; use App\Contracts\Service; use App\Models\Fare; use App\Models\Flight; use App\Models\Pirep; use App\Models\PirepFare; use App\Models\Subfleet; use App\Support\Math; use Exception; use Illuminate\Database\Eloquent\Relations\Pivot; use Illuminate\Support\Collection; use Illuminate\Support...
php
BSD-3-Clause
8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9
2026-01-05T02:29:57.665749Z
false
phpvms/phpvms
https://github.com/phpvms/phpvms/blob/8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9/app/Services/AirportLookup/VaCentralLookup.php
app/Services/AirportLookup/VaCentralLookup.php
<?php namespace App\Services\AirportLookup; use App\Contracts\AirportLookup; use Illuminate\Support\Facades\Log; use VaCentral\Contracts\IVaCentral; use VaCentral\Exceptions\HttpException; class VaCentralLookup extends AirportLookup { public function __construct( private readonly IVaCentral $client )...
php
BSD-3-Clause
8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9
2026-01-05T02:29:57.665749Z
false
phpvms/phpvms
https://github.com/phpvms/phpvms/blob/8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9/app/Services/Finance/RecurringFinanceService.php
app/Services/Finance/RecurringFinanceService.php
<?php namespace App\Services\Finance; use App\Contracts\Service; use App\Models\Aircraft; use App\Models\Airline; use App\Models\Airport; use App\Models\Enums\ExpenseType; use App\Models\Expense; use App\Models\Journal; use App\Models\JournalTransaction; use App\Models\Subfleet; use App\Services\FinanceService; use A...
php
BSD-3-Clause
8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9
2026-01-05T02:29:57.665749Z
false
phpvms/phpvms
https://github.com/phpvms/phpvms/blob/8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9/app/Services/Finance/PirepFinanceService.php
app/Services/Finance/PirepFinanceService.php
<?php namespace App\Services\Finance; use App\Contracts\Service; use App\Events\Expenses as ExpensesEvent; use App\Events\Fares as FaresEvent; use App\Models\Aircraft; use App\Models\Airport; use App\Models\Enums\ExpenseType; use App\Models\Enums\FareType; use App\Models\Enums\FuelType; use App\Models\Enums\PirepSour...
php
BSD-3-Clause
8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9
2026-01-05T02:29:57.665749Z
false
phpvms/phpvms
https://github.com/phpvms/phpvms/blob/8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9/app/Services/Metar/AviationWeather.php
app/Services/Metar/AviationWeather.php
<?php namespace App\Services\Metar; use App\Contracts\Metar; use App\Support\HttpClient; use Exception; use GuzzleHttp\Exception\GuzzleException; use Illuminate\Support\Facades\Log; /** * Return the raw METAR/TAF string from the NOAA Aviation Weather Service */ class AviationWeather extends Metar { private con...
php
BSD-3-Clause
8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9
2026-01-05T02:29:57.665749Z
false
phpvms/phpvms
https://github.com/phpvms/phpvms/blob/8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9/app/Services/ImportExport/ExpenseExporter.php
app/Services/ImportExport/ExpenseExporter.php
<?php namespace App\Services\ImportExport; use App\Contracts\ImportExport; use App\Models\Aircraft; use App\Models\Airport; use App\Models\Expense; use App\Models\Subfleet; /** * Import expenses */ class ExpenseExporter extends ImportExport { public $assetType = 'expense'; /** * Set the current colum...
php
BSD-3-Clause
8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9
2026-01-05T02:29:57.665749Z
false
phpvms/phpvms
https://github.com/phpvms/phpvms/blob/8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9/app/Services/ImportExport/AircraftExporter.php
app/Services/ImportExport/AircraftExporter.php
<?php namespace App\Services\ImportExport; use App\Contracts\ImportExport; use App\Models\Aircraft; /** * The flight importer can be imported or export. Operates on rows */ class AircraftExporter extends ImportExport { public $assetType = 'aircraft'; /** * Set the current columns and other setup ...
php
BSD-3-Clause
8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9
2026-01-05T02:29:57.665749Z
false
phpvms/phpvms
https://github.com/phpvms/phpvms/blob/8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9/app/Services/ImportExport/AirportImporter.php
app/Services/ImportExport/AirportImporter.php
<?php namespace App\Services\ImportExport; use App\Contracts\ImportExport; use App\Models\Airport; use Exception; /** * Import airports */ class AirportImporter extends ImportExport { public $assetType = 'airport'; /** * All of the columns that are in the CSV import * Should match the database f...
php
BSD-3-Clause
8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9
2026-01-05T02:29:57.665749Z
false
phpvms/phpvms
https://github.com/phpvms/phpvms/blob/8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9/app/Services/ImportExport/FareImporter.php
app/Services/ImportExport/FareImporter.php
<?php namespace App\Services\ImportExport; use App\Contracts\ImportExport; use App\Models\Fare; use Exception; /** * Import aircraft */ class FareImporter extends ImportExport { public $assetType = 'fare'; /** * All of the columns that are in the CSV import * Should match the database fields, fo...
php
BSD-3-Clause
8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9
2026-01-05T02:29:57.665749Z
false
phpvms/phpvms
https://github.com/phpvms/phpvms/blob/8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9/app/Services/ImportExport/FlightImporter.php
app/Services/ImportExport/FlightImporter.php
<?php namespace App\Services\ImportExport; use App\Contracts\ImportExport; use App\Models\Airport; use App\Models\Enums\Days; use App\Models\Enums\FlightType; use App\Models\Fare; use App\Models\Flight; use App\Models\Subfleet; use App\Services\AirportService; use App\Services\FareService; use App\Services\FlightServ...
php
BSD-3-Clause
8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9
2026-01-05T02:29:57.665749Z
false
phpvms/phpvms
https://github.com/phpvms/phpvms/blob/8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9/app/Services/ImportExport/ExpenseImporter.php
app/Services/ImportExport/ExpenseImporter.php
<?php namespace App\Services\ImportExport; use App\Contracts\ImportExport; use App\Models\Aircraft; use App\Models\Airport; use App\Models\Expense; use App\Models\Subfleet; use Exception; use Illuminate\Support\Facades\Log; /** * Import expenses */ class ExpenseImporter extends ImportExport { public $assetType...
php
BSD-3-Clause
8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9
2026-01-05T02:29:57.665749Z
false
phpvms/phpvms
https://github.com/phpvms/phpvms/blob/8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9/app/Services/ImportExport/FareExporter.php
app/Services/ImportExport/FareExporter.php
<?php namespace App\Services\ImportExport; use App\Contracts\ImportExport; use App\Models\Fare; /** * The flight importer can be imported or export. Operates on rows */ class FareExporter extends ImportExport { public $assetType = 'fare'; /** * Set the current columns and other setup */ publ...
php
BSD-3-Clause
8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9
2026-01-05T02:29:57.665749Z
false
phpvms/phpvms
https://github.com/phpvms/phpvms/blob/8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9/app/Services/ImportExport/SubfleetExporter.php
app/Services/ImportExport/SubfleetExporter.php
<?php namespace App\Services\ImportExport; use App\Contracts\ImportExport; use App\Models\Flight; use App\Models\Subfleet; /** * The flight importer can be imported or export. Operates on rows */ class SubfleetExporter extends ImportExport { public $assetType = 'subfleet'; /** * Set the current colum...
php
BSD-3-Clause
8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9
2026-01-05T02:29:57.665749Z
false
phpvms/phpvms
https://github.com/phpvms/phpvms/blob/8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9/app/Services/ImportExport/FlightExporter.php
app/Services/ImportExport/FlightExporter.php
<?php namespace App\Services\ImportExport; use App\Contracts\ImportExport; use App\Models\Enums\Days; use App\Models\Flight; /** * The flight importer can be imported or export. Operates on rows */ class FlightExporter extends ImportExport { public $assetType = 'flight'; /** * Set the current columns...
php
BSD-3-Clause
8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9
2026-01-05T02:29:57.665749Z
false
phpvms/phpvms
https://github.com/phpvms/phpvms/blob/8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9/app/Services/ImportExport/AircraftImporter.php
app/Services/ImportExport/AircraftImporter.php
<?php namespace App\Services\ImportExport; use App\Contracts\ImportExport; use App\Models\Aircraft; use App\Models\Airline; use App\Models\Enums\AircraftState; use App\Models\Enums\AircraftStatus; use App\Models\Subfleet; use App\Support\ICAO; use App\Support\Units\Mass; use Exception; use Illuminate\Database\Eloquen...
php
BSD-3-Clause
8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9
2026-01-05T02:29:57.665749Z
false
phpvms/phpvms
https://github.com/phpvms/phpvms/blob/8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9/app/Services/ImportExport/SubfleetImporter.php
app/Services/ImportExport/SubfleetImporter.php
<?php namespace App\Services\ImportExport; use App\Contracts\ImportExport; use App\Models\Fare; use App\Models\Rank; use App\Models\Subfleet; use App\Services\FareService; use App\Services\FleetService; use Exception; /** * Import subfleets */ class SubfleetImporter extends ImportExport { public $assetType = '...
php
BSD-3-Clause
8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9
2026-01-05T02:29:57.665749Z
false
phpvms/phpvms
https://github.com/phpvms/phpvms/blob/8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9/app/Services/ImportExport/AirportExporter.php
app/Services/ImportExport/AirportExporter.php
<?php namespace App\Services\ImportExport; use App\Contracts\ImportExport; use App\Models\Airport; /** * The flight importer can be imported or export. Operates on rows */ class AirportExporter extends ImportExport { public $assetType = 'airport'; /** * Set the current columns and other setup */...
php
BSD-3-Clause
8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9
2026-01-05T02:29:57.665749Z
false
phpvms/phpvms
https://github.com/phpvms/phpvms/blob/8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9/app/Services/LegacyImporter/SettingsImporter.php
app/Services/LegacyImporter/SettingsImporter.php
<?php namespace App\Services\LegacyImporter; use App\Repositories\SettingRepository; class SettingsImporter extends BaseImporter { protected $table = 'settings'; public function run($start = 0) { $this->comment('--- SETTINGS IMPORT ---'); /** @var SettingRepository $settingsRepo */ ...
php
BSD-3-Clause
8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9
2026-01-05T02:29:57.665749Z
false
phpvms/phpvms
https://github.com/phpvms/phpvms/blob/8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9/app/Services/LegacyImporter/AirportImporter.php
app/Services/LegacyImporter/AirportImporter.php
<?php namespace App\Services\LegacyImporter; use App\Models\Airport; use Illuminate\Database\QueryException; use Illuminate\Support\Facades\Log; class AirportImporter extends BaseImporter { protected $table = 'airports'; public function run($start = 0) { $this->comment('--- AIRPORT IMPORT ---');...
php
BSD-3-Clause
8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9
2026-01-05T02:29:57.665749Z
false
phpvms/phpvms
https://github.com/phpvms/phpvms/blob/8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9/app/Services/LegacyImporter/FinalizeImporter.php
app/Services/LegacyImporter/FinalizeImporter.php
<?php namespace App\Services\LegacyImporter; use App\Models\User; use App\Services\AircraftService; use App\Services\UserService; class FinalizeImporter extends BaseImporter { /** * Returns a default manifest just so this step gets run */ public function getManifest(): array { return [ ...
php
BSD-3-Clause
8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9
2026-01-05T02:29:57.665749Z
false
phpvms/phpvms
https://github.com/phpvms/phpvms/blob/8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9/app/Services/LegacyImporter/ExpenseLogImporter.php
app/Services/LegacyImporter/ExpenseLogImporter.php
<?php namespace App\Services\LegacyImporter; use App\Models\Airline; use App\Models\Expense; use App\Services\FinanceService; use App\Support\Money; use Prettus\Validator\Exceptions\ValidatorException; class ExpenseLogImporter extends BaseImporter { protected $table = 'expenselog'; /** * {@inheritdoc} ...
php
BSD-3-Clause
8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9
2026-01-05T02:29:57.665749Z
false
phpvms/phpvms
https://github.com/phpvms/phpvms/blob/8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9/app/Services/LegacyImporter/AirlineImporter.php
app/Services/LegacyImporter/AirlineImporter.php
<?php namespace App\Services\LegacyImporter; use App\Models\Airline; use Illuminate\Support\Facades\Log; class AirlineImporter extends BaseImporter { public $table = 'airlines'; /** * @param int $start */ public function run($start = 0) { $this->comment('--- AIRLINE IMPORT ---'); ...
php
BSD-3-Clause
8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9
2026-01-05T02:29:57.665749Z
false
phpvms/phpvms
https://github.com/phpvms/phpvms/blob/8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9/app/Services/LegacyImporter/FlightImporter.php
app/Services/LegacyImporter/FlightImporter.php
<?php namespace App\Services\LegacyImporter; use App\Models\Flight; use Exception; class FlightImporter extends BaseImporter { protected $table = 'schedules'; public function run($start = 0) { $this->comment('--- FLIGHT SCHEDULE IMPORT ---'); $fields = [ 'id', 'c...
php
BSD-3-Clause
8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9
2026-01-05T02:29:57.665749Z
false
phpvms/phpvms
https://github.com/phpvms/phpvms/blob/8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9/app/Services/LegacyImporter/ExpenseImporter.php
app/Services/LegacyImporter/ExpenseImporter.php
<?php namespace App\Services\LegacyImporter; use App\Models\Enums\ExpenseType; use App\Models\Expense; class ExpenseImporter extends BaseImporter { protected $table = 'expenses'; private array $expense_types = [ 'M' => ExpenseType::MONTHLY, 'F' => ExpenseType::FLIGHT, 'P' => ExpenseT...
php
BSD-3-Clause
8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9
2026-01-05T02:29:57.665749Z
false