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/Services/LegacyImporter/PirepCommentImporter.php
app/Services/LegacyImporter/PirepCommentImporter.php
<?php namespace App\Services\LegacyImporter; use App\Models\PirepComment; class PirepCommentImporter extends BaseImporter { protected $table = 'pirepcomments'; protected $idField = 'id'; public function run($start = 0) { $this->comment('--- PIREPCOMMENT IMPORT ---'); $fields = [ ...
php
BSD-3-Clause
8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9
2026-01-05T02:29:57.665749Z
false
phpvms/phpvms
https://github.com/phpvms/phpvms/blob/8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9/app/Services/LegacyImporter/AircraftImporter.php
app/Services/LegacyImporter/AircraftImporter.php
<?php namespace App\Services\LegacyImporter; use App\Models\Aircraft; use App\Models\Airline; use App\Models\Subfleet; class AircraftImporter extends BaseImporter { protected $table = 'aircraft'; public function run($start = 0) { $this->comment('--- AIRCRAFT IMPORT ---'); $fields = [ ...
php
BSD-3-Clause
8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9
2026-01-05T02:29:57.665749Z
false
phpvms/phpvms
https://github.com/phpvms/phpvms/blob/8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9/app/Services/LegacyImporter/GroupImporter.php
app/Services/LegacyImporter/GroupImporter.php
<?php namespace App\Services\LegacyImporter; use App\Models\Permission; use App\Models\Role; use App\Services\RoleService; use Exception; use Illuminate\Support\Facades\Log; use Illuminate\Support\Str; /** * Imports the groups into the permissions feature(s) */ class GroupImporter extends BaseImporter { protec...
php
BSD-3-Clause
8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9
2026-01-05T02:29:57.665749Z
false
phpvms/phpvms
https://github.com/phpvms/phpvms/blob/8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9/app/Services/LegacyImporter/PirepImporter.php
app/Services/LegacyImporter/PirepImporter.php
<?php namespace App\Services\LegacyImporter; use App\Models\Enums\FlightType; use App\Models\Enums\PirepSource; use App\Models\Enums\PirepState; use App\Models\Enums\PirepStatus; use App\Models\Pirep; use App\Services\FinanceService; use App\Support\Money; class PirepImporter extends BaseImporter { protected $ta...
php
BSD-3-Clause
8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9
2026-01-05T02:29:57.665749Z
false
phpvms/phpvms
https://github.com/phpvms/phpvms/blob/8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9/app/Services/LegacyImporter/BaseImporter.php
app/Services/LegacyImporter/BaseImporter.php
<?php namespace App\Services\LegacyImporter; use App\Services\Installer\LoggerTrait; use App\Services\LegacyImporterService; use App\Utils\IdMapper; use App\Utils\ImporterDB; use Carbon\Carbon; use Illuminate\Bus\Queueable; use Illuminate\Foundation\Bus\Dispatchable; use Illuminate\Queue\InteractsWithQueue; use Illum...
php
BSD-3-Clause
8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9
2026-01-05T02:29:57.665749Z
false
phpvms/phpvms
https://github.com/phpvms/phpvms/blob/8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9/app/Services/LegacyImporter/RankImport.php
app/Services/LegacyImporter/RankImport.php
<?php namespace App\Services\LegacyImporter; use App\Models\Rank; class RankImport extends BaseImporter { protected $table = 'ranks'; protected $idField = 'rankid'; public function run($start = 0) { $this->comment('--- RANK IMPORT ---'); $count = 0; $rows = $this->db->readR...
php
BSD-3-Clause
8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9
2026-01-05T02:29:57.665749Z
false
phpvms/phpvms
https://github.com/phpvms/phpvms/blob/8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9/app/Services/LegacyImporter/ClearDatabase.php
app/Services/LegacyImporter/ClearDatabase.php
<?php namespace App\Services\LegacyImporter; use App\Models\Acars; use App\Models\Aircraft; use App\Models\Airline; use App\Models\Airport; use App\Models\Bid; use App\Models\Expense; use App\Models\File; use App\Models\Flight; use App\Models\FlightField; use App\Models\FlightFieldValue; use App\Models\Journal; 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/LegacyImporter/UserImport.php
app/Services/LegacyImporter/UserImport.php
<?php namespace App\Services\LegacyImporter; use App\Models\Enums\UserState; use App\Models\User; use App\Services\UserService; use App\Support\Units\Time; use App\Support\Utils; use Illuminate\Support\Facades\Hash; use Illuminate\Support\Facades\Log; use Illuminate\Support\Str; class UserImport extends BaseImporter...
php
BSD-3-Clause
8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9
2026-01-05T02:29:57.665749Z
false
phpvms/phpvms
https://github.com/phpvms/phpvms/blob/8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9/app/Services/Installer/RequirementsService.php
app/Services/Installer/RequirementsService.php
<?php namespace App\Services\Installer; use App\Contracts\Service; class RequirementsService extends Service { /** * Check the PHP version that it meets the minimum requirement */ public function checkPHPVersion(): array { $passed = false; if (version_compare(PHP_VERSION, config...
php
BSD-3-Clause
8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9
2026-01-05T02:29:57.665749Z
false
phpvms/phpvms
https://github.com/phpvms/phpvms/blob/8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9/app/Services/Installer/StreamedCommandsService.php
app/Services/Installer/StreamedCommandsService.php
<?php namespace App\Services\Installer; use App\Contracts\Service; use Symfony\Component\Process\PhpExecutableFinder; use Symfony\Component\Process\Process; class StreamedCommandsService extends Service { /** * @throws \RuntimeException */ public function streamArtisanCommand(array $command, \Closu...
php
BSD-3-Clause
8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9
2026-01-05T02:29:57.665749Z
false
phpvms/phpvms
https://github.com/phpvms/phpvms/blob/8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9/app/Services/Installer/SeederService.php
app/Services/Installer/SeederService.php
<?php namespace App\Services\Installer; use App\Contracts\Service; use App\Models\Setting; use App\Services\DatabaseService; use Carbon\Carbon; use Illuminate\Support\Facades\App; use Illuminate\Support\Facades\DB; use Illuminate\Support\Facades\Log; use Illuminate\Support\Facades\Storage; use Symfony\Component\Yaml\...
php
BSD-3-Clause
8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9
2026-01-05T02:29:57.665749Z
false
phpvms/phpvms
https://github.com/phpvms/phpvms/blob/8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9/app/Services/Installer/DatabaseService.php
app/Services/Installer/DatabaseService.php
<?php namespace App\Services\Installer; use App\Contracts\Service; use Illuminate\Support\Facades\Artisan; use Illuminate\Support\Facades\Log; use PDO; use PDOException; class DatabaseService extends Service { /** * Check the PHP version that it meets the minimum requirement * * * @return boo...
php
BSD-3-Clause
8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9
2026-01-05T02:29:57.665749Z
false
phpvms/phpvms
https://github.com/phpvms/phpvms/blob/8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9/app/Services/Installer/MigrationService.php
app/Services/Installer/MigrationService.php
<?php namespace App\Services\Installer; use App\Contracts\Service; use Exception; use Illuminate\Database\Migrations\Migrator; use Illuminate\Support\Facades\App; use Illuminate\Support\Facades\Artisan; use Illuminate\Support\Facades\Log; use Nwidart\Modules\Facades\Module; class MigrationService extends Service { ...
php
BSD-3-Clause
8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9
2026-01-05T02:29:57.665749Z
false
phpvms/phpvms
https://github.com/phpvms/phpvms/blob/8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9/app/Services/Installer/ConfigService.php
app/Services/Installer/ConfigService.php
<?php namespace App\Services\Installer; use App\Contracts\Service; use Exception; use Illuminate\Encryption\Encrypter; use Illuminate\Support\Facades\App; use Illuminate\Support\Facades\Log; use Illuminate\Support\Str; use Nwidart\Modules\Support\Stub; use PDO; use Symfony\Component\HttpFoundation\File\Exception\File...
php
BSD-3-Clause
8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9
2026-01-05T02:29:57.665749Z
false
phpvms/phpvms
https://github.com/phpvms/phpvms/blob/8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9/app/Services/Installer/LoggerTrait.php
app/Services/Installer/LoggerTrait.php
<?php namespace App\Services\Installer; use Illuminate\Support\Facades\Log; trait LoggerTrait { protected function comment($text) { Log::info($text); } protected function info($text) { Log::info($text); } protected function error($text) { Log::error($text); ...
php
BSD-3-Clause
8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9
2026-01-05T02:29:57.665749Z
false
phpvms/phpvms
https://github.com/phpvms/phpvms/blob/8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9/app/Services/Installer/InstallerService.php
app/Services/Installer/InstallerService.php
<?php namespace App\Services\Installer; use App\Contracts\Service; use Illuminate\Support\Facades\Artisan; use Illuminate\Support\Facades\Log; class InstallerService extends Service { public function __construct( private readonly MigrationService $migrationSvc, private readonly SeederService $see...
php
BSD-3-Clause
8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9
2026-01-05T02:29:57.665749Z
false
phpvms/phpvms
https://github.com/phpvms/phpvms/blob/8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9/app/Cron/Hourly/RemoveExpiredLiveFlights.php
app/Cron/Hourly/RemoveExpiredLiveFlights.php
<?php namespace App\Cron\Hourly; use App\Contracts\Listener; use App\Events\CronHourly; use App\Events\PirepCancelled; use App\Models\Enums\PirepState; use App\Models\Enums\PirepStatus; use App\Models\Pirep; use Carbon\Carbon; use Exception; use Illuminate\Support\Facades\Log; /** * Remove expired live flights */ ...
php
BSD-3-Clause
8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9
2026-01-05T02:29:57.665749Z
false
phpvms/phpvms
https://github.com/phpvms/phpvms/blob/8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9/app/Cron/Hourly/RemoveExpiredBids.php
app/Cron/Hourly/RemoveExpiredBids.php
<?php namespace App\Cron\Hourly; use App\Contracts\Listener; use App\Events\CronHourly; use App\Models\Bid; use Carbon\Carbon; use Exception; /** * Remove expired bids */ class RemoveExpiredBids extends Listener { /** * Remove expired bids * * * @throws Exception */ public function...
php
BSD-3-Clause
8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9
2026-01-05T02:29:57.665749Z
false
phpvms/phpvms
https://github.com/phpvms/phpvms/blob/8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9/app/Cron/Hourly/DeletePireps.php
app/Cron/Hourly/DeletePireps.php
<?php namespace App\Cron\Hourly; use App\Contracts\Listener; use App\Events\CronHourly; use App\Models\Enums\PirepState; use App\Models\Enums\PirepStatus; use App\Models\Pirep; use App\Services\PirepService; use Carbon\Carbon; use Exception; use Illuminate\Support\Facades\Log; /** * Remove cancelled/deleted PIREPs....
php
BSD-3-Clause
8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9
2026-01-05T02:29:57.665749Z
false
phpvms/phpvms
https://github.com/phpvms/phpvms/blob/8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9/app/Cron/Hourly/ClearExpiredSimbrief.php
app/Cron/Hourly/ClearExpiredSimbrief.php
<?php namespace App\Cron\Hourly; use App\Contracts\Listener; use App\Events\CronHourly; use App\Services\SimBriefService; use Illuminate\Support\Facades\Log; /** * Clear any expired SimBrief flight briefs that aren't attached to a PIREP */ class ClearExpiredSimbrief extends Listener { private SimBriefService $...
php
BSD-3-Clause
8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9
2026-01-05T02:29:57.665749Z
false
phpvms/phpvms
https://github.com/phpvms/phpvms/blob/8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9/app/Cron/Hourly/ClearExpiredInvites.php
app/Cron/Hourly/ClearExpiredInvites.php
<?php namespace App\Cron\Hourly; use App\Contracts\Listener; use App\Events\CronHourly; use App\Models\Invite; use Illuminate\Support\Facades\Log; /** * Clear any expired invites */ class ClearExpiredInvites extends Listener { public function handle(CronHourly $event): void { Log::info('Hourly: Rem...
php
BSD-3-Clause
8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9
2026-01-05T02:29:57.665749Z
false
phpvms/phpvms
https://github.com/phpvms/phpvms/blob/8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9/app/Cron/Nightly/RecalculateStats.php
app/Cron/Nightly/RecalculateStats.php
<?php namespace App\Cron\Nightly; use App\Contracts\Listener; use App\Events\CronNightly; use App\Services\AircraftService; use App\Services\UserService; use Illuminate\Support\Facades\Log; use InvalidArgumentException; use UnexpectedValueException; /** * This recalculates the balances on all of the journals */ cl...
php
BSD-3-Clause
8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9
2026-01-05T02:29:57.665749Z
false
phpvms/phpvms
https://github.com/phpvms/phpvms/blob/8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9/app/Cron/Nightly/SetActiveFlights.php
app/Cron/Nightly/SetActiveFlights.php
<?php namespace App\Cron\Nightly; use App\Contracts\Listener; use App\Events\CronNightly; use App\Models\Enums\Days; use App\Models\Flight; use Carbon\Carbon; use Illuminate\Support\Facades\Log; /** * Figure out what flights need to be active for today */ class SetActiveFlights extends Listener { public functi...
php
BSD-3-Clause
8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9
2026-01-05T02:29:57.665749Z
false
phpvms/phpvms
https://github.com/phpvms/phpvms/blob/8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9/app/Cron/Nightly/PilotLeave.php
app/Cron/Nightly/PilotLeave.php
<?php namespace App\Cron\Nightly; use App\Contracts\Listener; use App\Events\CronNightly; use App\Services\UserService; use Illuminate\Support\Facades\Log; use InvalidArgumentException; use UnexpectedValueException; /** * Determine if any pilots should be set to ON LEAVE status */ class PilotLeave extends Listener...
php
BSD-3-Clause
8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9
2026-01-05T02:29:57.665749Z
false
phpvms/phpvms
https://github.com/phpvms/phpvms/blob/8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9/app/Cron/Nightly/NewVersionCheck.php
app/Cron/Nightly/NewVersionCheck.php
<?php namespace App\Cron\Nightly; use App\Contracts\Listener; use App\Events\CronNightly; use App\Services\VersionService; use Illuminate\Support\Facades\Log; class NewVersionCheck extends Listener { private VersionService $versionSvc; public function __construct(VersionService $versionSvc) { $t...
php
BSD-3-Clause
8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9
2026-01-05T02:29:57.665749Z
false
phpvms/phpvms
https://github.com/phpvms/phpvms/blob/8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9/app/Cron/Nightly/ApplyExpenses.php
app/Cron/Nightly/ApplyExpenses.php
<?php namespace App\Cron\Nightly; use App\Contracts\Listener; use App\Events\CronNightly; use App\Models\Enums\ExpenseType; use App\Services\Finance\RecurringFinanceService; use Illuminate\Support\Facades\Log; use InvalidArgumentException; use Prettus\Validator\Exceptions\ValidatorException; use UnexpectedValueExcept...
php
BSD-3-Clause
8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9
2026-01-05T02:29:57.665749Z
false
phpvms/phpvms
https://github.com/phpvms/phpvms/blob/8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9/app/Cron/Nightly/RecalculateBalances.php
app/Cron/Nightly/RecalculateBalances.php
<?php namespace App\Cron\Nightly; use App\Contracts\Listener; use App\Events\CronNightly; use App\Models\Journal; use App\Repositories\JournalRepository; use Illuminate\Support\Facades\Log; use InvalidArgumentException; use UnexpectedValueException; /** * This recalculates the balances on all of the journals */ cl...
php
BSD-3-Clause
8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9
2026-01-05T02:29:57.665749Z
false
phpvms/phpvms
https://github.com/phpvms/phpvms/blob/8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9/app/Cron/Nightly/RefreshOAuthTokens.php
app/Cron/Nightly/RefreshOAuthTokens.php
<?php namespace App\Cron\Nightly; use App\Contracts\Listener; use App\Events\CronNightly; use App\Services\OAuthService; class RefreshOAuthTokens extends Listener { public function __construct( private readonly OAuthService $oAuthSvc ) {} public function handle(CronNightly $event): void { ...
php
BSD-3-Clause
8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9
2026-01-05T02:29:57.665749Z
false
phpvms/phpvms
https://github.com/phpvms/phpvms/blob/8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9/app/Cron/Weekly/UpdateSimbriefData.php
app/Cron/Weekly/UpdateSimbriefData.php
<?php namespace App\Cron\Weekly; use App\Contracts\Listener; use App\Events\CronWeekly; use App\Services\SimBriefService; use Illuminate\Support\Facades\Log; use InvalidArgumentException; use Prettus\Validator\Exceptions\ValidatorException; use UnexpectedValueException; class UpdateSimbriefData extends Listener { ...
php
BSD-3-Clause
8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9
2026-01-05T02:29:57.665749Z
false
phpvms/phpvms
https://github.com/phpvms/phpvms/blob/8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9/app/Cron/Monthly/ApplyExpenses.php
app/Cron/Monthly/ApplyExpenses.php
<?php namespace App\Cron\Monthly; use App\Contracts\Listener; use App\Events\CronMonthly; use App\Models\Enums\ExpenseType; use App\Services\Finance\RecurringFinanceService; use Illuminate\Support\Facades\Log; use InvalidArgumentException; use Prettus\Validator\Exceptions\ValidatorException; use UnexpectedValueExcept...
php
BSD-3-Clause
8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9
2026-01-05T02:29:57.665749Z
false
phpvms/phpvms
https://github.com/phpvms/phpvms/blob/8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9/app/Contracts/Metar.php
app/Contracts/Metar.php
<?php namespace App\Contracts; use Exception; use Illuminate\Support\Facades\Cache; use Illuminate\Support\Facades\Log; /** * Base class for implementing retrieving METARs */ abstract class Metar { /** * Implement retrieving the METAR - return the METAR string. Needs to be protected, * since this sho...
php
BSD-3-Clause
8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9
2026-01-05T02:29:57.665749Z
false
phpvms/phpvms
https://github.com/phpvms/phpvms/blob/8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9/app/Contracts/Command.php
app/Contracts/Command.php
<?php namespace App\Contracts; use Generator; /** * Class BaseCommand */ abstract class Command extends \Illuminate\Console\Command { /** * @return mixed */ abstract public function handle(); /** * Adjust the logging depending on where we're running from */ public function __co...
php
BSD-3-Clause
8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9
2026-01-05T02:29:57.665749Z
false
phpvms/phpvms
https://github.com/phpvms/phpvms/blob/8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9/app/Contracts/Enum.php
app/Contracts/Enum.php
<?php namespace App\Contracts; use BadMethodCallException; use ReflectionClass; use ReflectionException; /** * Borrowed some ideas from myclabs/php-enum after this was created */ abstract class Enum { protected static array $cache = []; protected static array $codes = []; protected static array $labe...
php
BSD-3-Clause
8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9
2026-01-05T02:29:57.665749Z
false
phpvms/phpvms
https://github.com/phpvms/phpvms/blob/8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9/app/Contracts/Migration.php
app/Contracts/Migration.php
<?php namespace App\Contracts; use App\Models\Award; use App\Support\Database; use Exception; use Illuminate\Support\Facades\DB; use Illuminate\Support\Facades\Log; use Illuminate\Support\Facades\Validator; use Illuminate\Validation\ValidationException; /** * Class Migration */ abstract class Migration extends \Il...
php
BSD-3-Clause
8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9
2026-01-05T02:29:57.665749Z
false
phpvms/phpvms
https://github.com/phpvms/phpvms/blob/8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9/app/Contracts/Controller.php
app/Contracts/Controller.php
<?php namespace App\Contracts; use Illuminate\Foundation\Auth\Access\AuthorizesRequests; use Illuminate\Foundation\Bus\DispatchesJobs; use Illuminate\Foundation\Validation\ValidatesRequests; use Illuminate\Http\JsonResponse; use Illuminate\Http\Request; use Illuminate\Validation\ValidationException; use Laracasts\Fla...
php
BSD-3-Clause
8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9
2026-01-05T02:29:57.665749Z
false
phpvms/phpvms
https://github.com/phpvms/phpvms/blob/8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9/app/Contracts/FormRequest.php
app/Contracts/FormRequest.php
<?php namespace App\Contracts; use Illuminate\Validation\Rule; class FormRequest extends \Illuminate\Foundation\Http\FormRequest { /** * Authorized by default */ public function authorize(): bool { return true; } public function rules(): array { return []; } ...
php
BSD-3-Clause
8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9
2026-01-05T02:29:57.665749Z
false
phpvms/phpvms
https://github.com/phpvms/phpvms/blob/8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9/app/Contracts/Composer.php
app/Contracts/Composer.php
<?php namespace App\Contracts; use Illuminate\View\View; abstract class Composer { abstract public function compose(View $view); }
php
BSD-3-Clause
8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9
2026-01-05T02:29:57.665749Z
false
phpvms/phpvms
https://github.com/phpvms/phpvms/blob/8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9/app/Contracts/Notification.php
app/Contracts/Notification.php
<?php namespace App\Contracts; use Illuminate\Bus\Queueable; use Illuminate\Contracts\Queue\ShouldQueue; class Notification extends \Illuminate\Notifications\Notification implements ShouldQueue { use Queueable; public $channels = []; public $requires_opt_in = false; 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/Contracts/CronCommand.php
app/Contracts/CronCommand.php
<?php namespace App\Contracts; use Illuminate\Support\Facades\Log; abstract class CronCommand extends Command { /** * @return mixed */ abstract public function callEvent(); /** * Adjust the logging depending on where we're running from */ 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/Contracts/Middleware.php
app/Contracts/Middleware.php
<?php namespace App\Contracts; use Closure; use Illuminate\Http\Request; interface Middleware { public function handle(Request $request, Closure $next); }
php
BSD-3-Clause
8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9
2026-01-05T02:29:57.665749Z
false
phpvms/phpvms
https://github.com/phpvms/phpvms/blob/8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9/app/Contracts/Unit.php
app/Contracts/Unit.php
<?php namespace App\Contracts; use ArrayAccess; use Exception; /** * Abstract unit wrapper */ abstract class Unit implements ArrayAccess { /** * The localized unit the user wants it displayed in */ public string $localUnit; /** * The unit that this value is stored in locally */ ...
php
BSD-3-Clause
8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9
2026-01-05T02:29:57.665749Z
false
phpvms/phpvms
https://github.com/phpvms/phpvms/blob/8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9/app/Contracts/Award.php
app/Contracts/Award.php
<?php namespace App\Contracts; use App\Models\Award as AwardModel; use App\Models\User; use App\Models\UserAward; use App\Support\Utils; use Exception; use Illuminate\Support\Facades\Log; /** * Base class for the Awards, you need to extend this, and implement: * $name * $param_description (optional) * public ...
php
BSD-3-Clause
8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9
2026-01-05T02:29:57.665749Z
false
phpvms/phpvms
https://github.com/phpvms/phpvms/blob/8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9/app/Contracts/Repository.php
app/Contracts/Repository.php
<?php namespace App\Contracts; use Exception; use Illuminate\Support\Facades\Validator; use Illuminate\Support\MessageBag; use Prettus\Repository\Eloquent\BaseRepository; use Prettus\Repository\Exceptions\RepositoryException; use function is_array; /** * @mixin BaseRepository * * @property Model $model */ abstr...
php
BSD-3-Clause
8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9
2026-01-05T02:29:57.665749Z
false
phpvms/phpvms
https://github.com/phpvms/phpvms/blob/8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9/app/Contracts/Service.php
app/Contracts/Service.php
<?php namespace App\Contracts; /** * Class Service */ abstract class Service {}
php
BSD-3-Clause
8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9
2026-01-05T02:29:57.665749Z
false
phpvms/phpvms
https://github.com/phpvms/phpvms/blob/8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9/app/Contracts/Resource.php
app/Contracts/Resource.php
<?php namespace App\Contracts; use App\Support\Resources\CustomAnonymousResourceCollection; use App\Support\Resources\CustomPaginatedResourceResponse; use Illuminate\Http\JsonResponse; use Illuminate\Http\Request; use Illuminate\Http\Resources\Json\JsonResource; use Illuminate\Pagination\AbstractPaginator; /** * Ba...
php
BSD-3-Clause
8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9
2026-01-05T02:29:57.665749Z
false
phpvms/phpvms
https://github.com/phpvms/phpvms/blob/8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9/app/Contracts/Widget.php
app/Contracts/Widget.php
<?php namespace App\Contracts; use Arrilot\Widgets\AbstractWidget; use Illuminate\Contracts\View\Factory; use Illuminate\View\View; /** * Class Widget */ abstract class Widget extends AbstractWidget { public $cacheTime = 0; /** * Render the template * * * @return Factory|View */ ...
php
BSD-3-Clause
8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9
2026-01-05T02:29:57.665749Z
false
phpvms/phpvms
https://github.com/phpvms/phpvms/blob/8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9/app/Contracts/Event.php
app/Contracts/Event.php
<?php namespace App\Contracts; use Illuminate\Foundation\Events\Dispatchable; use Illuminate\Queue\SerializesModels; class Event { use Dispatchable; use SerializesModels; }
php
BSD-3-Clause
8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9
2026-01-05T02:29:57.665749Z
false
phpvms/phpvms
https://github.com/phpvms/phpvms/blob/8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9/app/Contracts/AirportLookup.php
app/Contracts/AirportLookup.php
<?php namespace App\Contracts; use App\Models\Airport; abstract class AirportLookup { /** * Lookup the information for an airport. Needs to return an instance of the * Airport model, or an array with the properties listed in the Airport model. * * The in-use implementation can be changed in t...
php
BSD-3-Clause
8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9
2026-01-05T02:29:57.665749Z
false
phpvms/phpvms
https://github.com/phpvms/phpvms/blob/8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9/app/Contracts/RouteFinder.php
app/Contracts/RouteFinder.php
<?php namespace App\Contracts; /** * Abstract class for finding a route from a departure airport to an arrival airport * Can allow for multiple, configurable methods for finding a route, whether it reaches * out to a REST API or implement some sort of internal logic to look through a file * or whatever the logic ...
php
BSD-3-Clause
8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9
2026-01-05T02:29:57.665749Z
false
phpvms/phpvms
https://github.com/phpvms/phpvms/blob/8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9/app/Contracts/ImportExport.php
app/Contracts/ImportExport.php
<?php namespace App\Contracts; use App\Models\Airline; use Exception; use Illuminate\Support\Facades\Log; use Illuminate\Support\Facades\Validator; use Illuminate\Validation\ValidationException; use RuntimeException; /** * Common functionality used across all of the importers */ class ImportExport { public $as...
php
BSD-3-Clause
8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9
2026-01-05T02:29:57.665749Z
false
phpvms/phpvms
https://github.com/phpvms/phpvms/blob/8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9/app/Contracts/Listener.php
app/Contracts/Listener.php
<?php namespace App\Contracts; use Illuminate\Contracts\Events\Dispatcher; abstract class Listener { public static $callbacks = []; /** * Sets up any callbacks that are defined in the child class */ public function subscribe(Dispatcher $events): void { foreach (static::$callbacks a...
php
BSD-3-Clause
8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9
2026-01-05T02:29:57.665749Z
false
phpvms/phpvms
https://github.com/phpvms/phpvms/blob/8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9/app/Contracts/Model.php
app/Contracts/Model.php
<?php namespace App\Contracts; use Illuminate\Database\Eloquent\Builder; /** * @property mixed $id * @property bool $skip_mutator * * @mixin Builder */ abstract class Model extends \Illuminate\Database\Eloquent\Model { /** * Max length of ID for string columns */ public const ID_MAX_LENGTH = ...
php
BSD-3-Clause
8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9
2026-01-05T02:29:57.665749Z
false
phpvms/phpvms
https://github.com/phpvms/phpvms/blob/8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9/app/Contracts/Factory.php
app/Contracts/Factory.php
<?php namespace App\Contracts; use Illuminate\Database\Eloquent\Factories\Factory as EloquentFactory; abstract class Factory extends EloquentFactory {}
php
BSD-3-Clause
8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9
2026-01-05T02:29:57.665749Z
false
phpvms/phpvms
https://github.com/phpvms/phpvms/blob/8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9/app/Contracts/Modules/ServiceProvider.php
app/Contracts/Modules/ServiceProvider.php
<?php namespace App\Contracts\Modules; /** * Base class for module service providers * Add-on module service providers must extend this class. Docs on Service Providers: * https://laravel.com/docs/7.x/providers * * For a sample service provider, view the sample module one: * https://github.com/nabeelio/phpvms-m...
php
BSD-3-Clause
8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9
2026-01-05T02:29:57.665749Z
false
phpvms/phpvms
https://github.com/phpvms/phpvms/blob/8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9/app/Notifications/NotificationEventsHandler.php
app/Notifications/NotificationEventsHandler.php
<?php namespace App\Notifications; use App\Contracts\Listener; use App\Events\AwardAwarded; use App\Events\NewsAdded; use App\Events\NewsUpdated; use App\Events\PirepAccepted; use App\Events\PirepFiled; use App\Events\PirepPrefiled; use App\Events\PirepRejected; use App\Events\PirepStatusChange; use App\Events\UserSt...
php
BSD-3-Clause
8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9
2026-01-05T02:29:57.665749Z
false
phpvms/phpvms
https://github.com/phpvms/phpvms/blob/8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9/app/Notifications/Messages/InviteLink.php
app/Notifications/Messages/InviteLink.php
<?php namespace App\Notifications\Messages; use App\Contracts\Notification; use App\Models\Invite; use App\Notifications\Channels\MailChannel; class InviteLink extends Notification { use MailChannel; /** * Create a new notification instance. */ public function __construct( private read...
php
BSD-3-Clause
8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9
2026-01-05T02:29:57.665749Z
false
phpvms/phpvms
https://github.com/phpvms/phpvms/blob/8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9/app/Notifications/Messages/PirepAccepted.php
app/Notifications/Messages/PirepAccepted.php
<?php namespace App\Notifications\Messages; use App\Contracts\Notification; use App\Models\Pirep; use App\Notifications\Channels\MailChannel; use Illuminate\Contracts\Queue\ShouldQueue; /** * Send the PIREP accepted message to a particular user, can also be sent to Discord */ class PirepAccepted extends Notificati...
php
BSD-3-Clause
8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9
2026-01-05T02:29:57.665749Z
false
phpvms/phpvms
https://github.com/phpvms/phpvms/blob/8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9/app/Notifications/Messages/PirepRejected.php
app/Notifications/Messages/PirepRejected.php
<?php namespace App\Notifications\Messages; use App\Contracts\Notification; use App\Models\Pirep; use App\Notifications\Channels\MailChannel; use Illuminate\Contracts\Queue\ShouldQueue; class PirepRejected extends Notification implements ShouldQueue { use MailChannel; /** * Create a new notification in...
php
BSD-3-Clause
8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9
2026-01-05T02:29:57.665749Z
false
phpvms/phpvms
https://github.com/phpvms/phpvms/blob/8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9/app/Notifications/Messages/PirepFiled.php
app/Notifications/Messages/PirepFiled.php
<?php namespace App\Notifications\Messages; use App\Contracts\Notification; use App\Models\Pirep; use App\Notifications\Channels\MailChannel; use Illuminate\Contracts\Queue\ShouldQueue; class PirepFiled extends Notification implements ShouldQueue { use MailChannel; /** * Create a new notification insta...
php
BSD-3-Clause
8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9
2026-01-05T02:29:57.665749Z
false
phpvms/phpvms
https://github.com/phpvms/phpvms/blob/8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9/app/Notifications/Messages/AdminUserRegistered.php
app/Notifications/Messages/AdminUserRegistered.php
<?php namespace App\Notifications\Messages; use App\Contracts\Notification; use App\Models\User; use App\Notifications\Channels\MailChannel; use Illuminate\Contracts\Queue\ShouldQueue; class AdminUserRegistered extends Notification implements ShouldQueue { use MailChannel; /** * Create a new notificati...
php
BSD-3-Clause
8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9
2026-01-05T02:29:57.665749Z
false
phpvms/phpvms
https://github.com/phpvms/phpvms/blob/8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9/app/Notifications/Messages/UserRegistered.php
app/Notifications/Messages/UserRegistered.php
<?php namespace App\Notifications\Messages; use App\Contracts\Notification; use App\Models\User; use App\Notifications\Channels\MailChannel; use Illuminate\Contracts\Queue\ShouldQueue; class UserRegistered extends Notification implements ShouldQueue { use MailChannel; /** * Create a new notification in...
php
BSD-3-Clause
8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9
2026-01-05T02:29:57.665749Z
false
phpvms/phpvms
https://github.com/phpvms/phpvms/blob/8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9/app/Notifications/Messages/NewsAdded.php
app/Notifications/Messages/NewsAdded.php
<?php namespace App\Notifications\Messages; use App\Contracts\Notification; use App\Models\News; use App\Notifications\Channels\MailChannel; use Illuminate\Contracts\Queue\ShouldQueue; class NewsAdded extends Notification implements ShouldQueue { use MailChannel; public $requires_opt_in = true; public ...
php
BSD-3-Clause
8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9
2026-01-05T02:29:57.665749Z
false
phpvms/phpvms
https://github.com/phpvms/phpvms/blob/8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9/app/Notifications/Messages/UserRejected.php
app/Notifications/Messages/UserRejected.php
<?php namespace App\Notifications\Messages; use App\Contracts\Notification; use App\Models\User; use App\Notifications\Channels\MailChannel; use Illuminate\Bus\Queueable; use Illuminate\Contracts\Queue\ShouldQueue; class UserRejected extends Notification implements ShouldQueue { use MailChannel; use Queueabl...
php
BSD-3-Clause
8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9
2026-01-05T02:29:57.665749Z
false
phpvms/phpvms
https://github.com/phpvms/phpvms/blob/8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9/app/Notifications/Messages/UserPending.php
app/Notifications/Messages/UserPending.php
<?php namespace App\Notifications\Messages; use App\Contracts\Notification; use App\Models\User; use App\Notifications\Channels\MailChannel; use Illuminate\Contracts\Queue\ShouldQueue; class UserPending extends Notification implements ShouldQueue { use MailChannel; public function __construct( priva...
php
BSD-3-Clause
8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9
2026-01-05T02:29:57.665749Z
false
phpvms/phpvms
https://github.com/phpvms/phpvms/blob/8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9/app/Notifications/Messages/Broadcast/AwardAwarded.php
app/Notifications/Messages/Broadcast/AwardAwarded.php
<?php namespace App\Notifications\Messages\Broadcast; use App\Contracts\Notification; use App\Models\Award; use App\Models\User; use App\Models\UserAward; use App\Notifications\Channels\Discord\DiscordMessage; use Illuminate\Contracts\Queue\ShouldQueue; class AwardAwarded extends Notification implements ShouldQueue ...
php
BSD-3-Clause
8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9
2026-01-05T02:29:57.665749Z
false
phpvms/phpvms
https://github.com/phpvms/phpvms/blob/8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9/app/Notifications/Messages/Broadcast/PirepFiled.php
app/Notifications/Messages/Broadcast/PirepFiled.php
<?php namespace App\Notifications\Messages\Broadcast; use App\Contracts\Notification; use App\Models\Pirep; use App\Notifications\Channels\Discord\DiscordMessage; use App\Support\Units\Time; use Illuminate\Contracts\Queue\ShouldQueue; class PirepFiled extends Notification implements ShouldQueue { private $pirep;...
php
BSD-3-Clause
8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9
2026-01-05T02:29:57.665749Z
false
phpvms/phpvms
https://github.com/phpvms/phpvms/blob/8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9/app/Notifications/Messages/Broadcast/PirepStatusChanged.php
app/Notifications/Messages/Broadcast/PirepStatusChanged.php
<?php namespace App\Notifications\Messages\Broadcast; use App\Contracts\Notification; use App\Models\Enums\PirepStatus; use App\Models\Pirep; use App\Notifications\Channels\Discord\DiscordMessage; use App\Notifications\Channels\Discord\DiscordWebhook; use App\Support\Units\Time; use Illuminate\Contracts\Queue\ShouldQ...
php
BSD-3-Clause
8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9
2026-01-05T02:29:57.665749Z
false
phpvms/phpvms
https://github.com/phpvms/phpvms/blob/8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9/app/Notifications/Messages/Broadcast/UserRankChanged.php
app/Notifications/Messages/Broadcast/UserRankChanged.php
<?php namespace App\Notifications\Messages\Broadcast; use App\Contracts\Notification; use App\Models\User; use App\Notifications\Channels\Discord\DiscordMessage; use Illuminate\Contracts\Queue\ShouldQueue; class UserRankChanged extends Notification implements ShouldQueue { private $user; /** * Create a...
php
BSD-3-Clause
8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9
2026-01-05T02:29:57.665749Z
false
phpvms/phpvms
https://github.com/phpvms/phpvms/blob/8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9/app/Notifications/Messages/Broadcast/PirepPrefiled.php
app/Notifications/Messages/Broadcast/PirepPrefiled.php
<?php namespace App\Notifications\Messages\Broadcast; use App\Contracts\Notification; use App\Models\Pirep; use App\Notifications\Channels\Discord\DiscordMessage; use App\Notifications\Channels\Discord\DiscordWebhook; use App\Support\Units\Time; use Illuminate\Contracts\Queue\ShouldQueue; /** * Send the PIREP accep...
php
BSD-3-Clause
8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9
2026-01-05T02:29:57.665749Z
false
phpvms/phpvms
https://github.com/phpvms/phpvms/blob/8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9/app/Notifications/Messages/Broadcast/PirepDiverted.php
app/Notifications/Messages/Broadcast/PirepDiverted.php
<?php namespace App\Notifications\Messages\Broadcast; use App\Contracts\Notification; use App\Models\Pirep; use App\Notifications\Channels\Discord\DiscordMessage; class PirepDiverted extends Notification { private Pirep $pirep; /** * Create a new notification instance. */ 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/Notifications/Messages/Broadcast/UserRegistered.php
app/Notifications/Messages/Broadcast/UserRegistered.php
<?php namespace App\Notifications\Messages\Broadcast; use App\Contracts\Notification; use App\Models\User; use App\Notifications\Channels\Discord\DiscordMessage; use App\Notifications\Channels\MailChannel; use Illuminate\Contracts\Queue\ShouldQueue; /** * Send a message to a Discord channel that a user was register...
php
BSD-3-Clause
8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9
2026-01-05T02:29:57.665749Z
false
phpvms/phpvms
https://github.com/phpvms/phpvms/blob/8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9/app/Notifications/Messages/Broadcast/NewsAdded.php
app/Notifications/Messages/Broadcast/NewsAdded.php
<?php namespace App\Notifications\Messages\Broadcast; use App\Contracts\Notification; use App\Models\News; use App\Notifications\Channels\Discord\DiscordMessage; use Illuminate\Contracts\Queue\ShouldQueue; use League\HTMLToMarkdown\HtmlConverter; class NewsAdded extends Notification implements ShouldQueue { priv...
php
BSD-3-Clause
8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9
2026-01-05T02:29:57.665749Z
false
phpvms/phpvms
https://github.com/phpvms/phpvms/blob/8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9/app/Notifications/Channels/MailChannel.php
app/Notifications/Channels/MailChannel.php
<?php namespace App\Notifications\Channels; use Illuminate\Notifications\Messages\MailMessage; trait MailChannel { protected $mailSubject; protected $mailTemplate; protected $mailTemplateArgs; /** * Set the arguments for the toMail() method * * @param string $subject Email subject ...
php
BSD-3-Clause
8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9
2026-01-05T02:29:57.665749Z
false
phpvms/phpvms
https://github.com/phpvms/phpvms/blob/8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9/app/Notifications/Channels/Discord/DiscordMessage.php
app/Notifications/Channels/Discord/DiscordMessage.php
<?php namespace App\Notifications\Channels\Discord; use Carbon\Carbon; /** * Original is from https://gist.github.com/freekmurze/e4415090f650e070d3de8b905875cf78 * * Markdown guide: https://birdie0.github.io/discord-webhooks-guide/other/discord_markdown.html */ class DiscordMessage { const COLOR_SUCCESS = '0...
php
BSD-3-Clause
8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9
2026-01-05T02:29:57.665749Z
false
phpvms/phpvms
https://github.com/phpvms/phpvms/blob/8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9/app/Notifications/Channels/Discord/DiscordWebhook.php
app/Notifications/Channels/Discord/DiscordWebhook.php
<?php namespace App\Notifications\Channels\Discord; use App\Contracts\Notification; use App\Support\HttpClient; use GuzzleHttp\Exception\RequestException; use GuzzleHttp\Psr7\Message; use Illuminate\Support\Facades\Log; class DiscordWebhook { private $httpClient; public function __construct(HttpClient $http...
php
BSD-3-Clause
8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9
2026-01-05T02:29:57.665749Z
false
phpvms/phpvms
https://github.com/phpvms/phpvms/blob/8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9/app/Notifications/Notifiables/Backups.php
app/Notifications/Notifiables/Backups.php
<?php namespace App\Notifications\Notifiables; use Illuminate\Notifications\Notifiable; class Backups { use Notifiable; public function routeNotificationForMail() { return setting('general.admin_email'); } public function routeNotificationForSlack() { return config('backup.n...
php
BSD-3-Clause
8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9
2026-01-05T02:29:57.665749Z
false
phpvms/phpvms
https://github.com/phpvms/phpvms/blob/8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9/app/Notifications/Notifiables/Broadcast.php
app/Notifications/Notifiables/Broadcast.php
<?php namespace App\Notifications\Notifiables; use Illuminate\Notifications\Notifiable; /** * These are notifications that get broadcasted, not to a single person * (e.g, on Discord, Slack or Telegram or something) * * $notifyable = app(Broadcast::class); * $notifyable->notify($eventclass); */ class Broadcast ...
php
BSD-3-Clause
8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9
2026-01-05T02:29:57.665749Z
false
phpvms/phpvms
https://github.com/phpvms/phpvms/blob/8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9/app/Console/Cron.php
app/Console/Cron.php
<?php /** * This runs any of the cron tasks that are set to run according to the Laravel schedule */ namespace App\Console; use App\Console\Cron\ActivityLogClean; use App\Console\Cron\Backups\BackupClean; use App\Console\Cron\Backups\BackupMonitor; use App\Console\Cron\Backups\BackupRun; use App\Console\Cron\Fifte...
php
BSD-3-Clause
8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9
2026-01-05T02:29:57.665749Z
false
phpvms/phpvms
https://github.com/phpvms/phpvms/blob/8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9/app/Console/Kernel.php
app/Console/Kernel.php
<?php namespace App\Console; use App\Console\Cron\ActivityLogClean; use App\Console\Cron\Backups\BackupClean; use App\Console\Cron\Backups\BackupMonitor; use App\Console\Cron\Backups\BackupRun; use App\Console\Cron\FifteenMinute; use App\Console\Cron\FiveMinute; use App\Console\Cron\Hourly; use App\Console\Cron\JobQu...
php
BSD-3-Clause
8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9
2026-01-05T02:29:57.665749Z
false
phpvms/phpvms
https://github.com/phpvms/phpvms/blob/8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9/app/Console/Logger.php
app/Console/Logger.php
<?php namespace App\Console; use Exception; use Monolog\Handler\StreamHandler; /** * Just a simple custom logger that dumps to the console */ class Logger { public function __invoke(array $config) { $logger = new \Monolog\Logger('console'); try { $logger->pushHandler(new Stream...
php
BSD-3-Clause
8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9
2026-01-05T02:29:57.665749Z
false
phpvms/phpvms
https://github.com/phpvms/phpvms/blob/8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9/app/Console/Services/Database.php
app/Console/Services/Database.php
<?php namespace App\Console\Services; use PDO; use PDOException; /** * Class Database */ class Database { /** * Create the base connection DSN, optionally include the DB name * * @param null $name * @return string */ public function createDsn($host, $port, $name = null) { ...
php
BSD-3-Clause
8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9
2026-01-05T02:29:57.665749Z
false
phpvms/phpvms
https://github.com/phpvms/phpvms/blob/8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9/app/Console/Cron/Monthly.php
app/Console/Cron/Monthly.php
<?php namespace App\Console\Cron; use App\Contracts\CronCommand; use App\Events\CronMonthly; /** * This just calls the CronMonthly event, so all of the * listeners, etc can just be called to run those tasks * * The actual cron tasks are in app/Cron */ class Monthly extends CronCommand { protected $signature...
php
BSD-3-Clause
8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9
2026-01-05T02:29:57.665749Z
false
phpvms/phpvms
https://github.com/phpvms/phpvms/blob/8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9/app/Console/Cron/ThirtyMinute.php
app/Console/Cron/ThirtyMinute.php
<?php namespace App\Console\Cron; use App\Contracts\CronCommand; use App\Events\CronThirtyMinute; /** * The actual cron tasks are in app/Cron */ class ThirtyMinute extends CronCommand { protected $signature = 'cron:thirty'; protected $description = 'Run the 30 minute cron tasks'; protected $schedule;...
php
BSD-3-Clause
8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9
2026-01-05T02:29:57.665749Z
false
phpvms/phpvms
https://github.com/phpvms/phpvms/blob/8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9/app/Console/Cron/Weekly.php
app/Console/Cron/Weekly.php
<?php namespace App\Console\Cron; use App\Contracts\CronCommand; use App\Events\CronWeekly; /** * This just calls the CronWeekly event, so all of the * listeners, etc can just be called to run those tasks. * * The actual cron tasks are in app/Cron */ class Weekly extends CronCommand { protected $signature =...
php
BSD-3-Clause
8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9
2026-01-05T02:29:57.665749Z
false
phpvms/phpvms
https://github.com/phpvms/phpvms/blob/8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9/app/Console/Cron/ActivityLogClean.php
app/Console/Cron/ActivityLogClean.php
<?php namespace App\Console\Cron; use App\Contracts\CronCommand; use Illuminate\Support\Facades\Artisan; use Illuminate\Support\Facades\Log; class ActivityLogClean extends CronCommand { protected $signature = 'cron:activitylog-clean'; protected $description = 'Clean up old activity logs'; public functi...
php
BSD-3-Clause
8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9
2026-01-05T02:29:57.665749Z
false
phpvms/phpvms
https://github.com/phpvms/phpvms/blob/8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9/app/Console/Cron/Nightly.php
app/Console/Cron/Nightly.php
<?php namespace App\Console\Cron; use App\Contracts\CronCommand; use App\Events\CronNightly; /** * This just calls the CronNightly event, so all of the * listeners, etc can just be called to run those tasks * * The actual cron tasks are in app/Cron */ class Nightly extends CronCommand { protected $signature...
php
BSD-3-Clause
8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9
2026-01-05T02:29:57.665749Z
false
phpvms/phpvms
https://github.com/phpvms/phpvms/blob/8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9/app/Console/Cron/FiveMinute.php
app/Console/Cron/FiveMinute.php
<?php namespace App\Console\Cron; use App\Contracts\CronCommand; use App\Events\CronFiveMinute; /** * This just calls the CronNightly event, so all of the * listeners, etc can just be called to run those tasks * * The actual cron tasks are in app/Cron */ class FiveMinute extends CronCommand { protected $sig...
php
BSD-3-Clause
8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9
2026-01-05T02:29:57.665749Z
false
phpvms/phpvms
https://github.com/phpvms/phpvms/blob/8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9/app/Console/Cron/FifteenMinute.php
app/Console/Cron/FifteenMinute.php
<?php namespace App\Console\Cron; use App\Contracts\CronCommand; use App\Events\CronFifteenMinute; /** * The actual cron tasks are in app/Cron */ class FifteenMinute extends CronCommand { protected $signature = 'cron:fifteen'; protected $description = 'Run the 15 minute cron tasks'; protected $schedu...
php
BSD-3-Clause
8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9
2026-01-05T02:29:57.665749Z
false
phpvms/phpvms
https://github.com/phpvms/phpvms/blob/8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9/app/Console/Cron/Hourly.php
app/Console/Cron/Hourly.php
<?php namespace App\Console\Cron; use App\Contracts\CronCommand; use App\Events\CronHourly; /** * This just calls the CronHourly event, so all of the * listeners, etc can just be called to run those tasks */ class Hourly extends CronCommand { protected $signature = 'cron:hourly'; protected $description =...
php
BSD-3-Clause
8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9
2026-01-05T02:29:57.665749Z
false
phpvms/phpvms
https://github.com/phpvms/phpvms/blob/8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9/app/Console/Cron/JobQueue.php
app/Console/Cron/JobQueue.php
<?php namespace App\Console\Cron; use App\Contracts\CronCommand; use Illuminate\Support\Facades\Artisan; /** * This just calls the CronHourly event, so all of the * listeners, etc can just be called to run those tasks */ class JobQueue extends CronCommand { protected $signature = 'cron:queue'; protected ...
php
BSD-3-Clause
8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9
2026-01-05T02:29:57.665749Z
false
phpvms/phpvms
https://github.com/phpvms/phpvms/blob/8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9/app/Console/Cron/Backups/BackupMonitor.php
app/Console/Cron/Backups/BackupMonitor.php
<?php namespace App\Console\Cron\Backups; use App\Contracts\CronCommand; use Illuminate\Support\Facades\Artisan; use Illuminate\Support\Facades\Log; class BackupMonitor extends CronCommand { protected $signature = 'cron:backup-monitor'; protected $description = 'Monitor backups health'; public function...
php
BSD-3-Clause
8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9
2026-01-05T02:29:57.665749Z
false
phpvms/phpvms
https://github.com/phpvms/phpvms/blob/8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9/app/Console/Cron/Backups/BackupRun.php
app/Console/Cron/Backups/BackupRun.php
<?php namespace App\Console\Cron\Backups; use App\Contracts\CronCommand; use Illuminate\Support\Facades\Artisan; use Illuminate\Support\Facades\Log; class BackupRun extends CronCommand { protected $signature = 'cron:backup-run'; protected $description = 'Create a new backup'; public function handle(): ...
php
BSD-3-Clause
8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9
2026-01-05T02:29:57.665749Z
false
phpvms/phpvms
https://github.com/phpvms/phpvms/blob/8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9/app/Console/Cron/Backups/BackupClean.php
app/Console/Cron/Backups/BackupClean.php
<?php namespace App\Console\Cron\Backups; use App\Contracts\CronCommand; use Illuminate\Support\Facades\Artisan; use Illuminate\Support\Facades\Log; class BackupClean extends CronCommand { protected $signature = 'cron:backup-clean'; protected $description = 'Clean up old backups'; public function handl...
php
BSD-3-Clause
8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9
2026-01-05T02:29:57.665749Z
false
phpvms/phpvms
https://github.com/phpvms/phpvms/blob/8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9/app/Console/Commands/DevCommands.php
app/Console/Commands/DevCommands.php
<?php namespace App\Console\Commands; use App\Contracts\Command; use App\Models\Acars; use App\Models\Airline; use App\Models\Pirep; use App\Models\User; use App\Notifications\Messages\UserRegistered; use App\Repositories\AcarsRepository; use App\Services\AirportService; use App\Services\AwardService; use App\Service...
php
BSD-3-Clause
8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9
2026-01-05T02:29:57.665749Z
false
phpvms/phpvms
https://github.com/phpvms/phpvms/blob/8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9/app/Console/Commands/Version.php
app/Console/Commands/Version.php
<?php namespace App\Console\Commands; use App\Contracts\Command; use App\Services\VersionService; use Symfony\Component\Yaml\Exception\ParseException; use Symfony\Component\Yaml\Yaml; use Version\Extension\Build; use Version\Extension\PreRelease; class Version extends Command { protected $signature = 'phpvms:ver...
php
BSD-3-Clause
8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9
2026-01-05T02:29:57.665749Z
false
phpvms/phpvms
https://github.com/phpvms/phpvms/blob/8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9/app/Console/Commands/ImportCsv.php
app/Console/Commands/ImportCsv.php
<?php namespace App\Console\Commands; use App\Contracts\Command; use App\Services\ImportService; use Illuminate\Validation\ValidationException; class ImportCsv extends Command { protected $signature = 'phpvms:csv-import {type} {file}'; protected $description = 'Import from a CSV file'; private ImportSe...
php
BSD-3-Clause
8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9
2026-01-05T02:29:57.665749Z
false
phpvms/phpvms
https://github.com/phpvms/phpvms/blob/8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9/app/Console/Commands/EmailTest.php
app/Console/Commands/EmailTest.php
<?php namespace App\Console\Commands; use App\Contracts\Command; use App\Events\NewsAdded; use App\Models\News; use App\Notifications\NotificationEventsHandler; use Symfony\Component\HttpFoundation\File\Exception\FileException; class EmailTest extends Command { protected $signature = 'phpvms:email-test'; pr...
php
BSD-3-Clause
8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9
2026-01-05T02:29:57.665749Z
false
phpvms/phpvms
https://github.com/phpvms/phpvms/blob/8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9/app/Console/Commands/PirepExport.php
app/Console/Commands/PirepExport.php
<?php namespace App\Console\Commands; use App\Contracts\Command; use Illuminate\Support\Facades\DB; use Symfony\Component\Yaml\Yaml; class PirepExport extends Command { protected $signature = 'phpvms:pirep-export {id}'; protected $description = 'PIREP table export'; /** * Run dev related commands ...
php
BSD-3-Clause
8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9
2026-01-05T02:29:57.665749Z
false
phpvms/phpvms
https://github.com/phpvms/phpvms/blob/8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9/app/Console/Commands/DevInstall.php
app/Console/Commands/DevInstall.php
<?php namespace App\Console\Commands; use App; use App\Contracts\Command; use App\Services\Installer\ConfigService; use Symfony\Component\HttpFoundation\File\Exception\FileException; /** * Create a fresh development install */ class DevInstall extends Command { protected $signature = 'phpvms:dev-install {--res...
php
BSD-3-Clause
8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9
2026-01-05T02:29:57.665749Z
false
phpvms/phpvms
https://github.com/phpvms/phpvms/blob/8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9/app/Console/Commands/YamlExport.php
app/Console/Commands/YamlExport.php
<?php namespace App\Console\Commands; use App\Contracts\Command; use Illuminate\Support\Facades\DB; use Symfony\Component\Yaml\Yaml; /** * Class YamlExport */ class YamlExport extends Command { protected $signature = 'phpvms:yaml-export {tables*}'; protected $description = 'YAML table export'; /** ...
php
BSD-3-Clause
8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9
2026-01-05T02:29:57.665749Z
false