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 |
|---|---|---|---|---|---|---|---|---|
sproctor/php-calendar | https://github.com/sproctor/php-calendar/blob/e9473676f311aac8e9577cb3371ed362418441d9/src/form.php | src/form.php | <?php
/*
* Copyright 2013 Sean Proctor
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or ag... | php | Apache-2.0 | e9473676f311aac8e9577cb3371ed362418441d9 | 2026-01-05T04:51:20.275579Z | false |
sproctor/php-calendar | https://github.com/sproctor/php-calendar/blob/e9473676f311aac8e9577cb3371ed362418441d9/src/Gettext_PHP.php | src/Gettext_PHP.php | <?php
/*
* Copyright (c) 2009 David Soria Parra
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, copy, modify, me... | php | Apache-2.0 | e9473676f311aac8e9577cb3371ed362418441d9 | 2026-01-05T04:51:20.275579Z | false |
sproctor/php-calendar | https://github.com/sproctor/php-calendar/blob/e9473676f311aac8e9577cb3371ed362418441d9/src/phpcoccurrence.class.php | src/phpcoccurrence.class.php | <?php
/*
* Copyright 2012 Sean Proctor
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or ag... | php | Apache-2.0 | e9473676f311aac8e9577cb3371ed362418441d9 | 2026-01-05T04:51:20.275579Z | false |
leandrocfe/filament-ptbr-form-fields | https://github.com/leandrocfe/filament-ptbr-form-fields/blob/09ecd3b6ce4da148715df46c3161c8544a22316a/src/Money.php | src/Money.php | <?php
namespace Leandrocfe\FilamentPtbrFormFields;
use ArchTech\Money\Currency;
use Closure;
use Filament\Forms\Components\TextInput;
use Illuminate\Support\Str;
use Leandrocfe\FilamentPtbrFormFields\Currencies\BRL;
class Money extends TextInput
{
protected string|int|float|null $initialValue = '0,00';
prot... | php | MIT | 09ecd3b6ce4da148715df46c3161c8544a22316a | 2026-01-05T04:51:28.752482Z | false |
leandrocfe/filament-ptbr-form-fields | https://github.com/leandrocfe/filament-ptbr-form-fields/blob/09ecd3b6ce4da148715df46c3161c8544a22316a/src/FilamentPtbrFormFieldsServiceProvider.php | src/FilamentPtbrFormFieldsServiceProvider.php | <?php
namespace Leandrocfe\FilamentPtbrFormFields;
use Filament\FilamentServiceProvider;
use Filament\Support\Assets\Js;
use Filament\Support\Facades\FilamentAsset;
use Spatie\LaravelPackageTools\Package;
class FilamentPtbrFormFieldsServiceProvider extends FilamentServiceProvider
{
public function packageBooted(... | php | MIT | 09ecd3b6ce4da148715df46c3161c8544a22316a | 2026-01-05T04:51:28.752482Z | false |
leandrocfe/filament-ptbr-form-fields | https://github.com/leandrocfe/filament-ptbr-form-fields/blob/09ecd3b6ce4da148715df46c3161c8544a22316a/src/Cep.php | src/Cep.php | <?php
namespace Leandrocfe\FilamentPtbrFormFields;
use Filament\Forms\Components\TextInput;
use Illuminate\Contracts\Support\Htmlable;
use InvalidArgumentException;
use Leandrocfe\FilamentPtbrFormFields\Concerns\HasCepModes;
use Leandrocfe\FilamentPtbrFormFields\Providers\CepProviderInterface;
use Leandrocfe\Filament... | php | MIT | 09ecd3b6ce4da148715df46c3161c8544a22316a | 2026-01-05T04:51:28.752482Z | false |
leandrocfe/filament-ptbr-form-fields | https://github.com/leandrocfe/filament-ptbr-form-fields/blob/09ecd3b6ce4da148715df46c3161c8544a22316a/src/PtbrCep.php | src/PtbrCep.php | <?php
namespace Leandrocfe\FilamentPtbrFormFields;
use Filament\Actions\Action;
use Filament\Forms\Components\Component;
use Filament\Forms\Components\TextInput;
use Filament\Forms\Set;
use Illuminate\Support\Arr;
use Illuminate\Support\Facades\Http;
use Illuminate\Validation\ValidationException;
use Livewire\Compone... | php | MIT | 09ecd3b6ce4da148715df46c3161c8544a22316a | 2026-01-05T04:51:28.752482Z | false |
leandrocfe/filament-ptbr-form-fields | https://github.com/leandrocfe/filament-ptbr-form-fields/blob/09ecd3b6ce4da148715df46c3161c8544a22316a/src/FilamentPtbrFormFields.php | src/FilamentPtbrFormFields.php | <?php
namespace Leandrocfe\FilamentPtbrFormFields;
class FilamentPtbrFormFields {}
| php | MIT | 09ecd3b6ce4da148715df46c3161c8544a22316a | 2026-01-05T04:51:28.752482Z | false |
leandrocfe/filament-ptbr-form-fields | https://github.com/leandrocfe/filament-ptbr-form-fields/blob/09ecd3b6ce4da148715df46c3161c8544a22316a/src/PtbrPhone.php | src/PtbrPhone.php | <?php
namespace Leandrocfe\FilamentPtbrFormFields;
use Closure;
use Filament\Forms\Components\TextInput;
use Filament\Support\RawJs;
/**
* @deprecated Use `PhoneNumber` instead.
*/
class PtbrPhone extends TextInput
{
protected function setUp(): void
{
$this->dynamic();
}
public function dy... | php | MIT | 09ecd3b6ce4da148715df46c3161c8544a22316a | 2026-01-05T04:51:28.752482Z | false |
leandrocfe/filament-ptbr-form-fields | https://github.com/leandrocfe/filament-ptbr-form-fields/blob/09ecd3b6ce4da148715df46c3161c8544a22316a/src/PhoneNumber.php | src/PhoneNumber.php | <?php
namespace Leandrocfe\FilamentPtbrFormFields;
use Closure;
use Filament\Forms\Components\TextInput;
use Filament\Support\RawJs;
class PhoneNumber extends TextInput
{
protected function setUp(): void
{
$this->dynamic();
}
public function dynamic(bool $condition = true): static
{
... | php | MIT | 09ecd3b6ce4da148715df46c3161c8544a22316a | 2026-01-05T04:51:28.752482Z | false |
leandrocfe/filament-ptbr-form-fields | https://github.com/leandrocfe/filament-ptbr-form-fields/blob/09ecd3b6ce4da148715df46c3161c8544a22316a/src/CepFieldMode.php | src/CepFieldMode.php | <?php
namespace Leandrocfe\FilamentPtbrFormFields;
enum CepFieldMode: string
{
case SUFFIX = 'suffix';
case ON_BLUR = 'on_blur';
}
| php | MIT | 09ecd3b6ce4da148715df46c3161c8544a22316a | 2026-01-05T04:51:28.752482Z | false |
leandrocfe/filament-ptbr-form-fields | https://github.com/leandrocfe/filament-ptbr-form-fields/blob/09ecd3b6ce4da148715df46c3161c8544a22316a/src/PtbrMoney.php | src/PtbrMoney.php | <?php
namespace Leandrocfe\FilamentPtbrFormFields;
use Closure;
use Filament\Forms\Components\TextInput;
use Illuminate\Support\Str;
/**
* @deprecated Use `Money` instead.
*/
class PtbrMoney extends TextInput
{
protected string|int|float|null $initialValue = '0,00';
protected function setUp(): void
{
... | php | MIT | 09ecd3b6ce4da148715df46c3161c8544a22316a | 2026-01-05T04:51:28.752482Z | false |
leandrocfe/filament-ptbr-form-fields | https://github.com/leandrocfe/filament-ptbr-form-fields/blob/09ecd3b6ce4da148715df46c3161c8544a22316a/src/PtbrCpfCnpj.php | src/PtbrCpfCnpj.php | <?php
namespace Leandrocfe\FilamentPtbrFormFields;
use Closure;
use Filament\Forms\Components\TextInput;
use Filament\Support\RawJs;
/**
* @deprecated Use `Document` instead.
*/
class PtbrCpfCnpj extends TextInput
{
protected function setUp(): void
{
$this->dynamic();
}
public function dyn... | php | MIT | 09ecd3b6ce4da148715df46c3161c8544a22316a | 2026-01-05T04:51:28.752482Z | false |
leandrocfe/filament-ptbr-form-fields | https://github.com/leandrocfe/filament-ptbr-form-fields/blob/09ecd3b6ce4da148715df46c3161c8544a22316a/src/Document.php | src/Document.php | <?php
namespace Leandrocfe\FilamentPtbrFormFields;
use Closure;
use Filament\Forms\Components\TextInput;
use Filament\Support\RawJs;
class Document extends TextInput
{
public bool $validation = true;
public function dynamic(bool $condition = true): static
{
if (self::getValidation()) {
... | php | MIT | 09ecd3b6ce4da148715df46c3161c8544a22316a | 2026-01-05T04:51:28.752482Z | false |
leandrocfe/filament-ptbr-form-fields | https://github.com/leandrocfe/filament-ptbr-form-fields/blob/09ecd3b6ce4da148715df46c3161c8544a22316a/src/Facades/FilamentPtbrFormFields.php | src/Facades/FilamentPtbrFormFields.php | <?php
namespace Leandrocfe\FilamentPtbrFormFields\Facades;
use Illuminate\Support\Facades\Facade;
/**
* @see \Leandrocfe\FilamentPtbrFormFields\FilamentPtbrFormFields
*/
class FilamentPtbrFormFields extends Facade
{
protected static function getFacadeAccessor()
{
return \Leandrocfe\FilamentPtbrForm... | php | MIT | 09ecd3b6ce4da148715df46c3161c8544a22316a | 2026-01-05T04:51:28.752482Z | false |
leandrocfe/filament-ptbr-form-fields | https://github.com/leandrocfe/filament-ptbr-form-fields/blob/09ecd3b6ce4da148715df46c3161c8544a22316a/src/Concerns/HasCepModes.php | src/Concerns/HasCepModes.php | <?php
namespace Leandrocfe\FilamentPtbrFormFields\Concerns;
use Filament\Actions\Action;
use Filament\Forms\Components\TextInput;
use Filament\Schemas\Components\Utilities\Set;
use Filament\Support\Icons\Heroicon;
use Leandrocfe\FilamentPtbrFormFields\CepFieldMode;
use Leandrocfe\FilamentPtbrFormFields\Providers\CepP... | php | MIT | 09ecd3b6ce4da148715df46c3161c8544a22316a | 2026-01-05T04:51:28.752482Z | false |
leandrocfe/filament-ptbr-form-fields | https://github.com/leandrocfe/filament-ptbr-form-fields/blob/09ecd3b6ce4da148715df46c3161c8544a22316a/src/Commands/FilamentPtbrFormFieldsCommand.php | src/Commands/FilamentPtbrFormFieldsCommand.php | <?php
namespace Leandrocfe\FilamentPtbrFormFields\Commands;
use Illuminate\Console\Command;
class FilamentPtbrFormFieldsCommand extends Command
{
public $signature = 'filament-ptbr-form-fields';
public $description = 'My command';
public function handle(): int
{
$this->comment('All done');
... | php | MIT | 09ecd3b6ce4da148715df46c3161c8544a22316a | 2026-01-05T04:51:28.752482Z | false |
leandrocfe/filament-ptbr-form-fields | https://github.com/leandrocfe/filament-ptbr-form-fields/blob/09ecd3b6ce4da148715df46c3161c8544a22316a/src/Currencies/USD.php | src/Currencies/USD.php | <?php
declare(strict_types=1);
namespace Leandrocfe\FilamentPtbrFormFields\Currencies;
use ArchTech\Money\Currency;
class USD extends Currency
{
public string $code = 'USD';
public string $name = 'United States Dollar';
public float $rate = 1.0;
public int $mathDecimals = 2;
public int $disp... | php | MIT | 09ecd3b6ce4da148715df46c3161c8544a22316a | 2026-01-05T04:51:28.752482Z | false |
leandrocfe/filament-ptbr-form-fields | https://github.com/leandrocfe/filament-ptbr-form-fields/blob/09ecd3b6ce4da148715df46c3161c8544a22316a/src/Currencies/BRL.php | src/Currencies/BRL.php | <?php
declare(strict_types=1);
namespace Leandrocfe\FilamentPtbrFormFields\Currencies;
use ArchTech\Money\Currency;
class BRL extends Currency
{
public string $code = 'BRL';
public string $name = 'Real Brasileiro';
public float $rate = 1.0;
public int $mathDecimals = 2;
public int $displayDe... | php | MIT | 09ecd3b6ce4da148715df46c3161c8544a22316a | 2026-01-05T04:51:28.752482Z | false |
leandrocfe/filament-ptbr-form-fields | https://github.com/leandrocfe/filament-ptbr-form-fields/blob/09ecd3b6ce4da148715df46c3161c8544a22316a/src/Providers/ViaCepProvider.php | src/Providers/ViaCepProvider.php | <?php
namespace Leandrocfe\FilamentPtbrFormFields\Providers;
use Illuminate\Support\Arr;
use Illuminate\Support\Collection;
use Illuminate\Support\Facades\Http;
use Illuminate\Support\Str;
class ViaCepProvider implements CepProviderInterface
{
protected ?string $url = null;
public function __construct(?stri... | php | MIT | 09ecd3b6ce4da148715df46c3161c8544a22316a | 2026-01-05T04:51:28.752482Z | false |
leandrocfe/filament-ptbr-form-fields | https://github.com/leandrocfe/filament-ptbr-form-fields/blob/09ecd3b6ce4da148715df46c3161c8544a22316a/src/Providers/BrasilApiProvider.php | src/Providers/BrasilApiProvider.php | <?php
namespace Leandrocfe\FilamentPtbrFormFields\Providers;
use Illuminate\Support\Arr;
use Illuminate\Support\Collection;
use Illuminate\Support\Facades\Http;
use Illuminate\Support\Str;
class BrasilApiProvider implements CepProviderInterface
{
protected ?string $url = null;
public function __construct(?s... | php | MIT | 09ecd3b6ce4da148715df46c3161c8544a22316a | 2026-01-05T04:51:28.752482Z | false |
leandrocfe/filament-ptbr-form-fields | https://github.com/leandrocfe/filament-ptbr-form-fields/blob/09ecd3b6ce4da148715df46c3161c8544a22316a/src/Providers/CepProviderInterface.php | src/Providers/CepProviderInterface.php | <?php
namespace Leandrocfe\FilamentPtbrFormFields\Providers;
use Illuminate\Support\Collection;
interface CepProviderInterface
{
public function fetch(string $cep): null|Collection|array;
}
| php | MIT | 09ecd3b6ce4da148715df46c3161c8544a22316a | 2026-01-05T04:51:28.752482Z | false |
leandrocfe/filament-ptbr-form-fields | https://github.com/leandrocfe/filament-ptbr-form-fields/blob/09ecd3b6ce4da148715df46c3161c8544a22316a/tests/Pest.php | tests/Pest.php | <?php
use Leandrocfe\FilamentPtbrFormFields\Tests\TestCase;
uses(TestCase::class)->in(__DIR__);
| php | MIT | 09ecd3b6ce4da148715df46c3161c8544a22316a | 2026-01-05T04:51:28.752482Z | false |
leandrocfe/filament-ptbr-form-fields | https://github.com/leandrocfe/filament-ptbr-form-fields/blob/09ecd3b6ce4da148715df46c3161c8544a22316a/tests/TestCase.php | tests/TestCase.php | <?php
namespace Leandrocfe\FilamentPtbrFormFields\Tests;
use Illuminate\Database\Eloquent\Factories\Factory;
use Leandrocfe\FilamentPtbrFormFields\FilamentPtbrFormFieldsServiceProvider;
use Orchestra\Testbench\TestCase as Orchestra;
class TestCase extends Orchestra
{
protected function setUp(): void
{
... | php | MIT | 09ecd3b6ce4da148715df46c3161c8544a22316a | 2026-01-05T04:51:28.752482Z | false |
leandrocfe/filament-ptbr-form-fields | https://github.com/leandrocfe/filament-ptbr-form-fields/blob/09ecd3b6ce4da148715df46c3161c8544a22316a/tests/ArchTest.php | tests/ArchTest.php | <?php
it('will not use debugging functions')
->expect(['dd', 'dump', 'ray'])
->each->not->toBeUsed();
| php | MIT | 09ecd3b6ce4da148715df46c3161c8544a22316a | 2026-01-05T04:51:28.752482Z | false |
leandrocfe/filament-ptbr-form-fields | https://github.com/leandrocfe/filament-ptbr-form-fields/blob/09ecd3b6ce4da148715df46c3161c8544a22316a/tests/ExampleTest.php | tests/ExampleTest.php | <?php
it('can test', function () {
expect(true)->toBeTrue();
});
| php | MIT | 09ecd3b6ce4da148715df46c3161c8544a22316a | 2026-01-05T04:51:28.752482Z | false |
leandrocfe/filament-ptbr-form-fields | https://github.com/leandrocfe/filament-ptbr-form-fields/blob/09ecd3b6ce4da148715df46c3161c8544a22316a/config/filament-ptbr-form-fields.php | config/filament-ptbr-form-fields.php | <?php
return [
'viacep_url' => env('VIACEP_URL', 'viacep.com.br/ws/'),
'brasilapi_url' => env('BRASILAPI_URL', 'brasilapi.com.br/api/cep/v1/'),
];
| php | MIT | 09ecd3b6ce4da148715df46c3161c8544a22316a | 2026-01-05T04:51:28.752482Z | false |
leandrocfe/filament-ptbr-form-fields | https://github.com/leandrocfe/filament-ptbr-form-fields/blob/09ecd3b6ce4da148715df46c3161c8544a22316a/database/factories/ModelFactory.php | database/factories/ModelFactory.php | <?php
namespace Leandrocfe\FilamentPtbrFormFields\Database\Factories;
use Illuminate\Database\Eloquent\Factories\Factory;
/*
class ModelFactory extends Factory
{
protected $model = YourModel::class;
public function definition()
{
return [
];
}
}
*/
| php | MIT | 09ecd3b6ce4da148715df46c3161c8544a22316a | 2026-01-05T04:51:28.752482Z | false |
ohdearapp/ohdear-cli | https://github.com/ohdearapp/ohdear-cli/blob/b3ddc4c382552c3a43ffb5ef5135577474caf34f/app/helpers.php | app/helpers.php | <?php
declare(strict_types=1);
namespace App;
if (! function_exists('format_dns_type')) {
function format_dns_type(array $dnsRecord): string
{
return match ($dnsRecord['type']) {
'A' => (string) $dnsRecord['ip'],
'AAAA' => (string) $dnsRecord['ipv6'],
'MX' => "{$dn... | php | MIT | b3ddc4c382552c3a43ffb5ef5135577474caf34f | 2026-01-05T04:51:23.368653Z | false |
ohdearapp/ohdear-cli | https://github.com/ohdearapp/ohdear-cli/blob/b3ddc4c382552c3a43ffb5ef5135577474caf34f/app/Exceptions/Handler.php | app/Exceptions/Handler.php | <?php
declare(strict_types=1);
namespace App\Exceptions;
use Illuminate\Foundation\Exceptions\Handler as ExceptionHandler;
use OhDear\PhpSdk\Exceptions\UnauthorizedException;
use Throwable;
use function Termwind\render;
class Handler extends ExceptionHandler
{
public function renderForConsole($output, Throwabl... | php | MIT | b3ddc4c382552c3a43ffb5ef5135577474caf34f | 2026-01-05T04:51:23.368653Z | false |
ohdearapp/ohdear-cli | https://github.com/ohdearapp/ohdear-cli/blob/b3ddc4c382552c3a43ffb5ef5135577474caf34f/app/Commands/BrokenLinkShowCommand.php | app/Commands/BrokenLinkShowCommand.php | <?php
namespace App\Commands;
use App\Commands\Concerns\EnsureHasToken;
use LaravelZero\Framework\Commands\Command;
use OhDear\PhpSdk\Dto\BrokenLink;
use OhDear\PhpSdk\OhDear;
use function Termwind\render;
class BrokenLinkShowCommand extends Command
{
use EnsureHasToken;
/** @var string */
protected $s... | php | MIT | b3ddc4c382552c3a43ffb5ef5135577474caf34f | 2026-01-05T04:51:23.368653Z | false |
ohdearapp/ohdear-cli | https://github.com/ohdearapp/ohdear-cli/blob/b3ddc4c382552c3a43ffb5ef5135577474caf34f/app/Commands/MonitorAddCommand.php | app/Commands/MonitorAddCommand.php | <?php
namespace App\Commands;
use App\Commands\Concerns\EnsureHasToken;
use LaravelZero\Framework\Commands\Command;
use OhDear\PhpSdk\OhDear;
use function Termwind\render;
class MonitorAddCommand extends Command
{
use EnsureHasToken;
/** @var string */
protected $signature = 'monitor:add
... | php | MIT | b3ddc4c382552c3a43ffb5ef5135577474caf34f | 2026-01-05T04:51:23.368653Z | false |
ohdearapp/ohdear-cli | https://github.com/ohdearapp/ohdear-cli/blob/b3ddc4c382552c3a43ffb5ef5135577474caf34f/app/Commands/CronCheckAddCommand.php | app/Commands/CronCheckAddCommand.php | <?php
namespace App\Commands;
use App\Commands\Concerns\EnsureHasToken;
use LaravelZero\Framework\Commands\Command;
use OhDear\PhpSdk\Enums\CronType;
use OhDear\PhpSdk\OhDear;
use function Termwind\render;
class CronCheckAddCommand extends Command
{
use EnsureHasToken;
/** @var string */
protected $sig... | php | MIT | b3ddc4c382552c3a43ffb5ef5135577474caf34f | 2026-01-05T04:51:23.368653Z | false |
ohdearapp/ohdear-cli | https://github.com/ohdearapp/ohdear-cli/blob/b3ddc4c382552c3a43ffb5ef5135577474caf34f/app/Commands/CertificateHealthShowCommand.php | app/Commands/CertificateHealthShowCommand.php | <?php
namespace App\Commands;
use App\Commands\Concerns\EnsureHasToken;
use LaravelZero\Framework\Commands\Command;
use OhDear\PhpSdk\OhDear;
use function Termwind\render;
class CertificateHealthShowCommand extends Command
{
use EnsureHasToken;
/** @var string */
protected $signature = 'certificate-hea... | php | MIT | b3ddc4c382552c3a43ffb5ef5135577474caf34f | 2026-01-05T04:51:23.368653Z | false |
ohdearapp/ohdear-cli | https://github.com/ohdearapp/ohdear-cli/blob/b3ddc4c382552c3a43ffb5ef5135577474caf34f/app/Commands/CronCheckShowCommand.php | app/Commands/CronCheckShowCommand.php | <?php
namespace App\Commands;
use App\Commands\Concerns\EnsureHasToken;
use LaravelZero\Framework\Commands\Command;
use OhDear\PhpSdk\OhDear;
use function Termwind\render;
class CronCheckShowCommand extends Command
{
use EnsureHasToken;
/** @var string */
protected $signature = 'cron-check:show {monito... | php | MIT | b3ddc4c382552c3a43ffb5ef5135577474caf34f | 2026-01-05T04:51:23.368653Z | false |
ohdearapp/ohdear-cli | https://github.com/ohdearapp/ohdear-cli/blob/b3ddc4c382552c3a43ffb5ef5135577474caf34f/app/Commands/MixedContentShowCommand.php | app/Commands/MixedContentShowCommand.php | <?php
namespace App\Commands;
use App\Commands\Concerns\EnsureHasToken;
use LaravelZero\Framework\Commands\Command;
use OhDear\PhpSdk\Dto\MixedContent;
use OhDear\PhpSdk\OhDear;
use function Termwind\render;
class MixedContentShowCommand extends Command
{
use EnsureHasToken;
/** @var string */
protecte... | php | MIT | b3ddc4c382552c3a43ffb5ef5135577474caf34f | 2026-01-05T04:51:23.368653Z | false |
ohdearapp/ohdear-cli | https://github.com/ohdearapp/ohdear-cli/blob/b3ddc4c382552c3a43ffb5ef5135577474caf34f/app/Commands/LighthouseReportListCommand.php | app/Commands/LighthouseReportListCommand.php | <?php
namespace App\Commands;
use App\Commands\Concerns\EnsureHasToken;
use LaravelZero\Framework\Commands\Command;
use OhDear\PhpSdk\OhDear;
use function Termwind\render;
class LighthouseReportListCommand extends Command
{
use EnsureHasToken;
/** @var string */
protected $signature = 'lighthouse-repor... | php | MIT | b3ddc4c382552c3a43ffb5ef5135577474caf34f | 2026-01-05T04:51:23.368653Z | false |
ohdearapp/ohdear-cli | https://github.com/ohdearapp/ohdear-cli/blob/b3ddc4c382552c3a43ffb5ef5135577474caf34f/app/Commands/DowntimeShowCommand.php | app/Commands/DowntimeShowCommand.php | <?php
namespace App\Commands;
use App\Commands\Concerns\EnsureHasToken;
use Carbon\Carbon;
use LaravelZero\Framework\Commands\Command;
use OhDear\PhpSdk\OhDear;
use function Termwind\render;
class DowntimeShowCommand extends Command
{
use EnsureHasToken;
/** @var string */
protected $signature = 'downt... | php | MIT | b3ddc4c382552c3a43ffb5ef5135577474caf34f | 2026-01-05T04:51:23.368653Z | false |
ohdearapp/ohdear-cli | https://github.com/ohdearapp/ohdear-cli/blob/b3ddc4c382552c3a43ffb5ef5135577474caf34f/app/Commands/MaintenancePeriodDeleteCommand.php | app/Commands/MaintenancePeriodDeleteCommand.php | <?php
namespace App\Commands;
use App\Commands\Concerns\EnsureHasToken;
use LaravelZero\Framework\Commands\Command;
use OhDear\PhpSdk\OhDear;
use function Termwind\render;
class MaintenancePeriodDeleteCommand extends Command
{
use EnsureHasToken;
/** @var string */
protected $signature = 'maintenance-p... | php | MIT | b3ddc4c382552c3a43ffb5ef5135577474caf34f | 2026-01-05T04:51:23.368653Z | false |
ohdearapp/ohdear-cli | https://github.com/ohdearapp/ohdear-cli/blob/b3ddc4c382552c3a43ffb5ef5135577474caf34f/app/Commands/StatusPageShowCommand.php | app/Commands/StatusPageShowCommand.php | <?php
namespace App\Commands;
use App\Commands\Concerns\EnsureHasToken;
use LaravelZero\Framework\Commands\Command;
use OhDear\PhpSdk\OhDear;
use function Termwind\render;
class StatusPageShowCommand extends Command
{
use EnsureHasToken;
/** @var string */
protected $signature = 'status-page:show {id :... | php | MIT | b3ddc4c382552c3a43ffb5ef5135577474caf34f | 2026-01-05T04:51:23.368653Z | false |
ohdearapp/ohdear-cli | https://github.com/ohdearapp/ohdear-cli/blob/b3ddc4c382552c3a43ffb5ef5135577474caf34f/app/Commands/DnsHistoryListCommand.php | app/Commands/DnsHistoryListCommand.php | <?php
namespace App\Commands;
use App\Commands\Concerns\EnsureHasToken;
use LaravelZero\Framework\Commands\Command;
use OhDear\PhpSdk\OhDear;
use function Termwind\render;
class DnsHistoryListCommand extends Command
{
use EnsureHasToken;
/** @var string */
protected $signature = 'dns-history:list {moni... | php | MIT | b3ddc4c382552c3a43ffb5ef5135577474caf34f | 2026-01-05T04:51:23.368653Z | false |
ohdearapp/ohdear-cli | https://github.com/ohdearapp/ohdear-cli/blob/b3ddc4c382552c3a43ffb5ef5135577474caf34f/app/Commands/MaintenancePeriodShowCommand.php | app/Commands/MaintenancePeriodShowCommand.php | <?php
namespace App\Commands;
use App\Commands\Concerns\EnsureHasToken;
use LaravelZero\Framework\Commands\Command;
use OhDear\PhpSdk\OhDear;
use function Termwind\render;
class MaintenancePeriodShowCommand extends Command
{
use EnsureHasToken;
/** @var string */
protected $signature = 'maintenance-per... | php | MIT | b3ddc4c382552c3a43ffb5ef5135577474caf34f | 2026-01-05T04:51:23.368653Z | false |
ohdearapp/ohdear-cli | https://github.com/ohdearapp/ohdear-cli/blob/b3ddc4c382552c3a43ffb5ef5135577474caf34f/app/Commands/ApplicationHealthShowCommand.php | app/Commands/ApplicationHealthShowCommand.php | <?php
namespace App\Commands;
use App\Commands\Concerns\EnsureHasToken;
use LaravelZero\Framework\Commands\Command;
use OhDear\PhpSdk\OhDear;
use function Termwind\render;
class ApplicationHealthShowCommand extends Command
{
use EnsureHasToken;
/** @var string */
protected $signature = 'application-hea... | php | MIT | b3ddc4c382552c3a43ffb5ef5135577474caf34f | 2026-01-05T04:51:23.368653Z | false |
ohdearapp/ohdear-cli | https://github.com/ohdearapp/ohdear-cli/blob/b3ddc4c382552c3a43ffb5ef5135577474caf34f/app/Commands/StatusPageUpdateDeleteCommand.php | app/Commands/StatusPageUpdateDeleteCommand.php | <?php
namespace App\Commands;
use App\Commands\Concerns\EnsureHasToken;
use LaravelZero\Framework\Commands\Command;
use OhDear\PhpSdk\OhDear;
use function Termwind\render;
class StatusPageUpdateDeleteCommand extends Command
{
use EnsureHasToken;
/** @var string */
protected $signature = 'status-page-up... | php | MIT | b3ddc4c382552c3a43ffb5ef5135577474caf34f | 2026-01-05T04:51:23.368653Z | false |
ohdearapp/ohdear-cli | https://github.com/ohdearapp/ohdear-cli/blob/b3ddc4c382552c3a43ffb5ef5135577474caf34f/app/Commands/MaintenancePeriodStopCommand.php | app/Commands/MaintenancePeriodStopCommand.php | <?php
namespace App\Commands;
use App\Commands\Concerns\EnsureHasToken;
use LaravelZero\Framework\Commands\Command;
use OhDear\PhpSdk\OhDear;
use function Termwind\render;
class MaintenancePeriodStopCommand extends Command
{
use EnsureHasToken;
/** @var string */
protected $signature = 'maintenance-per... | php | MIT | b3ddc4c382552c3a43ffb5ef5135577474caf34f | 2026-01-05T04:51:23.368653Z | false |
ohdearapp/ohdear-cli | https://github.com/ohdearapp/ohdear-cli/blob/b3ddc4c382552c3a43ffb5ef5135577474caf34f/app/Commands/LighthouseReportShowCommand.php | app/Commands/LighthouseReportShowCommand.php | <?php
namespace App\Commands;
use App\Commands\Concerns\EnsureHasToken;
use LaravelZero\Framework\Commands\Command;
use OhDear\PhpSdk\OhDear;
use function Termwind\render;
class LighthouseReportShowCommand extends Command
{
use EnsureHasToken;
/** @var string */
protected $signature = 'lighthouse-repor... | php | MIT | b3ddc4c382552c3a43ffb5ef5135577474caf34f | 2026-01-05T04:51:23.368653Z | false |
ohdearapp/ohdear-cli | https://github.com/ohdearapp/ohdear-cli/blob/b3ddc4c382552c3a43ffb5ef5135577474caf34f/app/Commands/StatusPageUpdateAddCommand.php | app/Commands/StatusPageUpdateAddCommand.php | <?php
namespace App\Commands;
use App\Commands\Concerns\EnsureHasToken;
use LaravelZero\Framework\Commands\Command;
use OhDear\PhpSdk\OhDear;
use function Termwind\render;
class StatusPageUpdateAddCommand extends Command
{
use EnsureHasToken;
/** @var string */
protected $signature = 'status-page-updat... | php | MIT | b3ddc4c382552c3a43ffb5ef5135577474caf34f | 2026-01-05T04:51:23.368653Z | false |
ohdearapp/ohdear-cli | https://github.com/ohdearapp/ohdear-cli/blob/b3ddc4c382552c3a43ffb5ef5135577474caf34f/app/Commands/CheckRequestRunCommand.php | app/Commands/CheckRequestRunCommand.php | <?php
namespace App\Commands;
use App\Commands\Concerns\EnsureHasToken;
use LaravelZero\Framework\Commands\Command;
use OhDear\PhpSdk\OhDear;
use function Termwind\render;
class CheckRequestRunCommand extends Command
{
use EnsureHasToken;
/** @var string */
protected $signature = 'check:request-run {id... | php | MIT | b3ddc4c382552c3a43ffb5ef5135577474caf34f | 2026-01-05T04:51:23.368653Z | false |
ohdearapp/ohdear-cli | https://github.com/ohdearapp/ohdear-cli/blob/b3ddc4c382552c3a43ffb5ef5135577474caf34f/app/Commands/MaintenancePeriodAddCommand.php | app/Commands/MaintenancePeriodAddCommand.php | <?php
namespace App\Commands;
use App\Commands\Concerns\EnsureHasToken;
use LaravelZero\Framework\Commands\Command;
use OhDear\PhpSdk\OhDear;
use function Termwind\render;
class MaintenancePeriodAddCommand extends Command
{
use EnsureHasToken;
/** @var string */
protected $signature = 'maintenance-peri... | php | MIT | b3ddc4c382552c3a43ffb5ef5135577474caf34f | 2026-01-05T04:51:23.368653Z | false |
ohdearapp/ohdear-cli | https://github.com/ohdearapp/ohdear-cli/blob/b3ddc4c382552c3a43ffb5ef5135577474caf34f/app/Commands/CheckDisableCommand.php | app/Commands/CheckDisableCommand.php | <?php
namespace App\Commands;
use App\Commands\Concerns\EnsureHasToken;
use LaravelZero\Framework\Commands\Command;
use OhDear\PhpSdk\OhDear;
use function Termwind\render;
class CheckDisableCommand extends Command
{
use EnsureHasToken;
/** @var string */
protected $signature = 'check:disable {id : The ... | php | MIT | b3ddc4c382552c3a43ffb5ef5135577474caf34f | 2026-01-05T04:51:23.368653Z | false |
ohdearapp/ohdear-cli | https://github.com/ohdearapp/ohdear-cli/blob/b3ddc4c382552c3a43ffb5ef5135577474caf34f/app/Commands/MonitorShowCommand.php | app/Commands/MonitorShowCommand.php | <?php
namespace App\Commands;
use App\Commands\Concerns\EnsureHasToken;
use LaravelZero\Framework\Commands\Command;
use OhDear\PhpSdk\OhDear;
use function Termwind\render;
class MonitorShowCommand extends Command
{
use EnsureHasToken;
/** @var string */
protected $signature = 'monitor:show {id : The id... | php | MIT | b3ddc4c382552c3a43ffb5ef5135577474caf34f | 2026-01-05T04:51:23.368653Z | false |
ohdearapp/ohdear-cli | https://github.com/ohdearapp/ohdear-cli/blob/b3ddc4c382552c3a43ffb5ef5135577474caf34f/app/Commands/StatusPageUpdateListCommand.php | app/Commands/StatusPageUpdateListCommand.php | <?php
namespace App\Commands;
use App\Commands\Concerns\EnsureHasToken;
use LaravelZero\Framework\Commands\Command;
use OhDear\PhpSdk\OhDear;
use function Termwind\render;
class StatusPageUpdateListCommand extends Command
{
use EnsureHasToken;
/** @var string */
protected $signature = 'status-page-upda... | php | MIT | b3ddc4c382552c3a43ffb5ef5135577474caf34f | 2026-01-05T04:51:23.368653Z | false |
ohdearapp/ohdear-cli | https://github.com/ohdearapp/ohdear-cli/blob/b3ddc4c382552c3a43ffb5ef5135577474caf34f/app/Commands/CronCheckDeleteCommand.php | app/Commands/CronCheckDeleteCommand.php | <?php
namespace App\Commands;
use App\Commands\Concerns\EnsureHasToken;
use LaravelZero\Framework\Commands\Command;
use OhDear\PhpSdk\OhDear;
use function Termwind\render;
class CronCheckDeleteCommand extends Command
{
use EnsureHasToken;
/** @var string */
protected $signature = 'cron-check:delete
... | php | MIT | b3ddc4c382552c3a43ffb5ef5135577474caf34f | 2026-01-05T04:51:23.368653Z | false |
ohdearapp/ohdear-cli | https://github.com/ohdearapp/ohdear-cli/blob/b3ddc4c382552c3a43ffb5ef5135577474caf34f/app/Commands/StatusPageListCommand.php | app/Commands/StatusPageListCommand.php | <?php
namespace App\Commands;
use App\Commands\Concerns\EnsureHasToken;
use LaravelZero\Framework\Commands\Command;
use OhDear\PhpSdk\OhDear;
use function Termwind\render;
class StatusPageListCommand extends Command
{
use EnsureHasToken;
/** @var string */
protected $signature = 'status-page:list';
... | php | MIT | b3ddc4c382552c3a43ffb5ef5135577474caf34f | 2026-01-05T04:51:23.368653Z | false |
ohdearapp/ohdear-cli | https://github.com/ohdearapp/ohdear-cli/blob/b3ddc4c382552c3a43ffb5ef5135577474caf34f/app/Commands/DnsHistoryShowCommand.php | app/Commands/DnsHistoryShowCommand.php | <?php
namespace App\Commands;
use App\Commands\Concerns\EnsureHasToken;
use LaravelZero\Framework\Commands\Command;
use OhDear\PhpSdk\OhDear;
use function Termwind\render;
class DnsHistoryShowCommand extends Command
{
use EnsureHasToken;
/** @var string */
protected $signature = 'dns-history:show {moni... | php | MIT | b3ddc4c382552c3a43ffb5ef5135577474caf34f | 2026-01-05T04:51:23.368653Z | false |
ohdearapp/ohdear-cli | https://github.com/ohdearapp/ohdear-cli/blob/b3ddc4c382552c3a43ffb5ef5135577474caf34f/app/Commands/MonitorListCommand.php | app/Commands/MonitorListCommand.php | <?php
namespace App\Commands;
use App\Commands\Concerns\EnsureHasToken;
use LaravelZero\Framework\Commands\Command;
use OhDear\PhpSdk\OhDear;
use function Termwind\render;
class MonitorListCommand extends Command
{
use EnsureHasToken;
/** @var string */
protected $signature = 'monitor:list';
/** @... | php | MIT | b3ddc4c382552c3a43ffb5ef5135577474caf34f | 2026-01-05T04:51:23.368653Z | false |
ohdearapp/ohdear-cli | https://github.com/ohdearapp/ohdear-cli/blob/b3ddc4c382552c3a43ffb5ef5135577474caf34f/app/Commands/CheckShowCommand.php | app/Commands/CheckShowCommand.php | <?php
namespace App\Commands;
use App\Commands\Concerns\EnsureHasToken;
use LaravelZero\Framework\Commands\Command;
use OhDear\PhpSdk\OhDear;
use function Termwind\render;
class CheckShowCommand extends Command
{
use EnsureHasToken;
/** @var string */
protected $signature = 'check:show {monitor-id : Th... | php | MIT | b3ddc4c382552c3a43ffb5ef5135577474caf34f | 2026-01-05T04:51:23.368653Z | false |
ohdearapp/ohdear-cli | https://github.com/ohdearapp/ohdear-cli/blob/b3ddc4c382552c3a43ffb5ef5135577474caf34f/app/Commands/MeCommand.php | app/Commands/MeCommand.php | <?php
namespace App\Commands;
use App\Commands\Concerns\EnsureHasToken;
use LaravelZero\Framework\Commands\Command;
use OhDear\PhpSdk\OhDear;
use function Termwind\render;
class MeCommand extends Command
{
use EnsureHasToken;
/** @var string */
protected $signature = 'me';
/** @var string */
p... | php | MIT | b3ddc4c382552c3a43ffb5ef5135577474caf34f | 2026-01-05T04:51:23.368653Z | false |
ohdearapp/ohdear-cli | https://github.com/ohdearapp/ohdear-cli/blob/b3ddc4c382552c3a43ffb5ef5135577474caf34f/app/Commands/UptimeShowCommand.php | app/Commands/UptimeShowCommand.php | <?php
namespace App\Commands;
use App\Commands\Concerns\EnsureHasToken;
use Carbon\Carbon;
use LaravelZero\Framework\Commands\Command;
use OhDear\PhpSdk\Enums\UptimeSplit;
use OhDear\PhpSdk\OhDear;
use function Termwind\render;
class UptimeShowCommand extends Command
{
use EnsureHasToken;
/** @var string *... | php | MIT | b3ddc4c382552c3a43ffb5ef5135577474caf34f | 2026-01-05T04:51:23.368653Z | false |
ohdearapp/ohdear-cli | https://github.com/ohdearapp/ohdear-cli/blob/b3ddc4c382552c3a43ffb5ef5135577474caf34f/app/Commands/MaintenancePeriodStartCommand.php | app/Commands/MaintenancePeriodStartCommand.php | <?php
namespace App\Commands;
use App\Commands\Concerns\EnsureHasToken;
use LaravelZero\Framework\Commands\Command;
use OhDear\PhpSdk\OhDear;
use function Termwind\render;
class MaintenancePeriodStartCommand extends Command
{
use EnsureHasToken;
/** @var string */
protected $signature = 'maintenance-pe... | php | MIT | b3ddc4c382552c3a43ffb5ef5135577474caf34f | 2026-01-05T04:51:23.368653Z | false |
ohdearapp/ohdear-cli | https://github.com/ohdearapp/ohdear-cli/blob/b3ddc4c382552c3a43ffb5ef5135577474caf34f/app/Commands/CheckEnableCommand.php | app/Commands/CheckEnableCommand.php | <?php
namespace App\Commands;
use App\Commands\Concerns\EnsureHasToken;
use LaravelZero\Framework\Commands\Command;
use OhDear\PhpSdk\OhDear;
use function Termwind\render;
class CheckEnableCommand extends Command
{
use EnsureHasToken;
/** @var string */
protected $signature = 'check:enable {id : The id... | php | MIT | b3ddc4c382552c3a43ffb5ef5135577474caf34f | 2026-01-05T04:51:23.368653Z | false |
ohdearapp/ohdear-cli | https://github.com/ohdearapp/ohdear-cli/blob/b3ddc4c382552c3a43ffb5ef5135577474caf34f/app/Commands/Concerns/HasUsefulConsoleMethods.php | app/Commands/Concerns/HasUsefulConsoleMethods.php | <?php
declare(strict_types=1);
namespace App\Commands\Concerns;
use Illuminate\Console\Command;
use function Termwind\render;
/**
* @mixin Command
*/
trait HasUsefulConsoleMethods
{
private function success(string $message): self
{
render("
<div class='mx-2 px-2 py-1 bg-green-500 font-bol... | php | MIT | b3ddc4c382552c3a43ffb5ef5135577474caf34f | 2026-01-05T04:51:23.368653Z | false |
ohdearapp/ohdear-cli | https://github.com/ohdearapp/ohdear-cli/blob/b3ddc4c382552c3a43ffb5ef5135577474caf34f/app/Commands/Concerns/EnsureHasToken.php | app/Commands/Concerns/EnsureHasToken.php | <?php
namespace App\Commands\Concerns;
use function Termwind\render;
trait EnsureHasToken
{
protected function hasToken(): bool
{
return config('settings.ohdear_api_token') !== null && config('settings.ohdear_api_token') !== '';
}
protected function ensureHasToken(): bool
{
if (!... | php | MIT | b3ddc4c382552c3a43ffb5ef5135577474caf34f | 2026-01-05T04:51:23.368653Z | false |
ohdearapp/ohdear-cli | https://github.com/ohdearapp/ohdear-cli/blob/b3ddc4c382552c3a43ffb5ef5135577474caf34f/app/Providers/AppServiceProvider.php | app/Providers/AppServiceProvider.php | <?php
namespace App\Providers;
use Illuminate\Support\ServiceProvider;
use OhDear\PhpSdk\OhDear;
class AppServiceProvider extends ServiceProvider
{
public function boot(): void
{
$this->app->singleton(OhDear::class, function () {
return new OhDear(config('settings.ohdear_api_token') ?? ''... | php | MIT | b3ddc4c382552c3a43ffb5ef5135577474caf34f | 2026-01-05T04:51:23.368653Z | false |
ohdearapp/ohdear-cli | https://github.com/ohdearapp/ohdear-cli/blob/b3ddc4c382552c3a43ffb5ef5135577474caf34f/bootstrap/app.php | bootstrap/app.php | <?php
/*
|--------------------------------------------------------------------------
| Create The Application
|--------------------------------------------------------------------------
|
| The first thing we will do is create a new Laravel application instance
| which serves as the "glue" for all the components of La... | php | MIT | b3ddc4c382552c3a43ffb5ef5135577474caf34f | 2026-01-05T04:51:23.368653Z | false |
ohdearapp/ohdear-cli | https://github.com/ohdearapp/ohdear-cli/blob/b3ddc4c382552c3a43ffb5ef5135577474caf34f/config/commands.php | config/commands.php | <?php
return [
/*
|--------------------------------------------------------------------------
| Default Command
|--------------------------------------------------------------------------
|
| Laravel Zero will always run the command specified below when no command name is
| provided. Consi... | php | MIT | b3ddc4c382552c3a43ffb5ef5135577474caf34f | 2026-01-05T04:51:23.368653Z | false |
ohdearapp/ohdear-cli | https://github.com/ohdearapp/ohdear-cli/blob/b3ddc4c382552c3a43ffb5ef5135577474caf34f/config/app.php | config/app.php | <?php
return [
/*
|--------------------------------------------------------------------------
| Application Name
|--------------------------------------------------------------------------
|
| This value is the name of your application. This value is used when the
| framework needs to plac... | php | MIT | b3ddc4c382552c3a43ffb5ef5135577474caf34f | 2026-01-05T04:51:23.368653Z | false |
ohdearapp/ohdear-cli | https://github.com/ohdearapp/ohdear-cli/blob/b3ddc4c382552c3a43ffb5ef5135577474caf34f/config/view.php | config/view.php | <?php
return [
'paths' => [
resource_path('views'),
],
'compiled' => sys_get_temp_dir(),
];
| php | MIT | b3ddc4c382552c3a43ffb5ef5135577474caf34f | 2026-01-05T04:51:23.368653Z | false |
ohdearapp/ohdear-cli | https://github.com/ohdearapp/ohdear-cli/blob/b3ddc4c382552c3a43ffb5ef5135577474caf34f/config/settings.php | config/settings.php | <?php
return [
/*
|--------------------------------------------------------------------------
| Oh Dear API Token
|--------------------------------------------------------------------------
|
| An Oh Dear API token.
|
| Learn how to get an API token at the Oh Dear docs.
| https://o... | php | MIT | b3ddc4c382552c3a43ffb5ef5135577474caf34f | 2026-01-05T04:51:23.368653Z | false |
ohdearapp/ohdear-cli | https://github.com/ohdearapp/ohdear-cli/blob/b3ddc4c382552c3a43ffb5ef5135577474caf34f/resources/views/status-page-update-list.blade.php | resources/views/status-page-update-list.blade.php | @php /** @var list<array<string, mixed>> $statusPageUpdates */ @endphp
<x-layouts.app>
<table style="box">
<thead>
<tr>
<th>ID</th>
<th>Name</th>
<th>Severity</th>
<th>Text</th>
<th>Pinned</th>
<th>Ti... | php | MIT | b3ddc4c382552c3a43ffb5ef5135577474caf34f | 2026-01-05T04:51:23.368653Z | false |
ohdearapp/ohdear-cli | https://github.com/ohdearapp/ohdear-cli/blob/b3ddc4c382552c3a43ffb5ef5135577474caf34f/resources/views/status-page-update-show.blade.php | resources/views/status-page-update-show.blade.php | @php /** @var OhDear\PhpSdk\Dto\StatusPageUpdate $statusPageUpdate */ @endphp
<x-layouts.app>
<div>
<span class="font-bold text-gray block">ID:</span> {{ $statusPageUpdate->id }}
<span class="font-bold text-gray block">Title:</span> {{ $statusPageUpdate->title }}
<span class="font-bold text-... | php | MIT | b3ddc4c382552c3a43ffb5ef5135577474caf34f | 2026-01-05T04:51:23.368653Z | false |
ohdearapp/ohdear-cli | https://github.com/ohdearapp/ohdear-cli/blob/b3ddc4c382552c3a43ffb5ef5135577474caf34f/resources/views/cron-check-show.blade.php | resources/views/cron-check-show.blade.php | @php /** @var list<OhDear\PhpSdk\Dto\CronCheckDefinition> $cronChecks */ @endphp
<x-layouts.app>
<div class="underline">Cron Checks:</div>
<ul>
@forelse($cronChecks as $cronCheck)
<li>
<span class="font-bold text-gray">{{ $cronCheck->name }}</span> (schedule: {{ $cronCheck->... | php | MIT | b3ddc4c382552c3a43ffb5ef5135577474caf34f | 2026-01-05T04:51:23.368653Z | false |
ohdearapp/ohdear-cli | https://github.com/ohdearapp/ohdear-cli/blob/b3ddc4c382552c3a43ffb5ef5135577474caf34f/resources/views/broken-link-show.blade.php | resources/views/broken-link-show.blade.php | @php /** @var array<string, list<OhDear\PhpSdk\Dto\BrokenLink>> $brokenLinkList */ @endphp
<x-layouts.app>
@forelse($brokenLinkList as $foundOnUrl => $brokenLinks)
<div>
<div class="underline mt-1">{{ $foundOnUrl }}</div>
<ul>
@forelse ($brokenLinks as $brokenLink)
... | php | MIT | b3ddc4c382552c3a43ffb5ef5135577474caf34f | 2026-01-05T04:51:23.368653Z | false |
ohdearapp/ohdear-cli | https://github.com/ohdearapp/ohdear-cli/blob/b3ddc4c382552c3a43ffb5ef5135577474caf34f/resources/views/lighthouse-report-list.blade.php | resources/views/lighthouse-report-list.blade.php | @php /** @var list<OhDear\PhpSdk\Dto\LighthouseReport> $lighthouseReports */ @endphp
<x-layouts.app>
<table style="box">
<thead>
<tr>
<th>ID</th>
<th>P</th>
<th>A</th>
<th>BP</th>
<th>SEO</th>
<th>PWA... | php | MIT | b3ddc4c382552c3a43ffb5ef5135577474caf34f | 2026-01-05T04:51:23.368653Z | false |
ohdearapp/ohdear-cli | https://github.com/ohdearapp/ohdear-cli/blob/b3ddc4c382552c3a43ffb5ef5135577474caf34f/resources/views/unauthorised.blade.php | resources/views/unauthorised.blade.php | <x-layouts.app>
<div class="text-red-500">
<span>Unauthorised</span>
</div>
<p class="mt-1">
Please set the <span class="font-bold">OHDEAR_API_TOKEN</span> environment variable to your <a href="https://ohdear.app/user/api-tokens">Oh Dear API token</a>.
</p>
</x-layouts.app>
| php | MIT | b3ddc4c382552c3a43ffb5ef5135577474caf34f | 2026-01-05T04:51:23.368653Z | false |
ohdearapp/ohdear-cli | https://github.com/ohdearapp/ohdear-cli/blob/b3ddc4c382552c3a43ffb5ef5135577474caf34f/resources/views/status-page-show.blade.php | resources/views/status-page-show.blade.php | @php /** @var OhDear\PhpSdk\Dto\StatusPage $statusPage */ @endphp
<x-layouts.app>
<div>
<span class="font-bold text-gray block">ID:</span> {{ $statusPage->id }}
<span class="font-bold text-gray block">Name:</span> {{ $statusPage->title }}
<span class="font-bold text-gray block">URL:</span> {... | php | MIT | b3ddc4c382552c3a43ffb5ef5135577474caf34f | 2026-01-05T04:51:23.368653Z | false |
ohdearapp/ohdear-cli | https://github.com/ohdearapp/ohdear-cli/blob/b3ddc4c382552c3a43ffb5ef5135577474caf34f/resources/views/status-page-list.blade.php | resources/views/status-page-list.blade.php | @php /** @var list<OhDear\PhpSdk\Dto\StatusPage> $statusPage */ @endphp
<x-layouts.app>
<table style="box">
<thead>
<tr>
<th>ID</th>
<th>Name</th>
<th>Status Summary</th>
<th>Monitors</th>
</tr>
</thead>
... | php | MIT | b3ddc4c382552c3a43ffb5ef5135577474caf34f | 2026-01-05T04:51:23.368653Z | false |
ohdearapp/ohdear-cli | https://github.com/ohdearapp/ohdear-cli/blob/b3ddc4c382552c3a43ffb5ef5135577474caf34f/resources/views/lighthouse-report-show.blade.php | resources/views/lighthouse-report-show.blade.php | @php /** @var OhDear\PhpSdk\Dto\LighthouseReport $lighthouseReport */ @endphp
<x-layouts.app>
<div>
<span class="font-bold text-gray block">ID:</span> {{ $lighthouseReport->id }}
<span class="font-bold text-gray block">Performed on Server:</span> {{ $lighthouseReport->performedOnCheckerServer }}
... | php | MIT | b3ddc4c382552c3a43ffb5ef5135577474caf34f | 2026-01-05T04:51:23.368653Z | false |
ohdearapp/ohdear-cli | https://github.com/ohdearapp/ohdear-cli/blob/b3ddc4c382552c3a43ffb5ef5135577474caf34f/resources/views/uptime-show.blade.php | resources/views/uptime-show.blade.php | @php /** @var list<OhDear\PhpSdk\Dto\Uptime> $uptime */ @endphp
<x-layouts.app>
<div class="underline">Uptime:</div>
<ul>
@forelse ($uptime as $entry)
<li>
<span class="font-bold text-gray">{{ $entry->datetime }}</span> ({{ $entry->uptimePercentage }}%)
</li>
... | php | MIT | b3ddc4c382552c3a43ffb5ef5135577474caf34f | 2026-01-05T04:51:23.368653Z | false |
ohdearapp/ohdear-cli | https://github.com/ohdearapp/ohdear-cli/blob/b3ddc4c382552c3a43ffb5ef5135577474caf34f/resources/views/notice.blade.php | resources/views/notice.blade.php | <x-layouts.app>
<span>{{ $notice }}</span>
</x-layouts.app>
| php | MIT | b3ddc4c382552c3a43ffb5ef5135577474caf34f | 2026-01-05T04:51:23.368653Z | false |
ohdearapp/ohdear-cli | https://github.com/ohdearapp/ohdear-cli/blob/b3ddc4c382552c3a43ffb5ef5135577474caf34f/resources/views/downtime-show.blade.php | resources/views/downtime-show.blade.php | @php /** @var list<OhDear\PhpSdk\Dto\DowntimePeriod> $downtime */ @endphp
<x-layouts.app>
<div class="underline">Downtime:</div>
<ul>
@forelse($downtime as $entry)
<li>
<span class="font-bold text-gray">{{ $entry->startedAt }}</span> to {{ $cronCheck->endedAt ?? 'ongoing' }}... | php | MIT | b3ddc4c382552c3a43ffb5ef5135577474caf34f | 2026-01-05T04:51:23.368653Z | false |
ohdearapp/ohdear-cli | https://github.com/ohdearapp/ohdear-cli/blob/b3ddc4c382552c3a43ffb5ef5135577474caf34f/resources/views/dns-history-show.blade.php | resources/views/dns-history-show.blade.php | @php /** @var OhDear\PhpSdk\Dto\DnsHistoryItem $dnsHistoryItem */ @endphp
<x-layouts.app>
<div>
<span class="font-bold text-gray block">ID:</span> {{ $dnsHistoryItem->id }}
<span class="font-bold text-gray block">Status Summary:</span> {{ $dnsHistoryItem->diffSummary }}
<span class="font-bol... | php | MIT | b3ddc4c382552c3a43ffb5ef5135577474caf34f | 2026-01-05T04:51:23.368653Z | false |
ohdearapp/ohdear-cli | https://github.com/ohdearapp/ohdear-cli/blob/b3ddc4c382552c3a43ffb5ef5135577474caf34f/resources/views/dns-history-list.blade.php | resources/views/dns-history-list.blade.php | @php /** @var list<OhDear\PhpSdk\Dto\DnsHistoryItem> $dnsHistoryItems */ @endphp
<x-layouts.app>
<table style="box">
<thead>
<tr>
<th>ID</th>
<th>Difference Summary</th>
<th>Created</th>
</tr>
</thead>
@forelse($dnsHisto... | php | MIT | b3ddc4c382552c3a43ffb5ef5135577474caf34f | 2026-01-05T04:51:23.368653Z | false |
ohdearapp/ohdear-cli | https://github.com/ohdearapp/ohdear-cli/blob/b3ddc4c382552c3a43ffb5ef5135577474caf34f/resources/views/mixed-content-show.blade.php | resources/views/mixed-content-show.blade.php | @php /** @var array<string, list<OhDear\PhpSdk\Dto\MixedContent>> $mixedContentList */ @endphp
<x-layouts.app>
@forelse($mixedContentList as $foundOnUrl => $mixedContents)
<div>
<div class="underline mt-1">{{ $foundOnUrl }}</div>
<ul>
@forelse ($mixedContents as $mix... | php | MIT | b3ddc4c382552c3a43ffb5ef5135577474caf34f | 2026-01-05T04:51:23.368653Z | false |
ohdearapp/ohdear-cli | https://github.com/ohdearapp/ohdear-cli/blob/b3ddc4c382552c3a43ffb5ef5135577474caf34f/resources/views/me.blade.php | resources/views/me.blade.php | @php /** @var OhDear\PhpSdk\Dto\User $user */ @endphp
<x-layouts.app>
<div>
<span class="font-bold text-gray block">ID:</span> {{ $user->id }}
<span class="font-bold text-gray block">Name:</span> {{ $user->name }}
<span class="font-bold text-gray block">Email:</span> {{ $user->email }}
<... | php | MIT | b3ddc4c382552c3a43ffb5ef5135577474caf34f | 2026-01-05T04:51:23.368653Z | false |
ohdearapp/ohdear-cli | https://github.com/ohdearapp/ohdear-cli/blob/b3ddc4c382552c3a43ffb5ef5135577474caf34f/resources/views/monitor-show.blade.php | resources/views/monitor-show.blade.php | @php /** @var OhDear\PhpSdk\Dto\Monitor $monitor */ @endphp
<x-layouts.app>
<div>
<span class="font-bold text-gray block">ID:</span> {{ $monitor->id }}
<span class="font-bold text-gray block">URL:</span> {{ $monitor->url }}
<span class="font-bold text-gray block">Status Summary:</span> {{ $m... | php | MIT | b3ddc4c382552c3a43ffb5ef5135577474caf34f | 2026-01-05T04:51:23.368653Z | false |
ohdearapp/ohdear-cli | https://github.com/ohdearapp/ohdear-cli/blob/b3ddc4c382552c3a43ffb5ef5135577474caf34f/resources/views/maintenance-period-show.blade.php | resources/views/maintenance-period-show.blade.php | @php /** @var list<OhDear\PhpSdk\Dto\MaintenancePeriod> $maintenancePeriods */ @endphp
<x-layouts.app>
<div class="underline">Maintenance Periods:</div>
<ul>
@forelse($maintenancePeriods as $maintenancePeriod)
<li>
<span class="font-bold text-gray">{{ $maintenancePeriod->id ... | php | MIT | b3ddc4c382552c3a43ffb5ef5135577474caf34f | 2026-01-05T04:51:23.368653Z | false |
ohdearapp/ohdear-cli | https://github.com/ohdearapp/ohdear-cli/blob/b3ddc4c382552c3a43ffb5ef5135577474caf34f/resources/views/monitor-list.blade.php | resources/views/monitor-list.blade.php | @php /** @var list<OhDear\PhpSdk\Dto\Monitor> $monitors */ @endphp
<x-layouts.app>
<table style="box">
<thead>
<tr>
<th>ID</th>
<th>URL</th>
<th>Status Summary</th>
<th>Last Checked</th>
</tr>
</thead>
@f... | php | MIT | b3ddc4c382552c3a43ffb5ef5135577474caf34f | 2026-01-05T04:51:23.368653Z | false |
ohdearapp/ohdear-cli | https://github.com/ohdearapp/ohdear-cli/blob/b3ddc4c382552c3a43ffb5ef5135577474caf34f/resources/views/application-health-show.blade.php | resources/views/application-health-show.blade.php | @php /** @var list<OhDear\PhpSdk\Dto\ApplicationHealthCheck> $applicationHealthChecks */ @endphp
<x-layouts.app>
<div class="underline mt-1">Application Health:</div>
<ul>
@forelse ($applicationHealthChecks as $check)
<li>
<span class="font-bold text-gray">{{ $check->label }... | php | MIT | b3ddc4c382552c3a43ffb5ef5135577474caf34f | 2026-01-05T04:51:23.368653Z | false |
ohdearapp/ohdear-cli | https://github.com/ohdearapp/ohdear-cli/blob/b3ddc4c382552c3a43ffb5ef5135577474caf34f/resources/views/check-show.blade.php | resources/views/check-show.blade.php | @php /** @var list<OhDear\PhpSdk\Dto\Check> $checks */ @endphp
<x-layouts.app>
<table style="box">
<thead>
<tr>
<th>ID</th>
<th>Name</th>
<th>Type</th>
<th>Enabled</th>
</tr>
</thead>
@forelse($checks as ... | php | MIT | b3ddc4c382552c3a43ffb5ef5135577474caf34f | 2026-01-05T04:51:23.368653Z | false |
ohdearapp/ohdear-cli | https://github.com/ohdearapp/ohdear-cli/blob/b3ddc4c382552c3a43ffb5ef5135577474caf34f/resources/views/certificate-health-show.blade.php | resources/views/certificate-health-show.blade.php | @php /** @var OhDear\PhpSdk\Dto\CertificateHealth $certificateHealth */ @endphp
<x-layouts.app>
<div>
<span class="underline">Certificate Details</span>
<span class="font-bold text-gray block">Issuer:</span> {{ $certificateHealth->certificateDetails['issuer'] }}
<span
class="font... | php | MIT | b3ddc4c382552c3a43ffb5ef5135577474caf34f | 2026-01-05T04:51:23.368653Z | false |
ohdearapp/ohdear-cli | https://github.com/ohdearapp/ohdear-cli/blob/b3ddc4c382552c3a43ffb5ef5135577474caf34f/resources/views/components/layouts/app.blade.php | resources/views/components/layouts/app.blade.php | <div {{ $attributes->merge(['class' => 'ml-2 my-1']) }}>
{{ $slot }}
</div>
| php | MIT | b3ddc4c382552c3a43ffb5ef5135577474caf34f | 2026-01-05T04:51:23.368653Z | false |
SiavashBamshadnia/Laravel-Query-Enrich | https://github.com/SiavashBamshadnia/Laravel-Query-Enrich/blob/bafb849ed83b7c816d9a94a0d71651821db780a0/workbench/app/Enums/BookPrice.php | workbench/app/Enums/BookPrice.php | <?php
namespace Workbench\App\Enums;
/**
* An example enum showing values in uppercase, lowercase, and mixed case.
*/
enum BookPrice: string
{
case EXPENSIVE = 'expensive';
case CHEAP = 'CHEAP';
case Affordable = 'Affordable';
}
| php | MIT | bafb849ed83b7c816d9a94a0d71651821db780a0 | 2026-01-05T04:51:45.342665Z | false |
SiavashBamshadnia/Laravel-Query-Enrich | https://github.com/SiavashBamshadnia/Laravel-Query-Enrich/blob/bafb849ed83b7c816d9a94a0d71651821db780a0/workbench/app/Models/Author.php | workbench/app/Models/Author.php | <?php
namespace Workbench\App\Models;
use Illuminate\Database\Eloquent\Concerns\HasTimestamps;
use Illuminate\Database\Eloquent\Model;
class Author extends Model
{
use HasTimestamps;
protected $guarded = [];
public function books()
{
return $this->hasMany(Book::class);
}
}
| php | MIT | bafb849ed83b7c816d9a94a0d71651821db780a0 | 2026-01-05T04:51:45.342665Z | false |
SiavashBamshadnia/Laravel-Query-Enrich | https://github.com/SiavashBamshadnia/Laravel-Query-Enrich/blob/bafb849ed83b7c816d9a94a0d71651821db780a0/workbench/app/Models/Book.php | workbench/app/Models/Book.php | <?php
namespace Workbench\App\Models;
use Illuminate\Database\Eloquent\Concerns\HasTimestamps;
use Illuminate\Database\Eloquent\Model;
class Book extends Model
{
use HasTimestamps;
protected $guarded = [];
public function author()
{
return $this->belongsTo(Author::class);
}
}
| php | MIT | bafb849ed83b7c816d9a94a0d71651821db780a0 | 2026-01-05T04:51:45.342665Z | false |
SiavashBamshadnia/Laravel-Query-Enrich | https://github.com/SiavashBamshadnia/Laravel-Query-Enrich/blob/bafb849ed83b7c816d9a94a0d71651821db780a0/workbench/app/Providers/WorkbenchServiceProvider.php | workbench/app/Providers/WorkbenchServiceProvider.php | <?php
namespace Workbench\App\Providers;
use Illuminate\Support\ServiceProvider;
class WorkbenchServiceProvider extends ServiceProvider
{
/**
* Register services.
*/
public function register(): void
{
//
}
/**
* Bootstrap services.
*/
public function boot(): void
... | php | MIT | bafb849ed83b7c816d9a94a0d71651821db780a0 | 2026-01-05T04:51:45.342665Z | false |
SiavashBamshadnia/Laravel-Query-Enrich | https://github.com/SiavashBamshadnia/Laravel-Query-Enrich/blob/bafb849ed83b7c816d9a94a0d71651821db780a0/workbench/BaseTest/BaseTest.php | workbench/BaseTest/BaseTest.php | <?php
namespace Workbench\BaseTest;
use Illuminate\Contracts\Config\Repository;
use Illuminate\Foundation\Testing\WithFaker;
use Illuminate\Support\Facades\DB;
use Orchestra\Testbench\TestCase;
use function Orchestra\Testbench\workbench_path;
abstract class BaseTest extends TestCase
{
use WithFaker;
protec... | php | MIT | bafb849ed83b7c816d9a94a0d71651821db780a0 | 2026-01-05T04:51:45.342665Z | false |
SiavashBamshadnia/Laravel-Query-Enrich | https://github.com/SiavashBamshadnia/Laravel-Query-Enrich/blob/bafb849ed83b7c816d9a94a0d71651821db780a0/workbench/BaseTest/BaseProjectionTest.php | workbench/BaseTest/BaseProjectionTest.php | <?php
namespace Workbench\BaseTest;
use DateTime;
use Illuminate\Database\QueryException;
use Illuminate\Support\Carbon;
use Illuminate\Support\Facades\DB;
use Illuminate\Support\Str;
use sbamtr\LaravelQueryEnrich\Date\Unit;
use sbamtr\LaravelQueryEnrich\Exception\InvalidArgumentException;
use sbamtr\LaravelQueryEnri... | php | MIT | bafb849ed83b7c816d9a94a0d71651821db780a0 | 2026-01-05T04:51:45.342665Z | true |
SiavashBamshadnia/Laravel-Query-Enrich | https://github.com/SiavashBamshadnia/Laravel-Query-Enrich/blob/bafb849ed83b7c816d9a94a0d71651821db780a0/workbench/BaseTest/BaseWhereClauseTest.php | workbench/BaseTest/BaseWhereClauseTest.php | <?php
namespace Workbench\BaseTest;
use Illuminate\Support\Facades\DB;
use sbamtr\LaravelQueryEnrich\Exception\InvalidArgumentException;
use sbamtr\LaravelQueryEnrich\QE;
use Workbench\App\Models\Author;
use Workbench\App\Models\Book;
use function sbamtr\LaravelQueryEnrich\c;
abstract class BaseWhereClauseTest exte... | php | MIT | bafb849ed83b7c816d9a94a0d71651821db780a0 | 2026-01-05T04:51:45.342665Z | false |
SiavashBamshadnia/Laravel-Query-Enrich | https://github.com/SiavashBamshadnia/Laravel-Query-Enrich/blob/bafb849ed83b7c816d9a94a0d71651821db780a0/workbench/BaseTest/BaseBasicFunctionsTest.php | workbench/BaseTest/BaseBasicFunctionsTest.php | <?php
namespace Workbench\BaseTest;
use Carbon\Carbon;
use Illuminate\Support\Facades\DB;
use sbamtr\LaravelQueryEnrich\QE;
use Workbench\App\Models\Author;
use function sbamtr\LaravelQueryEnrich\c;
abstract class BaseBasicFunctionsTest extends BaseTest
{
public function testEscapeCondition()
{
Auth... | php | MIT | bafb849ed83b7c816d9a94a0d71651821db780a0 | 2026-01-05T04:51:45.342665Z | false |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.