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/Widgets/LatestPilots.php | app/Widgets/LatestPilots.php | <?php
namespace App\Widgets;
use App\Contracts\Widget;
use App\Models\Enums\UserState;
use App\Repositories\UserRepository;
use Illuminate\Contracts\View\Factory;
use Illuminate\View\View;
/**
* Show the latest pilots in a view
*/
class LatestPilots extends Widget
{
protected $config = [
'count' => 5,
... | php | BSD-3-Clause | 8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9 | 2026-01-05T02:29:57.665749Z | false |
phpvms/phpvms | https://github.com/phpvms/phpvms/blob/8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9/app/Widgets/LiveMap.php | app/Widgets/LiveMap.php | <?php
namespace App\Widgets;
use App\Contracts\Widget;
use App\Repositories\AcarsRepository;
use App\Services\GeoService;
use Illuminate\Contracts\View\Factory;
use Illuminate\View\View;
/**
* Show the live map in a view
*/
class LiveMap extends Widget
{
protected $config = [
'height' => '800px',
... | php | BSD-3-Clause | 8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9 | 2026-01-05T02:29:57.665749Z | false |
phpvms/phpvms | https://github.com/phpvms/phpvms/blob/8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9/app/Widgets/LatestPireps.php | app/Widgets/LatestPireps.php | <?php
namespace App\Widgets;
use App\Contracts\Widget;
use App\Models\Enums\PirepState;
use App\Repositories\PirepRepository;
use Illuminate\Contracts\View\Factory;
use Illuminate\View\View;
/**
* Show the latest PIREPs in a view
* sorted nicely by their submit time
*/
class LatestPireps extends Widget
{
prot... | php | BSD-3-Clause | 8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9 | 2026-01-05T02:29:57.665749Z | false |
phpvms/phpvms | https://github.com/phpvms/phpvms/blob/8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9/app/Repositories/SettingRepository.php | app/Repositories/SettingRepository.php | <?php
namespace App\Repositories;
use App\Contracts\Repository;
use App\Exceptions\SettingNotFound;
use App\Models\Setting;
use Illuminate\Support\Carbon;
use Log;
use Prettus\Repository\Contracts\CacheableInterface;
use Prettus\Repository\Traits\CacheableRepository;
use Prettus\Validator\Exceptions\ValidatorExceptio... | php | BSD-3-Clause | 8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9 | 2026-01-05T02:29:57.665749Z | false |
phpvms/phpvms | https://github.com/phpvms/phpvms/blob/8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9/app/Repositories/UserFieldRepository.php | app/Repositories/UserFieldRepository.php | <?php
namespace App\Repositories;
use App\Contracts\Repository;
use App\Models\UserField;
use App\Models\UserFieldValue;
class UserFieldRepository extends Repository
{
protected $fieldSearchable = [
'name' => 'like',
];
public function model(): string
{
return UserField::class;
}... | php | BSD-3-Clause | 8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9 | 2026-01-05T02:29:57.665749Z | false |
phpvms/phpvms | https://github.com/phpvms/phpvms/blob/8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9/app/Repositories/AirportRepository.php | app/Repositories/AirportRepository.php | <?php
namespace App\Repositories;
use App\Contracts\Repository;
use App\Models\Airport;
use Prettus\Repository\Contracts\CacheableInterface;
use Prettus\Repository\Traits\CacheableRepository;
class AirportRepository extends Repository implements CacheableInterface
{
use CacheableRepository;
protected $field... | php | BSD-3-Clause | 8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9 | 2026-01-05T02:29:57.665749Z | false |
phpvms/phpvms | https://github.com/phpvms/phpvms/blob/8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9/app/Repositories/RoleRepository.php | app/Repositories/RoleRepository.php | <?php
namespace App\Repositories;
use App\Contracts\Repository;
use App\Models\Role;
use Prettus\Repository\Contracts\CacheableInterface;
use Prettus\Repository\Traits\CacheableRepository;
/**
* Class RoleRepository
*/
class RoleRepository extends Repository implements CacheableInterface
{
use CacheableReposit... | php | BSD-3-Clause | 8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9 | 2026-01-05T02:29:57.665749Z | false |
phpvms/phpvms | https://github.com/phpvms/phpvms/blob/8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9/app/Repositories/NavdataRepository.php | app/Repositories/NavdataRepository.php | <?php
namespace App\Repositories;
use App\Contracts\Repository;
use App\Models\Navdata;
use Prettus\Repository\Contracts\CacheableInterface;
use Prettus\Repository\Traits\CacheableRepository;
/**
* Class NavdataRepository
*/
class NavdataRepository extends Repository implements CacheableInterface
{
use Cacheab... | php | BSD-3-Clause | 8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9 | 2026-01-05T02:29:57.665749Z | false |
phpvms/phpvms | https://github.com/phpvms/phpvms/blob/8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9/app/Repositories/AcarsRepository.php | app/Repositories/AcarsRepository.php | <?php
namespace App\Repositories;
use App\Contracts\Repository;
use App\Models\Acars;
use App\Models\Enums\AcarsType;
use App\Models\Enums\PirepState;
use App\Models\Pirep;
use Carbon\Carbon;
use Illuminate\Database\Eloquent\Builder;
use Illuminate\Database\Eloquent\Collection;
class AcarsRepository extends Reposito... | php | BSD-3-Clause | 8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9 | 2026-01-05T02:29:57.665749Z | false |
phpvms/phpvms | https://github.com/phpvms/phpvms/blob/8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9/app/Repositories/FlightRepository.php | app/Repositories/FlightRepository.php | <?php
namespace App\Repositories;
use App\Contracts\Repository;
use App\Models\Aircraft;
use App\Models\Flight;
use App\Models\Typerating;
use App\Repositories\Criteria\WhereCriteria;
use Illuminate\Http\Request;
use Prettus\Repository\Contracts\CacheableInterface;
use Prettus\Repository\Exceptions\RepositoryExceptio... | php | BSD-3-Clause | 8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9 | 2026-01-05T02:29:57.665749Z | false |
phpvms/phpvms | https://github.com/phpvms/phpvms/blob/8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9/app/Repositories/PageRepository.php | app/Repositories/PageRepository.php | <?php
namespace App\Repositories;
use App\Contracts\Repository;
use App\Models\Page;
use Prettus\Repository\Contracts\CacheableInterface;
use Prettus\Repository\Traits\CacheableRepository;
class PageRepository extends Repository implements CacheableInterface
{
use CacheableRepository;
/**
* @return str... | php | BSD-3-Clause | 8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9 | 2026-01-05T02:29:57.665749Z | false |
phpvms/phpvms | https://github.com/phpvms/phpvms/blob/8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9/app/Repositories/NewsRepository.php | app/Repositories/NewsRepository.php | <?php
namespace App\Repositories;
use App\Contracts\Repository;
use App\Models\News;
use Prettus\Repository\Contracts\CacheableInterface;
use Prettus\Repository\Traits\CacheableRepository;
/**
* Class NewsRepository
*/
class NewsRepository extends Repository implements CacheableInterface
{
use CacheableReposit... | php | BSD-3-Clause | 8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9 | 2026-01-05T02:29:57.665749Z | false |
phpvms/phpvms | https://github.com/phpvms/phpvms/blob/8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9/app/Repositories/JournalRepository.php | app/Repositories/JournalRepository.php | <?php
namespace App\Repositories;
use App\Contracts\Model;
use App\Contracts\Repository;
use App\Models\Journal;
use App\Models\JournalTransaction;
use App\Models\User;
use App\Support\Money;
use Carbon\Carbon;
use Illuminate\Database\Eloquent\Collection;
use InvalidArgumentException;
use Prettus\Repository\Contracts... | php | BSD-3-Clause | 8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9 | 2026-01-05T02:29:57.665749Z | false |
phpvms/phpvms | https://github.com/phpvms/phpvms/blob/8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9/app/Repositories/ExpenseRepository.php | app/Repositories/ExpenseRepository.php | <?php
namespace App\Repositories;
use App\Contracts\Repository;
use App\Models\Expense;
use Illuminate\Support\Collection;
use Prettus\Repository\Contracts\CacheableInterface;
use Prettus\Repository\Traits\CacheableRepository;
class ExpenseRepository extends Repository implements CacheableInterface
{
use Cacheab... | php | BSD-3-Clause | 8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9 | 2026-01-05T02:29:57.665749Z | false |
phpvms/phpvms | https://github.com/phpvms/phpvms/blob/8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9/app/Repositories/AwardRepository.php | app/Repositories/AwardRepository.php | <?php
namespace App\Repositories;
use App\Contracts\Repository;
use App\Models\Award;
use Prettus\Repository\Contracts\CacheableInterface;
use Prettus\Repository\Traits\CacheableRepository;
/**
* Class AwardRepository
*/
class AwardRepository extends Repository implements CacheableInterface
{
use CacheableRepo... | php | BSD-3-Clause | 8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9 | 2026-01-05T02:29:57.665749Z | false |
phpvms/phpvms | https://github.com/phpvms/phpvms/blob/8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9/app/Repositories/AirframeRepository.php | app/Repositories/AirframeRepository.php | <?php
namespace App\Repositories;
use App\Contracts\Repository;
use App\Models\Enums\AirframeSource;
use App\Models\SimBriefAirframe;
use Prettus\Repository\Contracts\CacheableInterface;
use Prettus\Repository\Traits\CacheableRepository;
class AirframeRepository extends Repository implements CacheableInterface
{
... | php | BSD-3-Clause | 8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9 | 2026-01-05T02:29:57.665749Z | false |
phpvms/phpvms | https://github.com/phpvms/phpvms/blob/8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9/app/Repositories/PirepFieldRepository.php | app/Repositories/PirepFieldRepository.php | <?php
namespace App\Repositories;
use App\Contracts\Repository;
use App\Models\PirepField;
/**
* Class PirepFieldRepository
*/
class PirepFieldRepository extends Repository
{
protected $fieldSearchable = [
'name' => 'like',
];
public function model()
{
return PirepField::class;
... | php | BSD-3-Clause | 8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9 | 2026-01-05T02:29:57.665749Z | false |
phpvms/phpvms | https://github.com/phpvms/phpvms/blob/8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9/app/Repositories/PirepRepository.php | app/Repositories/PirepRepository.php | <?php
namespace App\Repositories;
use App\Contracts\Repository;
use App\Models\Enums\PirepState;
use App\Models\Pirep;
use App\Models\User;
/**
* Class PirepRepository
*/
class PirepRepository extends Repository
{
protected $fieldSearchable = [
'user_id',
'status',
'state',
];
... | php | BSD-3-Clause | 8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9 | 2026-01-05T02:29:57.665749Z | false |
phpvms/phpvms | https://github.com/phpvms/phpvms/blob/8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9/app/Repositories/KvpRepository.php | app/Repositories/KvpRepository.php | <?php
namespace App\Repositories;
use Spatie\Valuestore\Valuestore;
class KvpRepository
{
private $valueStore;
public function __construct()
{
$this->valueStore = Valuestore::make(config('phpvms.kvp_storage_path'));
}
/**
* @param null $default
* @return array|st... | php | BSD-3-Clause | 8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9 | 2026-01-05T02:29:57.665749Z | false |
phpvms/phpvms | https://github.com/phpvms/phpvms/blob/8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9/app/Repositories/UserRepository.php | app/Repositories/UserRepository.php | <?php
namespace App\Repositories;
use App\Contracts\Repository;
use App\Models\Enums\UserState;
use App\Models\User;
use App\Models\UserField;
use App\Repositories\Criteria\WhereCriteria;
use Illuminate\Http\Request;
use Illuminate\Support\Collection;
use Prettus\Repository\Exceptions\RepositoryException;
class User... | php | BSD-3-Clause | 8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9 | 2026-01-05T02:29:57.665749Z | false |
phpvms/phpvms | https://github.com/phpvms/phpvms/blob/8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9/app/Repositories/PermissionsRepository.php | app/Repositories/PermissionsRepository.php | <?php
namespace App\Repositories;
use App\Contracts\Repository;
use App\Models\Permission;
use Prettus\Repository\Contracts\CacheableInterface;
use Prettus\Repository\Traits\CacheableRepository;
/**
* Class RoleRepository
*/
class PermissionsRepository extends Repository implements CacheableInterface
{
use Cac... | php | BSD-3-Clause | 8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9 | 2026-01-05T02:29:57.665749Z | false |
phpvms/phpvms | https://github.com/phpvms/phpvms/blob/8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9/app/Repositories/TypeRatingRepository.php | app/Repositories/TypeRatingRepository.php | <?php
namespace App\Repositories;
use App\Contracts\Repository;
use App\Models\Typerating;
use Prettus\Repository\Contracts\CacheableInterface;
use Prettus\Repository\Traits\CacheableRepository;
class TypeRatingRepository extends Repository implements CacheableInterface
{
use CacheableRepository;
protected ... | php | BSD-3-Clause | 8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9 | 2026-01-05T02:29:57.665749Z | false |
phpvms/phpvms | https://github.com/phpvms/phpvms/blob/8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9/app/Repositories/FlightFieldRepository.php | app/Repositories/FlightFieldRepository.php | <?php
namespace App\Repositories;
use App\Contracts\Repository;
use App\Models\FlightField;
/**
* Class FlightFieldRepository
*/
class FlightFieldRepository extends Repository
{
protected $fieldSearchable = [
'name' => 'like',
];
public function model(): string
{
return FlightField... | php | BSD-3-Clause | 8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9 | 2026-01-05T02:29:57.665749Z | false |
phpvms/phpvms | https://github.com/phpvms/phpvms/blob/8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9/app/Repositories/FareRepository.php | app/Repositories/FareRepository.php | <?php
namespace App\Repositories;
use App\Contracts\Repository;
use App\Models\Fare;
use Prettus\Repository\Contracts\CacheableInterface;
use Prettus\Repository\Traits\CacheableRepository;
/**
* Class FareRepository
*/
class FareRepository extends Repository implements CacheableInterface
{
use CacheableReposit... | php | BSD-3-Clause | 8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9 | 2026-01-05T02:29:57.665749Z | false |
phpvms/phpvms | https://github.com/phpvms/phpvms/blob/8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9/app/Repositories/AirlineRepository.php | app/Repositories/AirlineRepository.php | <?php
namespace App\Repositories;
use App\Contracts\Repository;
use App\Models\Airline;
use Prettus\Repository\Contracts\CacheableInterface;
use Prettus\Repository\Traits\CacheableRepository;
/**
* @mixin Airline
*/
class AirlineRepository extends Repository implements CacheableInterface
{
use CacheableReposit... | php | BSD-3-Clause | 8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9 | 2026-01-05T02:29:57.665749Z | false |
phpvms/phpvms | https://github.com/phpvms/phpvms/blob/8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9/app/Repositories/SubfleetRepository.php | app/Repositories/SubfleetRepository.php | <?php
namespace App\Repositories;
use App\Contracts\Repository;
use App\Models\Subfleet;
use Prettus\Repository\Contracts\CacheableInterface;
use Prettus\Repository\Traits\CacheableRepository;
class SubfleetRepository extends Repository implements CacheableInterface
{
use CacheableRepository;
protected $fie... | php | BSD-3-Clause | 8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9 | 2026-01-05T02:29:57.665749Z | false |
phpvms/phpvms | https://github.com/phpvms/phpvms/blob/8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9/app/Repositories/RankRepository.php | app/Repositories/RankRepository.php | <?php
namespace App\Repositories;
use App\Contracts\Repository;
use App\Models\Rank;
use Prettus\Repository\Contracts\CacheableInterface;
use Prettus\Repository\Traits\CacheableRepository;
class RankRepository extends Repository implements CacheableInterface
{
use CacheableRepository;
protected $fieldSearch... | php | BSD-3-Clause | 8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9 | 2026-01-05T02:29:57.665749Z | false |
phpvms/phpvms | https://github.com/phpvms/phpvms/blob/8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9/app/Repositories/AircraftRepository.php | app/Repositories/AircraftRepository.php | <?php
namespace App\Repositories;
use App\Contracts\Repository;
use App\Models\Aircraft;
use Prettus\Repository\Contracts\CacheableInterface;
use Prettus\Repository\Traits\CacheableRepository;
/**
* Class AircraftRepository
*/
class AircraftRepository extends Repository implements CacheableInterface
{
use Cach... | php | BSD-3-Clause | 8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9 | 2026-01-05T02:29:57.665749Z | false |
phpvms/phpvms | https://github.com/phpvms/phpvms/blob/8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9/app/Repositories/Criteria/WhereCriteria.php | app/Repositories/Criteria/WhereCriteria.php | <?php
namespace App\Repositories\Criteria;
use Exception;
use Illuminate\Database\Eloquent\Builder;
use Illuminate\Database\Eloquent\Model;
use Illuminate\Http\Request;
use Prettus\Repository\Contracts\CriteriaInterface;
use Prettus\Repository\Contracts\RepositoryInterface;
/**
* Class RequestCriteria
*/
class Whe... | php | BSD-3-Clause | 8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9 | 2026-01-05T02:29:57.665749Z | false |
phpvms/phpvms | https://github.com/phpvms/phpvms/blob/8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9/app/Providers/ViewComposerServiceProvider.php | app/Providers/ViewComposerServiceProvider.php | <?php
namespace App\Providers;
use App\Http\Composers\PageLinksComposer;
use App\Http\Composers\VersionComposer;
use Illuminate\Support\Facades\App;
use Illuminate\Support\Facades\Config;
use Illuminate\Support\Facades\View;
use Illuminate\Support\ServiceProvider;
class ViewComposerServiceProvider extends ServicePro... | php | BSD-3-Clause | 8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9 | 2026-01-05T02:29:57.665749Z | false |
phpvms/phpvms | https://github.com/phpvms/phpvms/blob/8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9/app/Providers/BroadcastServiceProvider.php | app/Providers/BroadcastServiceProvider.php | <?php
namespace App\Providers;
use Illuminate\Support\Facades\Broadcast;
use Illuminate\Support\ServiceProvider;
class BroadcastServiceProvider extends ServiceProvider
{
/**
* Bootstrap any application services.
*
* @return void
*/
public function boot()
{
Broadcast::routes();... | php | BSD-3-Clause | 8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9 | 2026-01-05T02:29:57.665749Z | false |
phpvms/phpvms | https://github.com/phpvms/phpvms/blob/8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9/app/Providers/MeasurementsProvider.php | app/Providers/MeasurementsProvider.php | <?php
namespace App\Providers;
use Exception;
use Illuminate\Support\Facades\Log;
use Illuminate\Support\ServiceProvider;
use PhpUnitsOfMeasure\Exception\NonStringUnitName;
use PhpUnitsOfMeasure\Exception\UnknownUnitOfMeasure;
use PhpUnitsOfMeasure\PhysicalQuantity\Temperature;
/**
* Add new measurement units to Ph... | php | BSD-3-Clause | 8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9 | 2026-01-05T02:29:57.665749Z | false |
phpvms/phpvms | https://github.com/phpvms/phpvms/blob/8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9/app/Providers/ModulesServiceProvider.php | app/Providers/ModulesServiceProvider.php | <?php
namespace App\Providers;
use Nwidart\Modules\LaravelModulesServiceProvider as BaseModulesServiceProvider;
class ModulesServiceProvider extends BaseModulesServiceProvider
{
public function register(): void
{
parent::register();
// Boot the modules before resolving Filament so that modul... | php | BSD-3-Clause | 8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9 | 2026-01-05T02:29:57.665749Z | false |
phpvms/phpvms | https://github.com/phpvms/phpvms/blob/8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9/app/Providers/RouteServiceProvider.php | app/Providers/RouteServiceProvider.php | <?php
namespace App\Providers;
use Illuminate\Foundation\Support\Providers\RouteServiceProvider as ServiceProvider;
use Illuminate\Support\Facades\Route;
class RouteServiceProvider extends ServiceProvider
{
/**
* Define the routes for the application.
*
* @return void
*/
public function m... | php | BSD-3-Clause | 8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9 | 2026-01-05T02:29:57.665749Z | false |
phpvms/phpvms | https://github.com/phpvms/phpvms/blob/8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9/app/Providers/EventServiceProvider.php | app/Providers/EventServiceProvider.php | <?php
namespace App\Providers;
use App\Events\CronWeekly;
use App\Events\Expenses;
use App\Events\Fares;
use App\Events\PirepFiled;
use App\Events\ProfileUpdated;
use App\Events\UserStatsChanged;
use App\Listeners\AwardHandler;
use App\Listeners\BidEventHandler;
use App\Listeners\DiversionHandler;
use App\Listeners\E... | php | BSD-3-Clause | 8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9 | 2026-01-05T02:29:57.665749Z | false |
phpvms/phpvms | https://github.com/phpvms/phpvms/blob/8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9/app/Providers/DirectiveServiceProvider.php | app/Providers/DirectiveServiceProvider.php | <?php
namespace App\Providers;
use Illuminate\Support\Facades\Blade;
use Illuminate\Support\ServiceProvider;
/**
* Keep custom directives that can be used in templates
*/
class DirectiveServiceProvider extends ServiceProvider
{
public function boot(): void
{
Blade::directive('minutestotime', functi... | php | BSD-3-Clause | 8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9 | 2026-01-05T02:29:57.665749Z | false |
phpvms/phpvms | https://github.com/phpvms/phpvms/blob/8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9/app/Providers/AppServiceProvider.php | app/Providers/AppServiceProvider.php | <?php
namespace App\Providers;
use App\Notifications\Channels\Discord\DiscordWebhook;
use App\Services\ModuleService;
use App\Support\ThemeViewFinder;
use App\Support\Utils;
use Barryvdh\LaravelIdeHelper\IdeHelperServiceProvider;
use BezhanSalleh\FilamentShield\Facades\FilamentShield;
use Illuminate\Pagination\Pagina... | php | BSD-3-Clause | 8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9 | 2026-01-05T02:29:57.665749Z | false |
phpvms/phpvms | https://github.com/phpvms/phpvms/blob/8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9/app/Providers/AuthServiceProvider.php | app/Providers/AuthServiceProvider.php | <?php
namespace App\Providers;
use App\Models\User;
use App\Policies\Filament\ActivityPolicy;
use Illuminate\Auth\Access\Response;
use Illuminate\Foundation\Support\Providers\AuthServiceProvider as ServiceProvider;
use Illuminate\Support\Facades\Gate;
use Spatie\Activitylog\Models\Activity;
class AuthServiceProvider... | php | BSD-3-Clause | 8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9 | 2026-01-05T02:29:57.665749Z | false |
phpvms/phpvms | https://github.com/phpvms/phpvms/blob/8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9/app/Providers/ObserverServiceProviders.php | app/Providers/ObserverServiceProviders.php | <?php
namespace App\Providers;
use App\Models\Aircraft;
use App\Models\Airport;
use App\Models\Flight;
use App\Models\FlightField;
use App\Models\FlightFieldValue;
use App\Models\Journal;
use App\Models\JournalTransaction;
use App\Models\Observers\AircraftObserver;
use App\Models\Observers\AirportObserver;
use App\Mo... | php | BSD-3-Clause | 8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9 | 2026-01-05T02:29:57.665749Z | false |
phpvms/phpvms | https://github.com/phpvms/phpvms/blob/8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9/app/Providers/CronServiceProvider.php | app/Providers/CronServiceProvider.php | <?php
namespace App\Providers;
use App\Cron\Hourly\ClearExpiredInvites;
use App\Cron\Hourly\ClearExpiredSimbrief;
use App\Cron\Hourly\DeletePireps;
use App\Cron\Hourly\RemoveExpiredBids;
use App\Cron\Hourly\RemoveExpiredLiveFlights;
use App\Cron\Nightly\ApplyExpenses;
use App\Cron\Nightly\NewVersionCheck;
use App\Cro... | php | BSD-3-Clause | 8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9 | 2026-01-05T02:29:57.665749Z | false |
phpvms/phpvms | https://github.com/phpvms/phpvms/blob/8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9/app/Providers/BindServiceProviders.php | app/Providers/BindServiceProviders.php | <?php
namespace App\Providers;
use App\Contracts\AirportLookup;
use App\Contracts\Metar;
use Illuminate\Support\ServiceProvider;
use VaCentral\Contracts\IVaCentral;
use VaCentral\VaCentral;
class BindServiceProviders extends ServiceProvider
{
public function boot(): void
{
/*
* Bind the clas... | php | BSD-3-Clause | 8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9 | 2026-01-05T02:29:57.665749Z | false |
phpvms/phpvms | https://github.com/phpvms/phpvms/blob/8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9/app/Providers/Filament/AdminPanelProvider.php | app/Providers/Filament/AdminPanelProvider.php | <?php
namespace App\Providers\Filament;
use App\Filament\Pages\Backups;
use App\Filament\Plugins\LanguageSwitcherPlugin;
use App\Filament\Plugins\ModuleLinksPlugin;
use App\Models\Enums\NavigationGroup as EnumsNavigationGroup;
use BezhanSalleh\FilamentShield\FilamentShieldPlugin;
use Filament\Http\Middleware\Authenti... | php | BSD-3-Clause | 8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9 | 2026-01-05T02:29:57.665749Z | false |
phpvms/phpvms | https://github.com/phpvms/phpvms/blob/8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9/app/Providers/Filament/SystemPanelProvider.php | app/Providers/Filament/SystemPanelProvider.php | <?php
namespace App\Providers\Filament;
use App\Filament\Plugins\LanguageSwitcherPlugin;
use App\Http\Middleware\SetActiveLanguage;
use Filament\Http\Middleware\DisableBladeIconComponents;
use Filament\Http\Middleware\DispatchServingFilamentEvent;
use Filament\Panel;
use Filament\PanelProvider;
use Filament\Support\C... | php | BSD-3-Clause | 8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9 | 2026-01-05T02:29:57.665749Z | false |
phpvms/phpvms | https://github.com/phpvms/phpvms/blob/8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9/app/Events/PirepAccepted.php | app/Events/PirepAccepted.php | <?php
namespace App\Events;
use App\Contracts\Event;
use App\Models\Pirep;
class PirepAccepted extends Event
{
public Pirep $pirep;
public function __construct(Pirep $pirep)
{
$this->pirep = $pirep;
}
}
| php | BSD-3-Clause | 8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9 | 2026-01-05T02:29:57.665749Z | false |
phpvms/phpvms | https://github.com/phpvms/phpvms/blob/8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9/app/Events/UserStateChanged.php | app/Events/UserStateChanged.php | <?php
namespace App\Events;
use App\Contracts\Event;
use App\Models\User;
/**
* Event triggered when a user's state changes
*/
class UserStateChanged extends Event
{
public User $user;
public $old_state;
public function __construct(User $user, $old_state)
{
$this->user = $user;
$t... | php | BSD-3-Clause | 8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9 | 2026-01-05T02:29:57.665749Z | false |
phpvms/phpvms | https://github.com/phpvms/phpvms/blob/8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9/app/Events/ProcessAward.php | app/Events/ProcessAward.php | <?php
namespace App\Events;
use App\Contracts\Event;
use App\Models\User;
/**
* See if this user has won any awards
*/
class ProcessAward extends Event
{
public User $user;
public function __construct(User $user)
{
$this->user = $user;
}
}
| php | BSD-3-Clause | 8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9 | 2026-01-05T02:29:57.665749Z | false |
phpvms/phpvms | https://github.com/phpvms/phpvms/blob/8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9/app/Events/AwardAwarded.php | app/Events/AwardAwarded.php | <?php
namespace App\Events;
use App\Contracts\Event;
use App\Models\UserAward;
class AwardAwarded extends Event
{
public UserAward $userAward;
public function __construct(UserAward $userAward)
{
$this->userAward = $userAward;
}
}
| php | BSD-3-Clause | 8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9 | 2026-01-05T02:29:57.665749Z | false |
phpvms/phpvms | https://github.com/phpvms/phpvms/blob/8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9/app/Events/PirepStateChange.php | app/Events/PirepStateChange.php | <?php
namespace App\Events;
use App\Contracts\Event;
use App\Models\Pirep;
class PirepStateChange extends Event
{
public Pirep $pirep;
public function __construct(Pirep $pirep)
{
$this->pirep = $pirep;
}
}
| php | BSD-3-Clause | 8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9 | 2026-01-05T02:29:57.665749Z | false |
phpvms/phpvms | https://github.com/phpvms/phpvms/blob/8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9/app/Events/PirepRejected.php | app/Events/PirepRejected.php | <?php
namespace App\Events;
use App\Contracts\Event;
use App\Models\Pirep;
class PirepRejected extends Event
{
public Pirep $pirep;
public function __construct(Pirep $pirep)
{
$this->pirep = $pirep;
}
}
| php | BSD-3-Clause | 8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9 | 2026-01-05T02:29:57.665749Z | false |
phpvms/phpvms | https://github.com/phpvms/phpvms/blob/8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9/app/Events/Expenses.php | app/Events/Expenses.php | <?php
namespace App\Events;
use App\Contracts\Event;
use App\Models\Pirep;
/**
* This event is dispatched when the expenses for a flight report
* are collected. Your listeners should return a list of Expense
* models. Don't call save on the model!
*
* Example return:
*
* [
* new Expense([
* 'airline_... | php | BSD-3-Clause | 8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9 | 2026-01-05T02:29:57.665749Z | false |
phpvms/phpvms | https://github.com/phpvms/phpvms/blob/8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9/app/Events/PirepFiled.php | app/Events/PirepFiled.php | <?php
namespace App\Events;
use App\Contracts\Event;
use App\Models\Pirep;
class PirepFiled extends Event
{
public Pirep $pirep;
public function __construct(Pirep $pirep)
{
$this->pirep = $pirep;
}
}
| php | BSD-3-Clause | 8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9 | 2026-01-05T02:29:57.665749Z | false |
phpvms/phpvms | https://github.com/phpvms/phpvms/blob/8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9/app/Events/ProfileUpdated.php | app/Events/ProfileUpdated.php | <?php
namespace App\Events;
use App\Models\User;
use Illuminate\Broadcasting\InteractsWithSockets;
use Illuminate\Foundation\Events\Dispatchable;
use Illuminate\Queue\SerializesModels;
class ProfileUpdated
{
use Dispatchable;
use InteractsWithSockets;
use SerializesModels;
public $user;
public ... | php | BSD-3-Clause | 8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9 | 2026-01-05T02:29:57.665749Z | false |
phpvms/phpvms | https://github.com/phpvms/phpvms/blob/8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9/app/Events/UserStatsChanged.php | app/Events/UserStatsChanged.php | <?php
namespace App\Events;
use App\Contracts\Event;
use App\Models\User;
class UserStatsChanged extends Event
{
public User $user;
public $stat_name;
public $old_value;
/*
* When a user's stats change. Stats changed match the field name:
* airport
* flights
* rank
*... | php | BSD-3-Clause | 8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9 | 2026-01-05T02:29:57.665749Z | false |
phpvms/phpvms | https://github.com/phpvms/phpvms/blob/8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9/app/Events/NewsUpdated.php | app/Events/NewsUpdated.php | <?php
namespace App\Events;
use App\Contracts\Event;
use App\Models\News;
class NewsUpdated extends Event
{
public function __construct(
public News $news
) {}
}
| php | BSD-3-Clause | 8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9 | 2026-01-05T02:29:57.665749Z | false |
phpvms/phpvms | https://github.com/phpvms/phpvms/blob/8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9/app/Events/CronThirtyMinute.php | app/Events/CronThirtyMinute.php | <?php
namespace App\Events;
use App\Contracts\Event;
class CronThirtyMinute extends Event {}
| php | BSD-3-Clause | 8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9 | 2026-01-05T02:29:57.665749Z | false |
phpvms/phpvms | https://github.com/phpvms/phpvms/blob/8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9/app/Events/BaseEvent.php | app/Events/BaseEvent.php | <?php
namespace App\Events;
use App\Contracts\Event;
/**
* @deprecated Extend App\Contracts\Event directly
*/
class BaseEvent extends Event {}
| php | BSD-3-Clause | 8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9 | 2026-01-05T02:29:57.665749Z | false |
phpvms/phpvms | https://github.com/phpvms/phpvms/blob/8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9/app/Events/PirepCancelled.php | app/Events/PirepCancelled.php | <?php
namespace App\Events;
use App\Contracts\Event;
use App\Models\Pirep;
class PirepCancelled extends Event
{
public Pirep $pirep;
public function __construct(Pirep $pirep)
{
$this->pirep = $pirep;
}
}
| php | BSD-3-Clause | 8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9 | 2026-01-05T02:29:57.665749Z | false |
phpvms/phpvms | https://github.com/phpvms/phpvms/blob/8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9/app/Events/AcarsUpdate.php | app/Events/AcarsUpdate.php | <?php
namespace App\Events;
use App\Contracts\Event;
use App\Models\Acars;
use App\Models\Pirep;
class AcarsUpdate extends Event
{
public Pirep $pirep;
public Acars $acars;
public function __construct(Pirep $pirep, Acars $acars)
{
$this->pirep = $pirep;
$this->acars = $acars;
}
... | php | BSD-3-Clause | 8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9 | 2026-01-05T02:29:57.665749Z | false |
phpvms/phpvms | https://github.com/phpvms/phpvms/blob/8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9/app/Events/Fares.php | app/Events/Fares.php | <?php
namespace App\Events;
use App\Contracts\Event;
use App\Models\Pirep;
/**
* This event is dispatched when the fares for a flight report
* are collected. Your listeners should return a list of Fare
* models. Don't call save on the model!
*
* Example return:
*
* new Fare([
* 'name' => '', # displa... | php | BSD-3-Clause | 8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9 | 2026-01-05T02:29:57.665749Z | false |
phpvms/phpvms | https://github.com/phpvms/phpvms/blob/8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9/app/Events/CronNightly.php | app/Events/CronNightly.php | <?php
namespace App\Events;
use App\Contracts\Event;
/**
* This event is dispatched when the daily cron is run
* It happens after all of the default nightly tasks
*/
class CronNightly extends Event {}
| php | BSD-3-Clause | 8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9 | 2026-01-05T02:29:57.665749Z | false |
phpvms/phpvms | https://github.com/phpvms/phpvms/blob/8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9/app/Events/PirepPrefiled.php | app/Events/PirepPrefiled.php | <?php
namespace App\Events;
use App\Contracts\Event;
use App\Models\Pirep;
class PirepPrefiled extends Event
{
public Pirep $pirep;
public function __construct(Pirep $pirep)
{
$this->pirep = $pirep;
}
}
| php | BSD-3-Clause | 8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9 | 2026-01-05T02:29:57.665749Z | false |
phpvms/phpvms | https://github.com/phpvms/phpvms/blob/8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9/app/Events/PirepStatusChange.php | app/Events/PirepStatusChange.php | <?php
namespace App\Events;
use App\Contracts\Event;
use App\Models\Pirep;
/**
* Status change like Boarding, Taxi, etc
*/
class PirepStatusChange extends Event
{
public Pirep $pirep;
public function __construct(Pirep $pirep)
{
$this->pirep = $pirep;
}
}
| php | BSD-3-Clause | 8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9 | 2026-01-05T02:29:57.665749Z | false |
phpvms/phpvms | https://github.com/phpvms/phpvms/blob/8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9/app/Events/CronFiveMinute.php | app/Events/CronFiveMinute.php | <?php
namespace App\Events;
use App\Contracts\Event;
class CronFiveMinute extends Event {}
| php | BSD-3-Clause | 8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9 | 2026-01-05T02:29:57.665749Z | false |
phpvms/phpvms | https://github.com/phpvms/phpvms/blob/8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9/app/Events/PirepDiverted.php | app/Events/PirepDiverted.php | <?php
namespace App\Events;
use App\Contracts\Event;
use App\Models\Pirep;
class PirepDiverted extends Event
{
public Pirep $pirep;
public function __construct(Pirep $pirep)
{
$this->pirep = $pirep;
}
}
| php | BSD-3-Clause | 8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9 | 2026-01-05T02:29:57.665749Z | false |
phpvms/phpvms | https://github.com/phpvms/phpvms/blob/8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9/app/Events/CronFifteenMinute.php | app/Events/CronFifteenMinute.php | <?php
namespace App\Events;
use App\Contracts\Event;
class CronFifteenMinute extends Event {}
| php | BSD-3-Clause | 8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9 | 2026-01-05T02:29:57.665749Z | false |
phpvms/phpvms | https://github.com/phpvms/phpvms/blob/8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9/app/Events/NewsAdded.php | app/Events/NewsAdded.php | <?php
namespace App\Events;
use App\Contracts\Event;
use App\Models\News;
class NewsAdded extends Event
{
public News $news;
public function __construct(News $news)
{
$this->news = $news;
}
}
| php | BSD-3-Clause | 8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9 | 2026-01-05T02:29:57.665749Z | false |
phpvms/phpvms | https://github.com/phpvms/phpvms/blob/8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9/app/Events/TestEvent.php | app/Events/TestEvent.php | <?php
namespace App\Events;
use App\Contracts\Event;
use App\Models\User;
class TestEvent extends Event
{
public User $user;
public function __construct(User $user)
{
$this->user = $user;
}
}
| php | BSD-3-Clause | 8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9 | 2026-01-05T02:29:57.665749Z | false |
phpvms/phpvms | https://github.com/phpvms/phpvms/blob/8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9/app/Events/PirepUpdated.php | app/Events/PirepUpdated.php | <?php
namespace App\Events;
use App\Contracts\Event;
use App\Models\Pirep;
class PirepUpdated extends Event
{
public Pirep $pirep;
public function __construct(Pirep $pirep)
{
$this->pirep = $pirep;
}
}
| php | BSD-3-Clause | 8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9 | 2026-01-05T02:29:57.665749Z | false |
phpvms/phpvms | https://github.com/phpvms/phpvms/blob/8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9/app/Events/CronHourly.php | app/Events/CronHourly.php | <?php
namespace App\Events;
use App\Contracts\Event;
class CronHourly extends Event {}
| php | BSD-3-Clause | 8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9 | 2026-01-05T02:29:57.665749Z | false |
phpvms/phpvms | https://github.com/phpvms/phpvms/blob/8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9/app/Events/CronMonthly.php | app/Events/CronMonthly.php | <?php
namespace App\Events;
use App\Contracts\Event;
/**
* This event is dispatched when the monthly cron is run
* It happens after all of the default nightly tasks
*/
class CronMonthly extends Event {}
| php | BSD-3-Clause | 8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9 | 2026-01-05T02:29:57.665749Z | false |
phpvms/phpvms | https://github.com/phpvms/phpvms/blob/8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9/app/Events/CronWeekly.php | app/Events/CronWeekly.php | <?php
namespace App\Events;
use App\Contracts\Event;
/**
* This event is dispatched when the weekly cron is run
* It happens after all of the default nightly tasks
*/
class CronWeekly extends Event
{
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/Events/UserAccepted.php | app/Events/UserAccepted.php | <?php
namespace App\Events;
use App\Contracts\Event;
use App\Models\User;
class UserAccepted extends Event
{
public User $user;
public function __construct(User $user)
{
$this->user = $user;
}
}
| php | BSD-3-Clause | 8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9 | 2026-01-05T02:29:57.665749Z | false |
phpvms/phpvms | https://github.com/phpvms/phpvms/blob/8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9/app/Policies/Filament/AircraftPolicy.php | app/Policies/Filament/AircraftPolicy.php | <?php
declare(strict_types=1);
namespace App\Policies\Filament;
use App\Models\Aircraft;
use Illuminate\Auth\Access\HandlesAuthorization;
use Illuminate\Foundation\Auth\User as AuthUser;
class AircraftPolicy
{
use HandlesAuthorization;
public function viewAny(AuthUser $authUser): bool
{
return ... | php | BSD-3-Clause | 8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9 | 2026-01-05T02:29:57.665749Z | false |
phpvms/phpvms | https://github.com/phpvms/phpvms/blob/8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9/app/Policies/Filament/FarePolicy.php | app/Policies/Filament/FarePolicy.php | <?php
declare(strict_types=1);
namespace App\Policies\Filament;
use App\Models\Fare;
use Illuminate\Auth\Access\HandlesAuthorization;
use Illuminate\Foundation\Auth\User as AuthUser;
class FarePolicy
{
use HandlesAuthorization;
public function viewAny(AuthUser $authUser): bool
{
return $authUse... | php | BSD-3-Clause | 8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9 | 2026-01-05T02:29:57.665749Z | false |
phpvms/phpvms | https://github.com/phpvms/phpvms/blob/8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9/app/Policies/Filament/AwardPolicy.php | app/Policies/Filament/AwardPolicy.php | <?php
declare(strict_types=1);
namespace App\Policies\Filament;
use App\Models\Award;
use Illuminate\Auth\Access\HandlesAuthorization;
use Illuminate\Foundation\Auth\User as AuthUser;
class AwardPolicy
{
use HandlesAuthorization;
public function viewAny(AuthUser $authUser): bool
{
return $authU... | php | BSD-3-Clause | 8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9 | 2026-01-05T02:29:57.665749Z | false |
phpvms/phpvms | https://github.com/phpvms/phpvms/blob/8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9/app/Policies/Filament/ExpensePolicy.php | app/Policies/Filament/ExpensePolicy.php | <?php
declare(strict_types=1);
namespace App\Policies\Filament;
use App\Models\Expense;
use Illuminate\Auth\Access\HandlesAuthorization;
use Illuminate\Foundation\Auth\User as AuthUser;
class ExpensePolicy
{
use HandlesAuthorization;
public function viewAny(AuthUser $authUser): bool
{
return $a... | php | BSD-3-Clause | 8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9 | 2026-01-05T02:29:57.665749Z | false |
phpvms/phpvms | https://github.com/phpvms/phpvms/blob/8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9/app/Policies/Filament/AirlinePolicy.php | app/Policies/Filament/AirlinePolicy.php | <?php
declare(strict_types=1);
namespace App\Policies\Filament;
use App\Models\Airline;
use Illuminate\Auth\Access\HandlesAuthorization;
use Illuminate\Foundation\Auth\User as AuthUser;
class AirlinePolicy
{
use HandlesAuthorization;
public function viewAny(AuthUser $authUser): bool
{
return $a... | php | BSD-3-Clause | 8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9 | 2026-01-05T02:29:57.665749Z | false |
phpvms/phpvms | https://github.com/phpvms/phpvms/blob/8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9/app/Policies/Filament/SubfleetPolicy.php | app/Policies/Filament/SubfleetPolicy.php | <?php
declare(strict_types=1);
namespace App\Policies\Filament;
use App\Models\Subfleet;
use Illuminate\Auth\Access\HandlesAuthorization;
use Illuminate\Foundation\Auth\User as AuthUser;
class SubfleetPolicy
{
use HandlesAuthorization;
public function viewAny(AuthUser $authUser): bool
{
return ... | php | BSD-3-Clause | 8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9 | 2026-01-05T02:29:57.665749Z | false |
phpvms/phpvms | https://github.com/phpvms/phpvms/blob/8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9/app/Policies/Filament/FlightPolicy.php | app/Policies/Filament/FlightPolicy.php | <?php
declare(strict_types=1);
namespace App\Policies\Filament;
use App\Models\Flight;
use Illuminate\Auth\Access\HandlesAuthorization;
use Illuminate\Foundation\Auth\User as AuthUser;
class FlightPolicy
{
use HandlesAuthorization;
public function viewAny(AuthUser $authUser): bool
{
return $aut... | php | BSD-3-Clause | 8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9 | 2026-01-05T02:29:57.665749Z | false |
phpvms/phpvms | https://github.com/phpvms/phpvms/blob/8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9/app/Policies/Filament/UserPolicy.php | app/Policies/Filament/UserPolicy.php | <?php
namespace App\Policies\Filament;
use Illuminate\Auth\Access\HandlesAuthorization;
use Illuminate\Foundation\Auth\User as AuthUser;
class UserPolicy
{
use HandlesAuthorization;
public function viewAny(AuthUser $authUser): bool
{
return $authUser->can('ViewAny:User');
}
public funct... | php | BSD-3-Clause | 8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9 | 2026-01-05T02:29:57.665749Z | false |
phpvms/phpvms | https://github.com/phpvms/phpvms/blob/8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9/app/Policies/Filament/PirepPolicy.php | app/Policies/Filament/PirepPolicy.php | <?php
declare(strict_types=1);
namespace App\Policies\Filament;
use App\Models\Pirep;
use Illuminate\Auth\Access\HandlesAuthorization;
use Illuminate\Foundation\Auth\User as AuthUser;
class PirepPolicy
{
use HandlesAuthorization;
public function viewAny(AuthUser $authUser): bool
{
return $authU... | php | BSD-3-Clause | 8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9 | 2026-01-05T02:29:57.665749Z | false |
phpvms/phpvms | https://github.com/phpvms/phpvms/blob/8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9/app/Policies/Filament/ActivityPolicy.php | app/Policies/Filament/ActivityPolicy.php | <?php
declare(strict_types=1);
namespace App\Policies\Filament;
use Illuminate\Auth\Access\HandlesAuthorization;
use Illuminate\Foundation\Auth\User as AuthUser;
use Spatie\Activitylog\Models\Activity;
class ActivityPolicy
{
use HandlesAuthorization;
public function viewAny(AuthUser $authUser): bool
{
... | php | BSD-3-Clause | 8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9 | 2026-01-05T02:29:57.665749Z | false |
phpvms/phpvms | https://github.com/phpvms/phpvms/blob/8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9/app/Policies/Filament/InvitePolicy.php | app/Policies/Filament/InvitePolicy.php | <?php
declare(strict_types=1);
namespace App\Policies\Filament;
use App\Models\Invite;
use Illuminate\Auth\Access\HandlesAuthorization;
use Illuminate\Foundation\Auth\User as AuthUser;
class InvitePolicy
{
use HandlesAuthorization;
public function viewAny(AuthUser $authUser): bool
{
return $aut... | php | BSD-3-Clause | 8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9 | 2026-01-05T02:29:57.665749Z | false |
phpvms/phpvms | https://github.com/phpvms/phpvms/blob/8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9/app/Policies/Filament/TyperatingPolicy.php | app/Policies/Filament/TyperatingPolicy.php | <?php
declare(strict_types=1);
namespace App\Policies\Filament;
use App\Models\Typerating;
use Illuminate\Auth\Access\HandlesAuthorization;
use Illuminate\Foundation\Auth\User as AuthUser;
class TyperatingPolicy
{
use HandlesAuthorization;
public function viewAny(AuthUser $authUser): bool
{
ret... | php | BSD-3-Clause | 8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9 | 2026-01-05T02:29:57.665749Z | false |
phpvms/phpvms | https://github.com/phpvms/phpvms/blob/8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9/app/Policies/Filament/AirportPolicy.php | app/Policies/Filament/AirportPolicy.php | <?php
declare(strict_types=1);
namespace App\Policies\Filament;
use App\Models\Airport;
use Illuminate\Auth\Access\HandlesAuthorization;
use Illuminate\Foundation\Auth\User as AuthUser;
class AirportPolicy
{
use HandlesAuthorization;
public function viewAny(AuthUser $authUser): bool
{
return $a... | php | BSD-3-Clause | 8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9 | 2026-01-05T02:29:57.665749Z | false |
phpvms/phpvms | https://github.com/phpvms/phpvms/blob/8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9/app/Policies/Filament/RolePolicy.php | app/Policies/Filament/RolePolicy.php | <?php
declare(strict_types=1);
namespace App\Policies\Filament;
use Illuminate\Auth\Access\HandlesAuthorization;
use Illuminate\Foundation\Auth\User as AuthUser;
use Spatie\Permission\Models\Role;
class RolePolicy
{
use HandlesAuthorization;
public function viewAny(AuthUser $authUser): bool
{
r... | php | BSD-3-Clause | 8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9 | 2026-01-05T02:29:57.665749Z | false |
phpvms/phpvms | https://github.com/phpvms/phpvms/blob/8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9/app/Policies/Filament/RankPolicy.php | app/Policies/Filament/RankPolicy.php | <?php
declare(strict_types=1);
namespace App\Policies\Filament;
use App\Models\Rank;
use Illuminate\Auth\Access\HandlesAuthorization;
use Illuminate\Foundation\Auth\User as AuthUser;
class RankPolicy
{
use HandlesAuthorization;
public function viewAny(AuthUser $authUser): bool
{
return $authUse... | php | BSD-3-Clause | 8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9 | 2026-01-05T02:29:57.665749Z | false |
phpvms/phpvms | https://github.com/phpvms/phpvms/blob/8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9/app/Policies/Filament/SimBriefAirframePolicy.php | app/Policies/Filament/SimBriefAirframePolicy.php | <?php
declare(strict_types=1);
namespace App\Policies\Filament;
use App\Models\SimBriefAirframe;
use Illuminate\Auth\Access\HandlesAuthorization;
use Illuminate\Foundation\Auth\User as AuthUser;
class SimBriefAirframePolicy
{
use HandlesAuthorization;
public function viewAny(AuthUser $authUser): bool
{... | php | BSD-3-Clause | 8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9 | 2026-01-05T02:29:57.665749Z | false |
phpvms/phpvms | https://github.com/phpvms/phpvms/blob/8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9/app/Policies/Filament/PagePolicy.php | app/Policies/Filament/PagePolicy.php | <?php
declare(strict_types=1);
namespace App\Policies\Filament;
use App\Models\Page;
use Illuminate\Auth\Access\HandlesAuthorization;
use Illuminate\Foundation\Auth\User as AuthUser;
class PagePolicy
{
use HandlesAuthorization;
public function viewAny(AuthUser $authUser): bool
{
return $authUse... | php | BSD-3-Clause | 8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9 | 2026-01-05T02:29:57.665749Z | false |
phpvms/phpvms | https://github.com/phpvms/phpvms/blob/8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9/app/Policies/Filament/UserFieldPolicy.php | app/Policies/Filament/UserFieldPolicy.php | <?php
declare(strict_types=1);
namespace App\Policies\Filament;
use App\Models\UserField;
use Illuminate\Auth\Access\HandlesAuthorization;
use Illuminate\Foundation\Auth\User as AuthUser;
class UserFieldPolicy
{
use HandlesAuthorization;
public function viewAny(AuthUser $authUser): bool
{
retur... | php | BSD-3-Clause | 8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9 | 2026-01-05T02:29:57.665749Z | false |
phpvms/phpvms | https://github.com/phpvms/phpvms/blob/8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9/app/Policies/Filament/PirepFieldPolicy.php | app/Policies/Filament/PirepFieldPolicy.php | <?php
declare(strict_types=1);
namespace App\Policies\Filament;
use App\Models\PirepField;
use Illuminate\Auth\Access\HandlesAuthorization;
use Illuminate\Foundation\Auth\User as AuthUser;
class PirepFieldPolicy
{
use HandlesAuthorization;
public function viewAny(AuthUser $authUser): bool
{
ret... | php | BSD-3-Clause | 8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9 | 2026-01-05T02:29:57.665749Z | false |
phpvms/phpvms | https://github.com/phpvms/phpvms/blob/8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9/app/Policies/Filament/ModulePolicy.php | app/Policies/Filament/ModulePolicy.php | <?php
declare(strict_types=1);
namespace App\Policies\Filament;
use App\Models\Module;
use Illuminate\Auth\Access\HandlesAuthorization;
use Illuminate\Foundation\Auth\User as AuthUser;
class ModulePolicy
{
use HandlesAuthorization;
public function viewAny(AuthUser $authUser): bool
{
return $aut... | php | BSD-3-Clause | 8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9 | 2026-01-05T02:29:57.665749Z | false |
phpvms/phpvms | https://github.com/phpvms/phpvms/blob/8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9/bootstrap/app.php | bootstrap/app.php | <?php
if (!defined('LUMEN_START')) {
define('LUMEN_START', microtime(true));
}
include_once __DIR__.'/application.php';
$app = new Application();
$app->bindInterfaces();
return $app;
| php | BSD-3-Clause | 8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9 | 2026-01-05T02:29:57.665749Z | false |
phpvms/phpvms | https://github.com/phpvms/phpvms/blob/8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9/bootstrap/autoload.php | bootstrap/autoload.php | <?php
define('LARAVEL_START', microtime(true));
/*
|--------------------------------------------------------------------------
| Register The Composer Auto Loader
|--------------------------------------------------------------------------
|
| Composer provides a convenient, automatically generated class loader
| for ... | php | BSD-3-Clause | 8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9 | 2026-01-05T02:29:57.665749Z | false |
phpvms/phpvms | https://github.com/phpvms/phpvms/blob/8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9/bootstrap/application.php | bootstrap/application.php | <?php
use App\Bootstrap\LoadConfiguration;
if (!defined('DS')) {
define('DS', DIRECTORY_SEPARATOR);
}
/**
* Customized container to allow some of the base Laravel
* configurations to be overridden
*/
class application extends Illuminate\Foundation\Application
{
private $publicDirPath;
private $public... | php | BSD-3-Clause | 8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9 | 2026-01-05T02:29:57.665749Z | false |
phpvms/phpvms | https://github.com/phpvms/phpvms/blob/8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9/tests/AirportTest.php | tests/AirportTest.php | <?php
namespace Tests;
use App\Models\Airport;
use App\Models\User;
final class AirportTest extends TestCase
{
public function test_saving_airport_from_api_response(): void
{
// This is the response from the API
$airportResponse = [
'icao' => 'KJFK',
'iata' => 'J... | php | BSD-3-Clause | 8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9 | 2026-01-05T02:29:57.665749Z | false |
phpvms/phpvms | https://github.com/phpvms/phpvms/blob/8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9/tests/NewsTest.php | tests/NewsTest.php | <?php
namespace Tests;
use App\Models\User;
use App\Notifications\Messages\NewsAdded;
use App\Services\NewsService;
use Illuminate\Support\Facades\Notification;
final class NewsTest extends TestCase
{
private NewsService $newsSvc;
protected function setUp(): void
{
parent::setUp();
$thi... | php | BSD-3-Clause | 8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9 | 2026-01-05T02:29:57.665749Z | false |
phpvms/phpvms | https://github.com/phpvms/phpvms/blob/8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9/tests/CronTest.php | tests/CronTest.php | <?php
namespace Tests;
use App\Cron\Hourly\DeletePireps;
use App\Cron\Hourly\RemoveExpiredLiveFlights;
use App\Events\CronHourly;
use App\Models\Enums\PirepState;
use App\Models\Pirep;
use App\Models\User;
use Carbon\Carbon;
final class CronTest extends TestCase
{
/**
* Create a new sample PIREP
*/
... | php | BSD-3-Clause | 8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9 | 2026-01-05T02:29:57.665749Z | false |
phpvms/phpvms | https://github.com/phpvms/phpvms/blob/8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9/tests/PIREPTest.php | tests/PIREPTest.php | <?php
namespace Tests;
use App\Models\Acars;
use App\Models\Aircraft;
use App\Models\Airport;
use App\Models\Bid;
use App\Models\Enums\AcarsType;
use App\Models\Enums\PirepFieldSource;
use App\Models\Enums\PirepState;
use App\Models\Enums\UserState;
use App\Models\Flight;
use App\Models\Navdata;
use App\Models\Pirep;... | php | BSD-3-Clause | 8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9 | 2026-01-05T02:29:57.665749Z | false |
phpvms/phpvms | https://github.com/phpvms/phpvms/blob/8fdd34d2ea76f18f9bee259558c1bfe5b5877ae9/tests/ApiTestTrait.php | tests/ApiTestTrait.php | <?php
trait ApiTestTrait
{
public function assertApiResponse(array $actualData): void
{
$this->assertApiSuccess();
$response = json_decode($this->response->getContent(), true);
$responseData = $response['data'];
$this->assertNotEmpty($responseData['id']);
$this->assert... | 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.