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 |
|---|---|---|---|---|---|---|---|---|
syofyanzuhad/uptime-kita | https://github.com/syofyanzuhad/uptime-kita/blob/d60b7c16c3cc55d022da9562da63f4f6d29a4588/tests/Feature/Http/Controllers/ToggleMonitorPinControllerTest.php | tests/Feature/Http/Controllers/ToggleMonitorPinControllerTest.php | <?php
use App\Http\Controllers\ToggleMonitorPinController;
use App\Models\Monitor;
use App\Models\User;
use App\Models\UserMonitor;
use Illuminate\Http\Request;
describe('ToggleMonitorPinController', function () {
it('pins a monitor successfully when user is subscribed', function () {
$user = User::factor... | php | Apache-2.0 | d60b7c16c3cc55d022da9562da63f4f6d29a4588 | 2026-01-05T04:47:43.726909Z | false |
syofyanzuhad/uptime-kita | https://github.com/syofyanzuhad/uptime-kita/blob/d60b7c16c3cc55d022da9562da63f4f6d29a4588/tests/Feature/Http/Controllers/PinnedMonitorControllerToggleTest.php | tests/Feature/Http/Controllers/PinnedMonitorControllerToggleTest.php | <?php
use App\Models\Monitor;
use App\Models\User;
use App\Models\UserMonitor;
describe('PinnedMonitorController toggle method', function () {
it('pins monitor successfully when user is subscribed', function () {
$user = User::factory()->create();
$monitor = Monitor::factory()->create();
... | php | Apache-2.0 | d60b7c16c3cc55d022da9562da63f4f6d29a4588 | 2026-01-05T04:47:43.726909Z | false |
syofyanzuhad/uptime-kita | https://github.com/syofyanzuhad/uptime-kita/blob/d60b7c16c3cc55d022da9562da63f4f6d29a4588/tests/Feature/Http/Controllers/StatusPageAvailableMonitorsControllerTest.php | tests/Feature/Http/Controllers/StatusPageAvailableMonitorsControllerTest.php | <?php
use App\Models\Monitor;
use App\Models\StatusPage;
use App\Models\StatusPageMonitor;
use App\Models\User;
describe('StatusPageAvailableMonitorsController', function () {
it('returns available monitors for status page owner', function () {
$user = User::factory()->create();
$statusPage = Stat... | php | Apache-2.0 | d60b7c16c3cc55d022da9562da63f4f6d29a4588 | 2026-01-05T04:47:43.726909Z | false |
syofyanzuhad/uptime-kita | https://github.com/syofyanzuhad/uptime-kita/blob/d60b7c16c3cc55d022da9562da63f4f6d29a4588/tests/Feature/Http/Controllers/StatusPageOrderControllerTest.php | tests/Feature/Http/Controllers/StatusPageOrderControllerTest.php | <?php
use App\Models\Monitor;
use App\Models\StatusPage;
use App\Models\StatusPageMonitor;
use App\Models\User;
describe('StatusPageOrderController', function () {
it('updates monitor order successfully', function () {
$user = User::factory()->create();
$statusPage = StatusPage::factory()->create(... | php | Apache-2.0 | d60b7c16c3cc55d022da9562da63f4f6d29a4588 | 2026-01-05T04:47:43.726909Z | false |
syofyanzuhad/uptime-kita | https://github.com/syofyanzuhad/uptime-kita/blob/d60b7c16c3cc55d022da9562da63f4f6d29a4588/tests/Feature/Http/Controllers/PublicStatusPageControllerTest.php | tests/Feature/Http/Controllers/PublicStatusPageControllerTest.php | <?php
use App\Models\Monitor;
use App\Models\StatusPage;
use App\Models\StatusPageMonitor;
use App\Models\User;
use Illuminate\Support\Facades\Cache;
use Inertia\Testing\AssertableInertia;
describe('PublicStatusPageController', function () {
describe('show method', function () {
it('displays public status... | php | Apache-2.0 | d60b7c16c3cc55d022da9562da63f4f6d29a4588 | 2026-01-05T04:47:43.726909Z | false |
syofyanzuhad/uptime-kita | https://github.com/syofyanzuhad/uptime-kita/blob/d60b7c16c3cc55d022da9562da63f4f6d29a4588/tests/Feature/Http/Controllers/TelegramWebhookControllerTest.php | tests/Feature/Http/Controllers/TelegramWebhookControllerTest.php | <?php
// Constants to avoid duplication
const WEBHOOK_ENDPOINT = '/webhook/telegram';
const START_COMMAND = '/start';
const TEST_CHAT_ID = 123456789;
const TEST_USER_NAME = 'John';
beforeEach(function () {
// Set a dummy telegram token for tests
config(['services.telegram-bot-api.token' => 'test-token']);
});... | php | Apache-2.0 | d60b7c16c3cc55d022da9562da63f4f6d29a4588 | 2026-01-05T04:47:43.726909Z | false |
syofyanzuhad/uptime-kita | https://github.com/syofyanzuhad/uptime-kita/blob/d60b7c16c3cc55d022da9562da63f4f6d29a4588/tests/Feature/Http/Controllers/CustomDomainControllerTest.php | tests/Feature/Http/Controllers/CustomDomainControllerTest.php | <?php
use App\Models\StatusPage;
use App\Models\User;
use Illuminate\Support\Facades\Cache;
describe('CustomDomainController', function () {
describe('update method', function () {
it('updates custom domain for status page owner', function () {
$user = User::factory()->create();
$s... | php | Apache-2.0 | d60b7c16c3cc55d022da9562da63f4f6d29a4588 | 2026-01-05T04:47:43.726909Z | false |
syofyanzuhad/uptime-kita | https://github.com/syofyanzuhad/uptime-kita/blob/d60b7c16c3cc55d022da9562da63f4f6d29a4588/tests/Feature/Http/Controllers/TestFlashControllerTest.php | tests/Feature/Http/Controllers/TestFlashControllerTest.php | <?php
use App\Models\User;
describe('TestFlashController', function () {
it('redirects to dashboard with success flash message', function () {
$user = User::factory()->create();
$response = $this->actingAs($user)->get('/test-flash');
$response->assertRedirect(route('dashboard'));
... | php | Apache-2.0 | d60b7c16c3cc55d022da9562da63f4f6d29a4588 | 2026-01-05T04:47:43.726909Z | false |
syofyanzuhad/uptime-kita | https://github.com/syofyanzuhad/uptime-kita/blob/d60b7c16c3cc55d022da9562da63f4f6d29a4588/tests/Feature/Http/Controllers/Auth/SocialiteControllerTest.php | tests/Feature/Http/Controllers/Auth/SocialiteControllerTest.php | <?php
use App\Models\SocialAccount;
use App\Models\User;
use Laravel\Socialite\Facades\Socialite;
use Laravel\Socialite\Two\User as SocialiteUser;
describe('SocialiteController', function () {
describe('redirectToProvider method', function () {
it('redirects to provider', function () {
Sociali... | php | Apache-2.0 | d60b7c16c3cc55d022da9562da63f4f6d29a4588 | 2026-01-05T04:47:43.726909Z | false |
syofyanzuhad/uptime-kita | https://github.com/syofyanzuhad/uptime-kita/blob/d60b7c16c3cc55d022da9562da63f4f6d29a4588/tests/Feature/Http/Controllers/Auth/EmailVerificationNotificationControllerTest.php | tests/Feature/Http/Controllers/Auth/EmailVerificationNotificationControllerTest.php | <?php
use App\Models\User;
use Illuminate\Support\Facades\Notification;
describe('EmailVerificationNotificationController', function () {
describe('store method', function () {
it('redirects to dashboard if user email is already verified', function () {
$user = User::factory()->create([
... | php | Apache-2.0 | d60b7c16c3cc55d022da9562da63f4f6d29a4588 | 2026-01-05T04:47:43.726909Z | false |
syofyanzuhad/uptime-kita | https://github.com/syofyanzuhad/uptime-kita/blob/d60b7c16c3cc55d022da9562da63f4f6d29a4588/tests/Feature/Http/Middleware/CustomDomainMiddlewareTest.php | tests/Feature/Http/Middleware/CustomDomainMiddlewareTest.php | <?php
use App\Http\Middleware\CustomDomainMiddleware;
use App\Models\StatusPage;
use App\Models\User;
use Illuminate\Http\Request;
use Symfony\Component\HttpFoundation\Response;
function testMainAppDomainHandling()
{
describe('main app domain handling', function () {
it('skips middleware for main app doma... | php | Apache-2.0 | d60b7c16c3cc55d022da9562da63f4f6d29a4588 | 2026-01-05T04:47:43.726909Z | false |
syofyanzuhad/uptime-kita | https://github.com/syofyanzuhad/uptime-kita/blob/d60b7c16c3cc55d022da9562da63f4f6d29a4588/tests/Feature/Auth/AuthenticationTest.php | tests/Feature/Auth/AuthenticationTest.php | <?php
use App\Models\User;
use Illuminate\Support\Facades\RateLimiter;
test('login screen can be rendered', function () {
$response = $this->get('/login');
$response->assertStatus(200);
});
test('users can authenticate using the login screen', function () {
$user = User::factory()->create();
$respo... | php | Apache-2.0 | d60b7c16c3cc55d022da9562da63f4f6d29a4588 | 2026-01-05T04:47:43.726909Z | false |
syofyanzuhad/uptime-kita | https://github.com/syofyanzuhad/uptime-kita/blob/d60b7c16c3cc55d022da9562da63f4f6d29a4588/tests/Feature/Auth/PasswordConfirmationTest.php | tests/Feature/Auth/PasswordConfirmationTest.php | <?php
use App\Models\User;
test('confirm password screen can be rendered', function () {
$user = User::factory()->create();
$response = $this->actingAs($user)->get('/confirm-password');
$response->assertStatus(200);
});
test('password can be confirmed', function () {
$user = User::factory()->create... | php | Apache-2.0 | d60b7c16c3cc55d022da9562da63f4f6d29a4588 | 2026-01-05T04:47:43.726909Z | false |
syofyanzuhad/uptime-kita | https://github.com/syofyanzuhad/uptime-kita/blob/d60b7c16c3cc55d022da9562da63f4f6d29a4588/tests/Feature/Auth/PasswordResetTest.php | tests/Feature/Auth/PasswordResetTest.php | <?php
use App\Models\User;
use Illuminate\Auth\Notifications\ResetPassword;
use Illuminate\Support\Facades\Hash;
use Illuminate\Support\Facades\Notification;
test('reset password link screen can be rendered', function () {
$response = $this->get('/forgot-password');
$response->assertStatus(200);
});
test('r... | php | Apache-2.0 | d60b7c16c3cc55d022da9562da63f4f6d29a4588 | 2026-01-05T04:47:43.726909Z | false |
syofyanzuhad/uptime-kita | https://github.com/syofyanzuhad/uptime-kita/blob/d60b7c16c3cc55d022da9562da63f4f6d29a4588/tests/Feature/Auth/SocialiteTest.php | tests/Feature/Auth/SocialiteTest.php | <?php
use App\Models\SocialAccount;
use App\Models\User;
use Laravel\Socialite\Facades\Socialite;
use Laravel\Socialite\Two\User as SocialiteUser;
test('redirects to provider authentication page', function () {
$provider = 'github';
$providerMock = Mockery::mock('Laravel\Socialite\Two\GithubProvider');
$... | php | Apache-2.0 | d60b7c16c3cc55d022da9562da63f4f6d29a4588 | 2026-01-05T04:47:43.726909Z | false |
syofyanzuhad/uptime-kita | https://github.com/syofyanzuhad/uptime-kita/blob/d60b7c16c3cc55d022da9562da63f4f6d29a4588/tests/Feature/Auth/RegistrationTest.php | tests/Feature/Auth/RegistrationTest.php | <?php
use App\Models\User;
use Illuminate\Support\Facades\Hash;
test('registration screen can be rendered', function () {
$response = $this->get('/register');
$response->assertStatus(200);
});
test('new users can register', function () {
$response = $this->post('/register', [
'name' => 'Test Use... | php | Apache-2.0 | d60b7c16c3cc55d022da9562da63f4f6d29a4588 | 2026-01-05T04:47:43.726909Z | false |
syofyanzuhad/uptime-kita | https://github.com/syofyanzuhad/uptime-kita/blob/d60b7c16c3cc55d022da9562da63f4f6d29a4588/tests/Feature/Auth/EmailVerificationTest.php | tests/Feature/Auth/EmailVerificationTest.php | <?php
use App\Models\User;
use Carbon\Carbon;
use Illuminate\Auth\Events\Verified;
use Illuminate\Auth\Notifications\VerifyEmail;
use Illuminate\Support\Facades\Event;
use Illuminate\Support\Facades\Notification;
use Illuminate\Support\Facades\URL;
beforeEach(function () {
Carbon::setTestNow(now());
});
afterEac... | php | Apache-2.0 | d60b7c16c3cc55d022da9562da63f4f6d29a4588 | 2026-01-05T04:47:43.726909Z | false |
syofyanzuhad/uptime-kita | https://github.com/syofyanzuhad/uptime-kita/blob/d60b7c16c3cc55d022da9562da63f4f6d29a4588/tests/Feature/Console/Commands/CalculateDailyUptimeCommandTest.php | tests/Feature/Console/Commands/CalculateDailyUptimeCommandTest.php | <?php
use App\Jobs\CalculateSingleMonitorUptimeJob;
use App\Models\Monitor;
use Carbon\Carbon;
use Illuminate\Support\Facades\Queue;
beforeEach(function () {
Carbon::setTestNow(now());
Queue::fake();
});
afterEach(function () {
Carbon::setTestNow(null);
});
describe('CalculateDailyUptimeCommand', functi... | php | Apache-2.0 | d60b7c16c3cc55d022da9562da63f4f6d29a4588 | 2026-01-05T04:47:43.726909Z | false |
syofyanzuhad/uptime-kita | https://github.com/syofyanzuhad/uptime-kita/blob/d60b7c16c3cc55d022da9562da63f4f6d29a4588/tests/Feature/Console/Commands/CalculateMonitorStatisticsCommandTest.php | tests/Feature/Console/Commands/CalculateMonitorStatisticsCommandTest.php | <?php
use App\Models\Monitor;
use App\Models\MonitorHistory;
use App\Models\MonitorStatistic;
use Carbon\Carbon;
beforeEach(function () {
Carbon::setTestNow(now());
});
afterEach(function () {
Carbon::setTestNow(null);
});
describe('CalculateMonitorStatistics', function () {
describe('handle', function ... | php | Apache-2.0 | d60b7c16c3cc55d022da9562da63f4f6d29a4588 | 2026-01-05T04:47:43.726909Z | false |
syofyanzuhad/uptime-kita | https://github.com/syofyanzuhad/uptime-kita/blob/d60b7c16c3cc55d022da9562da63f4f6d29a4588/tests/Feature/Console/Commands/CleanupDuplicateMonitorHistoriesCommandTest.php | tests/Feature/Console/Commands/CleanupDuplicateMonitorHistoriesCommandTest.php | <?php
use App\Models\Monitor;
use App\Models\MonitorHistory;
use Carbon\Carbon;
beforeEach(function () {
Carbon::setTestNow(now());
$this->monitor = Monitor::factory()->create();
});
afterEach(function () {
Carbon::setTestNow(null);
});
describe('CleanupDuplicateMonitorHistories', function () {
desc... | php | Apache-2.0 | d60b7c16c3cc55d022da9562da63f4f6d29a4588 | 2026-01-05T04:47:43.726909Z | false |
syofyanzuhad/uptime-kita | https://github.com/syofyanzuhad/uptime-kita/blob/d60b7c16c3cc55d022da9562da63f4f6d29a4588/tests/Feature/Console/Commands/GenerateSitemapCommandTest.php | tests/Feature/Console/Commands/GenerateSitemapCommandTest.php | <?php
use Illuminate\Support\Facades\File;
use Illuminate\Support\Facades\Http;
use Spatie\Sitemap\SitemapGenerator;
describe('GenerateSitemap', function () {
describe('handle', function () {
afterEach(function () {
// Clean up generated sitemap file after each test
if (file_exists... | php | Apache-2.0 | d60b7c16c3cc55d022da9562da63f4f6d29a4588 | 2026-01-05T04:47:43.726909Z | false |
syofyanzuhad/uptime-kita | https://github.com/syofyanzuhad/uptime-kita/blob/d60b7c16c3cc55d022da9562da63f4f6d29a4588/tests/Feature/Console/Commands/FastCleanupDuplicateHistoriesCommandTest.php | tests/Feature/Console/Commands/FastCleanupDuplicateHistoriesCommandTest.php | <?php
use App\Models\Monitor;
use App\Models\MonitorHistory;
use Carbon\Carbon;
use Illuminate\Support\Facades\DB;
beforeEach(function () {
Carbon::setTestNow(now());
$this->monitor = Monitor::factory()->create();
});
afterEach(function () {
Carbon::setTestNow(null);
});
describe('FastCleanupDuplicateHi... | php | Apache-2.0 | d60b7c16c3cc55d022da9562da63f4f6d29a4588 | 2026-01-05T04:47:43.726909Z | false |
syofyanzuhad/uptime-kita | https://github.com/syofyanzuhad/uptime-kita/blob/d60b7c16c3cc55d022da9562da63f4f6d29a4588/tests/Feature/Settings/DatabaseBackupControllerTest.php | tests/Feature/Settings/DatabaseBackupControllerTest.php | <?php
use App\Models\User;
use Illuminate\Http\UploadedFile;
beforeEach(function () {
// Ensure Telescope doesn't interfere with tests
if (class_exists(\Laravel\Telescope\Telescope::class)) {
\Laravel\Telescope\Telescope::stopRecording();
}
});
test('database settings page is displayed', function... | php | Apache-2.0 | d60b7c16c3cc55d022da9562da63f4f6d29a4588 | 2026-01-05T04:47:43.726909Z | false |
syofyanzuhad/uptime-kita | https://github.com/syofyanzuhad/uptime-kita/blob/d60b7c16c3cc55d022da9562da63f4f6d29a4588/tests/Feature/Settings/PasswordUpdateTest.php | tests/Feature/Settings/PasswordUpdateTest.php | <?php
use App\Models\User;
use Illuminate\Support\Facades\Hash;
test('password can be updated', function () {
$user = User::factory()->create();
$response = $this
->actingAs($user)
->from('/settings/password')
->put('/settings/password', [
'current_password' => 'password',... | php | Apache-2.0 | d60b7c16c3cc55d022da9562da63f4f6d29a4588 | 2026-01-05T04:47:43.726909Z | false |
syofyanzuhad/uptime-kita | https://github.com/syofyanzuhad/uptime-kita/blob/d60b7c16c3cc55d022da9562da63f4f6d29a4588/tests/Feature/Settings/ProfileUpdateTest.php | tests/Feature/Settings/ProfileUpdateTest.php | <?php
use App\Models\User;
test('profile page is displayed', function () {
$user = User::factory()->create();
$response = $this
->actingAs($user)
->get('/settings/profile');
$response->assertOk();
});
test('profile information can be updated', function () {
$user = User::factory()->... | php | Apache-2.0 | d60b7c16c3cc55d022da9562da63f4f6d29a4588 | 2026-01-05T04:47:43.726909Z | false |
syofyanzuhad/uptime-kita | https://github.com/syofyanzuhad/uptime-kita/blob/d60b7c16c3cc55d022da9562da63f4f6d29a4588/tests/Unit/ExampleTest.php | tests/Unit/ExampleTest.php | <?php
test('that true is true', function () {
expect(true)->toBeTrue();
});
| php | Apache-2.0 | d60b7c16c3cc55d022da9562da63f4f6d29a4588 | 2026-01-05T04:47:43.726909Z | false |
syofyanzuhad/uptime-kita | https://github.com/syofyanzuhad/uptime-kita/blob/d60b7c16c3cc55d022da9562da63f4f6d29a4588/tests/Unit/Jobs/CalculateMonitorUptimeDailyJobTest.php | tests/Unit/Jobs/CalculateMonitorUptimeDailyJobTest.php | <?php
use App\Jobs\CalculateMonitorUptimeDailyJob;
use App\Jobs\CalculateSingleMonitorUptimeJob;
use App\Models\Monitor;
use Illuminate\Support\Facades\Queue;
beforeEach(function () {
Queue::fake();
});
describe('CalculateMonitorUptimeDailyJob', function () {
describe('handle', function () {
it('disp... | php | Apache-2.0 | d60b7c16c3cc55d022da9562da63f4f6d29a4588 | 2026-01-05T04:47:43.726909Z | false |
syofyanzuhad/uptime-kita | https://github.com/syofyanzuhad/uptime-kita/blob/d60b7c16c3cc55d022da9562da63f4f6d29a4588/tests/Unit/Jobs/CalculateSingleMonitorUptimeJobTest.php | tests/Unit/Jobs/CalculateSingleMonitorUptimeJobTest.php | <?php
use App\Jobs\CalculateSingleMonitorUptimeJob;
use App\Models\Monitor;
use App\Models\MonitorHistory;
use App\Services\MonitorPerformanceService;
use Carbon\Carbon;
use Illuminate\Support\Facades\DB;
beforeEach(function () {
Carbon::setTestNow(now());
$this->monitor = Monitor::factory()->create([
... | php | Apache-2.0 | d60b7c16c3cc55d022da9562da63f4f6d29a4588 | 2026-01-05T04:47:43.726909Z | false |
syofyanzuhad/uptime-kita | https://github.com/syofyanzuhad/uptime-kita/blob/d60b7c16c3cc55d022da9562da63f4f6d29a4588/tests/Unit/Requests/LoginRequestTest.php | tests/Unit/Requests/LoginRequestTest.php | <?php
use App\Http\Requests\Auth\LoginRequest;
use App\Models\User;
use Illuminate\Support\Facades\Auth;
use Illuminate\Support\Facades\Hash;
use Illuminate\Support\Facades\RateLimiter;
use Illuminate\Validation\ValidationException;
beforeEach(function () {
$this->user = User::factory()->create([
'email' ... | php | Apache-2.0 | d60b7c16c3cc55d022da9562da63f4f6d29a4588 | 2026-01-05T04:47:43.726909Z | false |
syofyanzuhad/uptime-kita | https://github.com/syofyanzuhad/uptime-kita/blob/d60b7c16c3cc55d022da9562da63f4f6d29a4588/tests/Unit/Listeners/BroadcastMonitorStatusChangeTest.php | tests/Unit/Listeners/BroadcastMonitorStatusChangeTest.php | <?php
use App\Listeners\BroadcastMonitorStatusChange;
use App\Models\Monitor;
use Carbon\Carbon;
use Illuminate\Support\Facades\Cache;
use Spatie\UptimeMonitor\Events\UptimeCheckFailed;
use Spatie\UptimeMonitor\Events\UptimeCheckRecovered;
use Spatie\UptimeMonitor\Helpers\Period;
beforeEach(function () {
Carbon::... | php | Apache-2.0 | d60b7c16c3cc55d022da9562da63f4f6d29a4588 | 2026-01-05T04:47:43.726909Z | false |
syofyanzuhad/uptime-kita | https://github.com/syofyanzuhad/uptime-kita/blob/d60b7c16c3cc55d022da9562da63f4f6d29a4588/tests/Unit/Listeners/SendCustomMonitorNotificationTest.php | tests/Unit/Listeners/SendCustomMonitorNotificationTest.php | <?php
use App\Listeners\SendCustomMonitorNotification;
use App\Models\Monitor;
use App\Models\User;
use App\Notifications\MonitorStatusChanged;
use Illuminate\Support\Facades\Notification;
use Spatie\UptimeMonitor\Events\UptimeCheckFailed;
use Spatie\UptimeMonitor\Events\UptimeCheckRecovered;
use Spatie\UptimeMonitor\... | php | Apache-2.0 | d60b7c16c3cc55d022da9562da63f4f6d29a4588 | 2026-01-05T04:47:43.726909Z | false |
syofyanzuhad/uptime-kita | https://github.com/syofyanzuhad/uptime-kita/blob/d60b7c16c3cc55d022da9562da63f4f6d29a4588/tests/Unit/Listeners/StoreMonitorCheckDataTest.php | tests/Unit/Listeners/StoreMonitorCheckDataTest.php | <?php
use App\Listeners\StoreMonitorCheckData;
use App\Models\Monitor;
use App\Models\MonitorHistory;
use App\Models\MonitorIncident;
use App\Services\MonitorPerformanceService;
use Carbon\Carbon;
use Spatie\UptimeMonitor\Events\UptimeCheckFailed;
use Spatie\UptimeMonitor\Events\UptimeCheckRecovered;
use Spatie\Uptime... | php | Apache-2.0 | d60b7c16c3cc55d022da9562da63f4f6d29a4588 | 2026-01-05T04:47:43.726909Z | false |
syofyanzuhad/uptime-kita | https://github.com/syofyanzuhad/uptime-kita/blob/d60b7c16c3cc55d022da9562da63f4f6d29a4588/tests/Unit/Services/TelegramRateLimitServiceTest.php | tests/Unit/Services/TelegramRateLimitServiceTest.php | <?php
use App\Models\NotificationChannel;
use App\Models\User;
use App\Services\TelegramRateLimitService;
use Carbon\Carbon;
use Illuminate\Support\Facades\Cache;
beforeEach(function () {
Carbon::setTestNow(now());
$this->service = app(TelegramRateLimitService::class);
$this->user = User::factory()->creat... | php | Apache-2.0 | d60b7c16c3cc55d022da9562da63f4f6d29a4588 | 2026-01-05T04:47:43.726909Z | false |
syofyanzuhad/uptime-kita | https://github.com/syofyanzuhad/uptime-kita/blob/d60b7c16c3cc55d022da9562da63f4f6d29a4588/tests/Unit/Services/MonitorPerformanceServiceTest.php | tests/Unit/Services/MonitorPerformanceServiceTest.php | <?php
use App\Models\Monitor;
use App\Models\MonitorHistory;
use App\Models\MonitorPerformanceHourly;
use App\Services\MonitorPerformanceService;
use Carbon\Carbon;
beforeEach(function () {
Carbon::setTestNow(now());
$this->service = app(MonitorPerformanceService::class);
$this->monitor = Monitor::factory... | php | Apache-2.0 | d60b7c16c3cc55d022da9562da63f4f6d29a4588 | 2026-01-05T04:47:43.726909Z | false |
syofyanzuhad/uptime-kita | https://github.com/syofyanzuhad/uptime-kita/blob/d60b7c16c3cc55d022da9562da63f4f6d29a4588/tests/Unit/Notifications/MonitorStatusChangedTest.php | tests/Unit/Notifications/MonitorStatusChangedTest.php | <?php
use App\Models\NotificationChannel;
use App\Models\User;
use App\Notifications\MonitorStatusChanged;
use App\Services\TelegramRateLimitService;
use Illuminate\Notifications\Messages\MailMessage;
use NotificationChannels\Telegram\TelegramMessage;
beforeEach(function () {
$this->user = User::factory()->create... | php | Apache-2.0 | d60b7c16c3cc55d022da9562da63f4f6d29a4588 | 2026-01-05T04:47:43.726909Z | false |
syofyanzuhad/uptime-kita | https://github.com/syofyanzuhad/uptime-kita/blob/d60b7c16c3cc55d022da9562da63f4f6d29a4588/tests/Unit/Resources/MonitorResourceTest.php | tests/Unit/Resources/MonitorResourceTest.php | <?php
use App\Http\Resources\MonitorResource;
use App\Models\Monitor;
use App\Models\MonitorHistory;
use App\Models\MonitorUptimeDaily;
use Carbon\Carbon;
beforeEach(function () {
Carbon::setTestNow(now());
$this->monitor = Monitor::factory()->create([
'url' => 'https://example.com',
'uptime_c... | php | Apache-2.0 | d60b7c16c3cc55d022da9562da63f4f6d29a4588 | 2026-01-05T04:47:43.726909Z | false |
syofyanzuhad/uptime-kita | https://github.com/syofyanzuhad/uptime-kita/blob/d60b7c16c3cc55d022da9562da63f4f6d29a4588/tests/Unit/Models/MonitorUptimeDailyTest.php | tests/Unit/Models/MonitorUptimeDailyTest.php | <?php
use App\Models\Monitor;
use App\Models\MonitorUptimeDaily;
describe('MonitorUptimeDaily Model', function () {
describe('fillable attributes', function () {
it('allows mass assignment of fillable attributes', function () {
$monitor = Monitor::factory()->create();
$attributes ... | php | Apache-2.0 | d60b7c16c3cc55d022da9562da63f4f6d29a4588 | 2026-01-05T04:47:43.726909Z | false |
syofyanzuhad/uptime-kita | https://github.com/syofyanzuhad/uptime-kita/blob/d60b7c16c3cc55d022da9562da63f4f6d29a4588/tests/Unit/Models/MonitorStatisticTest.php | tests/Unit/Models/MonitorStatisticTest.php | <?php
use App\Models\Monitor;
use App\Models\MonitorStatistic;
describe('MonitorStatistic Model', function () {
describe('fillable attributes', function () {
it('allows mass assignment of fillable attributes', function () {
$monitor = Monitor::factory()->create();
$attributes = [
... | php | Apache-2.0 | d60b7c16c3cc55d022da9562da63f4f6d29a4588 | 2026-01-05T04:47:43.726909Z | false |
syofyanzuhad/uptime-kita | https://github.com/syofyanzuhad/uptime-kita/blob/d60b7c16c3cc55d022da9562da63f4f6d29a4588/tests/Unit/Models/StatusPageTest.php | tests/Unit/Models/StatusPageTest.php | <?php
use App\Models\Monitor;
use App\Models\StatusPage;
use App\Models\User;
use Illuminate\Support\Str;
describe('StatusPage Model', function () {
beforeEach(function () {
$this->user = User::factory()->create();
$this->statusPage = StatusPage::factory()->create([
'user_id' => $this-... | php | Apache-2.0 | d60b7c16c3cc55d022da9562da63f4f6d29a4588 | 2026-01-05T04:47:43.726909Z | false |
syofyanzuhad/uptime-kita | https://github.com/syofyanzuhad/uptime-kita/blob/d60b7c16c3cc55d022da9562da63f4f6d29a4588/tests/Unit/Models/MonitorTest.php | tests/Unit/Models/MonitorTest.php | <?php
use App\Models\Monitor;
use App\Models\MonitorHistory;
use App\Models\MonitorUptimeDaily;
use App\Models\StatusPage;
use App\Models\User;
use Carbon\Carbon;
use Spatie\Url\Url;
beforeEach(function () {
Carbon::setTestNow(now());
$this->user = User::factory()->create();
$this->monitor = Monitor::fact... | php | Apache-2.0 | d60b7c16c3cc55d022da9562da63f4f6d29a4588 | 2026-01-05T04:47:43.726909Z | false |
syofyanzuhad/uptime-kita | https://github.com/syofyanzuhad/uptime-kita/blob/d60b7c16c3cc55d022da9562da63f4f6d29a4588/tests/Unit/Models/MonitorIncidentTest.php | tests/Unit/Models/MonitorIncidentTest.php | <?php
use App\Models\Monitor;
use App\Models\MonitorIncident;
describe('MonitorIncident Model', function () {
describe('fillable attributes', function () {
it('allows mass assignment of fillable attributes', function () {
$monitor = Monitor::factory()->create();
$attributes = [
... | php | Apache-2.0 | d60b7c16c3cc55d022da9562da63f4f6d29a4588 | 2026-01-05T04:47:43.726909Z | false |
syofyanzuhad/uptime-kita | https://github.com/syofyanzuhad/uptime-kita/blob/d60b7c16c3cc55d022da9562da63f4f6d29a4588/tests/Unit/Models/NotificationChannelTest.php | tests/Unit/Models/NotificationChannelTest.php | <?php
use App\Models\NotificationChannel;
use App\Models\User;
describe('NotificationChannel Model', function () {
beforeEach(function () {
$this->user = User::factory()->create();
$this->notificationChannel = NotificationChannel::factory()->create([
'user_id' => $this->user->id,
... | php | Apache-2.0 | d60b7c16c3cc55d022da9562da63f4f6d29a4588 | 2026-01-05T04:47:43.726909Z | false |
syofyanzuhad/uptime-kita | https://github.com/syofyanzuhad/uptime-kita/blob/d60b7c16c3cc55d022da9562da63f4f6d29a4588/tests/Unit/Models/MonitorPerformanceHourlyTest.php | tests/Unit/Models/MonitorPerformanceHourlyTest.php | <?php
use App\Models\Monitor;
use App\Models\MonitorPerformanceHourly;
describe('MonitorPerformanceHourly Model', function () {
describe('fillable attributes', function () {
it('allows mass assignment of fillable attributes', function () {
$monitor = Monitor::factory()->create();
... | php | Apache-2.0 | d60b7c16c3cc55d022da9562da63f4f6d29a4588 | 2026-01-05T04:47:43.726909Z | false |
syofyanzuhad/uptime-kita | https://github.com/syofyanzuhad/uptime-kita/blob/d60b7c16c3cc55d022da9562da63f4f6d29a4588/tests/Unit/Models/UserMonitorTest.php | tests/Unit/Models/UserMonitorTest.php | <?php
use App\Models\Monitor;
use App\Models\User;
use App\Models\UserMonitor;
describe('UserMonitor Model', function () {
describe('fillable attributes', function () {
it('allows mass assignment of fillable attributes', function () {
$user = User::factory()->create();
$monitor = M... | php | Apache-2.0 | d60b7c16c3cc55d022da9562da63f4f6d29a4588 | 2026-01-05T04:47:43.726909Z | false |
syofyanzuhad/uptime-kita | https://github.com/syofyanzuhad/uptime-kita/blob/d60b7c16c3cc55d022da9562da63f4f6d29a4588/tests/Unit/Models/UserTest.php | tests/Unit/Models/UserTest.php | <?php
use App\Models\Monitor;
use App\Models\NotificationChannel;
use App\Models\SocialAccount;
use App\Models\StatusPage;
use App\Models\User;
use Illuminate\Support\Facades\Hash;
describe('User Model', function () {
beforeEach(function () {
$this->user = User::factory()->create([
'name' => '... | php | Apache-2.0 | d60b7c16c3cc55d022da9562da63f4f6d29a4588 | 2026-01-05T04:47:43.726909Z | false |
syofyanzuhad/uptime-kita | https://github.com/syofyanzuhad/uptime-kita/blob/d60b7c16c3cc55d022da9562da63f4f6d29a4588/tests/Unit/Models/MonitorHistoryTest.php | tests/Unit/Models/MonitorHistoryTest.php | <?php
use App\Models\Monitor;
use App\Models\MonitorHistory;
use Carbon\Carbon;
describe('MonitorHistory Model', function () {
beforeEach(function () {
Carbon::setTestNow(now());
$this->monitor = Monitor::factory()->create();
$this->history = MonitorHistory::factory()->create([
... | php | Apache-2.0 | d60b7c16c3cc55d022da9562da63f4f6d29a4588 | 2026-01-05T04:47:43.726909Z | false |
syofyanzuhad/uptime-kita | https://github.com/syofyanzuhad/uptime-kita/blob/d60b7c16c3cc55d022da9562da63f4f6d29a4588/tests/Unit/Models/StatusPageMonitorTest.php | tests/Unit/Models/StatusPageMonitorTest.php | <?php
use App\Models\Monitor;
use App\Models\StatusPage;
use App\Models\StatusPageMonitor;
describe('StatusPageMonitor Model', function () {
describe('fillable attributes', function () {
it('allows mass assignment of fillable attributes', function () {
$statusPage = StatusPage::factory()->crea... | php | Apache-2.0 | d60b7c16c3cc55d022da9562da63f4f6d29a4588 | 2026-01-05T04:47:43.726909Z | false |
syofyanzuhad/uptime-kita | https://github.com/syofyanzuhad/uptime-kita/blob/d60b7c16c3cc55d022da9562da63f4f6d29a4588/tests/Unit/Models/SocialAccountTest.php | tests/Unit/Models/SocialAccountTest.php | <?php
use App\Models\SocialAccount;
use App\Models\User;
describe('SocialAccount Model', function () {
beforeEach(function () {
$this->user = User::factory()->create();
$this->socialAccount = SocialAccount::factory()->create([
'user_id' => $this->user->id,
'provider_id' => ... | php | Apache-2.0 | d60b7c16c3cc55d022da9562da63f4f6d29a4588 | 2026-01-05T04:47:43.726909Z | false |
syofyanzuhad/uptime-kita | https://github.com/syofyanzuhad/uptime-kita/blob/d60b7c16c3cc55d022da9562da63f4f6d29a4588/tests/Unit/Policies/MonitorPolicyTest.php | tests/Unit/Policies/MonitorPolicyTest.php | <?php
use App\Models\Monitor;
use App\Models\User;
use App\Policies\MonitorPolicy;
beforeEach(function () {
$this->policy = new MonitorPolicy;
$this->user = User::factory()->create();
$this->admin = User::factory()->create(['is_admin' => true]);
$this->monitor = Monitor::factory()->create(['is_public'... | php | Apache-2.0 | d60b7c16c3cc55d022da9562da63f4f6d29a4588 | 2026-01-05T04:47:43.726909Z | false |
syofyanzuhad/uptime-kita | https://github.com/syofyanzuhad/uptime-kita/blob/d60b7c16c3cc55d022da9562da63f4f6d29a4588/tests/Unit/Policies/StatusPagePolicyTest.php | tests/Unit/Policies/StatusPagePolicyTest.php | <?php
use App\Models\StatusPage;
use App\Models\User;
use App\Policies\StatusPagePolicy;
describe('StatusPagePolicy', function () {
beforeEach(function () {
$this->policy = new StatusPagePolicy;
$this->user = User::factory()->create();
$this->otherUser = User::factory()->create();
... | php | Apache-2.0 | d60b7c16c3cc55d022da9562da63f4f6d29a4588 | 2026-01-05T04:47:43.726909Z | false |
syofyanzuhad/uptime-kita | https://github.com/syofyanzuhad/uptime-kita/blob/d60b7c16c3cc55d022da9562da63f4f6d29a4588/tests/Unit/Policies/UserPolicyTest.php | tests/Unit/Policies/UserPolicyTest.php | <?php
use App\Models\User;
use App\Policies\UserPolicy;
describe('UserPolicy', function () {
beforeEach(function () {
$this->policy = new UserPolicy;
$this->regularUser = User::factory()->create(['is_admin' => false]);
$this->adminUser = User::factory()->create(['is_admin' => true]);
}... | php | Apache-2.0 | d60b7c16c3cc55d022da9562da63f4f6d29a4588 | 2026-01-05T04:47:43.726909Z | false |
syofyanzuhad/uptime-kita | https://github.com/syofyanzuhad/uptime-kita/blob/d60b7c16c3cc55d022da9562da63f4f6d29a4588/routes/web.php | routes/web.php | <?php
use App\Http\Controllers\Api\TelemetryReceiverController;
use App\Http\Controllers\DashboardController;
use App\Http\Controllers\MonitorImportController;
use App\Http\Controllers\MonitorListController;
use App\Http\Controllers\PinnedMonitorController;
use App\Http\Controllers\PrivateMonitorController;
use App\Ht... | php | Apache-2.0 | d60b7c16c3cc55d022da9562da63f4f6d29a4588 | 2026-01-05T04:47:43.726909Z | false |
syofyanzuhad/uptime-kita | https://github.com/syofyanzuhad/uptime-kita/blob/d60b7c16c3cc55d022da9562da63f4f6d29a4588/routes/settings.php | routes/settings.php | <?php
use App\Http\Controllers\NotificationController;
use App\Http\Controllers\ServerResourceController;
use App\Http\Controllers\Settings\AppearanceController;
use App\Http\Controllers\Settings\DatabaseBackupController;
use App\Http\Controllers\Settings\PasswordController;
use App\Http\Controllers\Settings\ProfileCo... | php | Apache-2.0 | d60b7c16c3cc55d022da9562da63f4f6d29a4588 | 2026-01-05T04:47:43.726909Z | false |
syofyanzuhad/uptime-kita | https://github.com/syofyanzuhad/uptime-kita/blob/d60b7c16c3cc55d022da9562da63f4f6d29a4588/routes/console.php | routes/console.php | <?php
use App\Jobs\CalculateMonitorUptimeDailyJob;
use App\Models\User;
use App\Notifications\MonitorStatusChanged;
use Illuminate\Foundation\Inspiring;
use Illuminate\Support\Facades\Artisan;
use Illuminate\Support\Facades\Schedule;
use Spatie\UptimeMonitor\Commands\CheckCertificates;
use Spatie\UptimeMonitor\Command... | php | Apache-2.0 | d60b7c16c3cc55d022da9562da63f4f6d29a4588 | 2026-01-05T04:47:43.726909Z | false |
syofyanzuhad/uptime-kita | https://github.com/syofyanzuhad/uptime-kita/blob/d60b7c16c3cc55d022da9562da63f4f6d29a4588/routes/auth.php | routes/auth.php | <?php
use App\Http\Controllers\Auth\AuthenticatedSessionController;
use App\Http\Controllers\Auth\ConfirmablePasswordController;
use App\Http\Controllers\Auth\EmailVerificationNotificationController;
use App\Http\Controllers\Auth\EmailVerificationPromptController;
use App\Http\Controllers\Auth\NewPasswordController;
u... | php | Apache-2.0 | d60b7c16c3cc55d022da9562da63f4f6d29a4588 | 2026-01-05T04:47:43.726909Z | false |
syofyanzuhad/uptime-kita | https://github.com/syofyanzuhad/uptime-kita/blob/d60b7c16c3cc55d022da9562da63f4f6d29a4588/public/index.php | public/index.php | <?php
use Illuminate\Foundation\Application;
use Illuminate\Http\Request;
define('LARAVEL_START', microtime(true));
// Determine if the application is in maintenance mode...
if (file_exists($maintenance = __DIR__.'/../storage/framework/maintenance.php')) {
require $maintenance;
}
// Register the Composer autolo... | php | Apache-2.0 | d60b7c16c3cc55d022da9562da63f4f6d29a4588 | 2026-01-05T04:47:43.726909Z | false |
syofyanzuhad/uptime-kita | https://github.com/syofyanzuhad/uptime-kita/blob/d60b7c16c3cc55d022da9562da63f4f6d29a4588/config/backup.php | config/backup.php | <?php
return [
'backup' => [
/*
* The name of this application. You can use this name to monitor
* the backups.
*/
'name' => env('APP_NAME', 'uptime-kita'),
'source' => [
'files' => [
/*
* The list of directories and ... | php | Apache-2.0 | d60b7c16c3cc55d022da9562da63f4f6d29a4588 | 2026-01-05T04:47:43.726909Z | false |
syofyanzuhad/uptime-kita | https://github.com/syofyanzuhad/uptime-kita/blob/d60b7c16c3cc55d022da9562da63f4f6d29a4588/config/uptime-monitor.php | config/uptime-monitor.php | <?php
return [
/*
* You can get notified when specific events occur. Out of the box you can use 'mail'
* and 'slack'. Of course you can also specify your own notification classes.
*/
'notifications' => [
'notifications' => [
\Spatie\UptimeMonitor\Notifications\Notifications... | php | Apache-2.0 | d60b7c16c3cc55d022da9562da63f4f6d29a4588 | 2026-01-05T04:47:43.726909Z | false |
syofyanzuhad/uptime-kita | https://github.com/syofyanzuhad/uptime-kita/blob/d60b7c16c3cc55d022da9562da63f4f6d29a4588/config/telescope.php | config/telescope.php | <?php
use Laravel\Telescope\Http\Middleware\Authorize;
use Laravel\Telescope\Watchers;
return [
/*
|--------------------------------------------------------------------------
| Telescope Master Switch
|--------------------------------------------------------------------------
|
| This option ... | php | Apache-2.0 | d60b7c16c3cc55d022da9562da63f4f6d29a4588 | 2026-01-05T04:47:43.726909Z | false |
syofyanzuhad/uptime-kita | https://github.com/syofyanzuhad/uptime-kita/blob/d60b7c16c3cc55d022da9562da63f4f6d29a4588/config/app.php | config/app.php | <?php
return [
/*
|--------------------------------------------------------------------------
| Application Name
|--------------------------------------------------------------------------
|
| This value is the name of your application, which will be used when the
| framework needs to plac... | php | Apache-2.0 | d60b7c16c3cc55d022da9562da63f4f6d29a4588 | 2026-01-05T04:47:43.726909Z | false |
syofyanzuhad/uptime-kita | https://github.com/syofyanzuhad/uptime-kita/blob/d60b7c16c3cc55d022da9562da63f4f6d29a4588/config/health.php | config/health.php | <?php
return [
/*
* A result store is responsible for saving the results of the checks. The
* `EloquentHealthResultStore` will save results in the database. You
* can use multiple stores at the same time.
*/
'result_stores' => [
Spatie\Health\ResultStores\EloquentHealthResultStore::... | php | Apache-2.0 | d60b7c16c3cc55d022da9562da63f4f6d29a4588 | 2026-01-05T04:47:43.726909Z | false |
syofyanzuhad/uptime-kita | https://github.com/syofyanzuhad/uptime-kita/blob/d60b7c16c3cc55d022da9562da63f4f6d29a4588/config/logging.php | config/logging.php | <?php
use Monolog\Handler\NullHandler;
use Monolog\Handler\StreamHandler;
use Monolog\Handler\SyslogUdpHandler;
use Monolog\Processor\PsrLogMessageProcessor;
return [
/*
|--------------------------------------------------------------------------
| Default Log Channel
|--------------------------------... | php | Apache-2.0 | d60b7c16c3cc55d022da9562da63f4f6d29a4588 | 2026-01-05T04:47:43.726909Z | false |
syofyanzuhad/uptime-kita | https://github.com/syofyanzuhad/uptime-kita/blob/d60b7c16c3cc55d022da9562da63f4f6d29a4588/config/session.php | config/session.php | <?php
use Illuminate\Support\Str;
return [
/*
|--------------------------------------------------------------------------
| Default Session Driver
|--------------------------------------------------------------------------
|
| This option determines the default session driver that is utilized... | php | Apache-2.0 | d60b7c16c3cc55d022da9562da63f4f6d29a4588 | 2026-01-05T04:47:43.726909Z | false |
syofyanzuhad/uptime-kita | https://github.com/syofyanzuhad/uptime-kita/blob/d60b7c16c3cc55d022da9562da63f4f6d29a4588/config/queue.php | config/queue.php | <?php
return [
/*
|--------------------------------------------------------------------------
| Default Queue Connection Name
|--------------------------------------------------------------------------
|
| Laravel's queue supports a variety of backends via a single, unified
| API, giving y... | php | Apache-2.0 | d60b7c16c3cc55d022da9562da63f4f6d29a4588 | 2026-01-05T04:47:43.726909Z | false |
syofyanzuhad/uptime-kita | https://github.com/syofyanzuhad/uptime-kita/blob/d60b7c16c3cc55d022da9562da63f4f6d29a4588/config/debugbar.php | config/debugbar.php | <?php
return [
/*
|--------------------------------------------------------------------------
| Debugbar Settings
|--------------------------------------------------------------------------
|
| Debugbar is enabled by default, when debug is set to true in app.php.
| You can override t... | php | Apache-2.0 | d60b7c16c3cc55d022da9562da63f4f6d29a4588 | 2026-01-05T04:47:43.726909Z | false |
syofyanzuhad/uptime-kita | https://github.com/syofyanzuhad/uptime-kita/blob/d60b7c16c3cc55d022da9562da63f4f6d29a4588/config/sentry.php | config/sentry.php | <?php
/**
* Sentry Laravel SDK configuration file.
*
* @see https://docs.sentry.io/platforms/php/guides/laravel/configuration/options/
*/
return [
// @see https://docs.sentry.io/product/sentry-basics/dsn-explainer/
'dsn' => env('SENTRY_LARAVEL_DSN', env('SENTRY_DSN')),
// @see https://spotlightjs.com... | php | Apache-2.0 | d60b7c16c3cc55d022da9562da63f4f6d29a4588 | 2026-01-05T04:47:43.726909Z | false |
syofyanzuhad/uptime-kita | https://github.com/syofyanzuhad/uptime-kita/blob/d60b7c16c3cc55d022da9562da63f4f6d29a4588/config/sitemap.php | config/sitemap.php | <?php
use GuzzleHttp\RequestOptions;
use Spatie\Sitemap\Crawler\Profile;
return [
/*
* These options will be passed to GuzzleHttp\Client when it is created.
* For in-depth information on all options see the Guzzle docs:
*
* http://docs.guzzlephp.org/en/stable/request-options.html
*/
... | php | Apache-2.0 | d60b7c16c3cc55d022da9562da63f4f6d29a4588 | 2026-01-05T04:47:43.726909Z | false |
syofyanzuhad/uptime-kita | https://github.com/syofyanzuhad/uptime-kita/blob/d60b7c16c3cc55d022da9562da63f4f6d29a4588/config/horizon.php | config/horizon.php | <?php
use Illuminate\Support\Str;
return [
/*
|--------------------------------------------------------------------------
| Horizon Domain
|--------------------------------------------------------------------------
|
| This is the subdomain where Horizon will be accessible from. If this
|... | php | Apache-2.0 | d60b7c16c3cc55d022da9562da63f4f6d29a4588 | 2026-01-05T04:47:43.726909Z | false |
syofyanzuhad/uptime-kita | https://github.com/syofyanzuhad/uptime-kita/blob/d60b7c16c3cc55d022da9562da63f4f6d29a4588/config/cache.php | config/cache.php | <?php
use Illuminate\Support\Str;
return [
/*
|--------------------------------------------------------------------------
| Default Cache Store
|--------------------------------------------------------------------------
|
| This option controls the default cache store that will be used by the... | php | Apache-2.0 | d60b7c16c3cc55d022da9562da63f4f6d29a4588 | 2026-01-05T04:47:43.726909Z | false |
syofyanzuhad/uptime-kita | https://github.com/syofyanzuhad/uptime-kita/blob/d60b7c16c3cc55d022da9562da63f4f6d29a4588/config/database.php | config/database.php | <?php
use Illuminate\Support\Str;
return [
/*
|--------------------------------------------------------------------------
| Default Database Connection Name
|--------------------------------------------------------------------------
|
| Here you may specify which of the database connections b... | php | Apache-2.0 | d60b7c16c3cc55d022da9562da63f4f6d29a4588 | 2026-01-05T04:47:43.726909Z | false |
syofyanzuhad/uptime-kita | https://github.com/syofyanzuhad/uptime-kita/blob/d60b7c16c3cc55d022da9562da63f4f6d29a4588/config/telemetry.php | config/telemetry.php | <?php
return [
/*
|--------------------------------------------------------------------------
| Telemetry Enabled
|--------------------------------------------------------------------------
|
| Controls whether anonymous telemetry is enabled. This is opt-in by default.
| Set to true to enab... | php | Apache-2.0 | d60b7c16c3cc55d022da9562da63f4f6d29a4588 | 2026-01-05T04:47:43.726909Z | false |
syofyanzuhad/uptime-kita | https://github.com/syofyanzuhad/uptime-kita/blob/d60b7c16c3cc55d022da9562da63f4f6d29a4588/config/ziggy.php | config/ziggy.php | <?php
return [
/*
|--------------------------------------------------------------------------
| Except Routes
|--------------------------------------------------------------------------
|
| Routes to exclude from Ziggy's output. These are typically development
| and admin tools that shouldn... | php | Apache-2.0 | d60b7c16c3cc55d022da9562da63f4f6d29a4588 | 2026-01-05T04:47:43.726909Z | false |
syofyanzuhad/uptime-kita | https://github.com/syofyanzuhad/uptime-kita/blob/d60b7c16c3cc55d022da9562da63f4f6d29a4588/config/log-viewer.php | config/log-viewer.php | <?php
use Opcodes\LogViewer\Enums\FolderSortingMethod;
use Opcodes\LogViewer\Enums\SortingOrder;
use Opcodes\LogViewer\Enums\Theme;
return [
/*
|--------------------------------------------------------------------------
| Log Viewer
|-------------------------------------------------------------------... | php | Apache-2.0 | d60b7c16c3cc55d022da9562da63f4f6d29a4588 | 2026-01-05T04:47:43.726909Z | false |
syofyanzuhad/uptime-kita | https://github.com/syofyanzuhad/uptime-kita/blob/d60b7c16c3cc55d022da9562da63f4f6d29a4588/config/services.php | config/services.php | <?php
return [
/*
|--------------------------------------------------------------------------
| Third Party Services
|--------------------------------------------------------------------------
|
| This file is for storing the credentials for third party services such
| as Mailgun, Postmark... | php | Apache-2.0 | d60b7c16c3cc55d022da9562da63f4f6d29a4588 | 2026-01-05T04:47:43.726909Z | false |
syofyanzuhad/uptime-kita | https://github.com/syofyanzuhad/uptime-kita/blob/d60b7c16c3cc55d022da9562da63f4f6d29a4588/config/filesystems.php | config/filesystems.php | <?php
return [
/*
|--------------------------------------------------------------------------
| Default Filesystem Disk
|--------------------------------------------------------------------------
|
| Here you may specify the default filesystem disk that should be used
| by the framework. T... | php | Apache-2.0 | d60b7c16c3cc55d022da9562da63f4f6d29a4588 | 2026-01-05T04:47:43.726909Z | false |
syofyanzuhad/uptime-kita | https://github.com/syofyanzuhad/uptime-kita/blob/d60b7c16c3cc55d022da9562da63f4f6d29a4588/config/larabug.php | config/larabug.php | <?php
return [
/*
|--------------------------------------------------------------------------
| Login key
|--------------------------------------------------------------------------
|
| This is your authorization key which you get from your profile.
| Retrieve your key from https://www.lar... | php | Apache-2.0 | d60b7c16c3cc55d022da9562da63f4f6d29a4588 | 2026-01-05T04:47:43.726909Z | false |
syofyanzuhad/uptime-kita | https://github.com/syofyanzuhad/uptime-kita/blob/d60b7c16c3cc55d022da9562da63f4f6d29a4588/config/mail.php | config/mail.php | <?php
return [
/*
|--------------------------------------------------------------------------
| Default Mailer
|--------------------------------------------------------------------------
|
| This option controls the default mailer that is used to send all email
| messages unless another ma... | php | Apache-2.0 | d60b7c16c3cc55d022da9562da63f4f6d29a4588 | 2026-01-05T04:47:43.726909Z | false |
syofyanzuhad/uptime-kita | https://github.com/syofyanzuhad/uptime-kita/blob/d60b7c16c3cc55d022da9562da63f4f6d29a4588/config/tags.php | config/tags.php | <?php
return [
/*
* The given function generates a URL friendly "slug" from the tag name property before saving it.
* Defaults to Str::slug (https://laravel.com/docs/master/helpers#method-str-slug)
*/
'slugger' => null,
/*
* The fully qualified class name of the tag model.
*/
... | php | Apache-2.0 | d60b7c16c3cc55d022da9562da63f4f6d29a4588 | 2026-01-05T04:47:43.726909Z | false |
syofyanzuhad/uptime-kita | https://github.com/syofyanzuhad/uptime-kita/blob/d60b7c16c3cc55d022da9562da63f4f6d29a4588/config/inertia.php | config/inertia.php | <?php
return [
/*
|--------------------------------------------------------------------------
| Pages
|--------------------------------------------------------------------------
|
| This setting configures where Inertia looks for page components.
| Updated to use lowercase 'pages' directory... | php | Apache-2.0 | d60b7c16c3cc55d022da9562da63f4f6d29a4588 | 2026-01-05T04:47:43.726909Z | false |
syofyanzuhad/uptime-kita | https://github.com/syofyanzuhad/uptime-kita/blob/d60b7c16c3cc55d022da9562da63f4f6d29a4588/config/auth.php | config/auth.php | <?php
return [
/*
|--------------------------------------------------------------------------
| Authentication Defaults
|--------------------------------------------------------------------------
|
| This option defines the default authentication "guard" and password
| reset "broker" for y... | php | Apache-2.0 | d60b7c16c3cc55d022da9562da63f4f6d29a4588 | 2026-01-05T04:47:43.726909Z | false |
syofyanzuhad/uptime-kita | https://github.com/syofyanzuhad/uptime-kita/blob/d60b7c16c3cc55d022da9562da63f4f6d29a4588/database/factories/MonitorFactory.php | database/factories/MonitorFactory.php | <?php
namespace Database\Factories;
use App\Models\Monitor;
use Illuminate\Database\Eloquent\Factories\Factory;
/**
* @extends \Illuminate\Database\Eloquent\Factories\Factory<\App\Models\Monitor>
*/
class MonitorFactory extends Factory
{
/**
* Define the model's default state.
*
* @return array<... | php | Apache-2.0 | d60b7c16c3cc55d022da9562da63f4f6d29a4588 | 2026-01-05T04:47:43.726909Z | false |
syofyanzuhad/uptime-kita | https://github.com/syofyanzuhad/uptime-kita/blob/d60b7c16c3cc55d022da9562da63f4f6d29a4588/database/factories/UserMonitorFactory.php | database/factories/UserMonitorFactory.php | <?php
namespace Database\Factories;
use App\Models\Monitor;
use App\Models\User;
use Illuminate\Database\Eloquent\Factories\Factory;
/**
* @extends \Illuminate\Database\Eloquent\Factories\Factory<\App\Models\UserMonitor>
*/
class UserMonitorFactory extends Factory
{
/**
* Define the model's default state.... | php | Apache-2.0 | d60b7c16c3cc55d022da9562da63f4f6d29a4588 | 2026-01-05T04:47:43.726909Z | false |
syofyanzuhad/uptime-kita | https://github.com/syofyanzuhad/uptime-kita/blob/d60b7c16c3cc55d022da9562da63f4f6d29a4588/database/factories/MonitorPerformanceHourlyFactory.php | database/factories/MonitorPerformanceHourlyFactory.php | <?php
namespace Database\Factories;
use App\Models\Monitor;
use Illuminate\Database\Eloquent\Factories\Factory;
/**
* @extends \Illuminate\Database\Eloquent\Factories\Factory<\App\Models\MonitorPerformanceHourly>
*/
class MonitorPerformanceHourlyFactory extends Factory
{
/**
* Define the model's default s... | php | Apache-2.0 | d60b7c16c3cc55d022da9562da63f4f6d29a4588 | 2026-01-05T04:47:43.726909Z | false |
syofyanzuhad/uptime-kita | https://github.com/syofyanzuhad/uptime-kita/blob/d60b7c16c3cc55d022da9562da63f4f6d29a4588/database/factories/MonitorHistoryFactory.php | database/factories/MonitorHistoryFactory.php | <?php
namespace Database\Factories;
use Illuminate\Database\Eloquent\Factories\Factory;
/**
* @extends \Illuminate\Database\Eloquent\Factories\Factory<\App\Models\MonitorHistory>
*/
class MonitorHistoryFactory extends Factory
{
/**
* Define the model's default state.
*
* @return array<string, mi... | php | Apache-2.0 | d60b7c16c3cc55d022da9562da63f4f6d29a4588 | 2026-01-05T04:47:43.726909Z | false |
syofyanzuhad/uptime-kita | https://github.com/syofyanzuhad/uptime-kita/blob/d60b7c16c3cc55d022da9562da63f4f6d29a4588/database/factories/MonitorUptimeDailyFactory.php | database/factories/MonitorUptimeDailyFactory.php | <?php
namespace Database\Factories;
use Illuminate\Database\Eloquent\Factories\Factory;
/**
* @extends \Illuminate\Database\Eloquent\Factories\Factory<\App\Models\MonitorUptimeDaily>
*/
class MonitorUptimeDailyFactory extends Factory
{
/**
* Define the model's default state.
*
* @return array<st... | php | Apache-2.0 | d60b7c16c3cc55d022da9562da63f4f6d29a4588 | 2026-01-05T04:47:43.726909Z | false |
syofyanzuhad/uptime-kita | https://github.com/syofyanzuhad/uptime-kita/blob/d60b7c16c3cc55d022da9562da63f4f6d29a4588/database/factories/NotificationChannelFactory.php | database/factories/NotificationChannelFactory.php | <?php
namespace Database\Factories;
use Illuminate\Database\Eloquent\Factories\Factory;
/**
* @extends \Illuminate\Database\Eloquent\Factories\Factory<\App\Models\NotificationChannel>
*/
class NotificationChannelFactory extends Factory
{
/**
* Define the model's default state.
*
* @return array<... | php | Apache-2.0 | d60b7c16c3cc55d022da9562da63f4f6d29a4588 | 2026-01-05T04:47:43.726909Z | false |
syofyanzuhad/uptime-kita | https://github.com/syofyanzuhad/uptime-kita/blob/d60b7c16c3cc55d022da9562da63f4f6d29a4588/database/factories/UserFactory.php | database/factories/UserFactory.php | <?php
namespace Database\Factories;
use Illuminate\Database\Eloquent\Factories\Factory;
use Illuminate\Support\Facades\Hash;
use Illuminate\Support\Str;
/**
* @extends \Illuminate\Database\Eloquent\Factories\Factory<\App\Models\User>
*/
class UserFactory extends Factory
{
/**
* The current password being ... | php | Apache-2.0 | d60b7c16c3cc55d022da9562da63f4f6d29a4588 | 2026-01-05T04:47:43.726909Z | false |
syofyanzuhad/uptime-kita | https://github.com/syofyanzuhad/uptime-kita/blob/d60b7c16c3cc55d022da9562da63f4f6d29a4588/database/factories/StatusPageMonitorFactory.php | database/factories/StatusPageMonitorFactory.php | <?php
namespace Database\Factories;
use App\Models\Monitor;
use App\Models\StatusPage;
use Illuminate\Database\Eloquent\Factories\Factory;
/**
* @extends \Illuminate\Database\Eloquent\Factories\Factory<\App\Models\StatusPageMonitor>
*/
class StatusPageMonitorFactory extends Factory
{
/**
* Define the mode... | php | Apache-2.0 | d60b7c16c3cc55d022da9562da63f4f6d29a4588 | 2026-01-05T04:47:43.726909Z | false |
syofyanzuhad/uptime-kita | https://github.com/syofyanzuhad/uptime-kita/blob/d60b7c16c3cc55d022da9562da63f4f6d29a4588/database/factories/MonitorStatisticFactory.php | database/factories/MonitorStatisticFactory.php | <?php
namespace Database\Factories;
use App\Models\Monitor;
use Illuminate\Database\Eloquent\Factories\Factory;
/**
* @extends \Illuminate\Database\Eloquent\Factories\Factory<\App\Models\MonitorStatistic>
*/
class MonitorStatisticFactory extends Factory
{
/**
* Define the model's default state.
*
... | php | Apache-2.0 | d60b7c16c3cc55d022da9562da63f4f6d29a4588 | 2026-01-05T04:47:43.726909Z | false |
syofyanzuhad/uptime-kita | https://github.com/syofyanzuhad/uptime-kita/blob/d60b7c16c3cc55d022da9562da63f4f6d29a4588/database/factories/SocialAccountFactory.php | database/factories/SocialAccountFactory.php | <?php
namespace Database\Factories;
use Illuminate\Database\Eloquent\Factories\Factory;
/**
* @extends \Illuminate\Database\Eloquent\Factories\Factory<\App\Models\SocialAccount>
*/
class SocialAccountFactory extends Factory
{
/**
* Define the model's default state.
*
* @return array<string, mixe... | php | Apache-2.0 | d60b7c16c3cc55d022da9562da63f4f6d29a4588 | 2026-01-05T04:47:43.726909Z | false |
syofyanzuhad/uptime-kita | https://github.com/syofyanzuhad/uptime-kita/blob/d60b7c16c3cc55d022da9562da63f4f6d29a4588/database/factories/MonitorIncidentFactory.php | database/factories/MonitorIncidentFactory.php | <?php
namespace Database\Factories;
use App\Models\Monitor;
use Illuminate\Database\Eloquent\Factories\Factory;
/**
* @extends \Illuminate\Database\Eloquent\Factories\Factory<\App\Models\MonitorIncident>
*/
class MonitorIncidentFactory extends Factory
{
/**
* Define the model's default state.
*
... | php | Apache-2.0 | d60b7c16c3cc55d022da9562da63f4f6d29a4588 | 2026-01-05T04:47:43.726909Z | false |
syofyanzuhad/uptime-kita | https://github.com/syofyanzuhad/uptime-kita/blob/d60b7c16c3cc55d022da9562da63f4f6d29a4588/database/factories/StatusPageFactory.php | database/factories/StatusPageFactory.php | <?php
namespace Database\Factories;
use Illuminate\Database\Eloquent\Factories\Factory;
/**
* @extends \Illuminate\Database\Eloquent\Factories\Factory<\App\Models\StatusPage>
*/
class StatusPageFactory extends Factory
{
/**
* Define the model's default state.
*
* @return array<string, mixed>
... | php | Apache-2.0 | d60b7c16c3cc55d022da9562da63f4f6d29a4588 | 2026-01-05T04:47:43.726909Z | false |
syofyanzuhad/uptime-kita | https://github.com/syofyanzuhad/uptime-kita/blob/d60b7c16c3cc55d022da9562da63f4f6d29a4588/database/migrations/0001_01_01_000000_create_users_table.php | database/migrations/0001_01_01_000000_create_users_table.php | <?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
return new class extends Migration
{
/**
* Run the migrations.
*/
public function up(): void
{
Schema::create('users', function (Blueprint $table) {
... | php | Apache-2.0 | d60b7c16c3cc55d022da9562da63f4f6d29a4588 | 2026-01-05T04:47:43.726909Z | false |
syofyanzuhad/uptime-kita | https://github.com/syofyanzuhad/uptime-kita/blob/d60b7c16c3cc55d022da9562da63f4f6d29a4588/database/migrations/2025_07_01_154946_create_status_pages_table.php | database/migrations/2025_07_01_154946_create_status_pages_table.php | <?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
return new class extends Migration
{
/**
* Run the migrations.
*/
public function up(): void
{
Schema::create('status_pages', function (Blueprint $table) {... | php | Apache-2.0 | d60b7c16c3cc55d022da9562da63f4f6d29a4588 | 2026-01-05T04:47:43.726909Z | false |
syofyanzuhad/uptime-kita | https://github.com/syofyanzuhad/uptime-kita/blob/d60b7c16c3cc55d022da9562da63f4f6d29a4588/database/migrations/2025_12_10_050607_add_page_views_count_to_monitors_table.php | database/migrations/2025_12_10_050607_add_page_views_count_to_monitors_table.php | <?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
return new class extends Migration
{
/**
* Run the migrations.
*/
public function up(): void
{
Schema::table('monitors', function (Blueprint $table) {
... | php | Apache-2.0 | d60b7c16c3cc55d022da9562da63f4f6d29a4588 | 2026-01-05T04:47:43.726909Z | false |
syofyanzuhad/uptime-kita | https://github.com/syofyanzuhad/uptime-kita/blob/d60b7c16c3cc55d022da9562da63f4f6d29a4588/database/migrations/2025_07_20_011146_create_tag_tables.php | database/migrations/2025_07_20_011146_create_tag_tables.php | <?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
return new class extends Migration
{
public function up(): void
{
Schema::create('tags', function (Blueprint $table) {
$table->id();
$table->jso... | php | Apache-2.0 | d60b7c16c3cc55d022da9562da63f4f6d29a4588 | 2026-01-05T04:47:43.726909Z | false |
syofyanzuhad/uptime-kita | https://github.com/syofyanzuhad/uptime-kita/blob/d60b7c16c3cc55d022da9562da63f4f6d29a4588/database/migrations/2025_08_07_193540_drop_queue_and_telescope_tables.php | database/migrations/2025_08_07_193540_drop_queue_and_telescope_tables.php | <?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Support\Facades\Artisan;
use Illuminate\Support\Facades\Schema;
return new class extends Migration
{
/**
* Run the migrations.
*/
public function up(): void
{
Schema::connection('sqlite')->dropIfExists('telescope_entries'... | php | Apache-2.0 | d60b7c16c3cc55d022da9562da63f4f6d29a4588 | 2026-01-05T04:47:43.726909Z | false |
syofyanzuhad/uptime-kita | https://github.com/syofyanzuhad/uptime-kita/blob/d60b7c16c3cc55d022da9562da63f4f6d29a4588/database/migrations/2025_12_08_100629_add_maintenance_fields_to_monitors_table.php | database/migrations/2025_12_08_100629_add_maintenance_fields_to_monitors_table.php | <?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
return new class extends Migration
{
/**
* Run the migrations.
*/
public function up(): void
{
Schema::table('monitors', function (Blueprint $table) {
... | php | Apache-2.0 | d60b7c16c3cc55d022da9562da63f4f6d29a4588 | 2026-01-05T04:47:43.726909Z | false |
syofyanzuhad/uptime-kita | https://github.com/syofyanzuhad/uptime-kita/blob/d60b7c16c3cc55d022da9562da63f4f6d29a4588/database/migrations/2025_07_01_225846_create_status_page_monitor_table.php | database/migrations/2025_07_01_225846_create_status_page_monitor_table.php | <?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
return new class extends Migration
{
/**
* Run the migrations.
*/
public function up(): void
{
Schema::create('status_page_monitor', function (Blueprint $t... | php | Apache-2.0 | d60b7c16c3cc55d022da9562da63f4f6d29a4588 | 2026-01-05T04:47:43.726909Z | false |
syofyanzuhad/uptime-kita | https://github.com/syofyanzuhad/uptime-kita/blob/d60b7c16c3cc55d022da9562da63f4f6d29a4588/database/migrations/2025_09_12_104331_create_email_notification_logs_table.php | database/migrations/2025_09_12_104331_create_email_notification_logs_table.php | <?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
return new class extends Migration
{
/**
* Run the migrations.
*/
public function up(): void
{
Schema::create('email_notification_logs', function (Blueprin... | php | Apache-2.0 | d60b7c16c3cc55d022da9562da63f4f6d29a4588 | 2026-01-05T04:47:43.726909Z | false |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.