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/tests/BidTest.php | tests/BidTest.php | <?php
namespace Tests;
use App\Exceptions\BidExistsForAircraft;
use App\Exceptions\BidExistsForFlight;
use App\Models\Bid;
use App\Models\Fare;
use App\Models\Flight;
use App\Models\Subfleet;
use App\Models\User;
use App\Repositories\SettingRepository;
use App\Services\BidService;
use App\Services\FareService;
use Ap... | php | BSD-3-Clause | 8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9 | 2026-01-05T02:29:57.665749Z | false |
phpvms/phpvms | https://github.com/phpvms/phpvms/blob/8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9/tests/AwardsTest.php | tests/AwardsTest.php | <?php
namespace Tests;
use App\Models\Award;
use App\Models\Pirep;
use App\Models\User;
use App\Models\UserAward;
use App\Services\AwardService;
use App\Services\PirepService;
use Modules\Awards\Awards\FlightRouteAwards;
use Modules\Awards\Awards\PilotFlightAwards;
final class AwardsTest extends TestCase
{
priva... | php | BSD-3-Clause | 8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9 | 2026-01-05T02:29:57.665749Z | false |
phpvms/phpvms | https://github.com/phpvms/phpvms/blob/8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9/tests/MoneyTest.php | tests/MoneyTest.php | <?php
namespace Tests;
use App\Support\Money;
final class MoneyTest extends TestCase
{
/**
* Test adding/subtracting a percentage
*/
public function test_money(): void
{
$money = Money::create(100);
$this->assertEquals('$1.00', $money->render());
$moneyDollar = Money::c... | php | BSD-3-Clause | 8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9 | 2026-01-05T02:29:57.665749Z | false |
phpvms/phpvms | https://github.com/phpvms/phpvms/blob/8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9/tests/TestCase.php | tests/TestCase.php | <?php
namespace Tests;
use App\Contracts\Unit;
use App\Exceptions\Handler;
use App\Models\User;
use App\Repositories\SettingRepository;
use App\Services\DatabaseService;
use App\Services\Installer\SeederService;
use App\Services\ModuleService;
use Carbon\Carbon;
use Database\Seeders\ShieldSeeder;
use DateTimeImmutabl... | php | BSD-3-Clause | 8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9 | 2026-01-05T02:29:57.665749Z | false |
phpvms/phpvms | https://github.com/phpvms/phpvms/blob/8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9/tests/CreatesApplication.php | tests/CreatesApplication.php | <?php
namespace Tests;
use Illuminate\Contracts\Console\Kernel;
use Illuminate\Foundation\Application;
trait CreatesApplication
{
/**
* Creates the application.
*/
public function createApplication(): Application
{
$app = require __DIR__.'/../bootstrap/app.php';
$app->loadEnviro... | php | BSD-3-Clause | 8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9 | 2026-01-05T02:29:57.665749Z | false |
phpvms/phpvms | https://github.com/phpvms/phpvms/blob/8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9/tests/TestData.php | tests/TestData.php | <?php
namespace Tests;
use App\Models\Aircraft;
use App\Models\Enums\UserState;
use App\Models\Flight;
use App\Models\Pirep;
use App\Models\Rank;
use App\Models\Role;
use App\Models\Subfleet;
use App\Models\User;
use App\Services\UserService;
use Exception;
use Illuminate\Database\Eloquent\Collection;
trait TestData... | php | BSD-3-Clause | 8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9 | 2026-01-05T02:29:57.665749Z | false |
phpvms/phpvms | https://github.com/phpvms/phpvms/blob/8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9/tests/AdminControllerTests.php | tests/AdminControllerTests.php | <?php
namespace Tests;
use App\Models\Role;
use App\Models\Subfleet;
use App\Models\User;
final class AdminControllerTests extends TestCase
{
protected function setUp(): void
{
parent::setUp();
$this->addData('base');
}
private function addAdminUser(): User
{
$user = User... | php | BSD-3-Clause | 8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9 | 2026-01-05T02:29:57.665749Z | false |
phpvms/phpvms | https://github.com/phpvms/phpvms/blob/8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9/tests/OAuthTest.php | tests/OAuthTest.php | <?php
namespace Tests;
use App\Models\Enums\UserState;
use App\Models\User;
use App\Models\UserOAuthToken;
use App\Services\OAuthService;
use Illuminate\Support\Facades\Auth;
use Illuminate\Support\Facades\Config;
use Laravel\Socialite\Facades\Socialite;
use Mockery\LegacyMockInterface;
use Mockery\MockInterface;
use... | php | BSD-3-Clause | 8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9 | 2026-01-05T02:29:57.665749Z | false |
phpvms/phpvms | https://github.com/phpvms/phpvms/blob/8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9/tests/ImporterTest.php | tests/ImporterTest.php | <?php
namespace Tests;
use App\Contracts\ImportExport;
use App\Models\Aircraft;
use App\Models\Airline;
use App\Models\Airport;
use App\Models\Enums\AircraftStatus;
use App\Models\Enums\Days;
use App\Models\Enums\ExpenseType;
use App\Models\Enums\FareType;
use App\Models\Enums\FlightType;
use App\Models\Expense;
use ... | php | BSD-3-Clause | 8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9 | 2026-01-05T02:29:57.665749Z | false |
phpvms/phpvms | https://github.com/phpvms/phpvms/blob/8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9/tests/SimBriefTest.php | tests/SimBriefTest.php | <?php
namespace Tests;
use App\Models\Acars;
use App\Models\Aircraft;
use App\Models\Enums\AcarsType;
use App\Models\Enums\FareType;
use App\Models\Enums\UserState;
use App\Models\Flight;
use App\Models\Pirep;
use App\Models\SimBrief;
use App\Models\User;
use App\Services\SimBriefService;
use App\Support\Utils;
use C... | php | BSD-3-Clause | 8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9 | 2026-01-05T02:29:57.665749Z | false |
phpvms/phpvms | https://github.com/phpvms/phpvms/blob/8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9/tests/VersionTest.php | tests/VersionTest.php | <?php
namespace Tests;
use App\Repositories\KvpRepository;
use App\Services\VersionService;
final class VersionTest extends TestCase
{
private KvpRepository $kvpRepo;
protected function setUp(): void
{
parent::setUp();
$this->kvpRepo = app(KvpRepository::class);
}
/**
* Te... | php | BSD-3-Clause | 8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9 | 2026-01-05T02:29:57.665749Z | false |
phpvms/phpvms | https://github.com/phpvms/phpvms/blob/8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9/tests/FinanceTest.php | tests/FinanceTest.php | <?php
namespace Tests;
use App\Models\Airline;
use App\Models\Airport;
use App\Models\Enums\ExpenseType;
use App\Models\Enums\FlightType;
use App\Models\Enums\PirepSource;
use App\Models\Expense;
use App\Models\Fare;
use App\Models\Flight;
use App\Models\Journal;
use App\Models\JournalTransaction;
use App\Models\Pire... | php | BSD-3-Clause | 8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9 | 2026-01-05T02:29:57.665749Z | true |
phpvms/phpvms | https://github.com/phpvms/phpvms/blob/8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9/tests/GeoTest.php | tests/GeoTest.php | <?php
namespace Tests;
use App\Models\Navdata;
use Exception;
use Illuminate\Foundation\Testing\WithoutMiddleware;
final class GeoTest extends TestCase
{
use WithoutMiddleware;
public function test_closest_point(): void
{
$geoSvc = app('\App\Services\GeoService');
/**
* [2017-1... | php | BSD-3-Clause | 8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9 | 2026-01-05T02:29:57.665749Z | false |
phpvms/phpvms | https://github.com/phpvms/phpvms/blob/8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9/tests/MetarTest.php | tests/MetarTest.php | <?php
namespace Tests;
use App\Repositories\SettingRepository;
use App\Services\AirportService;
use App\Support\Metar;
/**
* Test the parsing/support class of the metar
*/
final class MetarTest extends TestCase
{
private SettingRepository $settingsRepo;
protected function setUp(): void
{
paren... | php | BSD-3-Clause | 8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9 | 2026-01-05T02:29:57.665749Z | false |
phpvms/phpvms | https://github.com/phpvms/phpvms/blob/8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9/tests/MathTest.php | tests/MathTest.php | <?php
namespace Tests;
use App\Support\Math;
use App\Support\Units\Distance;
use PhpUnitsOfMeasure\Exception\NonNumericValue;
use PhpUnitsOfMeasure\Exception\NonStringUnitName;
final class MathTest extends TestCase
{
/**
* Test adding/subtracting a percentage
*/
public function test_add_percent(): ... | php | BSD-3-Clause | 8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9 | 2026-01-05T02:29:57.665749Z | false |
phpvms/phpvms | https://github.com/phpvms/phpvms/blob/8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9/tests/UtilsTest.php | tests/UtilsTest.php | <?php
namespace Tests;
use App\Repositories\KvpRepository;
use App\Support\ICAO;
use App\Support\Units\Distance;
use App\Support\Units\Time;
use App\Support\Utils;
use Carbon\Carbon;
use PhpUnitsOfMeasure\Exception\NonNumericValue;
use PhpUnitsOfMeasure\Exception\NonStringUnitName;
final class UtilsTest extends Test... | php | BSD-3-Clause | 8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9 | 2026-01-05T02:29:57.665749Z | false |
phpvms/phpvms | https://github.com/phpvms/phpvms/blob/8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9/tests/FlightTest.php | tests/FlightTest.php | <?php
namespace Tests;
use App\Cron\Nightly\SetActiveFlights;
use App\Events\CronNightly;
use App\Models\Airline;
use App\Models\Airport;
use App\Models\Enums\Days;
use App\Models\Enums\NavaidType;
use App\Models\Flight;
use App\Models\Navdata;
use App\Models\Subfleet;
use App\Models\User;
use App\Repositories\Settin... | php | BSD-3-Clause | 8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9 | 2026-01-05T02:29:57.665749Z | false |
phpvms/phpvms | https://github.com/phpvms/phpvms/blob/8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9/tests/RegistrationTest.php | tests/RegistrationTest.php | <?php
namespace Tests;
use App\Models\Airline;
use App\Models\Airport;
use App\Models\Enums\UserState;
use App\Models\Invite;
use App\Models\User;
use App\Notifications\Messages\AdminUserRegistered;
use App\Services\UserService;
use Illuminate\Auth\Events\Verified;
use Illuminate\Support\Facades\Hash;
use Illuminate\... | php | BSD-3-Clause | 8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9 | 2026-01-05T02:29:57.665749Z | false |
phpvms/phpvms | https://github.com/phpvms/phpvms/blob/8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9/tests/AirlineTest.php | tests/AirlineTest.php | <?php
namespace Tests;
use App\Models\Airline;
use App\Models\Flight;
use App\Models\Journal;
use App\Models\Pirep;
use App\Services\AirlineService;
use Prettus\Validator\Exceptions\ValidatorException;
final class AirlineTest extends TestCase
{
protected AirlineService $airlineSvc;
protected function setUp(... | php | BSD-3-Clause | 8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9 | 2026-01-05T02:29:57.665749Z | false |
phpvms/phpvms | https://github.com/phpvms/phpvms/blob/8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9/tests/AcarsTest.php | tests/AcarsTest.php | <?php
namespace Tests;
use App\Exceptions\AircraftNotAtAirport;
use App\Exceptions\UserNotAtAirport;
use App\Models\Acars;
use App\Models\Aircraft;
use App\Models\Airline;
use App\Models\Airport;
use App\Models\Enums\PirepState;
use App\Models\Enums\PirepStatus;
use App\Models\Fare;
use App\Models\Navdata;
use App\Mo... | php | BSD-3-Clause | 8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9 | 2026-01-05T02:29:57.665749Z | true |
phpvms/phpvms | https://github.com/phpvms/phpvms/blob/8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9/tests/SubfleetTest.php | tests/SubfleetTest.php | <?php
namespace Tests;
use App\Models\Fare;
use App\Models\Subfleet;
use App\Services\FareService;
final class SubfleetTest extends TestCase
{
protected function setUp(): void
{
parent::setUp();
$this->addData('base');
}
/**
* @throws \Exception
*/
public function test_... | php | BSD-3-Clause | 8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9 | 2026-01-05T02:29:57.665749Z | false |
phpvms/phpvms | https://github.com/phpvms/phpvms/blob/8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9/tests/DatabaseTest.php | tests/DatabaseTest.php | <?php
namespace Tests;
use App\Services\DatabaseService;
use App\Support\Database;
use Symfony\Component\Yaml\Yaml;
final class DatabaseTest extends TestCase
{
/**
* Make sure the seeder works correctly
*/
public function test_seeder(): void
{
/** @var DatabaseService $dbSvc */
... | php | BSD-3-Clause | 8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9 | 2026-01-05T02:29:57.665749Z | false |
phpvms/phpvms | https://github.com/phpvms/phpvms/blob/8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9/tests/UserTest.php | tests/UserTest.php | <?php
namespace Tests;
use App\Events\ProfileUpdated;
use App\Exceptions\PilotIdNotFound;
use App\Exceptions\UserPilotIdExists;
use App\Models\Airline;
use App\Models\Enums\UserState;
use App\Models\Fare;
use App\Models\Pirep;
use App\Models\User;
use App\Repositories\SettingRepository;
use App\Services\FareService;
... | php | BSD-3-Clause | 8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9 | 2026-01-05T02:29:57.665749Z | false |
phpvms/phpvms | https://github.com/phpvms/phpvms/blob/8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9/tests/ApiTest.php | tests/ApiTest.php | <?php
namespace Tests;
// use Swagger\Serializer;
use App\Models\Aircraft;
use App\Models\Airline;
use App\Models\Airport;
use App\Models\Enums\UserState;
use App\Models\Fare;
use App\Models\News;
use App\Models\Subfleet;
use App\Models\User;
use App\Services\FareService;
use App\Support\Utils;
use Exception;
use fu... | php | BSD-3-Clause | 8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9 | 2026-01-05T02:29:57.665749Z | false |
phpvms/phpvms | https://github.com/phpvms/phpvms/blob/8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9/routes/web.php | routes/web.php | <?php
use App\Http\Controllers\Auth\LoginController;
use App\Http\Controllers\Auth\OAuthController;
use App\Http\Controllers\Frontend\AirportController;
use App\Http\Controllers\Frontend\CreditsController;
use App\Http\Controllers\Frontend\DashboardController;
use App\Http\Controllers\Frontend\DownloadController;
use ... | php | BSD-3-Clause | 8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9 | 2026-01-05T02:29:57.665749Z | false |
phpvms/phpvms | https://github.com/phpvms/phpvms/blob/8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9/routes/api.php | routes/api.php | <?php
use App\Http\Controllers\Api\AcarsController;
use App\Http\Controllers\Api\AirlineController;
use App\Http\Controllers\Api\AirportController;
use App\Http\Controllers\Api\FleetController;
use App\Http\Controllers\Api\FlightController;
use App\Http\Controllers\Api\MaintenanceController;
use App\Http\Controllers\A... | php | BSD-3-Clause | 8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9 | 2026-01-05T02:29:57.665749Z | false |
phpvms/phpvms | https://github.com/phpvms/phpvms/blob/8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9/public/index.php | public/index.php | <?php
/**
* phpVMS Entry Point
* https://phpvms.net
* https://docs.phpvms.net
*/
use Illuminate\Contracts\Http\Kernel;
use Illuminate\Http\Request;
if (!defined('DS')) {
define('DS', DIRECTORY_SEPARATOR);
}
/**
* NOTE!!
*
* If you move the public folder, or all the files in the public folder,
* be sure ... | php | BSD-3-Clause | 8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9 | 2026-01-05T02:29:57.665749Z | false |
phpvms/phpvms | https://github.com/phpvms/phpvms/blob/8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9/public/assets/vendor/ckeditor4/samples/old/sample_posteddata.php | public/assets/vendor/ckeditor4/samples/old/sample_posteddata.php | <?php /* <body><pre>
-------------------------------------------------------------------------------------------
CKEditor - Posted Data
We are sorry, but your Web server does not support the PHP language used in this script.
Please note that CKEditor can be used with any other server-side language than just PH... | php | BSD-3-Clause | 8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9 | 2026-01-05T02:29:57.665749Z | false |
phpvms/phpvms | https://github.com/phpvms/phpvms/blob/8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9/public/assets/vendor/ckeditor4/samples/old/assets/posteddata.php | public/assets/vendor/ckeditor4/samples/old/assets/posteddata.php | <!DOCTYPE html>
<?php
/*
Copyright (c) 2003-2020, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
*/
?>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Sample — CKEditor</title>
<link rel="stylesheet" href="sample.css">
... | php | BSD-3-Clause | 8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9 | 2026-01-05T02:29:57.665749Z | false |
phpvms/phpvms | https://github.com/phpvms/phpvms/blob/8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9/modules/Awards/Awards/PilotHoursAwards.php | modules/Awards/Awards/PilotHoursAwards.php | <?php
namespace Modules\Awards\Awards;
use App\Contracts\Award;
use Illuminate\Support\Facades\Log;
/**
* All award classes need to extend Award and implement the check() method
* This award is based on the original PilotFlightAwards.php file but
* checks the Pilots Flight Time (In Minutes).
* This award means y... | php | BSD-3-Clause | 8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9 | 2026-01-05T02:29:57.665749Z | false |
phpvms/phpvms | https://github.com/phpvms/phpvms/blob/8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9/modules/Awards/Awards/PilotFlightAwards.php | modules/Awards/Awards/PilotFlightAwards.php | <?php
namespace Modules\Awards\Awards;
use App\Contracts\Award;
/**
* Simple example of an awards class, where you can apply an award when a user
* has 100 flights. All award classes need to extend Award and implement the check() method
*
* See: https://docs.phpvms.net/developers/awards
*/
class PilotFlightAwar... | php | BSD-3-Clause | 8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9 | 2026-01-05T02:29:57.665749Z | false |
phpvms/phpvms | https://github.com/phpvms/phpvms/blob/8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9/modules/Awards/Awards/FlightRouteAwards.php | modules/Awards/Awards/FlightRouteAwards.php | <?php
namespace Modules\Awards\Awards;
use App\Contracts\Award;
use ErrorException;
use Illuminate\Support\Facades\Log;
/**
* All award classes need to extend Award and implement the check() method
* This award is based on the original PilotFlightAwards.php file but
* changes the fields that it checks in the PIRE... | php | BSD-3-Clause | 8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9 | 2026-01-05T02:29:57.665749Z | false |
phpvms/phpvms | https://github.com/phpvms/phpvms/blob/8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9/modules/Awards/Providers/AwardServiceProvider.php | modules/Awards/Providers/AwardServiceProvider.php | <?php
namespace Modules\Awards\Providers;
use App\Contracts\Modules\ServiceProvider;
class AwardServiceProvider extends ServiceProvider {}
| php | BSD-3-Clause | 8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9 | 2026-01-05T02:29:57.665749Z | false |
phpvms/phpvms | https://github.com/phpvms/phpvms/blob/8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9/modules/Vacentral/Config/config.php | modules/Vacentral/Config/config.php | <?php
return [
'name' => 'vacentral',
'address' => 'https://api.vacentral.net',
'api_key' => '',
];
| php | BSD-3-Clause | 8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9 | 2026-01-05T02:29:57.665749Z | false |
phpvms/phpvms | https://github.com/phpvms/phpvms/blob/8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9/modules/Vacentral/Providers/EventServiceProvider.php | modules/Vacentral/Providers/EventServiceProvider.php | <?php
namespace Modules\Vacentral\Providers;
use Illuminate\Foundation\Support\Providers\EventServiceProvider as ServiceProvider;
class EventServiceProvider extends ServiceProvider
{
protected $listen = [
//
];
}
| php | BSD-3-Clause | 8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9 | 2026-01-05T02:29:57.665749Z | false |
phpvms/phpvms | https://github.com/phpvms/phpvms/blob/8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9/modules/Vacentral/Providers/AppServiceProvider.php | modules/Vacentral/Providers/AppServiceProvider.php | <?php
namespace Modules\Vacentral\Providers;
use App\Services\ModuleService;
use Illuminate\Support\ServiceProvider;
class AppServiceProvider extends ServiceProvider
{
protected $moduleSvc;
/**
* Boot the application events.
*/
public function boot()
{
$this->moduleSvc = app(Module... | php | BSD-3-Clause | 8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9 | 2026-01-05T02:29:57.665749Z | false |
phpvms/phpvms | https://github.com/phpvms/phpvms/blob/8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9/modules/Sample/Http/Controllers/SampleController.php | modules/Sample/Http/Controllers/SampleController.php | <?php
namespace Modules\Sample\Http\Controllers;
use App\Contracts\Controller;
use Illuminate\Http\Request;
/**
* Class SampleController
*/
class SampleController extends Controller
{
/**
* Display a listing of the resource.
*/
public function index()
{
return view('sample::index');
... | php | BSD-3-Clause | 8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9 | 2026-01-05T02:29:57.665749Z | false |
phpvms/phpvms | https://github.com/phpvms/phpvms/blob/8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9/modules/Sample/Http/Controllers/Admin/AdminController.php | modules/Sample/Http/Controllers/Admin/AdminController.php | <?php
namespace Modules\Sample\Http\Controllers\Admin;
use App\Contracts\Controller;
use Illuminate\Http\Request;
/**
* Class AdminController
*/
class AdminController extends Controller
{
/**
* Display a listing of the resource.
*/
public function index()
{
return view('sample::admin.... | php | BSD-3-Clause | 8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9 | 2026-01-05T02:29:57.665749Z | false |
phpvms/phpvms | https://github.com/phpvms/phpvms/blob/8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9/modules/Sample/Http/Controllers/Api/SampleController.php | modules/Sample/Http/Controllers/Api/SampleController.php | <?php
namespace Modules\Sample\Http\Controllers\Api;
use App\Contracts\Controller;
use Illuminate\Http\Request;
/**
* Class SampleController
*/
class SampleController extends Controller
{
/**
* Just send out a message
*
*
* @return \Illuminate\Http\JsonResponse
*/
public function i... | php | BSD-3-Clause | 8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9 | 2026-01-05T02:29:57.665749Z | false |
phpvms/phpvms | https://github.com/phpvms/phpvms/blob/8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9/modules/Sample/Http/Routes/web.php | modules/Sample/Http/Routes/web.php | <?php
Route::group(['middleware' => [
'role:user', // leave blank to make this public
]], function () {
// all your routes are prefixed with the above prefix
// e.g. yoursite.com/sample
Route::get('/', 'SampleController@index');
});
| php | BSD-3-Clause | 8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9 | 2026-01-05T02:29:57.665749Z | false |
phpvms/phpvms | https://github.com/phpvms/phpvms/blob/8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9/modules/Sample/Http/Routes/admin.php | modules/Sample/Http/Routes/admin.php | <?php
// This is the admin path. Comment this out if you don't have
// an admin panel component.
Route::group([], function () {
Route::get('/', 'AdminController@index');
Route::get('/create', 'AdminController@create');
});
| php | BSD-3-Clause | 8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9 | 2026-01-05T02:29:57.665749Z | false |
phpvms/phpvms | https://github.com/phpvms/phpvms/blob/8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9/modules/Sample/Http/Routes/api.php | modules/Sample/Http/Routes/api.php | <?php
/**
* This is publicly accessible
*/
Route::group(['middleware' => []], function () {
Route::get('/', 'SampleController@index');
});
/*
* This is required to have a valid API key
*/
Route::group(['middleware' => [
'api.auth',
]], function () {
Route::get('/hello', 'SampleController@hello');
});
| php | BSD-3-Clause | 8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9 | 2026-01-05T02:29:57.665749Z | false |
phpvms/phpvms | https://github.com/phpvms/phpvms/blob/8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9/modules/Sample/Awards/SampleAward.php | modules/Sample/Awards/SampleAward.php | <?php
namespace Modules\Sample\Awards;
use App\Contracts\Award;
/**
* Class SampleAward
*/
class SampleAward extends Award
{
public $name = 'Sample Award';
/**
* This is the method that needs to be implemented.
* You have access to $this->user, which holds the current
* user the award is be... | php | BSD-3-Clause | 8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9 | 2026-01-05T02:29:57.665749Z | false |
phpvms/phpvms | https://github.com/phpvms/phpvms/blob/8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9/modules/Sample/Listeners/TestEventListener.php | modules/Sample/Listeners/TestEventListener.php | <?php
namespace Modules\Sample\Listeners;
use App\Events\TestEvent;
use Log;
class TestEventListener
{
/**
* Handle the event.
*/
public function handle(TestEvent $event)
{
Log::info('Received event', [$event]);
}
}
| php | BSD-3-Clause | 8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9 | 2026-01-05T02:29:57.665749Z | false |
phpvms/phpvms | https://github.com/phpvms/phpvms/blob/8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9/modules/Sample/Database/seeders/SampleDatabaseSeeder.php | modules/Sample/Database/seeders/SampleDatabaseSeeder.php | <?php
namespace Modules\Sample\Database\Seeders;
use Illuminate\Database\Eloquent\Model;
use Illuminate\Database\Seeder;
class SampleDatabaseSeeder extends Seeder
{
/**
* Run the database seeds.
*
* @return void
*/
public function run()
{
Model::unguard();
// $this->c... | php | BSD-3-Clause | 8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9 | 2026-01-05T02:29:57.665749Z | false |
phpvms/phpvms | https://github.com/phpvms/phpvms/blob/8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9/modules/Sample/Config/config.php | modules/Sample/Config/config.php | <?php
return [
'name' => 'Sample',
];
| php | BSD-3-Clause | 8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9 | 2026-01-05T02:29:57.665749Z | false |
phpvms/phpvms | https://github.com/phpvms/phpvms/blob/8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9/modules/Sample/Resources/views/index.blade.php | modules/Sample/Resources/views/index.blade.php | @extends('sample::layouts.frontend')
@section('content')
<h1>Hello World</h1>
<p>
This view is loaded from module: {{ config('sample.name') }}
</p>
@endsection
| php | BSD-3-Clause | 8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9 | 2026-01-05T02:29:57.665749Z | false |
phpvms/phpvms | https://github.com/phpvms/phpvms/blob/8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9/modules/Sample/Resources/views/admin/index.blade.php | modules/Sample/Resources/views/admin/index.blade.php | @extends('sample::layouts.admin')
@section('title', 'Sample')
@section('actions')
<li>
<a href="{{ url('/admin/sample/create') }}">
<i class="ti-plus"></i>
Add New</a>
</li>
@endsection
@section('content')
<div class="card border-blue-bottom">
<div class="content">
<div class="header"><... | php | BSD-3-Clause | 8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9 | 2026-01-05T02:29:57.665749Z | false |
phpvms/phpvms | https://github.com/phpvms/phpvms/blob/8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9/modules/Sample/Resources/views/admin/create.blade.php | modules/Sample/Resources/views/admin/create.blade.php | @extends('sample::layouts.admin')
@section('title', 'Sample Create')
@section('actions')
@endsection
@section('content')
<div class="card border-blue-bottom">
<div class="content">
<div class="header"><h4 class="title">Create something!</h4></div>
<p>Add a form!</p>
</div>
</div>
@endsection
| php | BSD-3-Clause | 8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9 | 2026-01-05T02:29:57.665749Z | false |
phpvms/phpvms | https://github.com/phpvms/phpvms/blob/8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9/modules/Sample/Resources/views/layouts/frontend.blade.php | modules/Sample/Resources/views/layouts/frontend.blade.php | {{--
You probably don't want to edit anything here. Just make
sure to extend this in your views. It will pass the content section through
--}}
@extends('app')
| php | BSD-3-Clause | 8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9 | 2026-01-05T02:29:57.665749Z | false |
phpvms/phpvms | https://github.com/phpvms/phpvms/blob/8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9/modules/Sample/Resources/views/layouts/admin.blade.php | modules/Sample/Resources/views/layouts/admin.blade.php | {{--
You probably don't want to edit anything here. Just make
sure to extend this in your views. It will pass the content section through
--}}
@extends('admin.app')
| php | BSD-3-Clause | 8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9 | 2026-01-05T02:29:57.665749Z | false |
phpvms/phpvms | https://github.com/phpvms/phpvms/blob/8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9/modules/Sample/Models/SampleTable.php | modules/Sample/Models/SampleTable.php | <?php
namespace Modules\Sample\Models;
use App\Contracts\Model;
/**
* Class SampleTable
*/
class SampleTable extends Model
{
public $table = '';
protected $fillable = [];
}
| php | BSD-3-Clause | 8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9 | 2026-01-05T02:29:57.665749Z | false |
phpvms/phpvms | https://github.com/phpvms/phpvms/blob/8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9/modules/Sample/Providers/SampleServiceProvider.php | modules/Sample/Providers/SampleServiceProvider.php | <?php
namespace Modules\Sample\Providers;
use App\Services\ModuleService;
use Illuminate\Support\ServiceProvider;
use Route;
class SampleServiceProvider extends ServiceProvider
{
protected $moduleSvc;
/**
* Boot the application events.
*/
public function boot()
{
$this->moduleSvc =... | php | BSD-3-Clause | 8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9 | 2026-01-05T02:29:57.665749Z | false |
phpvms/phpvms | https://github.com/phpvms/phpvms/blob/8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9/modules/Sample/Providers/EventServiceProvider.php | modules/Sample/Providers/EventServiceProvider.php | <?php
namespace Modules\Sample\Providers;
use App\Events\TestEvent;
use Illuminate\Foundation\Support\Providers\EventServiceProvider as ServiceProvider;
use Modules\Sample\Listeners\TestEventListener;
class EventServiceProvider extends ServiceProvider
{
/**
* The event listener mappings for the application.... | php | BSD-3-Clause | 8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9 | 2026-01-05T02:29:57.665749Z | false |
phpvms/phpvms | https://github.com/phpvms/phpvms/blob/8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9/config/installer.php | config/installer.php | <?php
return [
'php' => [
'version' => '8.2',
],
'cache' => [
// Default driver to use when no driver is present
'default' => 'file',
'drivers' => [
// 'Zend OPcache' => 'opcache',
// 'apc' => 'apc',
],
],
'extensions' => [
... | php | BSD-3-Clause | 8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9 | 2026-01-05T02:29:57.665749Z | false |
phpvms/phpvms | https://github.com/phpvms/phpvms/blob/8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9/config/backup.php | config/backup.php | <?php
return [
'backup' => [
/*
* The name of this application. You can use this name to monitor
* the backups.
*/
'name' => env('APP_NAME', 'laravel-backup'),
'enabled' => env('BACKUP_ENABLED', false),
'source' => [
'files' => [
... | php | BSD-3-Clause | 8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9 | 2026-01-05T02:29:57.665749Z | false |
phpvms/phpvms | https://github.com/phpvms/phpvms/blob/8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9/config/notifications.php | config/notifications.php | <?php
use App\Notifications\Messages\AdminUserRegistered;
use App\Notifications\Messages\NewsAdded;
use App\Notifications\Messages\PirepAccepted;
use App\Notifications\Messages\PirepFiled;
use App\Notifications\Messages\PirepRejected;
use App\Notifications\Messages\UserPending;
use App\Notifications\Messages\UserRegis... | php | BSD-3-Clause | 8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9 | 2026-01-05T02:29:57.665749Z | false |
phpvms/phpvms | https://github.com/phpvms/phpvms/blob/8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9/config/data-migrations.php | config/data-migrations.php | <?php
/**
* @author José Lorente <jose.lorente.martin@gmail.com>
* @license The MIT License (MIT)
* @copyright José Lorente
*
* @version 1.0
*/
return [
/*
|--------------------------------------------------------------------------
| Table
|-----------------------------------... | php | BSD-3-Clause | 8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9 | 2026-01-05T02:29:57.665749Z | false |
phpvms/phpvms | https://github.com/phpvms/phpvms/blob/8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9/config/livewire.php | config/livewire.php | <?php
return [
/*
|---------------------------------------------------------------------------
| Class Namespace
|---------------------------------------------------------------------------
|
| This value sets the root class namespace for Livewire component classes in
| your application. Th... | php | BSD-3-Clause | 8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9 | 2026-01-05T02:29:57.665749Z | false |
phpvms/phpvms | https://github.com/phpvms/phpvms/blob/8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9/config/app.php | config/app.php | <?php
/**
* DO NOT EDIT THIS OR ANY OF THE CONFIG FILES DIRECTLY
* IF YOU DO, YOU NEED TO RESTORE THOSE CHANGES AFTER AN UPDATE
*/
use Carbon\Carbon;
return [
'name' => env('APP_NAME', 'phpvms'),
'env' => env('APP_ENV', 'dev'),
'debug' => env('APP_DEBUG', true),
'url' ... | php | BSD-3-Clause | 8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9 | 2026-01-05T02:29:57.665749Z | false |
phpvms/phpvms | https://github.com/phpvms/phpvms/blob/8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9/config/columnsortable.php | config/columnsortable.php | <?php
return [
// spec columns
'columns' => [
'alpha' => [
'rows' => ['description', 'email', 'name', 'slug', 'registration', 'icao', 'iata', 'dpt_airport_id', 'arr_airport_id', 'home_airport_id', 'curr_airport_id', 'airport_id'],
'class' => 'bi bi-sort-alpha',
],
... | php | BSD-3-Clause | 8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9 | 2026-01-05T02:29:57.665749Z | false |
phpvms/phpvms | https://github.com/phpvms/phpvms/blob/8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9/config/self-update.php | config/self-update.php | <?php
return [
'default' => 'vms',
'version_installed' => '',
'repository_types' => [
'github' => [
'type' => 'github',
'repository_vendor' => 'nabeelio',
'repository_name' => 'phpvms',
'repository_url' => 'htt... | php | BSD-3-Clause | 8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9 | 2026-01-05T02:29:57.665749Z | false |
phpvms/phpvms | https://github.com/phpvms/phpvms/blob/8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9/config/logging.php | config/logging.php | <?php
use App\Console\Logger;
return [
/*
|--------------------------------------------------------------------------
| Default Log Channel
|--------------------------------------------------------------------------
|
| This option defines the default log channel that gets used when writing
... | php | BSD-3-Clause | 8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9 | 2026-01-05T02:29:57.665749Z | false |
phpvms/phpvms | https://github.com/phpvms/phpvms/blob/8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9/config/session.php | config/session.php | <?php
return [
/*
|--------------------------------------------------------------------------
| Default Session Driver
|--------------------------------------------------------------------------
|
| This option controls the default session "driver" that will be used on
| requests. By defaul... | php | BSD-3-Clause | 8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9 | 2026-01-05T02:29:57.665749Z | false |
phpvms/phpvms | https://github.com/phpvms/phpvms/blob/8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9/config/queue.php | config/queue.php | <?php
return [
/*
|--------------------------------------------------------------------------
| Default Queue Driver
|--------------------------------------------------------------------------
|
| The Laravel queue API supports a variety of back-ends via an unified
| API, giving you conveni... | php | BSD-3-Clause | 8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9 | 2026-01-05T02:29:57.665749Z | false |
phpvms/phpvms | https://github.com/phpvms/phpvms/blob/8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9/config/map.php | config/map.php | <?php
/**
* Configuration for mapping URLs and stuff
*/
return [
/*
* This can really be any METAR service, as long as it returns GeoJSON
*/
'metar_wms' => [
'url' => 'https://ogcie.iblsoft.com/observations?',
'params' => [
'layers' => 'metar',
],
],
];
| php | BSD-3-Clause | 8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9 | 2026-01-05T02:29:57.665749Z | false |
phpvms/phpvms | https://github.com/phpvms/phpvms/blob/8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9/config/cron.php | config/cron.php | <?php
/**
* These are for the cron tasks that run
*/
return [
'timezone' => 'UTC',
];
| php | BSD-3-Clause | 8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9 | 2026-01-05T02:29:57.665749Z | false |
phpvms/phpvms | https://github.com/phpvms/phpvms/blob/8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9/config/cache.php | config/cache.php | <?php
return [
'default' => env('CACHE_DRIVER', 'array'),
'prefix' => env('CACHE_PREFIX', ''),
'keys' => [
'AIRPORT_VACENTRAL_LOOKUP' => [
'key' => 'airports.lookup:',
'time' => 60 * 30,
],
'METAR_WEATHER_LOOKUP' => [
'key' => 'airports.weathe... | php | BSD-3-Clause | 8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9 | 2026-01-05T02:29:57.665749Z | false |
phpvms/phpvms | https://github.com/phpvms/phpvms/blob/8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9/config/importer.php | config/importer.php | <?php
return [
'importer' => [
'batch_size' => 20,
],
];
| php | BSD-3-Clause | 8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9 | 2026-01-05T02:29:57.665749Z | false |
phpvms/phpvms | https://github.com/phpvms/phpvms/blob/8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9/config/repository.php | config/repository.php | <?php
return [
'pagination' => [
'limit' => 20,
],
/*
|--------------------------------------------------------------------------
| Fractal Presenter Config
|--------------------------------------------------------------------------
|
Available serializers:
ArraySerializer... | php | BSD-3-Clause | 8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9 | 2026-01-05T02:29:57.665749Z | false |
phpvms/phpvms | https://github.com/phpvms/phpvms/blob/8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9/config/gravatar.php | config/gravatar.php | <?php
/**
* Gravatar configs
*/
return [
'url' => 'https://www.gravatar.com/avatar/',
'default' => env('GRAVATAR_DEFAULT_AVATAR', 'https://en.gravatar.com/userimage/12856995/aa6c0527a723abfd5fb9e246f0ff8af4.png'),
];
| php | BSD-3-Clause | 8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9 | 2026-01-05T02:29:57.665749Z | false |
phpvms/phpvms | https://github.com/phpvms/phpvms/blob/8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9/config/languages.php | config/languages.php | <?php
return [
// First in the list is the default
'en' => [
'display' => 'English',
'flag-icon' => 'us',
],
'de' => [
'display' => 'German',
'flag-icon' => 'de',
],
'es-es' => [
'display' => 'Spanish (Spain)',
'flag-icon' => 'es',
],
... | php | BSD-3-Clause | 8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9 | 2026-01-05T02:29:57.665749Z | false |
phpvms/phpvms | https://github.com/phpvms/phpvms/blob/8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9/config/view.php | config/view.php | <?php
return [
/*
| View Storage Paths
|
| Most templating systems load templates from disk. Here you may specify
| an array of paths that should be checked for your views. Of course
| the usual Laravel view path has already been registered for you.
*/
'paths' => [
resource_pat... | php | BSD-3-Clause | 8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9 | 2026-01-05T02:29:57.665749Z | false |
phpvms/phpvms | https://github.com/phpvms/phpvms/blob/8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9/config/database.php | config/database.php | <?php
return [
'fetch' => PDO::FETCH_ASSOC,
'default' => env('DB_CONNECTION', 'mysql'),
'connections' => [
'mysql' => [
'driver' => 'mysql',
'host' => env('DB_HOST', '127.0.0.1'),
'port' => env('DB_PORT', 3306),
'database' => env('... | php | BSD-3-Clause | 8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9 | 2026-01-05T02:29:57.665749Z | false |
phpvms/phpvms | https://github.com/phpvms/phpvms/blob/8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9/config/filament-shield.php | config/filament-shield.php | <?php
return [
/*
|--------------------------------------------------------------------------
| Shield Resource
|--------------------------------------------------------------------------
|
| Here you may configure the built-in role management resource. You can
| customize the URL, choose ... | php | BSD-3-Clause | 8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9 | 2026-01-05T02:29:57.665749Z | false |
phpvms/phpvms | https://github.com/phpvms/phpvms/blob/8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9/config/log-viewer.php | config/log-viewer.php | <?php
return [
/*
|--------------------------------------------------------------------------
| Log Viewer
|--------------------------------------------------------------------------
| Log Viewer can be disabled, so it's no longer accessible via browser.
|
*/
'enabled' => env('LOG_VIE... | php | BSD-3-Clause | 8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9 | 2026-01-05T02:29:57.665749Z | false |
phpvms/phpvms | https://github.com/phpvms/phpvms/blob/8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9/config/updater.php | config/updater.php | <?php
return [
];
| php | BSD-3-Clause | 8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9 | 2026-01-05T02:29:57.665749Z | false |
phpvms/phpvms | https://github.com/phpvms/phpvms/blob/8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9/config/services.php | config/services.php | <?php
return [
/*
|--------------------------------------------------------------------------
| Third Party Services
|--------------------------------------------------------------------------
|
| This file is for storing the credentials for third party services such
| as Mailgun, Postmark,... | php | BSD-3-Clause | 8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9 | 2026-01-05T02:29:57.665749Z | false |
phpvms/phpvms | https://github.com/phpvms/phpvms/blob/8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9/config/flare.php | config/flare.php | <?php
return [
/*
|
|--------------------------------------------------------------------------
| Flare API key
|--------------------------------------------------------------------------
|
| Specify Flare's API key below to enable error reporting to the service.
|
| More info: http... | php | BSD-3-Clause | 8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9 | 2026-01-05T02:29:57.665749Z | false |
phpvms/phpvms | https://github.com/phpvms/phpvms/blob/8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9/config/permission.php | config/permission.php | <?php
return [
'models' => [
/*
* When using the "HasPermissions" trait from this package, we need to know which
* Eloquent model should be used to retrieve your permissions. Of course, it
* is often just the "Permission" model but you may use whatever you like.
*
... | php | BSD-3-Clause | 8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9 | 2026-01-05T02:29:57.665749Z | false |
phpvms/phpvms | https://github.com/phpvms/phpvms/blob/8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9/config/modules.php | config/modules.php | <?php
use App\Support\Modules\DatabaseActivator;
use Nwidart\Modules\Activators\FileActivator;
use Nwidart\Modules\Providers\ConsoleServiceProvider;
return [
/*
|--------------------------------------------------------------------------
| Module Namespace
|---------------------------------------------... | php | BSD-3-Clause | 8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9 | 2026-01-05T02:29:57.665749Z | false |
phpvms/phpvms | https://github.com/phpvms/phpvms/blob/8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9/config/filesystems.php | config/filesystems.php | <?php
return [
'default' => 'local',
// This is the filesystem the uploaded files should go to
'public_files' => 'public',
'cloud' => env('DEFAULT_CLOUD_DISK', 's3'),
'disks' => [
'local' => [
'driver' => 'local',
'root' => storage_path('app'),
... | php | BSD-3-Clause | 8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9 | 2026-01-05T02:29:57.665749Z | false |
phpvms/phpvms | https://github.com/phpvms/phpvms/blob/8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9/config/money.php | config/money.php | <?php
return [
'defaults' => [
'currency' => env('MONEY_DEFAULTS_CURRENCY', 'USD'),
'convert' => env('MONEY_DEFAULTS_CONVERT', false),
],
'currencies' => [
'AED' => [
'name' => 'UAE Dirham',
'code' => 784,
'preci... | php | BSD-3-Clause | 8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9 | 2026-01-05T02:29:57.665749Z | true |
phpvms/phpvms | https://github.com/phpvms/phpvms/blob/8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9/config/phpvms.php | config/phpvms.php | <?php
/**
* DO NOT MODIFY THIS FILE DIRECTLY!
* It will just make upgrading (a little) more difficult
*
* Create a local.conf.php in the root (in the same directory
* as your .env file), and then copy this file into there, and
* make your changes there.
*/
return [
/*
* Check for if we're "installed" ... | php | BSD-3-Clause | 8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9 | 2026-01-05T02:29:57.665749Z | false |
phpvms/phpvms | https://github.com/phpvms/phpvms/blob/8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9/config/vacentral.php | config/vacentral.php | <?php
/**
* vaCentral Configurations
*/
return [
/*
* Your vaCentral API key
*/
'api_key' => env('VACENTRAL_API_KEY', ''),
/*
* vaCentral API URL. You likely don't need to change this
*/
'api_url' => env('VACENTRAL_API_URL', 'https://api.vacentral.net'),
];
| php | BSD-3-Clause | 8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9 | 2026-01-05T02:29:57.665749Z | false |
phpvms/phpvms | https://github.com/phpvms/phpvms/blob/8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9/config/mail.php | config/mail.php | <?php
return [
'default' => env('MAIL_MAILER', 'smtp'),
'mailers' => [
'smtp' => [
'transport' => 'smtp',
'host' => env('MAIL_HOST', 'smtp.mailgun.org'),
'port' => env('MAIL_PORT', 587),
'encryption' => env('MAIL_E... | php | BSD-3-Clause | 8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9 | 2026-01-05T02:29:57.665749Z | false |
phpvms/phpvms | https://github.com/phpvms/phpvms/blob/8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9/config/ignition.php | config/ignition.php | <?php
use Facade\Ignition\SolutionProviders\MissingPackageSolutionProvider;
return [
/*
|--------------------------------------------------------------------------
| Editor
|--------------------------------------------------------------------------
|
| Choose your preferred editor to use when ... | php | BSD-3-Clause | 8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9 | 2026-01-05T02:29:57.665749Z | false |
phpvms/phpvms | https://github.com/phpvms/phpvms/blob/8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9/config/ide-helper.php | config/ide-helper.php | <?php
return [
/*
|--------------------------------------------------------------------------
| Filename
|--------------------------------------------------------------------------
|
| The default filename.
|
*/
'filename' => '_ide_helper.php',
/*
|-----------------------... | php | BSD-3-Clause | 8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9 | 2026-01-05T02:29:57.665749Z | false |
phpvms/phpvms | https://github.com/phpvms/phpvms/blob/8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9/config/filament-shield.bak.php | config/filament-shield.bak.php | <?php
return [
'shield_resource' => [
'should_register_navigation' => true,
'slug' => 'shield/roles',
'navigation_sort' => -1,
'navigation_badge' => false,
'navigation_group' => false,
'is_globally_searchable' ... | php | BSD-3-Clause | 8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9 | 2026-01-05T02:29:57.665749Z | false |
phpvms/phpvms | https://github.com/phpvms/phpvms/blob/8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9/config/laravel-widgets.php | config/laravel-widgets.php | <?php
return [
'default_namespace' => 'App\Widgets',
'use_jquery_for_ajax_calls' => true,
/*
* Set Ajax widget middleware
*/
'route_middleware' => ['web'],
'widget_stub' => 'resources/stubs/widgets/widget.stub',
'widget_plain_stub' => 'resources/stubs/widgets/widget_plain.stub'... | php | BSD-3-Clause | 8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9 | 2026-01-05T02:29:57.665749Z | false |
phpvms/phpvms | https://github.com/phpvms/phpvms/blob/8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9/config/opcache.php | config/opcache.php | <?php
return [
'url' => env('OPCACHE_URL', config('app.url')),
'verify_ssl' => true,
'headers' => [],
'directories' => [
base_path('app'),
base_path('bootstrap'),
base_path('public'),
base_path('resources/lang'),
base_path('routes'),
base_pat... | php | BSD-3-Clause | 8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9 | 2026-01-05T02:29:57.665749Z | false |
phpvms/phpvms | https://github.com/phpvms/phpvms/blob/8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9/config/compile.php | config/compile.php | <?php
return [
/*
|--------------------------------------------------------------------------
| Additional Compiled Classes
|--------------------------------------------------------------------------
|
| Here you may specify additional classes to include in the compiled file
| generated by ... | php | BSD-3-Clause | 8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9 | 2026-01-05T02:29:57.665749Z | false |
phpvms/phpvms | https://github.com/phpvms/phpvms/blob/8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9/config/themes.php | config/themes.php | <?php
return [
'themes_path' => resource_path('views/layouts'),
'asset_not_found' => 'LOG_ERROR',
'default' => env('DEFAULT_THEME', 'seven'),
'cache' => true,
'themes' => [],
];
| php | BSD-3-Clause | 8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9 | 2026-01-05T02:29:57.665749Z | false |
phpvms/phpvms | https://github.com/phpvms/phpvms/blob/8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9/config/activitylog.php | config/activitylog.php | <?php
return [
/*
* If set to false, no activities will be saved to the database.
*/
'enabled' => env('ACTIVITY_LOGGER_ENABLED', true),
/*
* When the clean-command is executed, all recording activities older than
* the number of days specified here will be deleted.
*/
'delete_... | php | BSD-3-Clause | 8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9 | 2026-01-05T02:29:57.665749Z | false |
phpvms/phpvms | https://github.com/phpvms/phpvms/blob/8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9/config/filament.php | config/filament.php | <?php
return [
/*
|--------------------------------------------------------------------------
| Broadcasting
|--------------------------------------------------------------------------
|
| By uncommenting the Laravel Echo configuration, you may connect Filament
| to any Pusher-compatible we... | php | BSD-3-Clause | 8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9 | 2026-01-05T02:29:57.665749Z | false |
phpvms/phpvms | https://github.com/phpvms/phpvms/blob/8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9/config/broadcasting.php | config/broadcasting.php | <?php
return [
/*
|--------------------------------------------------------------------------
| Default Broadcaster
|--------------------------------------------------------------------------
|
| This option controls the default broadcaster that will be used by the
| framework when an event... | php | BSD-3-Clause | 8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9 | 2026-01-05T02:29:57.665749Z | false |
phpvms/phpvms | https://github.com/phpvms/phpvms/blob/8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9/config/auth.php | config/auth.php | <?php
return [
/*
|--------------------------------------------------------------------------
| Authentication Defaults
|--------------------------------------------------------------------------
|
| This option controls the default authentication "guard" and password
| reset options for yo... | php | BSD-3-Clause | 8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9 | 2026-01-05T02:29:57.665749Z | false |
phpvms/phpvms | https://github.com/phpvms/phpvms/blob/8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9/database/factories/RoleFactory.php | database/factories/RoleFactory.php | <?php
/** @noinspection PhpIllegalPsrClassPathInspection */
namespace Database\Factories;
use App\Contracts\Factory;
use App\Models\Role;
/**
* @extends \Illuminate\Database\Eloquent\Factories\Factory<Role>
*/
class RoleFactory extends Factory
{
/**
* The name of the factory's corresponding model.
*... | php | BSD-3-Clause | 8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9 | 2026-01-05T02:29:57.665749Z | false |
phpvms/phpvms | https://github.com/phpvms/phpvms/blob/8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9/database/factories/FlightFactory.php | database/factories/FlightFactory.php | <?php
/** @noinspection PhpIllegalPsrClassPathInspection */
namespace Database\Factories;
use App\Contracts\Factory;
use App\Models\Airline;
use App\Models\Airport;
use App\Models\Flight;
use DateTime;
/**
* @extends \Illuminate\Database\Eloquent\Factories\Factory<Flight>
*/
class FlightFactory extends Factory
{
... | php | BSD-3-Clause | 8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9 | 2026-01-05T02:29:57.665749Z | false |
phpvms/phpvms | https://github.com/phpvms/phpvms/blob/8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9/database/factories/SubfleetFactory.php | database/factories/SubfleetFactory.php | <?php
/** @noinspection PhpIllegalPsrClassPathInspection */
namespace Database\Factories;
use App\Contracts\Factory;
use App\Models\Airline;
use App\Models\Subfleet;
/**
* @extends \Illuminate\Database\Eloquent\Factories\Factory<Subfleet>
*/
class SubfleetFactory extends Factory
{
/**
* The name of the f... | php | BSD-3-Clause | 8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9 | 2026-01-05T02:29:57.665749Z | false |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.