Showing preview only (1,915K chars total). Download the full file or copy to clipboard to get everything.
Repository: govigilant/vigilant
Branch: main
Commit: db48e305ec9a
Files: 1102
Total size: 1.6 MB
Directory structure:
gitextract_0yr_cv_n/
├── .editorconfig
├── .gitattributes
├── .github/
│ └── workflows/
│ ├── code-style.yml
│ ├── image.yml
│ ├── package-quality.yml
│ ├── release-image.yml
│ └── tests.yml
├── .gitignore
├── Dockerfile
├── LICENSE.md
├── README.md
├── SECURITY.md
├── app/
│ ├── Console/
│ │ └── Kernel.php
│ ├── Exceptions/
│ │ └── Handler.php
│ ├── Http/
│ │ ├── Controllers/
│ │ │ └── Controller.php
│ │ ├── Kernel.php
│ │ └── Middleware/
│ │ ├── Authenticate.php
│ │ ├── EncryptCookies.php
│ │ ├── PreventRequestsDuringMaintenance.php
│ │ ├── RedirectIfAuthenticated.php
│ │ ├── TrimStrings.php
│ │ ├── TrustHosts.php
│ │ ├── TrustProxies.php
│ │ ├── ValidateSignature.php
│ │ └── VerifyCsrfToken.php
│ ├── Providers/
│ │ ├── AppServiceProvider.php
│ │ ├── AuthServiceProvider.php
│ │ ├── BroadcastServiceProvider.php
│ │ ├── EventServiceProvider.php
│ │ ├── FortifyServiceProvider.php
│ │ ├── HorizonServiceProvider.php
│ │ ├── JetstreamServiceProvider.php
│ │ └── RouteServiceProvider.php
│ └── View/
│ └── Components/
│ ├── AppLayout.php
│ └── GuestLayout.php
├── artisan
├── bootstrap/
│ ├── app.php
│ └── cache/
│ └── .gitignore
├── composer.json
├── config/
│ ├── app.php
│ ├── auth.php
│ ├── broadcasting.php
│ ├── cache.php
│ ├── cors.php
│ ├── database.php
│ ├── filesystems.php
│ ├── fortify.php
│ ├── hashing.php
│ ├── horizon.php
│ ├── jetstream.php
│ ├── livewire.php
│ ├── logging.php
│ ├── mail.php
│ ├── queue.php
│ ├── sanctum.php
│ ├── services.php
│ ├── session.php
│ └── view.php
├── database/
│ ├── .gitignore
│ ├── migrations/
│ │ ├── 2019_08_19_000000_create_failed_jobs_table.php
│ │ ├── 2019_12_14_000001_create_personal_access_tokens_table.php
│ │ ├── 2024_02_18_184745_create_sessions_table.php
│ │ └── 2024_03_23_092656_create_notifications_table.php
│ └── seeders/
│ └── DatabaseSeeder.php
├── docker/
│ ├── crontab
│ ├── entrypoint.sh
│ ├── horizon-entrypoint.sh
│ ├── nginx.conf
│ ├── php-fpm.ini
│ ├── preload.php
│ ├── supervisor/
│ │ └── supervisor.conf
│ └── www.conf
├── docker-compose.yml
├── package.json
├── packages/
│ ├── certificates/
│ │ ├── .gitignore
│ │ ├── composer.json
│ │ ├── config/
│ │ │ └── certificates.php
│ │ ├── database/
│ │ │ └── migrations/
│ │ │ ├── 2025_04_08_200000_create_create_certificate_monitors_table.php
│ │ │ └── 2025_04_12_090000_create_create_certificate_monitor_history_table.php
│ │ ├── phpstan.neon
│ │ ├── phpunit.xml
│ │ ├── resources/
│ │ │ ├── navigation.php
│ │ │ └── views/
│ │ │ ├── components/
│ │ │ │ └── empty-states/
│ │ │ │ └── monitors.blade.php
│ │ │ ├── index.blade.php
│ │ │ ├── livewire/
│ │ │ │ ├── certificate-monitor-form.blade.php
│ │ │ │ └── monitor/
│ │ │ │ └── dashboard.blade.php
│ │ │ └── monitor/
│ │ │ └── index.blade.php
│ │ ├── routes/
│ │ │ └── web.php
│ │ ├── src/
│ │ │ ├── Actions/
│ │ │ │ └── CheckCertificate.php
│ │ │ ├── Commands/
│ │ │ │ ├── CheckCertificateCommand.php
│ │ │ │ └── CheckCertificatesCommand.php
│ │ │ ├── Http/
│ │ │ │ └── Controllers/
│ │ │ │ └── CertificateMonitorController.php
│ │ │ ├── Jobs/
│ │ │ │ └── CheckCertificateJob.php
│ │ │ ├── Livewire/
│ │ │ │ ├── CertificateMonitorForm.php
│ │ │ │ ├── Forms/
│ │ │ │ │ └── CertificateMonitorForm.php
│ │ │ │ ├── Monitor/
│ │ │ │ │ └── Dashboard.php
│ │ │ │ └── Tables/
│ │ │ │ ├── CertificateMonitorHistoryTable.php
│ │ │ │ └── CertificateMonitorsTable.php
│ │ │ ├── Models/
│ │ │ │ ├── CertificateMonitor.php
│ │ │ │ └── CertificateMonitorHistory.php
│ │ │ ├── Notifications/
│ │ │ │ ├── CertificateChangedNotification.php
│ │ │ │ ├── CertificateExpiredNotification.php
│ │ │ │ ├── CertificateExpiresInDaysNotification.php
│ │ │ │ ├── Conditions/
│ │ │ │ │ └── DaysCondition.php
│ │ │ │ └── UnableToResolveCertificateNotification.php
│ │ │ └── ServiceProvider.php
│ │ ├── testbench.yaml
│ │ └── tests/
│ │ └── TestCase.php
│ ├── core/
│ │ ├── .gitignore
│ │ ├── composer.json
│ │ ├── config/
│ │ │ └── core.php
│ │ ├── phpstan.neon
│ │ ├── phpunit.xml
│ │ ├── resources/
│ │ │ └── navigation.php
│ │ ├── routes/
│ │ │ └── web.php
│ │ ├── src/
│ │ │ ├── Actions/
│ │ │ │ └── ResolveDataRetention.php
│ │ │ ├── Concerns/
│ │ │ │ └── HasDataRetention.php
│ │ │ ├── Contracts/
│ │ │ │ └── ResolvesDataRetention.php
│ │ │ ├── Data/
│ │ │ │ └── Data.php
│ │ │ ├── Facades/
│ │ │ │ └── Navigation.php
│ │ │ ├── Http/
│ │ │ │ └── Middleware/
│ │ │ │ └── TeamMiddleware.php
│ │ │ ├── Navigation/
│ │ │ │ ├── Navigation.php
│ │ │ │ └── NavigationItem.php
│ │ │ ├── Policies/
│ │ │ │ └── AllowAllPolicy.php
│ │ │ ├── Scopes/
│ │ │ │ └── TeamScope.php
│ │ │ ├── ServiceProvider.php
│ │ │ ├── Services/
│ │ │ │ └── TeamService.php
│ │ │ ├── Validation/
│ │ │ │ └── CanEnableRule.php
│ │ │ └── helpers.php
│ │ ├── testbench.yaml
│ │ └── tests/
│ │ └── TestCase.php
│ ├── crawler/
│ │ ├── .gitignore
│ │ ├── composer.json
│ │ ├── config/
│ │ │ └── crawler.php
│ │ ├── database/
│ │ │ └── migrations/
│ │ │ ├── 2024_09_06_213000_create_web_crawlers_table.php
│ │ │ ├── 2024_09_06_220000_create_web_crawled_urls_table.php
│ │ │ ├── 2025_01_18_220000_crawled_urls_url_length.php
│ │ │ ├── 2025_02_01_183000_web_crawlers_enabled_field.php
│ │ │ ├── 2025_04_07_200000_web_crawled_urls_url_hash.php
│ │ │ ├── 2025_09_28_100000_create_web_crawler_ignored_urls_table.php
│ │ │ └── 2025_09_29_190000_web_crawled_urls_ignored_field.php
│ │ ├── phpstan.neon
│ │ ├── phpunit.xml
│ │ ├── resources/
│ │ │ ├── navigation.php
│ │ │ └── views/
│ │ │ ├── components/
│ │ │ │ └── empty-states/
│ │ │ │ └── crawlers.blade.php
│ │ │ ├── crawler/
│ │ │ │ └── index.blade.php
│ │ │ ├── crawlers.blade.php
│ │ │ └── livewire/
│ │ │ ├── crawler/
│ │ │ │ └── dashboard.blade.php
│ │ │ └── crawler-form.blade.php
│ │ ├── routes/
│ │ │ └── web.php
│ │ ├── src/
│ │ │ ├── Actions/
│ │ │ │ ├── CollectCrawlerStats.php
│ │ │ │ ├── CrawlUrl.php
│ │ │ │ ├── ImportSitemaps.php
│ │ │ │ ├── ProcessCrawlerState.php
│ │ │ │ └── StartCrawler.php
│ │ │ ├── Commands/
│ │ │ │ ├── CollectCrawlerStatsCommand.php
│ │ │ │ ├── CrawlUrlsCommand.php
│ │ │ │ ├── ProcessCrawlerStatesCommand.php
│ │ │ │ ├── ScheduleCrawlersCommand.php
│ │ │ │ └── StartCrawlerCommand.php
│ │ │ ├── Enums/
│ │ │ │ ├── State.php
│ │ │ │ └── Status.php
│ │ │ ├── Events/
│ │ │ │ └── CrawlerFinishedEvent.php
│ │ │ ├── Exports/
│ │ │ │ └── IssuesExport.php
│ │ │ ├── Http/
│ │ │ │ └── Controllers/
│ │ │ │ └── CrawlerController.php
│ │ │ ├── Jobs/
│ │ │ │ ├── CollectCrawlerStatsJob.php
│ │ │ │ ├── CrawUrlJob.php
│ │ │ │ ├── ImportSitemapsJob.php
│ │ │ │ ├── ProcessCrawlerStateJob.php
│ │ │ │ └── StartCrawlerJob.php
│ │ │ ├── Listeners/
│ │ │ │ └── CrawlerFinishedListener.php
│ │ │ ├── Livewire/
│ │ │ │ ├── Crawler/
│ │ │ │ │ └── Dashboard.php
│ │ │ │ ├── CrawlerForm.php
│ │ │ │ ├── Crawlers.php
│ │ │ │ ├── Forms/
│ │ │ │ │ └── CrawlerForm.php
│ │ │ │ └── Tables/
│ │ │ │ ├── CrawledUrlsTable.php
│ │ │ │ ├── CrawlerTable.php
│ │ │ │ └── IssuesTable.php
│ │ │ ├── Models/
│ │ │ │ ├── CrawledUrl.php
│ │ │ │ ├── Crawler.php
│ │ │ │ └── IgnoredUrl.php
│ │ │ ├── Notifications/
│ │ │ │ ├── RatelimitedNotification.php
│ │ │ │ └── UrlIssuesNotification.php
│ │ │ ├── Observers/
│ │ │ │ ├── CrawledUrlObserver.php
│ │ │ │ ├── CrawlerObserver.php
│ │ │ │ └── IgnoredUrlObserver.php
│ │ │ ├── ServiceProvider.php
│ │ │ └── Validation/
│ │ │ ├── EqualDomainRule.php
│ │ │ └── ValidRegexLines.php
│ │ ├── testbench.yaml
│ │ └── tests/
│ │ ├── Actions/
│ │ │ ├── CrawUrlTest.php
│ │ │ ├── ProcessCrawlerStateTest.php
│ │ │ └── StartCrawlerTest.php
│ │ └── TestCase.php
│ ├── cve/
│ │ ├── .gitignore
│ │ ├── composer.json
│ │ ├── config/
│ │ │ └── cve.php
│ │ ├── database/
│ │ │ └── migrations/
│ │ │ ├── 2025_04_18_090000_create_cves_table.php
│ │ │ ├── 2025_04_18_100000_create_cve_monitors_table.php
│ │ │ ├── 2025_04_18_103000_create_cve_monitor_matches_table.php
│ │ │ ├── 2025_10_04_135717_add_fulltext_index_to_cves_description.php
│ │ │ └── 2025_10_04_135739_add_unique_index_to_cve_monitor_matches.php
│ │ ├── phpstan.neon
│ │ ├── phpunit.xml
│ │ ├── resources/
│ │ │ ├── navigation.php
│ │ │ └── views/
│ │ │ ├── components/
│ │ │ │ └── empty-states/
│ │ │ │ └── monitors.blade.php
│ │ │ ├── cve.blade.php
│ │ │ ├── index.blade.php
│ │ │ ├── livewire/
│ │ │ │ └── cve-monitor-form.blade.php
│ │ │ └── monitor.blade.php
│ │ ├── routes/
│ │ │ └── web.php
│ │ ├── src/
│ │ │ ├── Actions/
│ │ │ │ ├── ImportAllCves.php
│ │ │ │ ├── ImportCve.php
│ │ │ │ ├── ImportCves.php
│ │ │ │ ├── MatchCve.php
│ │ │ │ └── MatchExistingCves.php
│ │ │ ├── Commands/
│ │ │ │ ├── ImportAllCvesCommand.php
│ │ │ │ ├── ImportCvesCommand.php
│ │ │ │ ├── MatchCveCommand.php
│ │ │ │ └── MatchExistingCvesCommand.php
│ │ │ ├── Http/
│ │ │ │ └── Controllers/
│ │ │ │ ├── CveController.php
│ │ │ │ └── CveMonitorController.php
│ │ │ ├── Jobs/
│ │ │ │ ├── ImportAllCvesJob.php
│ │ │ │ ├── ImportCvesJob.php
│ │ │ │ ├── MatchCveJob.php
│ │ │ │ ├── MatchCveMonitorsJob.php
│ │ │ │ └── MatchExistingCvesJob.php
│ │ │ ├── Livewire/
│ │ │ │ ├── CveMonitorForm.php
│ │ │ │ ├── Forms/
│ │ │ │ │ └── CveMonitorForm.php
│ │ │ │ └── Tables/
│ │ │ │ ├── CveMonitorMatchesTable.php
│ │ │ │ └── CveMonitorTable.php
│ │ │ ├── Models/
│ │ │ │ ├── Cve.php
│ │ │ │ ├── CveMonitor.php
│ │ │ │ └── CveMonitorMatch.php
│ │ │ ├── Notifications/
│ │ │ │ ├── Conditions/
│ │ │ │ │ ├── KeywordCondition.php
│ │ │ │ │ └── ScoreCondition.php
│ │ │ │ └── CveMatchedNotification.php
│ │ │ ├── Observers/
│ │ │ │ └── CveMonitorObserver.php
│ │ │ └── ServiceProvider.php
│ │ ├── testbench.yaml
│ │ └── tests/
│ │ ├── Actions/
│ │ │ ├── ImportAllCvesTest.php
│ │ │ ├── ImportCveTest.php
│ │ │ ├── ImportCvesTest.php
│ │ │ └── MatchCveTest.php
│ │ ├── Models/
│ │ │ ├── CveMonitorMatchTest.php
│ │ │ ├── CveMonitorTest.php
│ │ │ └── CveTest.php
│ │ ├── Notifications/
│ │ │ └── CveMatchedNotificationTest.php
│ │ └── TestCase.php
│ ├── dns/
│ │ ├── .gitignore
│ │ ├── composer.json
│ │ ├── config/
│ │ │ └── dns.php
│ │ ├── database/
│ │ │ └── migrations/
│ │ │ ├── 2024_07_16_073000_create_dns_monitors_table.php
│ │ │ ├── 2024_07_16_073500_create_dns_monitor_history_table.php
│ │ │ ├── 2025_01_23_220000_dns_monitor_value_field_size.php
│ │ │ ├── 2025_02_01_180000_dns_monitor_enabled_field.php
│ │ │ └── 2025_03_22_090000_dns_monitor_value_field_nullable.php
│ │ ├── phpstan.neon
│ │ ├── phpunit.xml
│ │ ├── resources/
│ │ │ ├── navigation.php
│ │ │ └── views/
│ │ │ ├── components/
│ │ │ │ └── empty-states/
│ │ │ │ └── monitors.blade.php
│ │ │ └── livewire/
│ │ │ ├── dns-monitor-form.blade.php
│ │ │ ├── import.blade.php
│ │ │ ├── monitor/
│ │ │ │ └── dashboard.blade.php
│ │ │ ├── monitor-history.blade.php
│ │ │ └── monitors.blade.php
│ │ ├── routes/
│ │ │ └── web.php
│ │ ├── src/
│ │ │ ├── Actions/
│ │ │ │ ├── CheckDnsRecord.php
│ │ │ │ ├── ResolveGeoIp.php
│ │ │ │ └── ResolveRecord.php
│ │ │ ├── Client/
│ │ │ │ └── DnsClient.php
│ │ │ ├── Commands/
│ │ │ │ ├── CheckAllDnsRecordsCommand.php
│ │ │ │ ├── CheckDnsRecordCommand.php
│ │ │ │ └── ResolveGeoIpCommand.php
│ │ │ ├── Enums/
│ │ │ │ └── Type.php
│ │ │ ├── Http/
│ │ │ │ └── Controllers/
│ │ │ │ └── DnsMonitorController.php
│ │ │ ├── Jobs/
│ │ │ │ ├── CheckDnsRecordJob.php
│ │ │ │ └── ResolveGeoIpJob.php
│ │ │ ├── Livewire/
│ │ │ │ ├── DnsImport.php
│ │ │ │ ├── DnsMonitorForm.php
│ │ │ │ ├── DnsMonitorHistory.php
│ │ │ │ ├── DnsMonitors.php
│ │ │ │ ├── Forms/
│ │ │ │ │ └── DnsMonitorForm.php
│ │ │ │ ├── Monitor/
│ │ │ │ │ └── Dashboard.php
│ │ │ │ └── Tables/
│ │ │ │ ├── DnsMonitorHistoryTable.php
│ │ │ │ └── DnsMonitorTable.php
│ │ │ ├── Models/
│ │ │ │ ├── DnsMonitor.php
│ │ │ │ └── DnsMonitorHistory.php
│ │ │ ├── Notifications/
│ │ │ │ ├── Conditions/
│ │ │ │ │ └── RecordTypeCondition.php
│ │ │ │ ├── RecordChangedNotification.php
│ │ │ │ └── RecordNotResolvedNotification.php
│ │ │ ├── Observers/
│ │ │ │ └── GeoipObserver.php
│ │ │ ├── RecordParsers/
│ │ │ │ ├── A.php
│ │ │ │ ├── AAAA.php
│ │ │ │ ├── CAA.php
│ │ │ │ ├── CNAME.php
│ │ │ │ ├── MX.php
│ │ │ │ ├── NS.php
│ │ │ │ ├── RecordParser.php
│ │ │ │ ├── SOA.php
│ │ │ │ └── TXT.php
│ │ │ └── ServiceProvider.php
│ │ ├── testbench.yaml
│ │ └── tests/
│ │ ├── Actions/
│ │ │ └── CheckDnsRecordTest.php
│ │ └── TestCase.php
│ ├── frontend/
│ │ ├── .gitignore
│ │ ├── composer.json
│ │ ├── phpstan.neon
│ │ ├── phpunit.xml
│ │ ├── resources/
│ │ │ └── views/
│ │ │ ├── components/
│ │ │ │ ├── card.blade.php
│ │ │ │ ├── empty-state.blade.php
│ │ │ │ ├── mdash.blade.php
│ │ │ │ ├── modal/
│ │ │ │ │ ├── body.blade.php
│ │ │ │ │ ├── footer.blade.php
│ │ │ │ │ └── header.blade.php
│ │ │ │ ├── modal.blade.php
│ │ │ │ ├── page-header/
│ │ │ │ │ ├── actions/
│ │ │ │ │ │ └── index.blade.php
│ │ │ │ │ └── mobile-actions/
│ │ │ │ │ └── index.blade.php
│ │ │ │ ├── stats-card.blade.php
│ │ │ │ └── tabs/
│ │ │ │ ├── container.blade.php
│ │ │ │ ├── navigation.blade.php
│ │ │ │ ├── panel.blade.php
│ │ │ │ └── panels.blade.php
│ │ │ ├── integrations/
│ │ │ │ └── table/
│ │ │ │ ├── actions-column.blade.php
│ │ │ │ ├── chart-column.blade.php
│ │ │ │ ├── geoip-column.blade.php
│ │ │ │ ├── hover-column.blade.php
│ │ │ │ ├── link-column.blade.php
│ │ │ │ └── status-column.blade.php
│ │ │ └── livewire/
│ │ │ └── charts/
│ │ │ ├── base-chart-placeholder.blade.php
│ │ │ └── base-chart.blade.php
│ │ ├── src/
│ │ │ ├── Concerns/
│ │ │ │ └── DisplaysAlerts.php
│ │ │ ├── Enums/
│ │ │ │ └── AlertType.php
│ │ │ ├── Http/
│ │ │ │ └── Livewire/
│ │ │ │ └── BaseChart.php
│ │ │ ├── Integrations/
│ │ │ │ └── Table/
│ │ │ │ ├── Actions/
│ │ │ │ │ └── InlineAction.php
│ │ │ │ ├── ActionsColumn.php
│ │ │ │ ├── BaseTable.php
│ │ │ │ ├── ChartColumn.php
│ │ │ │ ├── Concerns/
│ │ │ │ │ └── HasInlineActions.php
│ │ │ │ ├── DateColumn.php
│ │ │ │ ├── Enums/
│ │ │ │ │ └── Status.php
│ │ │ │ ├── GeoIpColumn.php
│ │ │ │ ├── HoverColumn.php
│ │ │ │ ├── LinkColumn.php
│ │ │ │ └── StatusColumn.php
│ │ │ ├── ServiceProvider.php
│ │ │ ├── Traits/
│ │ │ │ └── CanBeInline.php
│ │ │ └── Validation/
│ │ │ ├── CleanDomainValidator.php
│ │ │ ├── CountryCode.php
│ │ │ ├── CronExpression.php
│ │ │ └── Fqdn.php
│ │ ├── testbench.yaml
│ │ └── tests/
│ │ └── TestCase.php
│ ├── healthchecks/
│ │ ├── .gitignore
│ │ ├── composer.json
│ │ ├── config/
│ │ │ └── healthchecks.php
│ │ ├── database/
│ │ │ └── migrations/
│ │ │ ├── 2025_11_06_200000_create_healthchecks_table.php
│ │ │ ├── 2025_11_06_201000_create_healthcheck_results_table.php
│ │ │ ├── 2025_11_06_202000_create_healthcheck_metrics_table.php
│ │ │ └── 2025_11_23_150400_update_healthcheck_results_columns.php
│ │ ├── phpstan.neon
│ │ ├── phpunit.xml
│ │ ├── resources/
│ │ │ ├── navigation.php
│ │ │ └── views/
│ │ │ ├── components/
│ │ │ │ └── empty-states/
│ │ │ │ └── healthchecks.blade.php
│ │ │ ├── healthcheck/
│ │ │ │ └── view.blade.php
│ │ │ ├── livewire/
│ │ │ │ ├── charts/
│ │ │ │ │ └── metric-chart.blade.php
│ │ │ │ ├── healthcheck-dashboard.blade.php
│ │ │ │ ├── healthcheck-form.blade.php
│ │ │ │ ├── healthcheck-setup.blade.php
│ │ │ │ ├── healthcheck-token-editor.blade.php
│ │ │ │ └── healthchecks.blade.php
│ │ │ └── platforms/
│ │ │ ├── drupal.blade.php
│ │ │ ├── endpoint.blade.php
│ │ │ ├── joomla.blade.php
│ │ │ ├── laravel.blade.php
│ │ │ ├── magento.blade.php
│ │ │ ├── statamic.blade.php
│ │ │ └── wordpress.blade.php
│ │ ├── routes/
│ │ │ ├── api.php
│ │ │ └── web.php
│ │ ├── src/
│ │ │ ├── Actions/
│ │ │ │ ├── AggregateMetrics.php
│ │ │ │ ├── CheckHealth.php
│ │ │ │ ├── CheckMetric.php
│ │ │ │ └── CheckResult.php
│ │ │ ├── Checks/
│ │ │ │ ├── Checker.php
│ │ │ │ ├── Endpoint.php
│ │ │ │ └── Module.php
│ │ │ ├── Commands/
│ │ │ │ ├── AggregateMetricsCommand.php
│ │ │ │ ├── CheckHealthcheckCommand.php
│ │ │ │ └── ScheduleHealthchecksCommand.php
│ │ │ ├── Enums/
│ │ │ │ ├── Status.php
│ │ │ │ └── Type.php
│ │ │ ├── Http/
│ │ │ │ ├── Controllers/
│ │ │ │ │ └── HealthcheckController.php
│ │ │ │ └── Livewire/
│ │ │ │ └── Charts/
│ │ │ │ └── MetricChart.php
│ │ │ ├── Jobs/
│ │ │ │ ├── AggregateMetricsJob.php
│ │ │ │ ├── CheckHealthcheckJob.php
│ │ │ │ ├── CheckMetricJob.php
│ │ │ │ └── CheckResultJob.php
│ │ │ ├── Livewire/
│ │ │ │ ├── Forms/
│ │ │ │ │ └── HealthcheckForm.php
│ │ │ │ ├── HealthcheckDashboard.php
│ │ │ │ ├── HealthcheckForm.php
│ │ │ │ ├── HealthcheckSetup.php
│ │ │ │ ├── HealthcheckTokenEditor.php
│ │ │ │ ├── Healthchecks.php
│ │ │ │ └── Tables/
│ │ │ │ ├── HealthcheckTable.php
│ │ │ │ └── ResultTable.php
│ │ │ ├── Models/
│ │ │ │ ├── Healthcheck.php
│ │ │ │ ├── Metric.php
│ │ │ │ └── Result.php
│ │ │ ├── Notifications/
│ │ │ │ ├── Conditions/
│ │ │ │ │ ├── CheckKeyCondition.php
│ │ │ │ │ ├── DiskFullInCondition.php
│ │ │ │ │ ├── MetricIncreaseNewValueCondition.php
│ │ │ │ │ ├── MetricIncreasePercentCondition.php
│ │ │ │ │ ├── MetricIncreaseTimeframeCondition.php
│ │ │ │ │ ├── MetricKeyCondition.php
│ │ │ │ │ ├── MetricUnitCondition.php
│ │ │ │ │ ├── MetricValueCondition.php
│ │ │ │ │ └── StatusCondition.php
│ │ │ │ ├── DiskUsageNotification.php
│ │ │ │ ├── HealthCheckFailedNotification.php
│ │ │ │ ├── MetricIncreasingNotification.php
│ │ │ │ ├── MetricNotification.php
│ │ │ │ └── MetricSpikeNotification.php
│ │ │ ├── Observers/
│ │ │ │ └── HealthcheckObserver.php
│ │ │ └── ServiceProvider.php
│ │ ├── testbench.yaml
│ │ └── tests/
│ │ ├── Actions/
│ │ │ ├── AggregateMetricsTest.php
│ │ │ ├── CheckMetricTest.php
│ │ │ └── CheckResultTest.php
│ │ └── TestCase.php
│ ├── lighthouse/
│ │ ├── .gitignore
│ │ ├── composer.json
│ │ ├── config/
│ │ │ └── lighthouse.php
│ │ ├── database/
│ │ │ └── migrations/
│ │ │ ├── 2024_05_11_105500_create_lighthouse_sites_table.php
│ │ │ ├── 2024_05_11_120000_create_lighthouse_results_table.php
│ │ │ ├── 2024_05_17_073000_lighthouse_results_aggregated_field_table.php
│ │ │ ├── 2024_06_22_160000_create_lighthouse_result_audits_table.php
│ │ │ ├── 2024_07_13_200000_lighthouse_site_rename_table.php
│ │ │ ├── 2025_02_01_173000_lighthouse_monitors_enabled_field.php
│ │ │ ├── 2025_02_03_190000_lighthouse_monitors_next_run_field.php
│ │ │ ├── 2025_02_07_210000_lighthouse_monitors_batch_fields.php
│ │ │ └── 2025_03_19_200000_lighthouse_monitors_run_started_at_field.php
│ │ ├── phpstan.neon
│ │ ├── phpunit.xml
│ │ ├── resources/
│ │ │ ├── navigation.php
│ │ │ └── views/
│ │ │ ├── components/
│ │ │ │ ├── average-difference.blade.php
│ │ │ │ └── empty-states/
│ │ │ │ └── monitors.blade.php
│ │ │ ├── lighthouse/
│ │ │ │ └── index.blade.php
│ │ │ ├── livewire/
│ │ │ │ ├── lighthouse-site-form.blade.php
│ │ │ │ ├── lighthouse-sites.blade.php
│ │ │ │ └── monitor/
│ │ │ │ └── dashboard.blade.php
│ │ │ └── result/
│ │ │ └── index.blade.php
│ │ ├── routes/
│ │ │ ├── api.php
│ │ │ └── web.php
│ │ ├── src/
│ │ │ ├── Actions/
│ │ │ │ ├── AggregateLighthouseBatch.php
│ │ │ │ ├── AggregateResults.php
│ │ │ │ ├── CalculateTimeDifference.php
│ │ │ │ ├── CheckLighthouseResult.php
│ │ │ │ ├── CheckLighthouseResultAudit.php
│ │ │ │ ├── ProcessLighthouseResult.php
│ │ │ │ └── RunLighthouse.php
│ │ │ ├── Commands/
│ │ │ │ ├── AggregateLighthouseBatchCommand.php
│ │ │ │ ├── AggregateLighthouseResultsCommand.php
│ │ │ │ ├── CheckLighthouseCommand.php
│ │ │ │ ├── LighthouseCommand.php
│ │ │ │ └── ScheduleLighthouseCommand.php
│ │ │ ├── Data/
│ │ │ │ └── CategoryResultDifferenceData.php
│ │ │ ├── Http/
│ │ │ │ └── Controllers/
│ │ │ │ ├── LighthouseCallbackController.php
│ │ │ │ ├── LighthouseMonitorController.php
│ │ │ │ └── LighthouseResultController.php
│ │ │ ├── Jobs/
│ │ │ │ ├── AggregateLighthouseBatchJob.php
│ │ │ │ ├── AggregateLighthouseResultsJob.php
│ │ │ │ ├── CheckLighthouseResultJob.php
│ │ │ │ └── RunLighthouseJob.php
│ │ │ ├── Livewire/
│ │ │ │ ├── Charts/
│ │ │ │ │ ├── LighthouseCategoriesChart.php
│ │ │ │ │ └── NumericLighthouseChart.php
│ │ │ │ ├── Forms/
│ │ │ │ │ └── LighthouseSiteForm.php
│ │ │ │ ├── LighthouseSiteForm.php
│ │ │ │ ├── LighthouseSites.php
│ │ │ │ ├── Monitor/
│ │ │ │ │ └── Dashboard.php
│ │ │ │ └── Tables/
│ │ │ │ ├── LighthouseMonitorsTable.php
│ │ │ │ ├── LighthouseResultAuditsTable.php
│ │ │ │ └── LighthouseResultsTable.php
│ │ │ ├── Models/
│ │ │ │ ├── LighthouseMonitor.php
│ │ │ │ ├── LighthouseResult.php
│ │ │ │ └── LighthouseResultAudit.php
│ │ │ ├── Notifications/
│ │ │ │ ├── CategoryScoreChangedNotification.php
│ │ │ │ ├── Conditions/
│ │ │ │ │ ├── Audit/
│ │ │ │ │ │ ├── AuditChangesCondition.php
│ │ │ │ │ │ ├── AuditDecreasesCondition.php
│ │ │ │ │ │ ├── AuditIncreasesCondition.php
│ │ │ │ │ │ ├── AuditPercentCondition.php
│ │ │ │ │ │ ├── AuditTypeCondition.php
│ │ │ │ │ │ └── AuditValueCondition.php
│ │ │ │ │ └── Category/
│ │ │ │ │ ├── AccessibilityPercentScoreCondition.php
│ │ │ │ │ ├── AccessibilityScoreDecreasesCondition.php
│ │ │ │ │ ├── AccessibilityScoreIncreasesCondition.php
│ │ │ │ │ ├── AccessibilityScoreValueCondition.php
│ │ │ │ │ ├── AverageScoreChangesCondition.php
│ │ │ │ │ ├── AverageScoreCondition.php
│ │ │ │ │ ├── AverageScoreDecreasesCondition.php
│ │ │ │ │ ├── AverageScoreIncreasesCondition.php
│ │ │ │ │ ├── AverageScoreValueCondition.php
│ │ │ │ │ ├── BestPracticesPercentScoreCondition.php
│ │ │ │ │ ├── BestPracticesScoreDecreasesCondition.php
│ │ │ │ │ ├── BestPracticesScoreIncreasesCondition.php
│ │ │ │ │ ├── BestPracticesScoreValueCondition.php
│ │ │ │ │ ├── PerformancePercentScoreCondition.php
│ │ │ │ │ ├── PerformanceScoreDecreasesCondition.php
│ │ │ │ │ ├── PerformanceScoreIncreasesCondition.php
│ │ │ │ │ ├── PerformanceScoreValueCondition.php
│ │ │ │ │ ├── ScoreCondition.php
│ │ │ │ │ ├── SeoPercentPercentScoreCondition.php
│ │ │ │ │ ├── SeoScoreDecreasesCondition.php
│ │ │ │ │ ├── SeoScoreIncreasesCondition.php
│ │ │ │ │ └── SeoScoreValueCondition.php
│ │ │ │ └── NumericAuditChangedNotification.php
│ │ │ ├── Observers/
│ │ │ │ └── LighthouseMonitorObserver.php
│ │ │ └── ServiceProvider.php
│ │ ├── testbench.yaml
│ │ └── tests/
│ │ ├── Actions/
│ │ │ ├── AggregateResultsTest.php
│ │ │ ├── CalculateTimeDifferenceTest.php
│ │ │ ├── CheckLighthouseResultAuditTest.php
│ │ │ ├── CheckLighthouseResultTest.php
│ │ │ └── RunLighthouseTest.php
│ │ ├── Data/
│ │ │ └── CategoryResultDifferenceDataTest.php
│ │ ├── Notifications/
│ │ │ └── Conditions/
│ │ │ ├── Audit/
│ │ │ │ ├── AuditChangeConditionsTest.php
│ │ │ │ └── AuditValueConditionTest.php
│ │ │ └── Category/
│ │ │ ├── AverageScoreChangeConditionsTest.php
│ │ │ ├── AverageScoreValueConditionTest.php
│ │ │ └── PerformanceScoreValueConditionTest.php
│ │ └── TestCase.php
│ ├── notifications/
│ │ ├── .gitignore
│ │ ├── composer.json
│ │ ├── config/
│ │ │ └── notifications.php
│ │ ├── database/
│ │ │ └── migrations/
│ │ │ ├── 2024_02_25_110000_create_notification_triggers_table.php
│ │ │ ├── 2024_02_25_111000_create_notification_channels_table.php
│ │ │ ├── 2024_02_25_111000_create_notification_triggers_channels_table.php
│ │ │ ├── 2024_02_25_112000_create_notification_history_table.php
│ │ │ ├── 2024_04_04_193000_notification_trigger_all_channels_field.php
│ │ │ ├── 2024_04_12_193000_notification_enabled_field.php
│ │ │ ├── 2024_09_22_113000_notification_cooldown_field.php
│ │ │ ├── 2026_01_02_150000_add_name_to_notification_channels_table.php
│ │ │ └── 2026_01_02_151500_backfill_notification_channel_names.php
│ │ ├── phpstan.neon
│ │ ├── phpunit.xml
│ │ ├── resources/
│ │ │ ├── navigation.php
│ │ │ └── views/
│ │ │ ├── channels.blade.php
│ │ │ ├── components/
│ │ │ │ ├── condition-builder/
│ │ │ │ │ ├── condition.blade.php
│ │ │ │ │ ├── group.blade.php
│ │ │ │ │ └── type/
│ │ │ │ │ ├── number.blade.php
│ │ │ │ │ ├── select.blade.php
│ │ │ │ │ ├── static.blade.php
│ │ │ │ │ └── text.blade.php
│ │ │ │ └── empty-states/
│ │ │ │ └── channels.blade.php
│ │ │ ├── history.blade.php
│ │ │ ├── livewire/
│ │ │ │ ├── channels/
│ │ │ │ │ ├── configuration/
│ │ │ │ │ │ ├── discord.blade.php
│ │ │ │ │ │ ├── google-chat.blade.php
│ │ │ │ │ │ ├── mail.blade.php
│ │ │ │ │ │ ├── microsoft-teams.blade.php
│ │ │ │ │ │ ├── ntfy.blade.php
│ │ │ │ │ │ ├── slack.blade.php
│ │ │ │ │ │ ├── telegram.blade.php
│ │ │ │ │ │ └── webhook.blade.php
│ │ │ │ │ └── form.blade.php
│ │ │ │ └── notifications/
│ │ │ │ ├── condition-builder.blade.php
│ │ │ │ └── form.blade.php
│ │ │ ├── mails/
│ │ │ │ └── notification.blade.php
│ │ │ └── notifications.blade.php
│ │ ├── routes/
│ │ │ └── web.php
│ │ ├── src/
│ │ │ ├── Actions/
│ │ │ │ ├── CheckBurst.php
│ │ │ │ ├── CheckCooldown.php
│ │ │ │ └── CreateNotifications.php
│ │ │ ├── Channels/
│ │ │ │ ├── DiscordChannel.php
│ │ │ │ ├── GoogleChatChannel.php
│ │ │ │ ├── MailChannel.php
│ │ │ │ ├── MicrosoftTeamsChannel.php
│ │ │ │ ├── NotificationChannel.php
│ │ │ │ ├── NtfyChannel.php
│ │ │ │ ├── SlackChannel.php
│ │ │ │ ├── TelegramChannel.php
│ │ │ │ └── WebhookChannel.php
│ │ │ ├── Commands/
│ │ │ │ ├── CreateNotificationsCommand.php
│ │ │ │ ├── RenameConditionClassesCommand.php
│ │ │ │ └── TestNotificationCommand.php
│ │ │ ├── Concerns/
│ │ │ │ └── NotificationFake.php
│ │ │ ├── Conditions/
│ │ │ │ ├── Condition.php
│ │ │ │ ├── ConditionEngine.php
│ │ │ │ ├── FalseCondition.php
│ │ │ │ ├── SelectCondition.php
│ │ │ │ ├── StaticCondition.php
│ │ │ │ └── TrueCondition.php
│ │ │ ├── Contracts/
│ │ │ │ └── HasSite.php
│ │ │ ├── Enums/
│ │ │ │ ├── ConditionType.php
│ │ │ │ └── Level.php
│ │ │ ├── Facades/
│ │ │ │ └── NotificationRegistry.php
│ │ │ ├── Http/
│ │ │ │ ├── Controllers/
│ │ │ │ │ └── ChannelController.php
│ │ │ │ └── Livewire/
│ │ │ │ ├── ChannelForm.php
│ │ │ │ ├── Channels/
│ │ │ │ │ └── Configuration/
│ │ │ │ │ ├── ChannelConfiguration.php
│ │ │ │ │ ├── Discord.php
│ │ │ │ │ ├── GoogleChat.php
│ │ │ │ │ ├── Mail.php
│ │ │ │ │ ├── MicrosoftTeams.php
│ │ │ │ │ ├── Ntfy.php
│ │ │ │ │ ├── Slack.php
│ │ │ │ │ ├── Telegram.php
│ │ │ │ │ └── Webhook.php
│ │ │ │ ├── Forms/
│ │ │ │ │ ├── CreateChannelForm.php
│ │ │ │ │ └── CreateNotificationForm.php
│ │ │ │ ├── NotificationForm.php
│ │ │ │ ├── Notifications/
│ │ │ │ │ └── Conditions/
│ │ │ │ │ └── ConditionBuilder.php
│ │ │ │ └── Tables/
│ │ │ │ ├── ChannelTable.php
│ │ │ │ ├── HistoryTable.php
│ │ │ │ └── NotificationTable.php
│ │ │ ├── Jobs/
│ │ │ │ ├── CreateNotificationsJob.php
│ │ │ │ └── SendNotificationJob.php
│ │ │ ├── Mail/
│ │ │ │ └── NotificationMail.php
│ │ │ ├── Models/
│ │ │ │ ├── Channel.php
│ │ │ │ ├── History.php
│ │ │ │ └── Trigger.php
│ │ │ ├── Notifications/
│ │ │ │ ├── Notification.php
│ │ │ │ ├── NotificationRegistry.php
│ │ │ │ └── TestNotification.php
│ │ │ ├── Observers/
│ │ │ │ ├── ChannelObserver.php
│ │ │ │ └── TriggerObserver.php
│ │ │ ├── Scopes/
│ │ │ │ └── HistoryTeamScope.php
│ │ │ └── ServiceProvider.php
│ │ ├── testbench.yaml
│ │ └── tests/
│ │ ├── Channels/
│ │ │ ├── NtfyChannelTest.php
│ │ │ └── TelegramChannelTest.php
│ │ ├── Conditions/
│ │ │ └── ConditionEngineTest.php
│ │ ├── Fakes/
│ │ │ ├── Conditions/
│ │ │ │ ├── FalseCondition.php
│ │ │ │ └── TrueCondition.php
│ │ │ ├── FakeChannel.php
│ │ │ └── FakeNotification.php
│ │ ├── Models/
│ │ │ └── ChannelTest.php
│ │ ├── Notifications/
│ │ │ ├── NotificationRegistryTest.php
│ │ │ └── NotificationTest.php
│ │ └── TestCase.php
│ ├── onboarding/
│ │ ├── .gitignore
│ │ ├── composer.json
│ │ ├── config/
│ │ │ └── onboarding.php
│ │ ├── database/
│ │ │ └── migrations/
│ │ │ └── 2024_09_29_210000_create_team_onboarding_step_table.php
│ │ ├── phpstan.neon
│ │ ├── phpunit.xml
│ │ ├── resources/
│ │ │ └── views/
│ │ │ ├── complete.blade.php
│ │ │ ├── import-domains.blade.php
│ │ │ └── notification-channel.blade.php
│ │ ├── routes/
│ │ │ └── web.php
│ │ ├── src/
│ │ │ ├── Actions/
│ │ │ │ └── ShouldOnboard.php
│ │ │ ├── Http/
│ │ │ │ └── Middleware/
│ │ │ │ ├── OnlyOnboarding.php
│ │ │ │ └── RedirectToOnboard.php
│ │ │ ├── Livewire/
│ │ │ │ ├── Complete.php
│ │ │ │ ├── ImportDomains.php
│ │ │ │ └── NotificationChannel.php
│ │ │ ├── Models/
│ │ │ │ └── OnboardingStep.php
│ │ │ └── ServiceProvider.php
│ │ ├── testbench.yaml
│ │ └── tests/
│ │ └── TestCase.php
│ ├── settings/
│ │ ├── .gitignore
│ │ ├── composer.json
│ │ ├── config/
│ │ │ └── settings.php
│ │ ├── phpstan.neon
│ │ ├── phpunit.xml
│ │ ├── resources/
│ │ │ └── views/
│ │ │ ├── index.blade.php
│ │ │ └── tabs/
│ │ │ ├── profile.blade.php
│ │ │ ├── security.blade.php
│ │ │ └── team.blade.php
│ │ ├── routes/
│ │ │ └── web.php
│ │ ├── src/
│ │ │ ├── Livewire/
│ │ │ │ ├── Forms/
│ │ │ │ │ ├── ProfileForm.php
│ │ │ │ │ └── UpdatePasswordForm.php
│ │ │ │ ├── Settings.php
│ │ │ │ └── Tabs/
│ │ │ │ ├── Profile.php
│ │ │ │ ├── Security.php
│ │ │ │ └── Team.php
│ │ │ └── ServiceProvider.php
│ │ ├── testbench.yaml
│ │ └── tests/
│ │ └── TestCase.php
│ ├── sites/
│ │ ├── .gitignore
│ │ ├── composer.json
│ │ ├── config/
│ │ │ └── sites.php
│ │ ├── database/
│ │ │ └── migrations/
│ │ │ └── 2024_02_20_170000_create_sites_table.php
│ │ ├── phpstan.neon
│ │ ├── phpunit.xml
│ │ ├── resources/
│ │ │ ├── navigation.php
│ │ │ └── views/
│ │ │ ├── components/
│ │ │ │ ├── empty-states/
│ │ │ │ │ └── no-monitors.blade.php
│ │ │ │ └── site-card.blade.php
│ │ │ ├── livewire/
│ │ │ │ ├── form.blade.php
│ │ │ │ ├── import.blade.php
│ │ │ │ ├── sites.blade.php
│ │ │ │ └── tabs/
│ │ │ │ ├── certificate-monitor.blade.php
│ │ │ │ ├── crawler.blade.php
│ │ │ │ ├── dns-monitors.blade.php
│ │ │ │ ├── healthcheck-monitor.blade.php
│ │ │ │ ├── lighthouse-monitor.blade.php
│ │ │ │ └── uptime-monitor.blade.php
│ │ │ └── sites/
│ │ │ └── view.blade.php
│ │ ├── routes/
│ │ │ └── web.php
│ │ ├── src/
│ │ │ ├── Actions/
│ │ │ │ └── ImportSite.php
│ │ │ ├── Conditions/
│ │ │ │ └── SiteCondition.php
│ │ │ ├── Http/
│ │ │ │ ├── Controllers/
│ │ │ │ │ └── SiteController.php
│ │ │ │ └── Livewire/
│ │ │ │ ├── Forms/
│ │ │ │ │ └── CreateSiteForm.php
│ │ │ │ ├── ImportSites.php
│ │ │ │ ├── SiteForm.php
│ │ │ │ ├── Sites.php
│ │ │ │ ├── Tables/
│ │ │ │ │ └── SiteTable.php
│ │ │ │ └── Tabs/
│ │ │ │ ├── CertificateMonitor.php
│ │ │ │ ├── Crawler.php
│ │ │ │ ├── DnsMonitors.php
│ │ │ │ ├── HealthcheckMonitor.php
│ │ │ │ ├── LighthouseMonitors.php
│ │ │ │ └── UptimeMonitor.php
│ │ │ ├── Jobs/
│ │ │ │ └── ImportSiteJob.php
│ │ │ ├── Models/
│ │ │ │ └── Site.php
│ │ │ ├── Observers/
│ │ │ │ └── SiteObserver.php
│ │ │ └── ServiceProvider.php
│ │ ├── testbench.yaml
│ │ └── tests/
│ │ └── TestCase.php
│ ├── uptime/
│ │ ├── .gitignore
│ │ ├── composer.json
│ │ ├── config/
│ │ │ └── uptime.php
│ │ ├── database/
│ │ │ ├── factories/
│ │ │ │ └── MonitorFactory.php
│ │ │ └── migrations/
│ │ │ ├── 2024_02_21_190000_create_uptime_monitors_table.php
│ │ │ ├── 2024_02_21_190100_create_uptime_results_table.php
│ │ │ ├── 2024_02_21_190200_create_uptime_downtimes_table.php
│ │ │ ├── 2024_02_22_073000_create_uptime_results_aggregates_table.php
│ │ │ ├── 2024_05_21_170200_uptime_downtimes_data_field.php
│ │ │ ├── 2025_02_01_170000_uptime_monitors_enabled_field.php
│ │ │ ├── 2025_05_06_190000_uptime_monitors_schedule_fields.php
│ │ │ ├── 2025_10_05_080000_create_uptime_outposts_table.php
│ │ │ ├── 2025_10_06_181706_add_country_to_uptime_results_tables.php
│ │ │ ├── 2025_10_06_183423_add_location_to_uptime_monitors_table.php
│ │ │ ├── 2025_10_06_184619_add_country_to_uptime_monitors_table.php
│ │ │ ├── 2025_10_07_180857_add_geoip_fetched_at_to_uptime_monitors_table.php
│ │ │ ├── 2025_10_08_100000_add_closest_outpost_id_to_uptime_monitors_table.php
│ │ │ ├── 2025_10_19_152447_add_unavailable_at_to_uptime_outposts_table.php
│ │ │ ├── 2025_12_23_192903_add_geoip_automatic_to_uptime_monitors_table.php
│ │ │ ├── 2025_12_23_193500_add_geoip_automatic_to_uptime_outposts_table.php
│ │ │ └── 2025_12_27_142900_update_ping_monitor_types.php
│ │ ├── phpstan.neon
│ │ ├── phpunit.xml
│ │ ├── resources/
│ │ │ ├── navigation.php
│ │ │ └── views/
│ │ │ ├── components/
│ │ │ │ └── empty-states/
│ │ │ │ └── monitors.blade.php
│ │ │ ├── livewire/
│ │ │ │ ├── charts/
│ │ │ │ │ ├── column-latency-chart.blade.php
│ │ │ │ │ └── latency-chart.blade.php
│ │ │ │ ├── monitor/
│ │ │ │ │ ├── dashboard.blade.php
│ │ │ │ │ └── form.blade.php
│ │ │ │ └── uptime-monitors.blade.php
│ │ │ └── monitor/
│ │ │ └── view.blade.php
│ │ ├── routes/
│ │ │ ├── api.php
│ │ │ └── web.php
│ │ ├── src/
│ │ │ ├── Actions/
│ │ │ │ ├── AggregateResults.php
│ │ │ │ ├── CalculateUptimePercentage.php
│ │ │ │ ├── CheckLatency.php
│ │ │ │ ├── CheckUptime.php
│ │ │ │ ├── FetchGeolocation.php
│ │ │ │ └── Outpost/
│ │ │ │ ├── DetermineOutpost.php
│ │ │ │ ├── GenerateOutpostCertificate.php
│ │ │ │ ├── GenerateRootCertificate.php
│ │ │ │ └── RegisterOutpost.php
│ │ │ ├── Commands/
│ │ │ │ ├── AggregateResultsCommand.php
│ │ │ │ ├── CheckLatencyCommand.php
│ │ │ │ ├── CheckUnavailableOutpostsCommand.php
│ │ │ │ ├── CheckUptimeCommand.php
│ │ │ │ ├── GenerateRootCaCommand.php
│ │ │ │ └── ScheduleUptimeChecksCommand.php
│ │ │ ├── Data/
│ │ │ │ └── UptimeResult.php
│ │ │ ├── Enums/
│ │ │ │ ├── OutpostStatus.php
│ │ │ │ ├── State.php
│ │ │ │ └── Type.php
│ │ │ ├── Events/
│ │ │ │ ├── DowntimeEndEvent.php
│ │ │ │ ├── DowntimeStartEvent.php
│ │ │ │ └── UptimeCheckedEvent.php
│ │ │ ├── Http/
│ │ │ │ ├── Controllers/
│ │ │ │ │ ├── Api/
│ │ │ │ │ │ ├── OutpostController.php
│ │ │ │ │ │ └── OutpostIpController.php
│ │ │ │ │ └── UptimeMonitorController.php
│ │ │ │ ├── Livewire/
│ │ │ │ │ ├── Charts/
│ │ │ │ │ │ ├── ColumnLatencyChart.php
│ │ │ │ │ │ └── LatencyChart.php
│ │ │ │ │ ├── Forms/
│ │ │ │ │ │ └── CreateUptimeMonitorForm.php
│ │ │ │ │ ├── Monitor/
│ │ │ │ │ │ └── Dashboard.php
│ │ │ │ │ ├── Tables/
│ │ │ │ │ │ ├── DowntimeTable.php
│ │ │ │ │ │ └── MonitorTable.php
│ │ │ │ │ ├── UptimeMonitorForm.php
│ │ │ │ │ └── UptimeMonitors.php
│ │ │ │ └── Middleware/
│ │ │ │ ├── ExternalOutpostMiddleware.php
│ │ │ │ └── OutpostAuthMiddleware.php
│ │ │ ├── Jobs/
│ │ │ │ ├── AggregateResultsJob.php
│ │ │ │ ├── CheckUnavailableOutpostJob.php
│ │ │ │ ├── CheckUptimeJob.php
│ │ │ │ └── UpdateMonitorLocationJob.php
│ │ │ ├── Listeners/
│ │ │ │ ├── CheckLatencyListener.php
│ │ │ │ ├── DowntimeEndNotificationListener.php
│ │ │ │ └── DowntimeStartNotificationListener.php
│ │ │ ├── Models/
│ │ │ │ ├── Downtime.php
│ │ │ │ ├── Monitor.php
│ │ │ │ ├── Outpost.php
│ │ │ │ ├── Result.php
│ │ │ │ └── ResultAggregate.php
│ │ │ ├── Notifications/
│ │ │ │ ├── Conditions/
│ │ │ │ │ ├── ClosestCountryCondition.php
│ │ │ │ │ ├── CountryCondition.php
│ │ │ │ │ ├── LatencyMsCondition.php
│ │ │ │ │ └── LatencyPercentCondition.php
│ │ │ │ ├── DowntimeEndNotification.php
│ │ │ │ ├── DowntimeStartNotification.php
│ │ │ │ ├── LatencyChangedNotification.php
│ │ │ │ └── LatencyPeakNotification.php
│ │ │ ├── Observers/
│ │ │ │ ├── MonitorObserver.php
│ │ │ │ └── OutpostObserver.php
│ │ │ └── ServiceProvider.php
│ │ ├── testbench.yaml
│ │ └── tests/
│ │ ├── Fakes/
│ │ │ └── HandlerStatsResponse.php
│ │ ├── Feature/
│ │ │ ├── AggregateResultsTest.php
│ │ │ ├── DowntimeTest.php
│ │ │ └── UptimeTest.php
│ │ ├── TestCase.php
│ │ └── Unit/
│ │ ├── CalculateUptimePercentageTest.php
│ │ ├── DetermineOutpostPerformanceTest.php
│ │ ├── DetermineOutpostTest.php
│ │ ├── Enums/
│ │ │ └── TypeTest.php
│ │ ├── ExternalOutpostMiddlewareTest.php
│ │ ├── FetchGeolocationTest.php
│ │ ├── GenerateOutpostCertificateTest.php
│ │ ├── OutpostAuthMiddlewareTest.php
│ │ └── RegisterOutpostTest.php
│ └── users/
│ ├── .gitignore
│ ├── composer.json
│ ├── config/
│ │ └── users.php
│ ├── database/
│ │ ├── factories/
│ │ │ ├── TeamFactory.php
│ │ │ └── UserFactory.php
│ │ └── migrations/
│ │ ├── 2014_10_12_000000_create_users_table.php
│ │ ├── 2014_10_12_100000_create_password_reset_tokens_table.php
│ │ ├── 2014_10_12_200000_add_two_factor_columns_to_users_table.php
│ │ ├── 2020_05_21_100000_create_teams_table.php
│ │ ├── 2020_05_21_200000_create_team_user_table.php
│ │ ├── 2020_05_21_300000_create_team_invitations_table.php
│ │ └── 2024_05_18_100000_team_timezone_field.php
│ ├── phpstan.neon
│ ├── phpunit.xml
│ ├── routes/
│ │ ├── auth.php
│ │ └── web.php
│ ├── src/
│ │ ├── Actions/
│ │ │ ├── Fortify/
│ │ │ │ ├── CreateNewUser.php
│ │ │ │ ├── PasswordValidationRules.php
│ │ │ │ ├── ResetUserPassword.php
│ │ │ │ ├── UpdateUserPassword.php
│ │ │ │ └── UpdateUserProfileInformation.php
│ │ │ └── Jetstream/
│ │ │ ├── AddTeamMember.php
│ │ │ ├── CreateTeam.php
│ │ │ ├── DeleteTeam.php
│ │ │ ├── DeleteUser.php
│ │ │ ├── InviteTeamMember.php
│ │ │ ├── RemoveTeamMember.php
│ │ │ └── UpdateTeamName.php
│ │ ├── Http/
│ │ │ ├── Controllers/
│ │ │ │ └── SocialiteController.php
│ │ │ └── Middleware/
│ │ │ ├── EnsureEmailIsVerified.php
│ │ │ └── NoUserMiddleware.php
│ │ ├── Models/
│ │ │ ├── Membership.php
│ │ │ ├── Team.php
│ │ │ ├── TeamInvitation.php
│ │ │ └── User.php
│ │ ├── Notifications/
│ │ │ └── VerifyEmail.php
│ │ ├── Observers/
│ │ │ └── TeamObserver.php
│ │ ├── Policies/
│ │ │ └── TeamPolicy.php
│ │ ├── ServiceProvider.php
│ │ └── Validators/
│ │ └── RegistrationEnabledValidator.php
│ ├── testbench.yaml
│ └── tests/
│ └── TestCase.php
├── phpunit.xml
├── postcss.config.js
├── public/
│ ├── .htaccess
│ ├── index.php
│ ├── robots.txt
│ └── site.webmanifest
├── resources/
│ ├── css/
│ │ ├── app.css
│ │ └── tailwind.sources.css
│ ├── js/
│ │ ├── app.js
│ │ └── bootstrap.js
│ ├── lang/
│ │ └── en/
│ │ └── validation.php
│ ├── markdown/
│ │ ├── policy.md
│ │ └── terms.md
│ ├── navigation.php
│ └── views/
│ ├── api/
│ │ ├── api-token-manager.blade.php
│ │ └── index.blade.php
│ ├── auth/
│ │ ├── confirm-password.blade.php
│ │ ├── forgot-password.blade.php
│ │ ├── login.blade.php
│ │ ├── register.blade.php
│ │ ├── reset-password.blade.php
│ │ ├── two-factor-challenge.blade.php
│ │ └── verify-email.blade.php
│ ├── components/
│ │ ├── action-message.blade.php
│ │ ├── action-section.blade.php
│ │ ├── alert.blade.php
│ │ ├── alerts/
│ │ │ ├── danger.blade.php
│ │ │ ├── info.blade.php
│ │ │ ├── success.blade.php
│ │ │ └── warning.blade.php
│ │ ├── application-logo.blade.php
│ │ ├── application-mark.blade.php
│ │ ├── authentication-card-logo.blade.php
│ │ ├── authentication-card.blade.php
│ │ ├── banner.blade.php
│ │ ├── button.blade.php
│ │ ├── card.blade.php
│ │ ├── checkbox.blade.php
│ │ ├── confirmation-modal.blade.php
│ │ ├── confirms-password.blade.php
│ │ ├── create-button-dropdown.blade.php
│ │ ├── create-button.blade.php
│ │ ├── danger-button.blade.php
│ │ ├── dialog-modal.blade.php
│ │ ├── dropdown-link.blade.php
│ │ ├── dropdown.blade.php
│ │ ├── form/
│ │ │ ├── button.blade.php
│ │ │ ├── checkbox.blade.php
│ │ │ ├── dropdown-button.blade.php
│ │ │ ├── header.blade.php
│ │ │ ├── number.blade.php
│ │ │ ├── password.blade.php
│ │ │ ├── select.blade.php
│ │ │ ├── submit-button.blade.php
│ │ │ ├── text-list.blade.php
│ │ │ ├── text.blade.php
│ │ │ ├── textarea.blade.php
│ │ │ └── time.blade.php
│ │ ├── form-section.blade.php
│ │ ├── input-error.blade.php
│ │ ├── input.blade.php
│ │ ├── label.blade.php
│ │ ├── layout/
│ │ │ ├── sidebar/
│ │ │ │ ├── menu.blade.php
│ │ │ │ └── mobile-menu.blade.php
│ │ │ ├── sidebar.blade.php
│ │ │ ├── topbar.blade.php
│ │ │ └── user-profile-dropdown.blade.php
│ │ ├── modal.blade.php
│ │ ├── nav-link.blade.php
│ │ ├── page-header.blade.php
│ │ ├── password-group.blade.php
│ │ ├── responsive-nav-link.blade.php
│ │ ├── secondary-button.blade.php
│ │ ├── section-border.blade.php
│ │ ├── section-title.blade.php
│ │ ├── switchable-team.blade.php
│ │ └── validation-errors.blade.php
│ ├── dashboard.blade.php
│ ├── emails/
│ │ └── team-invitation.blade.php
│ ├── errors/
│ │ ├── 401.blade.php
│ │ ├── 402.blade.php
│ │ ├── 403.blade.php
│ │ ├── 404.blade.php
│ │ ├── 419.blade.php
│ │ ├── 429.blade.php
│ │ ├── 500.blade.php
│ │ ├── 503.blade.php
│ │ ├── layout.blade.php
│ │ └── minimal.blade.php
│ ├── layouts/
│ │ ├── app.blade.php
│ │ └── guest.blade.php
│ ├── policy.blade.php
│ ├── profile/
│ │ ├── delete-user-form.blade.php
│ │ ├── logout-other-browser-sessions-form.blade.php
│ │ ├── two-factor-authentication-form.blade.php
│ │ ├── update-password-form.blade.php
│ │ └── update-profile-information-form.blade.php
│ ├── teams/
│ │ ├── create-team-form.blade.php
│ │ ├── create.blade.php
│ │ ├── delete-team-form.blade.php
│ │ ├── show.blade.php
│ │ ├── team-member-manager.blade.php
│ │ └── update-team-name-form.blade.php
│ ├── terms.blade.php
│ └── vendor/
│ ├── livewire-table/
│ │ ├── columns/
│ │ │ ├── buttons/
│ │ │ │ └── copy.blade.php
│ │ │ ├── content/
│ │ │ │ ├── action.blade.php
│ │ │ │ ├── boolean.blade.php
│ │ │ │ ├── default.blade.php
│ │ │ │ └── image.blade.php
│ │ │ ├── footer/
│ │ │ │ └── default.blade.php
│ │ │ ├── header/
│ │ │ │ └── default.blade.php
│ │ │ └── search/
│ │ │ ├── boolean.blade.php
│ │ │ ├── date.blade.php
│ │ │ ├── default.blade.php
│ │ │ └── select.blade.php
│ │ ├── components/
│ │ │ ├── button.blade.php
│ │ │ ├── dropdown/
│ │ │ │ ├── content.blade.php
│ │ │ │ ├── divider.blade.php
│ │ │ │ ├── footer.blade.php
│ │ │ │ ├── header.blade.php
│ │ │ │ ├── index.blade.php
│ │ │ │ ├── menu/
│ │ │ │ │ ├── index.blade.php
│ │ │ │ │ └── item.blade.php
│ │ │ │ └── section.blade.php
│ │ │ ├── form/
│ │ │ │ ├── checkbox.blade.php
│ │ │ │ ├── group.blade.php
│ │ │ │ ├── input.blade.php
│ │ │ │ └── select.blade.php
│ │ │ ├── icon.blade.php
│ │ │ ├── notification/
│ │ │ │ ├── button.blade.php
│ │ │ │ └── index.blade.php
│ │ │ └── table/
│ │ │ ├── index.blade.php
│ │ │ ├── message.blade.php
│ │ │ ├── tbody.blade.php
│ │ │ ├── td.blade.php
│ │ │ ├── tfoot.blade.php
│ │ │ ├── th.blade.php
│ │ │ ├── thead.blade.php
│ │ │ └── tr.blade.php
│ │ ├── filters/
│ │ │ ├── boolean.blade.php
│ │ │ ├── date.blade.php
│ │ │ ├── filter.blade.php
│ │ │ └── select.blade.php
│ │ ├── icons/
│ │ │ ├── arrow-path.blade.php
│ │ │ ├── backspace.blade.php
│ │ │ ├── check-circle.blade.php
│ │ │ ├── check.blade.php
│ │ │ ├── chevron-down.blade.php
│ │ │ ├── chevron-left.blade.php
│ │ │ ├── chevron-right.blade.php
│ │ │ ├── chevron-up-down.blade.php
│ │ │ ├── chevron-up.blade.php
│ │ │ ├── clipboard-document-check.blade.php
│ │ │ ├── clipboard-document.blade.php
│ │ │ ├── clock.blade.php
│ │ │ ├── cog-6-tooth.blade.php
│ │ │ ├── ellipsis-vertical.blade.php
│ │ │ ├── eye.blade.php
│ │ │ ├── funnel.blade.php
│ │ │ ├── information-circle.blade.php
│ │ │ ├── list-bullet.blade.php
│ │ │ ├── magnifying-glass.blade.php
│ │ │ ├── min.blade.php
│ │ │ ├── play.blade.php
│ │ │ ├── plus.blade.php
│ │ │ ├── queue-list.blade.php
│ │ │ ├── view-columns.blade.php
│ │ │ └── x-mark.blade.php
│ │ ├── livewire/
│ │ │ └── livewire-table.blade.php
│ │ ├── pagination/
│ │ │ └── pagination.blade.php
│ │ ├── table/
│ │ │ └── table.blade.php
│ │ └── toolbar/
│ │ ├── buttons/
│ │ │ ├── clear-search.blade.php
│ │ │ └── reordering.blade.php
│ │ ├── dropdowns/
│ │ │ ├── actions.blade.php
│ │ │ ├── configuration.blade.php
│ │ │ ├── sections/
│ │ │ │ ├── actions.blade.php
│ │ │ │ ├── columns.blade.php
│ │ │ │ ├── configuration.blade.php
│ │ │ │ ├── filters.blade.php
│ │ │ │ ├── polling.blade.php
│ │ │ │ ├── results.blade.php
│ │ │ │ ├── suggestions.blade.php
│ │ │ │ └── trashed.blade.php
│ │ │ └── suggestions.blade.php
│ │ ├── loader.blade.php
│ │ ├── notification.blade.php
│ │ ├── search.blade.php
│ │ └── toolbar.blade.php
│ └── mail/
│ ├── html/
│ │ ├── button.blade.php
│ │ ├── footer.blade.php
│ │ ├── header.blade.php
│ │ ├── layout.blade.php
│ │ ├── message.blade.php
│ │ ├── panel.blade.php
│ │ ├── subcopy.blade.php
│ │ ├── table.blade.php
│ │ └── themes/
│ │ └── default.css
│ └── text/
│ ├── button.blade.php
│ ├── footer.blade.php
│ ├── header.blade.php
│ ├── layout.blade.php
│ ├── message.blade.php
│ ├── panel.blade.php
│ ├── subcopy.blade.php
│ └── table.blade.php
├── routes/
│ ├── api.php
│ ├── channels.php
│ ├── console.php
│ └── web.php
├── scripts/
│ ├── generate-tailwind-sources.mjs
│ └── package-quality.sh
├── storage/
│ ├── app/
│ │ └── .gitignore
│ ├── framework/
│ │ ├── .gitignore
│ │ ├── cache/
│ │ │ └── .gitignore
│ │ ├── sessions/
│ │ │ └── .gitignore
│ │ ├── testing/
│ │ │ └── .gitignore
│ │ └── views/
│ │ └── .gitignore
│ └── logs/
│ └── .gitignore
├── tests/
│ ├── Browser/
│ │ ├── Notifications/
│ │ │ ├── ChannelsFormTest.php
│ │ │ ├── ChannelsIndexTest.php
│ │ │ ├── NotificationsFormTest.php
│ │ │ └── NotificationsIndexTest.php
│ │ ├── Pages/
│ │ │ ├── HomePage.php
│ │ │ └── Page.php
│ │ ├── Sites/
│ │ │ ├── SitesFormTest.php
│ │ │ └── SitesIndexTest.php
│ │ ├── Uptime/
│ │ │ ├── UptimeFormTest.php
│ │ │ └── UptimeIndexTest.php
│ │ ├── console/
│ │ │ └── .gitignore
│ │ ├── screenshots/
│ │ │ └── .gitignore
│ │ └── source/
│ │ └── .gitignore
│ ├── CreatesApplication.php
│ ├── DuskTestCase.php
│ ├── Feature/
│ │ └── .gitkeep
│ ├── TestCase.php
│ └── Unit/
│ └── .gitkeep
└── vite.config.js
================================================
FILE CONTENTS
================================================
================================================
FILE: .editorconfig
================================================
root = true
[*]
charset = utf-8
end_of_line = lf
indent_size = 4
indent_style = space
insert_final_newline = true
trim_trailing_whitespace = true
[*.md]
trim_trailing_whitespace = false
[*.{yml,yaml}]
indent_size = 2
[docker-compose.yml]
indent_size = 4
================================================
FILE: .gitattributes
================================================
* text=auto eol=lf
*.blade.php diff=html
*.css diff=css
*.html diff=html
*.md diff=markdown
*.php diff=php
/.github export-ignore
CHANGELOG.md export-ignore
.styleci.yml export-ignore
================================================
FILE: .github/workflows/code-style.yml
================================================
name: PHP Linting
on:
pull_request:
branches:
- 'feature/*'
push:
branches:
- 'main'
jobs:
phplint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: "laravel-pint"
uses: aglipanci/laravel-pint-action@2.0.0
with:
preset: laravel
pintVersion: 1.21.2
================================================
FILE: .github/workflows/image.yml
================================================
name: Build and publish image
on:
workflow_dispatch:
push:
branches:
- 'develop'
- 'main'
jobs:
build-and-push-image:
if: ${{ github.event_name != 'pull_request' }}
runs-on: ubuntu-latest
permissions:
packages: write
steps:
- name: Checkout repository
uses: actions/checkout@v3
- name: Log in to the Container registry
uses: docker/login-action@v3
with:
registry: https://ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Set image tag
id: tag
shell: bash
run: |
if [ "${GITHUB_REF}" = "refs/heads/main" ]; then
echo "tag=latest" >> "$GITHUB_OUTPUT"
else
echo "tag=dev" >> "$GITHUB_OUTPUT"
fi
- name: Build and push Docker image
uses: docker/build-push-action@v5
with:
push: true
tags: ghcr.io/govigilant/vigilant:${{ steps.tag.outputs.tag }}
================================================
FILE: .github/workflows/package-quality.yml
================================================
name: Package quality
on:
push:
branches: [main]
pull_request:
jobs:
get-packages:
runs-on: ubuntu-latest
outputs:
matrix: ${{ steps.set-matrix.outputs.matrix }}
steps:
- uses: actions/checkout@v3
- id: set-matrix
run: |
packages=$(ls -d packages/*/ | sed 's|packages/||; s|/||' | jq -R -s -c 'split("\n")[:-1]')
echo "Detected packages: $packages"
echo "matrix=$packages" >> $GITHUB_OUTPUT
quality:
needs: get-packages
runs-on: ubuntu-latest
strategy:
matrix:
package: ${{ fromJson(needs.get-packages.outputs.matrix) }}
steps:
- uses: actions/checkout@v3
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: '8.4'
extensions: dom, curl, libxml, mbstring, zip, pdo, sqlite, pdo_sqlite, bcmath, soap, intl, gd, exif, iconv, imagick, fileinfo
coverage: none
- name: Run quality check script
run: |
chmod +x ./scripts/package-quality.sh
./scripts/package-quality.sh "${{ matrix.package }}"
shell: bash
================================================
FILE: .github/workflows/release-image.yml
================================================
name: Build and publish release image
on:
release:
types: [published]
jobs:
build-and-push-release-image:
runs-on: ubuntu-latest
permissions:
packages: write
steps:
- name: Checkout repository
uses: actions/checkout@v3
- name: Log in to the Container registry
uses: docker/login-action@v3
with:
registry: https://ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Build and push Docker image with release tag
uses: docker/build-push-action@v5
with:
push: true
tags: ghcr.io/govigilant/vigilant:${{ github.event.release.tag_name }}
================================================
FILE: .github/workflows/tests.yml
================================================
name: Tests
on: ['push', 'pull_request']
jobs:
tests:
runs-on: ubuntu-latest
name: Tests
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: 8.4
extensions: dom, curl, libxml, mbstring, zip, pdo, sqlite, pdo_sqlite, bcmath, soap, intl, gd, exif, iconv, imagick, fileinfo
coverage: none
- name: Install dependencies
run: composer install --prefer-dist --no-interaction
- name: Execute tests
run: vendor/bin/phpunit
================================================
FILE: .gitignore
================================================
/.phpunit.cache
/node_modules
/public/build
/public/hot
/public/storage
/public/vendor
/public/js
/public/css
/storage/*.key
/vendor
.env
.env.backup
.env.production
.phpunit.result.cache
Homestead.json
Homestead.yaml
auth.json
npm-debug.log
yarn-error.log
/.fleet
/.idea
/.vscode
/caddy
frankenphp
frankenphp-worker.php
================================================
FILE: Dockerfile
================================================
FROM php:8.4-fpm-alpine
RUN apk add --no-cache \
bash \
git \
curl \
vim \
unzip \
nginx \
supervisor \
dcron \
su-exec \
nodejs \
npm \
libzip-dev \
libxml2-dev \
icu-dev \
libpng-dev \
libjpeg-turbo-dev \
freetype-dev \
pango \
linux-headers \
python3 \
py3-pip \
py3-cffi \
py3-brotli \
&& pip3 install --break-system-packages WeasyPrint
RUN curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin --filename=composer
RUN docker-php-ext-configure gd --with-freetype --with-jpeg \
&& docker-php-ext-install \
pdo \
pdo_mysql \
sockets \
pcntl \
zip \
exif \
bcmath \
intl \
gd
RUN apk add --no-cache --virtual .build-deps autoconf g++ make \
&& pecl install redis \
&& docker-php-ext-enable redis \
&& apk del .build-deps
COPY . /app
WORKDIR /app
ENV COMPOSER_ALLOW_SUPERUSER=1
RUN composer install --no-dev --prefer-dist --no-interaction
RUN npm install
RUN npm run build
RUN mkdir -p /tmp/public/ \
&& cp -r /app/public/* /tmp/public/ \
&& chown -R www-data:www-data /app
COPY docker/nginx.conf /etc/nginx/http.d/default.conf
COPY docker/php-fpm.ini /usr/local/etc/php/conf.d/zzz-fpm-overrides.ini
COPY docker/www.conf /usr/local/etc/php-fpm.d/www.conf
# Ensure the socket directory exists and is writable
RUN mkdir -p /run && chown www-data:www-data /run
RUN /usr/bin/crontab /app/docker/crontab
ENTRYPOINT ["sh", "/app/docker/entrypoint.sh"]
================================================
FILE: LICENSE.md
================================================
GNU AFFERO GENERAL PUBLIC LICENSE
Version 3, 19 November 2007
Copyright (C) 2007 Free Software Foundation, Inc. <https://fsf.org/>
Everyone is permitted to copy and distribute verbatim copies
of this license document, but changing it is not allowed.
Preamble
The GNU Affero General Public License is a free, copyleft license for
software and other kinds of works, specifically designed to ensure
cooperation with the community in the case of network server software.
The licenses for most software and other practical works are designed
to take away your freedom to share and change the works. By contrast,
our General Public Licenses are intended to guarantee your freedom to
share and change all versions of a program--to make sure it remains free
software for all its users.
When we speak of free software, we are referring to freedom, not
price. Our General Public Licenses are designed to make sure that you
have the freedom to distribute copies of free software (and charge for
them if you wish), that you receive source code or can get it if you
want it, that you can change the software or use pieces of it in new
free programs, and that you know you can do these things.
Developers that use our General Public Licenses protect your rights
with two steps: (1) assert copyright on the software, and (2) offer
you this License which gives you legal permission to copy, distribute
and/or modify the software.
A secondary benefit of defending all users' freedom is that
improvements made in alternate versions of the program, if they
receive widespread use, become available for other developers to
incorporate. Many developers of free software are heartened and
encouraged by the resulting cooperation. However, in the case of
software used on network servers, this result may fail to come about.
The GNU General Public License permits making a modified version and
letting the public access it on a server without ever releasing its
source code to the public.
The GNU Affero General Public License is designed specifically to
ensure that, in such cases, the modified source code becomes available
to the community. It requires the operator of a network server to
provide the source code of the modified version running there to the
users of that server. Therefore, public use of a modified version, on
a publicly accessible server, gives the public access to the source
code of the modified version.
An older license, called the Affero General Public License and
published by Affero, was designed to accomplish similar goals. This is
a different license, not a version of the Affero GPL, but Affero has
released a new version of the Affero GPL which permits relicensing under
this license.
The precise terms and conditions for copying, distribution and
modification follow.
TERMS AND CONDITIONS
0. Definitions.
"This License" refers to version 3 of the GNU Affero General Public License.
"Copyright" also means copyright-like laws that apply to other kinds of
works, such as semiconductor masks.
"The Program" refers to any copyrightable work licensed under this
License. Each licensee is addressed as "you". "Licensees" and
"recipients" may be individuals or organizations.
To "modify" a work means to copy from or adapt all or part of the work
in a fashion requiring copyright permission, other than the making of an
exact copy. The resulting work is called a "modified version" of the
earlier work or a work "based on" the earlier work.
A "covered work" means either the unmodified Program or a work based
on the Program.
To "propagate" a work means to do anything with it that, without
permission, would make you directly or secondarily liable for
infringement under applicable copyright law, except executing it on a
computer or modifying a private copy. Propagation includes copying,
distribution (with or without modification), making available to the
public, and in some countries other activities as well.
To "convey" a work means any kind of propagation that enables other
parties to make or receive copies. Mere interaction with a user through
a computer network, with no transfer of a copy, is not conveying.
An interactive user interface displays "Appropriate Legal Notices"
to the extent that it includes a convenient and prominently visible
feature that (1) displays an appropriate copyright notice, and (2)
tells the user that there is no warranty for the work (except to the
extent that warranties are provided), that licensees may convey the
work under this License, and how to view a copy of this License. If
the interface presents a list of user commands or options, such as a
menu, a prominent item in the list meets this criterion.
1. Source Code.
The "source code" for a work means the preferred form of the work
for making modifications to it. "Object code" means any non-source
form of a work.
A "Standard Interface" means an interface that either is an official
standard defined by a recognized standards body, or, in the case of
interfaces specified for a particular programming language, one that
is widely used among developers working in that language.
The "System Libraries" of an executable work include anything, other
than the work as a whole, that (a) is included in the normal form of
packaging a Major Component, but which is not part of that Major
Component, and (b) serves only to enable use of the work with that
Major Component, or to implement a Standard Interface for which an
implementation is available to the public in source code form. A
"Major Component", in this context, means a major essential component
(kernel, window system, and so on) of the specific operating system
(if any) on which the executable work runs, or a compiler used to
produce the work, or an object code interpreter used to run it.
The "Corresponding Source" for a work in object code form means all
the source code needed to generate, install, and (for an executable
work) run the object code and to modify the work, including scripts to
control those activities. However, it does not include the work's
System Libraries, or general-purpose tools or generally available free
programs which are used unmodified in performing those activities but
which are not part of the work. For example, Corresponding Source
includes interface definition files associated with source files for
the work, and the source code for shared libraries and dynamically
linked subprograms that the work is specifically designed to require,
such as by intimate data communication or control flow between those
subprograms and other parts of the work.
The Corresponding Source need not include anything that users
can regenerate automatically from other parts of the Corresponding
Source.
The Corresponding Source for a work in source code form is that
same work.
2. Basic Permissions.
All rights granted under this License are granted for the term of
copyright on the Program, and are irrevocable provided the stated
conditions are met. This License explicitly affirms your unlimited
permission to run the unmodified Program. The output from running a
covered work is covered by this License only if the output, given its
content, constitutes a covered work. This License acknowledges your
rights of fair use or other equivalent, as provided by copyright law.
You may make, run and propagate covered works that you do not
convey, without conditions so long as your license otherwise remains
in force. You may convey covered works to others for the sole purpose
of having them make modifications exclusively for you, or provide you
with facilities for running those works, provided that you comply with
the terms of this License in conveying all material for which you do
not control copyright. Those thus making or running the covered works
for you must do so exclusively on your behalf, under your direction
and control, on terms that prohibit them from making any copies of
your copyrighted material outside their relationship with you.
Conveying under any other circumstances is permitted solely under
the conditions stated below. Sublicensing is not allowed; section 10
makes it unnecessary.
3. Protecting Users' Legal Rights From Anti-Circumvention Law.
No covered work shall be deemed part of an effective technological
measure under any applicable law fulfilling obligations under article
11 of the WIPO copyright treaty adopted on 20 December 1996, or
similar laws prohibiting or restricting circumvention of such
measures.
When you convey a covered work, you waive any legal power to forbid
circumvention of technological measures to the extent such circumvention
is effected by exercising rights under this License with respect to
the covered work, and you disclaim any intention to limit operation or
modification of the work as a means of enforcing, against the work's
users, your or third parties' legal rights to forbid circumvention of
technological measures.
4. Conveying Verbatim Copies.
You may convey verbatim copies of the Program's source code as you
receive it, in any medium, provided that you conspicuously and
appropriately publish on each copy an appropriate copyright notice;
keep intact all notices stating that this License and any
non-permissive terms added in accord with section 7 apply to the code;
keep intact all notices of the absence of any warranty; and give all
recipients a copy of this License along with the Program.
You may charge any price or no price for each copy that you convey,
and you may offer support or warranty protection for a fee.
5. Conveying Modified Source Versions.
You may convey a work based on the Program, or the modifications to
produce it from the Program, in the form of source code under the
terms of section 4, provided that you also meet all of these conditions:
a) The work must carry prominent notices stating that you modified
it, and giving a relevant date.
b) The work must carry prominent notices stating that it is
released under this License and any conditions added under section
7. This requirement modifies the requirement in section 4 to
"keep intact all notices".
c) You must license the entire work, as a whole, under this
License to anyone who comes into possession of a copy. This
License will therefore apply, along with any applicable section 7
additional terms, to the whole of the work, and all its parts,
regardless of how they are packaged. This License gives no
permission to license the work in any other way, but it does not
invalidate such permission if you have separately received it.
d) If the work has interactive user interfaces, each must display
Appropriate Legal Notices; however, if the Program has interactive
interfaces that do not display Appropriate Legal Notices, your
work need not make them do so.
A compilation of a covered work with other separate and independent
works, which are not by their nature extensions of the covered work,
and which are not combined with it such as to form a larger program,
in or on a volume of a storage or distribution medium, is called an
"aggregate" if the compilation and its resulting copyright are not
used to limit the access or legal rights of the compilation's users
beyond what the individual works permit. Inclusion of a covered work
in an aggregate does not cause this License to apply to the other
parts of the aggregate.
6. Conveying Non-Source Forms.
You may convey a covered work in object code form under the terms
of sections 4 and 5, provided that you also convey the
machine-readable Corresponding Source under the terms of this License,
in one of these ways:
a) Convey the object code in, or embodied in, a physical product
(including a physical distribution medium), accompanied by the
Corresponding Source fixed on a durable physical medium
customarily used for software interchange.
b) Convey the object code in, or embodied in, a physical product
(including a physical distribution medium), accompanied by a
written offer, valid for at least three years and valid for as
long as you offer spare parts or customer support for that product
model, to give anyone who possesses the object code either (1) a
copy of the Corresponding Source for all the software in the
product that is covered by this License, on a durable physical
medium customarily used for software interchange, for a price no
more than your reasonable cost of physically performing this
conveying of source, or (2) access to copy the
Corresponding Source from a network server at no charge.
c) Convey individual copies of the object code with a copy of the
written offer to provide the Corresponding Source. This
alternative is allowed only occasionally and noncommercially, and
only if you received the object code with such an offer, in accord
with subsection 6b.
d) Convey the object code by offering access from a designated
place (gratis or for a charge), and offer equivalent access to the
Corresponding Source in the same way through the same place at no
further charge. You need not require recipients to copy the
Corresponding Source along with the object code. If the place to
copy the object code is a network server, the Corresponding Source
may be on a different server (operated by you or a third party)
that supports equivalent copying facilities, provided you maintain
clear directions next to the object code saying where to find the
Corresponding Source. Regardless of what server hosts the
Corresponding Source, you remain obligated to ensure that it is
available for as long as needed to satisfy these requirements.
e) Convey the object code using peer-to-peer transmission, provided
you inform other peers where the object code and Corresponding
Source of the work are being offered to the general public at no
charge under subsection 6d.
A separable portion of the object code, whose source code is excluded
from the Corresponding Source as a System Library, need not be
included in conveying the object code work.
A "User Product" is either (1) a "consumer product", which means any
tangible personal property which is normally used for personal, family,
or household purposes, or (2) anything designed or sold for incorporation
into a dwelling. In determining whether a product is a consumer product,
doubtful cases shall be resolved in favor of coverage. For a particular
product received by a particular user, "normally used" refers to a
typical or common use of that class of product, regardless of the status
of the particular user or of the way in which the particular user
actually uses, or expects or is expected to use, the product. A product
is a consumer product regardless of whether the product has substantial
commercial, industrial or non-consumer uses, unless such uses represent
the only significant mode of use of the product.
"Installation Information" for a User Product means any methods,
procedures, authorization keys, or other information required to install
and execute modified versions of a covered work in that User Product from
a modified version of its Corresponding Source. The information must
suffice to ensure that the continued functioning of the modified object
code is in no case prevented or interfered with solely because
modification has been made.
If you convey an object code work under this section in, or with, or
specifically for use in, a User Product, and the conveying occurs as
part of a transaction in which the right of possession and use of the
User Product is transferred to the recipient in perpetuity or for a
fixed term (regardless of how the transaction is characterized), the
Corresponding Source conveyed under this section must be accompanied
by the Installation Information. But this requirement does not apply
if neither you nor any third party retains the ability to install
modified object code on the User Product (for example, the work has
been installed in ROM).
The requirement to provide Installation Information does not include a
requirement to continue to provide support service, warranty, or updates
for a work that has been modified or installed by the recipient, or for
the User Product in which it has been modified or installed. Access to a
network may be denied when the modification itself materially and
adversely affects the operation of the network or violates the rules and
protocols for communication across the network.
Corresponding Source conveyed, and Installation Information provided,
in accord with this section must be in a format that is publicly
documented (and with an implementation available to the public in
source code form), and must require no special password or key for
unpacking, reading or copying.
7. Additional Terms.
"Additional permissions" are terms that supplement the terms of this
License by making exceptions from one or more of its conditions.
Additional permissions that are applicable to the entire Program shall
be treated as though they were included in this License, to the extent
that they are valid under applicable law. If additional permissions
apply only to part of the Program, that part may be used separately
under those permissions, but the entire Program remains governed by
this License without regard to the additional permissions.
When you convey a copy of a covered work, you may at your option
remove any additional permissions from that copy, or from any part of
it. (Additional permissions may be written to require their own
removal in certain cases when you modify the work.) You may place
additional permissions on material, added by you to a covered work,
for which you have or can give appropriate copyright permission.
Notwithstanding any other provision of this License, for material you
add to a covered work, you may (if authorized by the copyright holders of
that material) supplement the terms of this License with terms:
a) Disclaiming warranty or limiting liability differently from the
terms of sections 15 and 16 of this License; or
b) Requiring preservation of specified reasonable legal notices or
author attributions in that material or in the Appropriate Legal
Notices displayed by works containing it; or
c) Prohibiting misrepresentation of the origin of that material, or
requiring that modified versions of such material be marked in
reasonable ways as different from the original version; or
d) Limiting the use for publicity purposes of names of licensors or
authors of the material; or
e) Declining to grant rights under trademark law for use of some
trade names, trademarks, or service marks; or
f) Requiring indemnification of licensors and authors of that
material by anyone who conveys the material (or modified versions of
it) with contractual assumptions of liability to the recipient, for
any liability that these contractual assumptions directly impose on
those licensors and authors.
All other non-permissive additional terms are considered "further
restrictions" within the meaning of section 10. If the Program as you
received it, or any part of it, contains a notice stating that it is
governed by this License along with a term that is a further
restriction, you may remove that term. If a license document contains
a further restriction but permits relicensing or conveying under this
License, you may add to a covered work material governed by the terms
of that license document, provided that the further restriction does
not survive such relicensing or conveying.
If you add terms to a covered work in accord with this section, you
must place, in the relevant source files, a statement of the
additional terms that apply to those files, or a notice indicating
where to find the applicable terms.
Additional terms, permissive or non-permissive, may be stated in the
form of a separately written license, or stated as exceptions;
the above requirements apply either way.
8. Termination.
You may not propagate or modify a covered work except as expressly
provided under this License. Any attempt otherwise to propagate or
modify it is void, and will automatically terminate your rights under
this License (including any patent licenses granted under the third
paragraph of section 11).
However, if you cease all violation of this License, then your
license from a particular copyright holder is reinstated (a)
provisionally, unless and until the copyright holder explicitly and
finally terminates your license, and (b) permanently, if the copyright
holder fails to notify you of the violation by some reasonable means
prior to 60 days after the cessation.
Moreover, your license from a particular copyright holder is
reinstated permanently if the copyright holder notifies you of the
violation by some reasonable means, this is the first time you have
received notice of violation of this License (for any work) from that
copyright holder, and you cure the violation prior to 30 days after
your receipt of the notice.
Termination of your rights under this section does not terminate the
licenses of parties who have received copies or rights from you under
this License. If your rights have been terminated and not permanently
reinstated, you do not qualify to receive new licenses for the same
material under section 10.
9. Acceptance Not Required for Having Copies.
You are not required to accept this License in order to receive or
run a copy of the Program. Ancillary propagation of a covered work
occurring solely as a consequence of using peer-to-peer transmission
to receive a copy likewise does not require acceptance. However,
nothing other than this License grants you permission to propagate or
modify any covered work. These actions infringe copyright if you do
not accept this License. Therefore, by modifying or propagating a
covered work, you indicate your acceptance of this License to do so.
10. Automatic Licensing of Downstream Recipients.
Each time you convey a covered work, the recipient automatically
receives a license from the original licensors, to run, modify and
propagate that work, subject to this License. You are not responsible
for enforcing compliance by third parties with this License.
An "entity transaction" is a transaction transferring control of an
organization, or substantially all assets of one, or subdividing an
organization, or merging organizations. If propagation of a covered
work results from an entity transaction, each party to that
transaction who receives a copy of the work also receives whatever
licenses to the work the party's predecessor in interest had or could
give under the previous paragraph, plus a right to possession of the
Corresponding Source of the work from the predecessor in interest, if
the predecessor has it or can get it with reasonable efforts.
You may not impose any further restrictions on the exercise of the
rights granted or affirmed under this License. For example, you may
not impose a license fee, royalty, or other charge for exercise of
rights granted under this License, and you may not initiate litigation
(including a cross-claim or counterclaim in a lawsuit) alleging that
any patent claim is infringed by making, using, selling, offering for
sale, or importing the Program or any portion of it.
11. Patents.
A "contributor" is a copyright holder who authorizes use under this
License of the Program or a work on which the Program is based. The
work thus licensed is called the contributor's "contributor version".
A contributor's "essential patent claims" are all patent claims
owned or controlled by the contributor, whether already acquired or
hereafter acquired, that would be infringed by some manner, permitted
by this License, of making, using, or selling its contributor version,
but do not include claims that would be infringed only as a
consequence of further modification of the contributor version. For
purposes of this definition, "control" includes the right to grant
patent sublicenses in a manner consistent with the requirements of
this License.
Each contributor grants you a non-exclusive, worldwide, royalty-free
patent license under the contributor's essential patent claims, to
make, use, sell, offer for sale, import and otherwise run, modify and
propagate the contents of its contributor version.
In the following three paragraphs, a "patent license" is any express
agreement or commitment, however denominated, not to enforce a patent
(such as an express permission to practice a patent or covenant not to
sue for patent infringement). To "grant" such a patent license to a
party means to make such an agreement or commitment not to enforce a
patent against the party.
If you convey a covered work, knowingly relying on a patent license,
and the Corresponding Source of the work is not available for anyone
to copy, free of charge and under the terms of this License, through a
publicly available network server or other readily accessible means,
then you must either (1) cause the Corresponding Source to be so
available, or (2) arrange to deprive yourself of the benefit of the
patent license for this particular work, or (3) arrange, in a manner
consistent with the requirements of this License, to extend the patent
license to downstream recipients. "Knowingly relying" means you have
actual knowledge that, but for the patent license, your conveying the
covered work in a country, or your recipient's use of the covered work
in a country, would infringe one or more identifiable patents in that
country that you have reason to believe are valid.
If, pursuant to or in connection with a single transaction or
arrangement, you convey, or propagate by procuring conveyance of, a
covered work, and grant a patent license to some of the parties
receiving the covered work authorizing them to use, propagate, modify
or convey a specific copy of the covered work, then the patent license
you grant is automatically extended to all recipients of the covered
work and works based on it.
A patent license is "discriminatory" if it does not include within
the scope of its coverage, prohibits the exercise of, or is
conditioned on the non-exercise of one or more of the rights that are
specifically granted under this License. You may not convey a covered
work if you are a party to an arrangement with a third party that is
in the business of distributing software, under which you make payment
to the third party based on the extent of your activity of conveying
the work, and under which the third party grants, to any of the
parties who would receive the covered work from you, a discriminatory
patent license (a) in connection with copies of the covered work
conveyed by you (or copies made from those copies), or (b) primarily
for and in connection with specific products or compilations that
contain the covered work, unless you entered into that arrangement,
or that patent license was granted, prior to 28 March 2007.
Nothing in this License shall be construed as excluding or limiting
any implied license or other defenses to infringement that may
otherwise be available to you under applicable patent law.
12. No Surrender of Others' Freedom.
If conditions are imposed on you (whether by court order, agreement or
otherwise) that contradict the conditions of this License, they do not
excuse you from the conditions of this License. If you cannot convey a
covered work so as to satisfy simultaneously your obligations under this
License and any other pertinent obligations, then as a consequence you may
not convey it at all. For example, if you agree to terms that obligate you
to collect a royalty for further conveying from those to whom you convey
the Program, the only way you could satisfy both those terms and this
License would be to refrain entirely from conveying the Program.
13. Remote Network Interaction; Use with the GNU General Public License.
Notwithstanding any other provision of this License, if you modify the
Program, your modified version must prominently offer all users
interacting with it remotely through a computer network (if your version
supports such interaction) an opportunity to receive the Corresponding
Source of your version by providing access to the Corresponding Source
from a network server at no charge, through some standard or customary
means of facilitating copying of software. This Corresponding Source
shall include the Corresponding Source for any work covered by version 3
of the GNU General Public License that is incorporated pursuant to the
following paragraph.
Notwithstanding any other provision of this License, you have
permission to link or combine any covered work with a work licensed
under version 3 of the GNU General Public License into a single
combined work, and to convey the resulting work. The terms of this
License will continue to apply to the part which is the covered work,
but the work with which it is combined will remain governed by version
3 of the GNU General Public License.
14. Revised Versions of this License.
The Free Software Foundation may publish revised and/or new versions of
the GNU Affero General Public License from time to time. Such new versions
will be similar in spirit to the present version, but may differ in detail to
address new problems or concerns.
Each version is given a distinguishing version number. If the
Program specifies that a certain numbered version of the GNU Affero General
Public License "or any later version" applies to it, you have the
option of following the terms and conditions either of that numbered
version or of any later version published by the Free Software
Foundation. If the Program does not specify a version number of the
GNU Affero General Public License, you may choose any version ever published
by the Free Software Foundation.
If the Program specifies that a proxy can decide which future
versions of the GNU Affero General Public License can be used, that proxy's
public statement of acceptance of a version permanently authorizes you
to choose that version for the Program.
Later license versions may give you additional or different
permissions. However, no additional obligations are imposed on any
author or copyright holder as a result of your choosing to follow a
later version.
15. Disclaimer of Warranty.
THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY
APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT
HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY
OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO,
THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM
IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF
ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
16. Limitation of Liability.
IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS
THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY
GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE
USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF
DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD
PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS),
EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF
SUCH DAMAGES.
17. Interpretation of Sections 15 and 16.
If the disclaimer of warranty and limitation of liability provided
above cannot be given local legal effect according to their terms,
reviewing courts shall apply local law that most closely approximates
an absolute waiver of all civil liability in connection with the
Program, unless a warranty or assumption of liability accompanies a
copy of the Program in return for a fee.
END OF TERMS AND CONDITIONS
How to Apply These Terms to Your New Programs
If you develop a new program, and you want it to be of the greatest
possible use to the public, the best way to achieve this is to make it
free software which everyone can redistribute and change under these terms.
To do so, attach the following notices to the program. It is safest
to attach them to the start of each source file to most effectively
state the exclusion of warranty; and each file should have at least
the "copyright" line and a pointer to where the full notice is found.
<one line to give the program's name and a brief idea of what it does.>
Copyright (C) <year> <name of author>
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License as published
by the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU Affero General Public License for more details.
You should have received a copy of the GNU Affero General Public License
along with this program. If not, see <https://www.gnu.org/licenses/>.
Also add information on how to contact you by electronic and paper mail.
If your software can interact with users remotely through a computer
network, you should also make sure that it provides a way for users to
get its source. For example, if your program is a web application, its
interface could display a "Source" link that leads users to an archive
of the code. There are many ways you could offer source, and different
solutions will be better for different programs; see section 13 for the
specific requirements.
You should also get your employer (if you work as a programmer) or school,
if any, to sign a "copyright disclaimer" for the program, if necessary.
For more information on this, and how to apply and follow the GNU AGPL, see
<https://www.gnu.org/licenses/>.
================================================
FILE: README.md
================================================
<p align="center">
<a href="https://govigilant.io/" target="_blank">
<picture>
<source media="(prefers-color-scheme: dark)" srcset="https://govigilant.io/img/githubheader-dark.svg">
<img alt="Vigilant Logo" src="https://govigilant.io/img/githubheader-light.svg" width="400px"/>
</picture>
</a>
</p>
<div align="center">
<strong>
<h2>All-in-One Web Monitoring Tool</h2><br />
<a href="https://govigilant.io">Vigilant</a>: An application designed to monitor all aspects of your website<br /><br />
</strong>
Monitor all aspects of your website, uptime, health, DNS, Lighthouse, broken links...<br/>
Get notified exactly where and when you want with customizable notifications. <br/>
Comes with sensible defaults to quickly get started but customizable to fit your needs.<br/>
</div>
<p align="center">
<br />
<a href="https://govigilant.io/documentation/welcome" rel="dofollow"><strong>Explore the docs »</strong></a>
<br />
<br/>
<a href="https://app.govigilant.io">Get started</a>
·
<a href="https://discord.gg/MG3aV8uFt5">Join the Discord</a>
</p>

## Getting Started with Vigilant
Quickly get started using the hosted version of Vigilant at [app.govigilant.io](https://app.govigilant.io).
Prefer to self-host?
Take a look at the [documentation](https://govigilant.io/documentation/welcome) on how to get started!
## Tech Stack
- Laravel
- Livewire
- TailwindCSS
- AlpineJS
- Redis
- MySQL
## License
Vigilant is open source under the GNU Affero General Public License Version 3 (AGPLv3) or any later version.
================================================
FILE: SECURITY.md
================================================
# Security Policy
## Introduction
Vigilant is committed to ensuring the security and integrity of our users' data. This security policy outlines our procedures for handling security vulnerabilities and our disclosure policy.
## Reporting Security Vulnerabilities
If you discover a security vulnerability in Vigilant, please report it to us privately via email to one of the maintainers:
* @VincentBean ([email](mailto:security@govigilant.io))
When reporting a security vulnerability, please provide as much detail as possible, including:
* A clear description of the vulnerability
* Steps to reproduce the vulnerability
* Any relevant code or configuration files
## Supported Versions
This project currently only supports the latest release. We recommend that users always use the latest version of Vigilant to ensure they have the latest security patches.
## Disclosure Guidelines
We follow a private disclosure policy. If you discover a security vulnerability, please report it to us privately via email to one of the maintainers listed above. We will respond promptly to reports of vulnerabilities and work to resolve them as quickly as possible.
We will not publicly disclose security vulnerabilities until a patch or fix is available to prevent malicious actors from exploiting the vulnerability before a fix is released.
## Security Vulnerability Response Process
We take security vulnerabilities seriously and will respond promptly to reports of vulnerabilities. Our response process includes:
* Investigating the report and verifying the vulnerability.
* Developing a patch or fix for the vulnerability.
* Releasing the patch or fix as soon as possible.
* Notifying users of the vulnerability and the patch or fix.
## Template Attribution
This SECURITY.md file is based on the [GitHub Security Policy Template](https://docs.github.com/en/code-security/getting-started/adding-a-security-policy-to-your-repository).
Thank you for helping to keep Vigilant secure!
================================================
FILE: app/Console/Kernel.php
================================================
<?php
namespace App\Console;
use Illuminate\Console\Scheduling\Schedule;
use Illuminate\Foundation\Console\Kernel as ConsoleKernel;
use Vigilant\Certificates\Commands\CheckCertificatesCommand;
use Vigilant\Crawler\Commands\CrawlUrlsCommand;
use Vigilant\Crawler\Commands\ProcessCrawlerStatesCommand;
use Vigilant\Crawler\Commands\ScheduleCrawlersCommand;
use Vigilant\Cve\Commands\ImportCvesCommand;
use Vigilant\Dns\Commands\CheckAllDnsRecordsCommand;
use Vigilant\Healthchecks\Commands\AggregateMetricsCommand;
use Vigilant\Healthchecks\Commands\ScheduleHealthchecksCommand;
use Vigilant\Lighthouse\Commands\AggregateLighthouseResultsCommand;
use Vigilant\Lighthouse\Commands\ScheduleLighthouseCommand;
use Vigilant\Notifications\Commands\CreateNotificationsCommand;
use Vigilant\Uptime\Commands\AggregateResultsCommand;
use Vigilant\Uptime\Commands\CheckUnavailableOutpostsCommand;
use Vigilant\Uptime\Commands\ScheduleUptimeChecksCommand;
class Kernel extends ConsoleKernel
{
protected function schedule(Schedule $schedule): void
{
// Uptime
$schedule->command(AggregateResultsCommand::class)->hourly();
$schedule->command(ScheduleUptimeChecksCommand::class)->everySecond();
$schedule->command(CheckUnavailableOutpostsCommand::class)->everyFifteenMinutes();
// Healthchecks
$schedule->command(ScheduleHealthchecksCommand::class)->everySecond();
$schedule->command(AggregateMetricsCommand::class)->hourly();
// Lighthouse
$schedule->command(ScheduleLighthouseCommand::class)->everySecond();
$schedule->command(AggregateLighthouseResultsCommand::class)->daily();
// Dns
$schedule->command(CheckAllDnsRecordsCommand::class)->hourly();
// Crawler
$schedule->command(ScheduleCrawlersCommand::class)->everyMinute();
$schedule->command(CrawlUrlsCommand::class)->everyMinute();
$schedule->command(ProcessCrawlerStatesCommand::class)->everyMinute();
// Certificates
$schedule->command(CheckCertificatesCommand::class)->everyMinute();
// CVE
$schedule->command(ImportCvesCommand::class, ['now - 1 hour'])->everyThirtyMinutes();
// Notifications
$schedule->command(CreateNotificationsCommand::class)->daily();
$schedule->command('model:prune', [
'--model' => array_keys(config('core.data_retention')),
])->hourly();
}
protected function commands(): void
{
$this->load(__DIR__.'/Commands');
require base_path('routes/console.php');
}
}
================================================
FILE: app/Exceptions/Handler.php
================================================
<?php
namespace App\Exceptions;
use Illuminate\Foundation\Exceptions\Handler as ExceptionHandler;
use Throwable;
class Handler extends ExceptionHandler
{
/**
* The list of the inputs that are never flashed to the session on validation exceptions.
*
* @var array<int, string>
*/
protected $dontFlash = [
'current_password',
'password',
'password_confirmation',
];
/**
* Register the exception handling callbacks for the application.
*/
public function register(): void
{
$this->reportable(function (Throwable $e) {
//
});
}
}
================================================
FILE: app/Http/Controllers/Controller.php
================================================
<?php
namespace App\Http\Controllers;
use Illuminate\Foundation\Auth\Access\AuthorizesRequests;
use Illuminate\Foundation\Validation\ValidatesRequests;
use Illuminate\Routing\Controller as BaseController;
class Controller extends BaseController
{
use AuthorizesRequests, ValidatesRequests;
}
================================================
FILE: app/Http/Kernel.php
================================================
<?php
namespace App\Http;
use Illuminate\Foundation\Http\Kernel as HttpKernel;
use Illuminate\Support\Arr;
use Vigilant\Core\Http\Middleware\TeamMiddleware;
use Vigilant\OnBoarding\Http\Middleware\RedirectToOnboard;
use Vigilant\Users\Http\Middleware\EnsureEmailIsVerified;
class Kernel extends HttpKernel
{
/**
* The application's global HTTP middleware stack.
* These middleware are run during every request to your application.
*
* @var array<int, class-string|string>
*/
protected $middleware = [
// \App\Http\Middleware\TrustHosts::class,
\App\Http\Middleware\TrustProxies::class,
\Illuminate\Http\Middleware\HandleCors::class,
\App\Http\Middleware\PreventRequestsDuringMaintenance::class,
\Illuminate\Foundation\Http\Middleware\ValidatePostSize::class,
\App\Http\Middleware\TrimStrings::class,
\Illuminate\Foundation\Http\Middleware\ConvertEmptyStringsToNull::class,
];
/**
* The application's route middleware groups.
*
* @var array<string, array<int, class-string|string>>
*/
protected $middlewareGroups = [
'web' => [
\App\Http\Middleware\EncryptCookies::class,
\Illuminate\Cookie\Middleware\AddQueuedCookiesToResponse::class,
\Illuminate\Session\Middleware\StartSession::class,
\Illuminate\View\Middleware\ShareErrorsFromSession::class,
\App\Http\Middleware\VerifyCsrfToken::class,
\Illuminate\Routing\Middleware\SubstituteBindings::class,
TeamMiddleware::class,
RedirectToOnboard::class,
EnsureEmailIsVerified::class,
],
'api' => [
// \Laravel\Sanctum\Http\Middleware\EnsureFrontendRequestsAreStateful::class,
\Illuminate\Routing\Middleware\ThrottleRequests::class.':api',
\Illuminate\Routing\Middleware\SubstituteBindings::class,
],
];
/**
* The application's middleware aliases.
* Aliases may be used instead of class names to conveniently assign middleware to routes and groups.
*
* @var array<string, class-string|string>
*/
protected $middlewareAliases = [
'auth' => \App\Http\Middleware\Authenticate::class,
'auth.basic' => \Illuminate\Auth\Middleware\AuthenticateWithBasicAuth::class,
'auth.session' => \Illuminate\Session\Middleware\AuthenticateSession::class,
'cache.headers' => \Illuminate\Http\Middleware\SetCacheHeaders::class,
'can' => \Illuminate\Auth\Middleware\Authorize::class,
'guest' => \App\Http\Middleware\RedirectIfAuthenticated::class,
'password.confirm' => \Illuminate\Auth\Middleware\RequirePassword::class,
'precognitive' => \Illuminate\Foundation\Http\Middleware\HandlePrecognitiveRequests::class,
'signed' => \App\Http\Middleware\ValidateSignature::class,
'throttle' => \Illuminate\Routing\Middleware\ThrottleRequests::class,
'verified' => EnsureEmailIsVerified::class,
];
public function addMiddlewareToGroup(string $group, string|array $middleware): void
{
$this->middlewareGroups[$group] = array_merge($this->middlewareGroups[$group], Arr::wrap($middleware));
}
}
================================================
FILE: app/Http/Middleware/Authenticate.php
================================================
<?php
namespace App\Http\Middleware;
use Illuminate\Auth\Middleware\Authenticate as Middleware;
use Illuminate\Http\Request;
class Authenticate extends Middleware
{
/**
* Get the path the user should be redirected to when they are not authenticated.
*/
protected function redirectTo(Request $request): ?string
{
return $request->expectsJson() ? null : route('login');
}
}
================================================
FILE: app/Http/Middleware/EncryptCookies.php
================================================
<?php
namespace App\Http\Middleware;
use Illuminate\Cookie\Middleware\EncryptCookies as Middleware;
class EncryptCookies extends Middleware
{
/**
* The names of the cookies that should not be encrypted.
*
* @var array<int, string>
*/
protected $except = [
//
];
}
================================================
FILE: app/Http/Middleware/PreventRequestsDuringMaintenance.php
================================================
<?php
namespace App\Http\Middleware;
use Illuminate\Foundation\Http\Middleware\PreventRequestsDuringMaintenance as Middleware;
class PreventRequestsDuringMaintenance extends Middleware
{
/**
* The URIs that should be reachable while maintenance mode is enabled.
*
* @var array<int, string>
*/
protected $except = [
//
];
}
================================================
FILE: app/Http/Middleware/RedirectIfAuthenticated.php
================================================
<?php
namespace App\Http\Middleware;
use App\Providers\RouteServiceProvider;
use Closure;
use Illuminate\Http\Request;
use Illuminate\Support\Facades\Auth;
use Symfony\Component\HttpFoundation\Response;
class RedirectIfAuthenticated
{
/**
* Handle an incoming request.
*
* @param \Closure(\Illuminate\Http\Request): (\Symfony\Component\HttpFoundation\Response) $next
*/
public function handle(Request $request, Closure $next, string ...$guards): Response
{
$guards = empty($guards) ? [null] : $guards;
foreach ($guards as $guard) {
if (Auth::guard($guard)->check()) {
return redirect(RouteServiceProvider::HOME);
}
}
return $next($request);
}
}
================================================
FILE: app/Http/Middleware/TrimStrings.php
================================================
<?php
namespace App\Http\Middleware;
use Illuminate\Foundation\Http\Middleware\TrimStrings as Middleware;
class TrimStrings extends Middleware
{
/**
* The names of the attributes that should not be trimmed.
*
* @var array<int, string>
*/
protected $except = [
'current_password',
'password',
'password_confirmation',
];
}
================================================
FILE: app/Http/Middleware/TrustHosts.php
================================================
<?php
namespace App\Http\Middleware;
use Illuminate\Http\Middleware\TrustHosts as Middleware;
class TrustHosts extends Middleware
{
/**
* Get the host patterns that should be trusted.
*
* @return array<int, string|null>
*/
public function hosts(): array
{
return [
$this->allSubdomainsOfApplicationUrl(),
];
}
}
================================================
FILE: app/Http/Middleware/TrustProxies.php
================================================
<?php
namespace App\Http\Middleware;
use Illuminate\Http\Middleware\TrustProxies as Middleware;
use Illuminate\Http\Request;
class TrustProxies extends Middleware
{
/**
* The trusted proxies for this application.
*
* @var array<int, string>|string|null
*/
protected $proxies = '*';
/**
* The headers that should be used to detect proxies.
*
* @var int
*/
protected $headers =
Request::HEADER_X_FORWARDED_FOR |
Request::HEADER_X_FORWARDED_HOST |
Request::HEADER_X_FORWARDED_PORT |
Request::HEADER_X_FORWARDED_PROTO |
Request::HEADER_X_FORWARDED_AWS_ELB;
}
================================================
FILE: app/Http/Middleware/ValidateSignature.php
================================================
<?php
namespace App\Http\Middleware;
use Illuminate\Routing\Middleware\ValidateSignature as Middleware;
class ValidateSignature extends Middleware
{
/**
* The names of the query string parameters that should be ignored.
*
* @var array<int, string>
*/
protected $except = [
// 'fbclid',
// 'utm_campaign',
// 'utm_content',
// 'utm_medium',
// 'utm_source',
// 'utm_term',
];
}
================================================
FILE: app/Http/Middleware/VerifyCsrfToken.php
================================================
<?php
namespace App\Http\Middleware;
use Illuminate\Foundation\Http\Middleware\VerifyCsrfToken as Middleware;
class VerifyCsrfToken extends Middleware
{
/**
* The URIs that should be excluded from CSRF verification.
*
* @var array<int, string>
*/
protected $except = [
'paddle/*',
];
}
================================================
FILE: app/Providers/AppServiceProvider.php
================================================
<?php
namespace App\Providers;
use Illuminate\Support\Facades\URL;
use Illuminate\Support\ServiceProvider;
use Vigilant\Core\Facades\Navigation;
class AppServiceProvider extends ServiceProvider
{
/**
* Register any application services.
*/
public function register(): void
{
//
}
/**
* Bootstrap any application services.
*/
public function boot(): void
{
Navigation::path(resource_path('navigation.php'));
$url = config('app.url', '');
if (str_starts_with($url, 'https')) {
URL::forceRootUrl($url);
URL::forceScheme('https');
}
}
}
================================================
FILE: app/Providers/AuthServiceProvider.php
================================================
<?php
namespace App\Providers;
use Illuminate\Foundation\Support\Providers\AuthServiceProvider as ServiceProvider;
class AuthServiceProvider extends ServiceProvider
{
/**
* The model to policy mappings for the application.
*
* @var array<class-string, class-string>
*/
protected $policies = [
];
/**
* Register any authentication / authorization services.
*/
public function boot(): void
{
//
}
}
================================================
FILE: app/Providers/BroadcastServiceProvider.php
================================================
<?php
namespace App\Providers;
use Illuminate\Support\Facades\Broadcast;
use Illuminate\Support\ServiceProvider;
class BroadcastServiceProvider extends ServiceProvider
{
/**
* Bootstrap any application services.
*/
public function boot(): void
{
Broadcast::routes();
require base_path('routes/channels.php');
}
}
================================================
FILE: app/Providers/EventServiceProvider.php
================================================
<?php
namespace App\Providers;
use Illuminate\Auth\Events\Registered;
use Illuminate\Auth\Listeners\SendEmailVerificationNotification;
use Illuminate\Foundation\Support\Providers\EventServiceProvider as ServiceProvider;
class EventServiceProvider extends ServiceProvider
{
/**
* The event to listener mappings for the application.
*
* @var array<class-string, array<int, class-string>>
*/
protected $listen = [
Registered::class => [
SendEmailVerificationNotification::class,
],
];
/**
* Register any events for your application.
*/
public function boot(): void
{
//
}
/**
* Determine if events and listeners should be automatically discovered.
*/
public function shouldDiscoverEvents(): bool
{
return false;
}
}
================================================
FILE: app/Providers/FortifyServiceProvider.php
================================================
<?php
namespace App\Providers;
use Illuminate\Cache\RateLimiting\Limit;
use Illuminate\Http\Request;
use Illuminate\Support\Facades\RateLimiter;
use Illuminate\Support\ServiceProvider;
use Illuminate\Support\Str;
use Laravel\Fortify\Fortify;
use Vigilant\Users\Actions\Fortify\CreateNewUser;
use Vigilant\Users\Actions\Fortify\ResetUserPassword;
use Vigilant\Users\Actions\Fortify\UpdateUserPassword;
use Vigilant\Users\Actions\Fortify\UpdateUserProfileInformation;
class FortifyServiceProvider extends ServiceProvider
{
/**
* Register any application services.
*/
public function register(): void
{
//
}
/**
* Bootstrap any application services.
*/
public function boot(): void
{
Fortify::createUsersUsing(CreateNewUser::class);
Fortify::updateUserProfileInformationUsing(UpdateUserProfileInformation::class);
Fortify::updateUserPasswordsUsing(UpdateUserPassword::class);
Fortify::resetUserPasswordsUsing(ResetUserPassword::class);
RateLimiter::for('login', function (Request $request) {
$throttleKey = Str::transliterate(Str::lower($request->input(Fortify::username())).'|'.$request->ip());
return Limit::perMinute(5)->by($throttleKey);
});
RateLimiter::for('two-factor', function (Request $request) {
return Limit::perMinute(5)->by($request->session()->get('login.id'));
});
}
}
================================================
FILE: app/Providers/HorizonServiceProvider.php
================================================
<?php
namespace App\Providers;
use Illuminate\Support\Facades\Gate;
use Laravel\Horizon\Horizon;
use Laravel\Horizon\HorizonApplicationServiceProvider;
class HorizonServiceProvider extends HorizonApplicationServiceProvider
{
/**
* Bootstrap any application services.
*/
public function boot(): void
{
parent::boot();
// Horizon::routeSmsNotificationsTo('15556667777');
// Horizon::routeMailNotificationsTo('example@example.com');
// Horizon::routeSlackNotificationsTo('slack-webhook-url', '#channel');
}
/**
* Register the Horizon gate.
* This gate determines who can access Horizon in non-local environments.
*/
protected function gate(): void
{
if (ce()) {
Gate::define('viewHorizon', function ($user) {
return true;
});
}
}
}
================================================
FILE: app/Providers/JetstreamServiceProvider.php
================================================
<?php
namespace App\Providers;
use Illuminate\Support\ServiceProvider;
use Laravel\Jetstream\Jetstream;
use Vigilant\Users\Actions\Jetstream\AddTeamMember;
use Vigilant\Users\Actions\Jetstream\CreateTeam;
use Vigilant\Users\Actions\Jetstream\DeleteTeam;
use Vigilant\Users\Actions\Jetstream\DeleteUser;
use Vigilant\Users\Actions\Jetstream\InviteTeamMember;
use Vigilant\Users\Actions\Jetstream\RemoveTeamMember;
use Vigilant\Users\Actions\Jetstream\UpdateTeamName;
use Vigilant\Users\Models\Membership;
use Vigilant\Users\Models\Team;
use Vigilant\Users\Models\TeamInvitation;
use Vigilant\Users\Models\User;
class JetstreamServiceProvider extends ServiceProvider
{
/**
* Register any application services.
*/
public function register(): void
{
//
}
/**
* Bootstrap any application services.
*/
public function boot(): void
{
$this->configurePermissions();
Jetstream::createTeamsUsing(CreateTeam::class);
Jetstream::updateTeamNamesUsing(UpdateTeamName::class);
Jetstream::addTeamMembersUsing(AddTeamMember::class);
Jetstream::inviteTeamMembersUsing(InviteTeamMember::class);
Jetstream::removeTeamMembersUsing(RemoveTeamMember::class);
Jetstream::deleteTeamsUsing(DeleteTeam::class);
Jetstream::deleteUsersUsing(DeleteUser::class);
Jetstream::useUserModel(User::class);
Jetstream::useTeamModel(Team::class);
Jetstream::useTeamInvitationModel(TeamInvitation::class);
Jetstream::useMembershipModel(Membership::class);
}
/**
* Configure the roles and permissions that are available within the application.
*/
protected function configurePermissions(): void
{
Jetstream::defaultApiTokenPermissions(['read']);
Jetstream::role('admin', 'Administrator', [
'create',
'read',
'update',
'delete',
])->description('Administrator users can perform any action.');
}
}
================================================
FILE: app/Providers/RouteServiceProvider.php
================================================
<?php
namespace App\Providers;
use Illuminate\Cache\RateLimiting\Limit;
use Illuminate\Foundation\Support\Providers\RouteServiceProvider as ServiceProvider;
use Illuminate\Http\Request;
use Illuminate\Support\Facades\RateLimiter;
use Illuminate\Support\Facades\Route;
class RouteServiceProvider extends ServiceProvider
{
/**
* The path to your application's "home" route.
*
* Typically, users are redirected here after authentication.
*
* @var string
*/
public const HOME = '/';
/**
* Define your route model bindings, pattern filters, and other route configuration.
*/
public function boot(): void
{
RateLimiter::for('api', function (Request $request) {
return Limit::perMinute(60)->by($request->user()?->id ?: $request->ip());
});
$this->routes(function () {
Route::middleware('api')
->prefix('api')
->group(base_path('routes/api.php'));
Route::middleware('web')
->group(base_path('routes/web.php'));
});
}
}
================================================
FILE: app/View/Components/AppLayout.php
================================================
<?php
namespace App\View\Components;
use Illuminate\View\Component;
use Illuminate\View\View;
class AppLayout extends Component
{
/**
* Get the view / contents that represents the component.
*/
public function render(): View
{
/** @var view-string $view */
$view = 'layouts.app';
return view($view);
}
}
================================================
FILE: app/View/Components/GuestLayout.php
================================================
<?php
namespace App\View\Components;
use Illuminate\View\Component;
use Illuminate\View\View;
class GuestLayout extends Component
{
/**
* Get the view / contents that represents the component.
*/
public function render(): View
{
/** @var view-string $view */
$view = 'layouts.guest';
return view($view);
}
}
================================================
FILE: artisan
================================================
#!/usr/bin/env php
<?php
define('LARAVEL_START', microtime(true));
/*
|--------------------------------------------------------------------------
| Register The Auto Loader
|--------------------------------------------------------------------------
|
| Composer provides a convenient, automatically generated class loader
| for our application. We just need to utilize it! We'll require it
| into the script here so that we do not have to worry about the
| loading of any of our classes manually. It's great to relax.
|
*/
require __DIR__.'/vendor/autoload.php';
$app = require_once __DIR__.'/bootstrap/app.php';
/*
|--------------------------------------------------------------------------
| Run The Artisan Application
|--------------------------------------------------------------------------
|
| When we run the console application, the current CLI command will be
| executed in this console and the response sent back to a terminal
| or another output device for the developers. Here goes nothing!
|
*/
$kernel = $app->make(Illuminate\Contracts\Console\Kernel::class);
$status = $kernel->handle(
$input = new Symfony\Component\Console\Input\ArgvInput,
new Symfony\Component\Console\Output\ConsoleOutput
);
/*
|--------------------------------------------------------------------------
| Shutdown The Application
|--------------------------------------------------------------------------
|
| Once Artisan has finished running, we will fire off the shutdown events
| so that any final work may be done by the application before we shut
| down the process. This is the last thing to happen to the request.
|
*/
$kernel->terminate($input, $status);
exit($status);
================================================
FILE: 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 Laravel, and is
| the IoC container for the system binding all of the various parts.
|
*/
$app = new Illuminate\Foundation\Application(
$_ENV['APP_BASE_PATH'] ?? dirname(__DIR__)
);
/*
|--------------------------------------------------------------------------
| Bind Important Interfaces
|--------------------------------------------------------------------------
|
| Next, we need to bind some important interfaces into the container so
| we will be able to resolve them when needed. The kernels serve the
| incoming requests to this application from both the web and CLI.
|
*/
$app->singleton(
Illuminate\Contracts\Http\Kernel::class,
App\Http\Kernel::class
);
$app->singleton(
Illuminate\Contracts\Console\Kernel::class,
App\Console\Kernel::class
);
$app->singleton(
Illuminate\Contracts\Debug\ExceptionHandler::class,
App\Exceptions\Handler::class
);
/*
|--------------------------------------------------------------------------
| Return The Application
|--------------------------------------------------------------------------
|
| This script returns the application instance. The instance is given to
| the calling script so we can separate the building of the instances
| from the actual running of the application and sending responses.
|
*/
return $app;
================================================
FILE: bootstrap/cache/.gitignore
================================================
*
!.gitignore
================================================
FILE: composer.json
================================================
{
"name": "laravel/laravel",
"type": "project",
"description": "Vigilant: All-in-one website monitoring",
"keywords": [
"monitoring",
"laravel",
"vigilant"
],
"license": "AGPL-3.0",
"require": {
"php": "^8.3",
"ext-dom": "*",
"blade-ui-kit/blade-heroicons": "^2.3",
"bluelibraries/dns": "@dev",
"codeat3/blade-carbon-icons": "^2.35",
"codeat3/blade-line-awesome-icons": "*",
"codeat3/blade-phosphor-icons": "^2.2",
"codeat3/blade-simple-icons": "^7.16",
"codeat3/blade-teeny-icons": "^1.9",
"govigilant/laravel-healthchecks": "^1.0",
"guzzlehttp/guzzle": "^7.2",
"laravel/framework": "^12.0",
"laravel/horizon": "^5.23",
"laravel/jetstream": "^5.0",
"laravel/sanctum": "^4.0",
"laravel/socialite": "^5.18",
"laravel/tinker": "^2.8",
"league/iso3166": "^4.3",
"livewire/livewire": "^3.0",
"mallardduck/blade-boxicons": "^2.4",
"ramonrietdijk/livewire-tables": "^6.0",
"vigilant/certificates": "@dev",
"vigilant/core": "@dev",
"vigilant/crawler": "@dev",
"vigilant/cve": "@dev",
"vigilant/dns": "@dev",
"vigilant/frontend": "@dev",
"vigilant/healthchecks": "@dev",
"vigilant/lighthouse": "@dev",
"vigilant/notifications": "@dev",
"vigilant/onboarding": "@dev",
"vigilant/settings": "@dev",
"vigilant/sites": "@dev",
"vigilant/uptime": "@dev",
"vigilant/users": "@dev"
},
"require-dev": {
"fakerphp/faker": "^1.9.1",
"laravel/dusk": "^8.1",
"laravel/pint": "^1.0",
"laravel/sail": "^1.18",
"mockery/mockery": "^1.4.4",
"nunomaduro/collision": "^8.1",
"phpunit/phpunit": "^11.0",
"spatie/laravel-ignition": "^2.0"
},
"autoload": {
"psr-4": {
"App\\": "app/",
"Database\\Factories\\": "database/factories/",
"Database\\Seeders\\": "database/seeders/"
}
},
"autoload-dev": {
"psr-4": {
"Tests\\": "tests/"
}
},
"scripts": {
"post-autoload-dump": [
"Illuminate\\Foundation\\ComposerScripts::postAutoloadDump",
"@php artisan package:discover --ansi"
],
"post-update-cmd": [
"@php artisan vendor:publish --tag=laravel-assets --ansi --force"
],
"post-install-cmd": [
"@php artisan vendor:publish --tag=laravel-assets --ansi --force"
],
"post-root-package-install": [
"@php -r \"file_exists('.env') || copy('.env.example', '.env');\""
],
"post-create-project-cmd": [
"@php artisan key:generate --ansi"
]
},
"extra": {
"laravel": {
"dont-discover": []
}
},
"config": {
"optimize-autoloader": true,
"preferred-install": "dist",
"sort-packages": true,
"allow-plugins": {
"pestphp/pest-plugin": true,
"php-http/discovery": true
}
},
"minimum-stability": "dev",
"prefer-stable": true,
"repositories": [
{
"type": "path",
"url": "./packages/*"
},
{
"type": "vcs",
"url": "git@github.com:VincentBean/dns.git"
}
]
}
================================================
FILE: config/app.php
================================================
<?php
use Illuminate\Support\Facades\Facade;
use Illuminate\Support\ServiceProvider;
return [
/*
|--------------------------------------------------------------------------
| Application Name
|--------------------------------------------------------------------------
|
| This value is the name of your application. This value is used when the
| framework needs to place the application's name in a notification or
| any other location as required by the application or its packages.
|
*/
'name' => env('APP_NAME', 'Vigilant'),
/*
|--------------------------------------------------------------------------
| Application Environment
|--------------------------------------------------------------------------
|
| This value determines the "environment" your application is currently
| running in. This may determine how you prefer to configure various
| services the application utilizes. Set this in your ".env" file.
|
*/
'env' => env('APP_ENV', 'production'),
/*
|--------------------------------------------------------------------------
| Application Debug Mode
|--------------------------------------------------------------------------
|
| When your application is in debug mode, detailed error messages with
| stack traces will be shown on every error that occurs within your
| application. If disabled, a simple generic error page is shown.
|
*/
'debug' => (bool) env('APP_DEBUG', false),
/*
|--------------------------------------------------------------------------
| Application URL
|--------------------------------------------------------------------------
|
| This URL is used by the console to properly generate URLs when using
| the Artisan command line tool. You should set this to the root of
| your application so that it is used when running Artisan tasks.
|
*/
'url' => env('APP_URL', 'http://localhost'),
'asset_url' => env('ASSET_URL'),
/*
|--------------------------------------------------------------------------
| Application Timezone
|--------------------------------------------------------------------------
|
| Here you may specify the default timezone for your application, which
| will be used by the PHP date and date-time functions. We have gone
| ahead and set this to a sensible default for you out of the box.
|
*/
'timezone' => 'UTC',
/*
|--------------------------------------------------------------------------
| Application Locale Configuration
|--------------------------------------------------------------------------
|
| The application locale determines the default locale that will be used
| by the translation service provider. You are free to set this value
| to any of the locales which will be supported by the application.
|
*/
'locale' => 'en',
/*
|--------------------------------------------------------------------------
| Application Fallback Locale
|--------------------------------------------------------------------------
|
| The fallback locale determines the locale to use when the current one
| is not available. You may change the value to correspond to any of
| the language folders that are provided through your application.
|
*/
'fallback_locale' => 'en',
/*
|--------------------------------------------------------------------------
| Faker Locale
|--------------------------------------------------------------------------
|
| This locale will be used by the Faker PHP library when generating fake
| data for your database seeds. For example, this will be used to get
| localized telephone numbers, street address information and more.
|
*/
'faker_locale' => 'en_US',
/*
|--------------------------------------------------------------------------
| Encryption Key
|--------------------------------------------------------------------------
|
| This key is used by the Illuminate encrypter service and should be set
| to a random, 32 character string, otherwise these encrypted strings
| will not be safe. Please do this before deploying an application!
|
*/
'key' => env('APP_KEY'),
'cipher' => 'AES-256-CBC',
/*
|--------------------------------------------------------------------------
| Maintenance Mode Driver
|--------------------------------------------------------------------------
|
| These configuration options determine the driver used to determine and
| manage Laravel's "maintenance mode" status. The "cache" driver will
| allow maintenance mode to be controlled across multiple machines.
|
| Supported drivers: "file", "cache"
|
*/
'maintenance' => [
'driver' => 'file',
// 'store' => 'redis',
],
/*
|--------------------------------------------------------------------------
| Autoloaded Service Providers
|--------------------------------------------------------------------------
|
| The service providers listed here will be automatically loaded on the
| request to your application. Feel free to add your own services to
| this array to grant expanded functionality to your applications.
|
*/
'providers' => ServiceProvider::defaultProviders()->merge([
/*
* Package Service Providers...
*/
/*
* Application Service Providers...
*/
App\Providers\AppServiceProvider::class,
App\Providers\AuthServiceProvider::class,
// App\Providers\BroadcastServiceProvider::class,
App\Providers\EventServiceProvider::class,
App\Providers\HorizonServiceProvider::class,
App\Providers\RouteServiceProvider::class,
App\Providers\FortifyServiceProvider::class,
App\Providers\JetstreamServiceProvider::class,
])->toArray(),
/*
|--------------------------------------------------------------------------
| Class Aliases
|--------------------------------------------------------------------------
|
| This array of class aliases will be registered when this application
| is started. However, feel free to register as many as you wish as
| the aliases are "lazy" loaded so they don't hinder performance.
|
*/
'aliases' => Facade::defaultAliases()->merge([
// 'Example' => App\Facades\Example::class,
])->toArray(),
];
================================================
FILE: config/auth.php
================================================
<?php
return [
/*
|--------------------------------------------------------------------------
| Authentication Defaults
|--------------------------------------------------------------------------
|
| This option controls the default authentication "guard" and password
| reset options for your application. You may change these defaults
| as required, but they're a perfect start for most applications.
|
*/
'defaults' => [
'guard' => 'web',
'passwords' => 'users',
],
/*
|--------------------------------------------------------------------------
| Authentication Guards
|--------------------------------------------------------------------------
|
| Next, you may define every authentication guard for your application.
| Of course, a great default configuration has been defined for you
| here which uses session storage and the Eloquent user provider.
|
| All authentication drivers have a user provider. This defines how the
| users are actually retrieved out of your database or other storage
| mechanisms used by this application to persist your user's data.
|
| Supported: "session"
|
*/
'guards' => [
'web' => [
'driver' => 'session',
'provider' => 'users',
],
],
/*
|--------------------------------------------------------------------------
| User Providers
|--------------------------------------------------------------------------
|
| All authentication drivers have a user provider. This defines how the
| users are actually retrieved out of your database or other storage
| mechanisms used by this application to persist your user's data.
|
| If you have multiple user tables or models you may configure multiple
| sources which represent each model / table. These sources may then
| be assigned to any extra authentication guards you have defined.
|
| Supported: "database", "eloquent"
|
*/
'providers' => [
'users' => [
'driver' => 'eloquent',
'model' => \Vigilant\Users\Models\User::class,
],
// 'users' => [
// 'driver' => 'database',
// 'table' => 'users',
// ],
],
/*
|--------------------------------------------------------------------------
| Resetting Passwords
|--------------------------------------------------------------------------
|
| You may specify multiple password reset configurations if you have more
| than one user table or model in the application and you want to have
| separate password reset settings based on the specific user types.
|
| The expiry time is the number of minutes that each reset token will be
| considered valid. This security feature keeps tokens short-lived so
| they have less time to be guessed. You may change this as needed.
|
| The throttle setting is the number of seconds a user must wait before
| generating more password reset tokens. This prevents the user from
| quickly generating a very large amount of password reset tokens.
|
*/
'passwords' => [
'users' => [
'provider' => 'users',
'table' => 'password_reset_tokens',
'expire' => 60,
'throttle' => 60,
],
],
/*
|--------------------------------------------------------------------------
| Password Confirmation Timeout
|--------------------------------------------------------------------------
|
| Here you may define the amount of seconds before a password confirmation
| times out and the user is prompted to re-enter their password via the
| confirmation screen. By default, the timeout lasts for three hours.
|
*/
'password_timeout' => 10800,
];
================================================
FILE: config/broadcasting.php
================================================
<?php
return [
/*
|--------------------------------------------------------------------------
| Default Broadcaster
|--------------------------------------------------------------------------
|
| This option controls the default broadcaster that will be used by the
| framework when an event needs to be broadcast. You may set this to
| any of the connections defined in the "connections" array below.
|
| Supported: "pusher", "ably", "redis", "log", "null"
|
*/
'default' => env('BROADCAST_DRIVER', 'null'),
/*
|--------------------------------------------------------------------------
| Broadcast Connections
|--------------------------------------------------------------------------
|
| Here you may define all of the broadcast connections that will be used
| to broadcast events to other systems or over websockets. Samples of
| each available type of connection are provided inside this array.
|
*/
'connections' => [
'pusher' => [
'driver' => 'pusher',
'key' => env('PUSHER_APP_KEY'),
'secret' => env('PUSHER_APP_SECRET'),
'app_id' => env('PUSHER_APP_ID'),
'options' => [
'cluster' => env('PUSHER_APP_CLUSTER'),
'host' => env('PUSHER_HOST') ?: 'api-'.env('PUSHER_APP_CLUSTER', 'mt1').'.pusher.com',
'port' => env('PUSHER_PORT', 443),
'scheme' => env('PUSHER_SCHEME', 'https'),
'encrypted' => true,
'useTLS' => env('PUSHER_SCHEME', 'https') === 'https',
],
'client_options' => [
// Guzzle client options: https://docs.guzzlephp.org/en/stable/request-options.html
],
],
'ably' => [
'driver' => 'ably',
'key' => env('ABLY_KEY'),
],
'redis' => [
'driver' => 'redis',
'connection' => 'default',
],
'log' => [
'driver' => 'log',
],
'null' => [
'driver' => 'null',
],
],
];
================================================
FILE: config/cache.php
================================================
<?php
use Illuminate\Support\Str;
return [
/*
|--------------------------------------------------------------------------
| Default Cache Store
|--------------------------------------------------------------------------
|
| This option controls the default cache connection that gets used while
| using this caching library. This connection is used when another is
| not explicitly specified when executing a given caching function.
|
*/
'default' => env('CACHE_DRIVER', 'redis'),
/*
|--------------------------------------------------------------------------
| Cache Stores
|--------------------------------------------------------------------------
|
| Here you may define all of the cache "stores" for your application as
| well as their drivers. You may even define multiple stores for the
| same cache driver to group types of items stored in your caches.
|
| Supported drivers: "apc", "array", "database", "file",
| "memcached", "redis", "dynamodb", "octane", "null"
|
*/
'stores' => [
'apc' => [
'driver' => 'apc',
],
'array' => [
'driver' => 'array',
'serialize' => false,
],
'database' => [
'driver' => 'database',
'table' => 'cache',
'connection' => null,
'lock_connection' => null,
],
'file' => [
'driver' => 'file',
'path' => storage_path('framework/cache/data'),
'lock_path' => storage_path('framework/cache/data'),
],
'memcached' => [
'driver' => 'memcached',
'persistent_id' => env('MEMCACHED_PERSISTENT_ID'),
'sasl' => [
env('MEMCACHED_USERNAME'),
env('MEMCACHED_PASSWORD'),
],
'options' => [
// Memcached::OPT_CONNECT_TIMEOUT => 2000,
],
'servers' => [
[
'host' => env('MEMCACHED_HOST', '127.0.0.1'),
'port' => env('MEMCACHED_PORT', 11211),
'weight' => 100,
],
],
],
'redis' => [
'driver' => 'redis',
'connection' => 'cache',
'lock_connection' => 'default',
],
'dynamodb' => [
'driver' => 'dynamodb',
'key' => env('AWS_ACCESS_KEY_ID'),
'secret' => env('AWS_SECRET_ACCESS_KEY'),
'region' => env('AWS_DEFAULT_REGION', 'us-east-1'),
'table' => env('DYNAMODB_CACHE_TABLE', 'cache'),
'endpoint' => env('DYNAMODB_ENDPOINT'),
],
'octane' => [
'driver' => 'octane',
],
],
/*
|--------------------------------------------------------------------------
| Cache Key Prefix
|--------------------------------------------------------------------------
|
| When utilizing the APC, database, memcached, Redis, or DynamoDB cache
| stores there might be other applications using the same cache. For
| that reason, you may prefix every cache key to avoid collisions.
|
*/
'prefix' => env('CACHE_PREFIX', Str::slug(env('APP_NAME', 'laravel'), '_').'_cache_'),
];
================================================
FILE: config/cors.php
================================================
<?php
return [
/*
|--------------------------------------------------------------------------
| Cross-Origin Resource Sharing (CORS) Configuration
|--------------------------------------------------------------------------
|
| Here you may configure your settings for cross-origin resource sharing
| or "CORS". This determines what cross-origin operations may execute
| in web browsers. You are free to adjust these settings as needed.
|
| To learn more: https://developer.mozilla.org/en-US/docs/Web/HTTP/CORS
|
*/
'paths' => ['api/*', 'sanctum/csrf-cookie'],
'allowed_methods' => ['*'],
'allowed_origins' => ['*'],
'allowed_origins_patterns' => [],
'allowed_headers' => ['*'],
'exposed_headers' => [],
'max_age' => 0,
'supports_credentials' => false,
];
================================================
FILE: config/database.php
================================================
<?php
use Illuminate\Support\Str;
return [
/*
|--------------------------------------------------------------------------
| Default Database Connection Name
|--------------------------------------------------------------------------
|
| Here you may specify which of the database connections below you wish
| to use as your default connection for all database work. Of course
| you may use many connections at once using the Database library.
|
*/
'default' => env('DB_CONNECTION', 'mysql'),
/*
|--------------------------------------------------------------------------
| Database Connections
|--------------------------------------------------------------------------
|
| Here are each of the database connections setup for your application.
| Of course, examples of configuring each database platform that is
| supported by Laravel is shown below to make development simple.
|
|
| All database work in Laravel is done through the PHP PDO facilities
| so make sure you have the driver for your particular database of
| choice installed on your machine before you begin development.
|
*/
'connections' => [
'sqlite' => [
'driver' => 'sqlite',
'url' => env('DATABASE_URL'),
'database' => env('DB_DATABASE', database_path('database.sqlite')),
'prefix' => '',
'foreign_key_constraints' => env('DB_FOREIGN_KEYS', true),
],
'mysql' => [
'driver' => 'mysql',
'url' => env('DATABASE_URL'),
'host' => env('DB_HOST', '127.0.0.1'),
'port' => env('DB_PORT', '3306'),
'database' => env('DB_DATABASE', 'forge'),
'username' => env('DB_USERNAME', 'forge'),
'password' => env('DB_PASSWORD', ''),
'unix_socket' => env('DB_SOCKET', ''),
'charset' => 'utf8mb4',
'collation' => 'utf8mb4_unicode_ci',
'prefix' => '',
'prefix_indexes' => true,
'strict' => true,
'engine' => null,
'options' => extension_loaded('pdo_mysql') ? array_filter([
PDO::MYSQL_ATTR_SSL_CA => env('MYSQL_ATTR_SSL_CA'),
]) : [],
],
'pgsql' => [
'driver' => 'pgsql',
'url' => env('DATABASE_URL'),
'host' => env('DB_HOST', '127.0.0.1'),
'port' => env('DB_PORT', '5432'),
'database' => env('DB_DATABASE', 'forge'),
'username' => env('DB_USERNAME', 'forge'),
'password' => env('DB_PASSWORD', ''),
'charset' => 'utf8',
'prefix' => '',
'prefix_indexes' => true,
'search_path' => 'public',
'sslmode' => 'prefer',
],
'sqlsrv' => [
'driver' => 'sqlsrv',
'url' => env('DATABASE_URL'),
'host' => env('DB_HOST', 'localhost'),
'port' => env('DB_PORT', '1433'),
'database' => env('DB_DATABASE', 'forge'),
'username' => env('DB_USERNAME', 'forge'),
'password' => env('DB_PASSWORD', ''),
'charset' => 'utf8',
'prefix' => '',
'prefix_indexes' => true,
// 'encrypt' => env('DB_ENCRYPT', 'yes'),
// 'trust_server_certificate' => env('DB_TRUST_SERVER_CERTIFICATE', 'false'),
],
],
/*
|--------------------------------------------------------------------------
| Migration Repository Table
|--------------------------------------------------------------------------
|
| This table keeps track of all the migrations that have already run for
| your application. Using this information, we can determine which of
| the migrations on disk haven't actually been run in the database.
|
*/
'migrations' => 'migrations',
/*
|--------------------------------------------------------------------------
| Redis Databases
|--------------------------------------------------------------------------
|
| Redis is an open source, fast, and advanced key-value store that also
| provides a richer body of commands than a typical key-value system
| such as APC or Memcached. Laravel makes it easy to dig right in.
|
*/
'redis' => [
'client' => env('REDIS_CLIENT', 'phpredis'),
'options' => [
'cluster' => env('REDIS_CLUSTER', 'redis'),
'prefix' => env('REDIS_PREFIX', Str::slug(env('APP_NAME', 'laravel'), '_').'_database_'),
],
'default' => [
'url' => env('REDIS_URL'),
'host' => env('REDIS_HOST', '127.0.0.1'),
'username' => env('REDIS_USERNAME'),
'password' => env('REDIS_PASSWORD'),
'port' => env('REDIS_PORT', '6379'),
'database' => env('REDIS_DB', '0'),
],
'cache' => [
'url' => env('REDIS_URL'),
'host' => env('REDIS_HOST', '127.0.0.1'),
'username' => env('REDIS_USERNAME'),
'password' => env('REDIS_PASSWORD'),
'port' => env('REDIS_PORT', '6379'),
'database' => env('REDIS_CACHE_DB', '1'),
],
],
];
================================================
FILE: config/filesystems.php
================================================
<?php
return [
/*
|--------------------------------------------------------------------------
| Default Filesystem Disk
|--------------------------------------------------------------------------
|
| Here you may specify the default filesystem disk that should be used
| by the framework. The "local" disk, as well as a variety of cloud
| based disks are available to your application. Just store away!
|
*/
'default' => env('FILESYSTEM_DISK', 'local'),
/*
|--------------------------------------------------------------------------
| Filesystem Disks
|--------------------------------------------------------------------------
|
| Here you may configure as many filesystem "disks" as you wish, and you
| may even configure multiple disks of the same driver. Defaults have
| been set up for each driver as an example of the required values.
|
| Supported Drivers: "local", "ftp", "sftp", "s3"
|
*/
'disks' => [
'local' => [
'driver' => 'local',
'root' => storage_path('app'),
'throw' => false,
],
'public' => [
'driver' => 'local',
'root' => storage_path('app/public'),
'url' => env('APP_URL').'/storage',
'visibility' => 'public',
'throw' => false,
],
's3' => [
'driver' => 's3',
'key' => env('AWS_ACCESS_KEY_ID'),
'secret' => env('AWS_SECRET_ACCESS_KEY'),
'region' => env('AWS_DEFAULT_REGION'),
'bucket' => env('AWS_BUCKET'),
'url' => env('AWS_URL'),
'endpoint' => env('AWS_ENDPOINT'),
'use_path_style_endpoint' => env('AWS_USE_PATH_STYLE_ENDPOINT', false),
'throw' => false,
],
],
/*
|--------------------------------------------------------------------------
| Symbolic Links
|--------------------------------------------------------------------------
|
| Here you may configure the symbolic links that will be created when the
| `storage:link` Artisan command is executed. The array keys should be
| the locations of the links and the values should be their targets.
|
*/
'links' => [
public_path('storage') => storage_path('app/public'),
],
];
================================================
FILE: config/fortify.php
================================================
<?php
use Laravel\Fortify\Features;
use Vigilant\Users\Http\Middleware\NoUserMiddleware;
return [
/*
|--------------------------------------------------------------------------
| Fortify Guard
|--------------------------------------------------------------------------
|
| Here you may specify which authentication guard Fortify will use while
| authenticating users. This value should correspond with one of your
| guards that is already present in your "auth" configuration file.
|
*/
'guard' => 'web',
/*
|--------------------------------------------------------------------------
| Fortify Password Broker
|--------------------------------------------------------------------------
|
| Here you may specify which password broker Fortify can use when a user
| is resetting their password. This configured value should match one
| of your password brokers setup in your "auth" configuration file.
|
*/
'passwords' => 'users',
/*
|--------------------------------------------------------------------------
| Username / Email
|--------------------------------------------------------------------------
|
| This value defines which model attribute should be considered as your
| application's "username" field. Typically, this might be the email
| address of the users but you are free to change this value here.
|
| Out of the box, Fortify expects forgot password and reset password
| requests to have a field named 'email'. If the application uses
| another name for the field you may define it below as needed.
|
*/
'username' => 'email',
'email' => 'email',
/*
|--------------------------------------------------------------------------
| Lowercase Usernames
|--------------------------------------------------------------------------
|
| This value defines whether usernames should be lowercased before saving
| them in the database, as some database system string fields are case
| sensitive. You may disable this for your application if necessary.
|
*/
'lowercase_usernames' => true,
/*
|--------------------------------------------------------------------------
| Home Path
|--------------------------------------------------------------------------
|
| Here you may configure the path where users will get redirected during
| authentication or password reset when the operations are successful
| and the user is authenticated. You are free to change this value.
|
*/
'home' => '/',
/*
|--------------------------------------------------------------------------
| Fortify Routes Prefix / Subdomain
|--------------------------------------------------------------------------
|
| Here you may specify which prefix Fortify will assign to all the routes
| that it registers with the application. If necessary, you may change
| subdomain under which all of the Fortify routes will be available.
|
*/
'prefix' => '',
'domain' => null,
/*
|--------------------------------------------------------------------------
| Fortify Routes Middleware
|--------------------------------------------------------------------------
|
| Here you may specify which middleware Fortify will assign to the routes
| that it registers with the application. If necessary, you may change
| these middleware but typically this provided default is preferred.
|
*/
'middleware' => ['web', NoUserMiddleware::class],
/*
|--------------------------------------------------------------------------
| Rate Limiting
|--------------------------------------------------------------------------
|
| By default, Fortify will throttle logins to five requests per minute for
| every email and IP address combination. However, if you would like to
| specify a custom rate limiter to call then you may specify it here.
|
*/
'limiters' => [
'login' => 'login',
'two-factor' => 'two-factor',
],
/*
|--------------------------------------------------------------------------
| Register View Routes
|--------------------------------------------------------------------------
|
| Here you may specify if the routes returning views should be disabled as
| you may not need them when building your own application. This may be
| especially true if you're writing a custom single-page application.
|
*/
'views' => true,
/*
|--------------------------------------------------------------------------
| Features
|--------------------------------------------------------------------------
|
| Some of the Fortify features are optional. You may disable the features
| by removing them from this array. You're free to only remove some of
| these features or you can even remove all of these if you need to.
|
*/
'features' => [
Features::registration(),
Features::resetPasswords(),
Features::emailVerification(),
Features::updateProfileInformation(),
Features::updatePasswords(),
Features::twoFactorAuthentication([
'confirm' => true,
'confirmPassword' => true,
// 'window' => 0,
]),
],
];
================================================
FILE: config/hashing.php
================================================
<?php
return [
/*
|--------------------------------------------------------------------------
| Default Hash Driver
|--------------------------------------------------------------------------
|
| This option controls the default hash driver that will be used to hash
| passwords for your application. By default, the bcrypt algorithm is
| used; however, you remain free to modify this option if you wish.
|
| Supported: "bcrypt", "argon", "argon2id"
|
*/
'driver' => 'bcrypt',
/*
|--------------------------------------------------------------------------
| Bcrypt Options
|--------------------------------------------------------------------------
|
| Here you may specify the configuration options that should be used when
| passwords are hashed using the Bcrypt algorithm. This will allow you
| to control the amount of time it takes to hash the given password.
|
*/
'bcrypt' => [
'rounds' => env('BCRYPT_ROUNDS', 12),
'verify' => true,
],
/*
|--------------------------------------------------------------------------
| Argon Options
|--------------------------------------------------------------------------
|
| Here you may specify the configuration options that should be used when
| passwords are hashed using the Argon algorithm. These will allow you
| to control the amount of time it takes to hash the given password.
|
*/
'argon' => [
'memory' => 65536,
'threads' => 1,
'time' => 4,
'verify' => true,
],
];
================================================
FILE: config/horizon.php
================================================
<?php
use Illuminate\Support\Str;
return [
/*
|--------------------------------------------------------------------------
| Horizon Domain
|--------------------------------------------------------------------------
|
| This is the subdomain where Horizon will be accessible from. If this
| setting is null, Horizon will reside under the same domain as the
| application. Otherwise, this value will serve as the subdomain.
|
*/
'domain' => env('HORIZON_DOMAIN'),
/*
|--------------------------------------------------------------------------
| Horizon Path
|--------------------------------------------------------------------------
|
| This is the URI path where Horizon will be accessible from. Feel free
| to change this path to anything you like. Note that the URI will not
| affect the paths of its internal API that aren't exposed to users.
|
*/
'path' => env('HORIZON_PATH', 'horizon'),
/*
|--------------------------------------------------------------------------
| Horizon Redis Connection
|--------------------------------------------------------------------------
|
| This is the name of the Redis connection where Horizon will store the
| meta information required for it to function. It includes the list
| of supervisors, failed jobs, job metrics, and other information.
|
*/
'use' => 'default',
/*
|--------------------------------------------------------------------------
| Horizon Redis Prefix
|--------------------------------------------------------------------------
|
| This prefix will be used when storing all Horizon data in Redis. You
| may modify the prefix when you are running multiple installations
| of Horizon on the same server so that they don't have problems.
|
*/
'prefix' => env(
'HORIZON_PREFIX',
Str::slug(env('APP_NAME', 'laravel'), '_').'_horizon:'
),
/*
|--------------------------------------------------------------------------
| Horizon Route Middleware
|--------------------------------------------------------------------------
|
| These middleware will get attached onto each Horizon route, giving you
| the chance to add your own middleware to this list or change any of
| the existing middleware. Or, you can simply stick with this list.
|
*/
'middleware' => ['web'],
/*
|--------------------------------------------------------------------------
| Queue Wait Time Thresholds
|--------------------------------------------------------------------------
|
| This option allows you to configure when the LongWaitDetected event
| will be fired. Every connection / queue combination may have its
| own, unique threshold (in seconds) before this event is fired.
|
*/
'waits' => [
'redis:default' => 60,
],
/*
|--------------------------------------------------------------------------
| Job Trimming Times
|--------------------------------------------------------------------------
|
| Here you can configure for how long (in minutes) you desire Horizon to
| persist the recent and failed jobs. Typically, recent jobs are kept
| for one hour while all failed jobs are stored for an entire week.
|
*/
'trim' => [
'recent' => 1440,
'pending' => 1440,
'completed' => 60,
'recent_failed' => 10080,
'failed' => 10080,
'monitored' => 10080,
],
/*
|--------------------------------------------------------------------------
| Silenced Jobs
|--------------------------------------------------------------------------
|
| Silencing a job will instruct Horizon to not place the job in the list
| of completed jobs within the Horizon dashboard. This setting may be
| used to fully remove any noisy jobs from the completed jobs list.
|
*/
'silenced' => [
// App\Jobs\ExampleJob::class,
],
/*
|--------------------------------------------------------------------------
| Metrics
|--------------------------------------------------------------------------
|
| Here you can configure how many snapshots should be kept to display in
| the metrics graph. This will get used in combination with Horizon's
| `horizon:snapshot` schedule to define how long to retain metrics.
|
*/
'metrics' => [
'trim_snapshots' => [
'job' => 24,
'queue' => 24,
],
],
/*
|--------------------------------------------------------------------------
| Fast Termination
|--------------------------------------------------------------------------
|
| When this option is enabled, Horizon's "terminate" command will not
| wait on all of the workers to terminate unless the --wait option
| is provided. Fast termination can shorten deployment delay by
| allowing a new instance of Horizon to start while the last
| instance will continue to terminate each of its workers.
|
*/
'fast_termination' => false,
/*
|--------------------------------------------------------------------------
| Memory Limit (MB)
|--------------------------------------------------------------------------
|
| This value describes the maximum amount of memory the Horizon master
| supervisor may consume before it is terminated and restarted. For
| configuring these limits on your workers, see the next section.
|
*/
'memory_limit' => 64,
/*
|--------------------------------------------------------------------------
| Queue Worker Configuration
|--------------------------------------------------------------------------
|
| Here you may define the queue worker settings used by your application
| in all environments. These supervisors and settings handle all your
| queued jobs and will be provisioned by Horizon during deployment.
|
*/
'defaults' => [
'default' => [
'connection' => 'redis',
'queue' => ['default'],
'balance' => 'auto',
'autoScalingStrategy' => 'time',
'maxProcesses' => 1,
'maxTime' => 0,
'maxJobs' => 0,
'memory' => 128,
'tries' => 1,
'timeout' => 60,
'nice' => 0,
],
'uptime' => [
'connection' => 'redis',
'queue' => ['uptime'],
'balance' => 'auto',
'autoScalingStrategy' => 'time',
'minProcesses' => 2,
'maxProcesses' => 4,
'maxTime' => 0,
'maxJobs' => 0,
'memory' => 128,
'tries' => 1,
'timeout' => 60,
'nice' => 0,
],
'lighthouse' => [
'connection' => 'redis',
'queue' => ['lighthouse'],
'balance' => 'auto',
'autoScalingStrategy' => 'time',
'maxProcesses' => 1,
'maxTime' => 0,
'maxJobs' => 0,
'memory' => 128,
'tries' => 1,
'timeout' => 120,
'nice' => 0,
],
'dns' => [
'connection' => 'redis',
'queue' => ['dns'],
'balance' => 'auto',
'autoScalingStrategy' => 'time',
'maxProcesses' => 1,
'maxTime' => 0,
'maxJobs' => 0,
'memory' => 128,
'tries' => 1,
'timeout' => 30,
'nice' => 0,
],
'crawler' => [
'connection' => 'redis',
'queue' => ['crawler'],
'balance' => 'auto',
'autoScalingStrategy' => 'time',
'maxProcesses' => 5,
'maxTime' => 0,
'maxJobs' => 0,
'memory' => 128,
'tries' => 1,
'timeout' => 60,
'nice' => 0,
],
'certificates' => [
'connection' => 'redis',
'queue' => ['certificates'],
'balance' => 'auto',
'autoScalingStrategy' => 'time',
'maxProcesses' => 5,
'maxTime' => 0,
'maxJobs' => 0,
'memory' => 128,
'tries' => 1,
'timeout' => 30,
'nice' => 0,
],
'cve' => [
'connection' => 'redis',
'queue' => ['cve'],
'balance' => 'auto',
'autoScalingStrategy' => 'time',
'minProcesses' => 1,
'maxProcesses' => 2,
'maxTime' => 0,
'maxJobs' => 0,
'memory' => 512,
'tries' => 1,
'timeout' => 300,
'nice' => 0,
],
'healthchecks' => [
'connection' => 'redis',
'queue' => ['healthchecks'],
'balance' => 'auto',
'autoScalingStrategy' => 'time',
'minProcesses' => 1,
'maxProcesses' => 4,
'maxTime' => 0,
'maxJobs' => 0,
'memory' => 512,
'tries' => 1,
'timeout' => 300,
'nice' => 0,
],
'notifications' => [
'connection' => 'redis',
'queue' => ['notifications'],
'balance' => 'auto',
'autoScalingStrategy' => 'time',
'maxProcesses' => 2,
'maxTime' => 0,
'maxJobs' => 0,
'memory' => 128,
'tries' => 1,
'timeout' => 60,
'nice' => 0,
],
],
'environments' => [
'production' => [],
'test' => [],
'local' => [],
],
];
================================================
FILE: config/jetstream.php
================================================
<?php
use Laravel\Jetstream\Features;
use Laravel\Jetstream\Http\Middleware\AuthenticateSession;
return [
/*
|--------------------------------------------------------------------------
| Jetstream Stack
|--------------------------------------------------------------------------
|
| This configuration value informs Jetstream which "stack" you will be
| using for your application. In general, this value is set for you
| during installation and will not need to be changed after that.
|
*/
'stack' => 'livewire',
/*
|--------------------------------------------------------------------------
| Jetstream Route Middleware
|--------------------------------------------------------------------------
|
| Here you may specify which middleware Jetstream will assign to the routes
| that it registers with the application. When necessary, you may modify
| these middleware; however, this default value is usually sufficient.
|
*/
'middleware' => ['web'],
'auth_session' => AuthenticateSession::class,
/*
|--------------------------------------------------------------------------
| Jetstream Guard
|--------------------------------------------------------------------------
|
| Here you may specify the authentication guard Jetstream will use while
| authenticating users. This value should correspond with one of your
| guards that is already present in your "auth" configuration file.
|
*/
'guard' => 'sanctum',
/*
|--------------------------------------------------------------------------
| Features
|--------------------------------------------------------------------------
|
| Some of Jetstream's features are optional. You may disable the features
| by removing them from this array. You're free to only remove some of
| these features or you can even remove all of these if you need to.
|
*/
'features' => [
// Features::termsAndPrivacyPolicy(),
// Features::profilePhotos(),
// Features::api(),
env('EDITION', 'ce') === 'ce' ? '' : Features::teams(['invitations' => true]),
Features::accountDeletion(),
],
/*
|--------------------------------------------------------------------------
| Profile Photo Disk
|--------------------------------------------------------------------------
|
| This configuration value determines the default disk that will be used
| when storing profile photos for your application's users. Typically
| this will be the "public" disk but you may adjust this if needed.
|
*/
'profile_photo_disk' => 'public',
];
================================================
FILE: config/livewire.php
================================================
<?php
return [
/*
|---------------------------------------------------------------------------
| Class Namespace
|---------------------------------------------------------------------------
|
| This value sets the root class namespace for Livewire component classes in
| your application. This value will change where component auto-discovery
| finds components. It's also referenced by the file creation commands.
|
*/
'class_namespace' => 'App\\Livewire',
/*
|---------------------------------------------------------------------------
| View Path
|---------------------------------------------------------------------------
|
| This value is used to specify where Livewire component Blade templates are
| stored when running file creation commands like `artisan make:livewire`.
| It is also used if you choose to omit a component's render() method.
|
*/
'view_path' => resource_path('views/livewire'),
/*
|---------------------------------------------------------------------------
| Layout
|---------------------------------------------------------------------------
| The view that will be used as the layout when rendering a single component
| as an entire page via `Route::get('/post/create', CreatePost::class);`.
| In this case, the view returned by CreatePost will render into $slot.
|
*/
'layout' => 'layouts.app',
/*
|---------------------------------------------------------------------------
| Lazy Loading Placeholder
|---------------------------------------------------------------------------
| Livewire allows you to lazy load components that would otherwise slow down
| the initial page load. Every component can have a custom placeholder or
| you can define the default placeholder view for all components below.
|
*/
'lazy_placeholder' => null,
/*
|---------------------------------------------------------------------------
| Temporary File Uploads
|---------------------------------------------------------------------------
|
| Livewire handles file uploads by storing uploads in a temporary directory
| before the file is stored permanently. All file uploads are directed to
| a global endpoint for temporary storage. You may configure this below:
|
*/
'temporary_file_upload' => [
'disk' => null, // Example: 'local', 's3' | Default: 'default'
'rules' => null, // Example: ['file', 'mimes:png,jpg'] | Default: ['required', 'file', 'max:12288'] (12MB)
'directory' => null, // Example: 'tmp' | Default: 'livewire-tmp'
'middleware' => null, // Example: 'throttle:5,1' | Default: 'throttle:60,1'
'preview_mimes' => [ // Supported file types for temporary pre-signed file URLs...
'png', 'gif', 'bmp', 'svg', 'wav', 'mp4',
'mov', 'avi', 'wmv', 'mp3', 'm4a',
'jpg', 'jpeg', 'mpga', 'webp', 'wma',
],
'max_upload_time' => 5, // Max duration (in minutes) before an upload is invalidated...
],
/*
|---------------------------------------------------------------------------
| Render On Redirect
|---------------------------------------------------------------------------
|
| This value determines if Livewire will run a component's `render()` method
| after a redirect has been triggered using something like `redirect(...)`
| Setting this to true will render the view once more before redirecting
|
*/
'render_on_redirect' => false,
/*
|---------------------------------------------------------------------------
| Eloquent Model Binding
|---------------------------------------------------------------------------
|
| Previous versions of Livewire supported binding directly to eloquent model
| properties using wire:model by default. However, this behavior has been
| deemed too "magical" and has therefore been put under a feature flag.
|
*/
'legacy_model_binding' => false,
/*
|---------------------------------------------------------------------------
| Auto-inject Frontend Assets
|---------------------------------------------------------------------------
|
| By default, Livewire automatically injects its JavaScript and CSS into the
| <head> and <body> of pages containing Livewire components. By disabling
| this behavior, you need to use @livewireStyles and @livewireScripts.
|
*/
'inject_assets' => true,
/*
|---------------------------------------------------------------------------
| Navigate (SPA mode)
|---------------------------------------------------------------------------
|
| By adding `wire:navigate` to links in your Livewire application, Livewire
| will prevent the default link handling and instead request those pages
| via AJAX, creating an SPA-like effect. Configure this behavior here.
|
*/
'navigate' => [
'show_progress_bar' => true,
'progress_bar_color' => '#AF3029',
],
/*
|---------------------------------------------------------------------------
| HTML Morph Markers
|---------------------------------------------------------------------------
|
| Livewire intelligently "morphs" existing HTML into the newly rendered HTML
| after each update. To make this process more reliable, Livewire injects
| "markers" into the rendered Blade surrounding @if, @class & @foreach.
|
*/
'inject_morph_markers' => true,
/*
|---------------------------------------------------------------------------
| Pagination Theme
|---------------------------------------------------------------------------
|
| When enabling Livewire's pagination feature by using the `WithPagination`
| trait, Livewire will use Tailwind templates to render pagination views
| on the page. If you want Bootstrap CSS, you can specify: "bootstrap"
|
*/
'pagination_theme' => 'tailwind',
];
================================================
FILE: config/logging.php
================================================
<?php
use Monolog\Handler\NullHandler;
use Monolog\Handler\StreamHandler;
use Monolog\Handler\SyslogUdpHandler;
use Monolog\Processor\PsrLogMessageProcessor;
return [
/*
|--------------------------------------------------------------------------
| Default Log Channel
|--------------------------------------------------------------------------
|
| This option defines the default log channel that gets used when writing
| messages to the logs. The name specified in this option should match
| one of the channels defined in the "channels" configuration array.
|
*/
'default' => env('LOG_CHANNEL', 'daily'),
/*
|--------------------------------------------------------------------------
| Deprecations Log Channel
|--------------------------------------------------------------------------
|
| This option controls the log channel that should be used to log warnings
| regarding deprecated PHP and library features. This allows you to get
| your application ready for upcoming major versions of dependencies.
|
*/
'deprecations' => [
'channel' => env('LOG_DEPRECATIONS_CHANNEL', 'null'),
'trace' => false,
],
/*
|--------------------------------------------------------------------------
| Log Channels
|--------------------------------------------------------------------------
|
| Here you may configure the log channels for your application. Out of
| the box, Laravel uses the Monolog PHP logging library. This gives
| you a variety of powerful log handlers / formatters to utilize.
|
| Available Drivers: "single", "daily", "slack", "syslog",
| "errorlog", "monolog",
| "custom", "stack"
|
*/
'channels' => [
'stack' => [
'driver' => 'stack',
'channels' => ['single'],
'ignore_exceptions' => false,
],
'single' => [
'driver' => 'single',
'path' => storage_path('logs/laravel.log'),
'level' => env('LOG_LEVEL', 'info'),
'replace_placeholders' => true,
],
'daily' => [
'driver' => 'daily',
'path' => storage_path('logs/laravel.log'),
'level' => env('LOG_LEVEL', 'info'),
'days' => 14,
'replace_placeholders' => true,
],
'slack' => [
'driver' => 'slack',
'url' => env('LOG_SLACK_WEBHOOK_URL'),
'username' => 'Laravel Log',
'emoji' => ':boom:',
'level' => env('LOG_LEVEL', 'critical'),
'replace_placeholders' => true,
],
'papertrail' => [
'driver' => 'monolog',
'level' => env('LOG_LEVEL', 'debug'),
'handler' => env('LOG_PAPERTRAIL_HANDLER', SyslogUdpHandler::class),
'handler_with' => [
'host' => env('PAPERTRAIL_URL'),
'port' => env('PAPERTRAIL_PORT'),
'connectionString' => 'tls://'.env('PAPERTRAIL_URL').':'.env('PAPERTRAIL_PORT'),
],
'processors' => [PsrLogMessageProcessor::class],
],
'stderr' => [
'driver' => 'monolog',
'level' => env('LOG_LEVEL', 'debug'),
'handler' => StreamHandler::class,
'formatter' => env('LOG_STDERR_FORMATTER'),
'with' => [
'stream' => 'php://stderr',
],
'processors' => [PsrLogMessageProcessor::class],
],
'syslog' => [
'driver' => 'syslog',
'level' => env('LOG_LEVEL', 'debug'),
'facility' => LOG_USER,
'replace_placeholders' => true,
],
'errorlog' => [
'driver' => 'errorlog',
'level' => env('LOG_LEVEL', 'debug'),
'replace_placeholders' => true,
],
'null' => [
'driver' => 'monolog',
'handler' => NullHandler::class,
],
'emergency' => [
'path' => storage_path('logs/laravel.log'),
],
],
];
================================================
FILE: config/mail.php
================================================
<?php
return [
/*
|--------------------------------------------------------------------------
| Default Mailer
|--------------------------------------------------------------------------
|
| This option controls the default mailer that is used to send any email
| messages sent by your application. Alternative mailers may be setup
| and used as needed; however, this mailer will be used by default.
|
*/
'default' => env('MAIL_MAILER', 'smtp'),
/*
|--------------------------------------------------------------------------
| Mailer Configurations
|--------------------------------------------------------------------------
|
| Here you may configure all of the mailers used by your application plus
| their respective settings. Several examples have been configured for
| you and you are free to add your own as your application requires.
|
| Laravel supports a variety of mail "transport" drivers to be used while
| sending an e-mail. You will specify which one you are using for your
| mailers below. You are free to add additional mailers as required.
|
| Supported: "smtp", "sendmail", "mailgun", "ses", "ses-v2",
| "postmark", "log", "array", "failover", "roundrobin"
|
*/
'mailers' => [
'smtp' => [
'transport' => 'smtp',
'url' => env('MAIL_URL'),
'host' => env('MAIL_HOST', 'smtp.mailgun.org'),
'port' => env('MAIL_PORT', 587),
'encryption' => env('MAIL_ENCRYPTION', 'tls'),
'username' => env('MAIL_USERNAME'),
'password' => env('MAIL_PASSWORD'),
'timeout' => null,
'local_domain' => env('MAIL_EHLO_DOMAIN'),
'verify_peer' => env('MAIL_VERIFY_PEER') === 'true',
],
'ses' => [
'transport' => 'ses',
],
'postmark' => [
'transport' => 'postmark',
// 'message_stream_id' => null,
// 'client' => [
// 'timeout' => 5,
// ],
],
'mailgun' => [
'transport' => 'mailgun',
// 'client' => [
// 'timeout' => 5,
// ],
],
'sendmail' => [
'transport' => 'sendmail',
'path' => env('MAIL_SENDMAIL_PATH', '/usr/sbin/sendmail -bs -i'),
],
'log' => [
'transport' => 'log',
'channel' => env('MAIL_LOG_CHANNEL'),
],
'array' => [
'transport' => 'array',
],
'failover' => [
'transport' => 'failover',
'mailers' => [
'smtp',
'log',
],
],
'roundrobin' => [
'transport' => 'roundrobin',
'mailers' => [
'ses',
'postmark',
],
],
],
/*
|--------------------------------------------------------------------------
| Global "From" Address
|--------------------------------------------------------------------------
|
| You may wish for all e-mails sent by your application to be sent from
| the same address. Here, you may specify a name and address that is
| used globally for all e-mails that are sent by your application.
|
*/
'from' => [
'address' => env('MAIL_FROM_ADDRESS', 'hello@example.com'),
'name' => env('MAIL_FROM_NAME', 'Example'),
],
/*
|--------------------------------------------------------------------------
| Markdown Mail Settings
|--------------------------------------------------------------------------
|
| If you are using Markdown based email rendering, you may configure your
| theme and component paths here, allowing you to customize the design
| of the emails. Or, you may simply stick with the Laravel defaults!
|
*/
'markdown' => [
'theme' => 'default',
'paths' => [
resource_path('views/vendor/mail'),
],
],
];
================================================
FILE: config/queue.php
================================================
<?php
return [
/*
|--------------------------------------------------------------------------
| Default Queue Connection Name
|--------------------------------------------------------------------------
|
| Laravel's queue API supports an assortment of back-ends via a single
| API, giving you convenient access to each back-end using the same
| syntax for every one. Here you may define a default connection.
|
*/
'default' => env('QUEUE_CONNECTION', 'redis'),
/*
|--------------------------------------------------------------------------
| Queue Connections
|--------------------------------------------------------------------------
|
| Here you may configure the connection information for each server that
| is used by your application. A default configuration has been added
| for each back-end shipped with Laravel. You are free to add more.
|
| Drivers: "sync", "database", "beanstalkd", "sqs", "redis", "null"
|
*/
'connections' => [
'sync' => [
'driver' => 'sync',
],
'database' => [
'driver' => 'database',
'table' => 'jobs',
'queue' => 'default',
'retry_after' => 90,
'after_commit' => false,
],
'beanstalkd' => [
'driver' => 'beanstalkd',
'host' => 'localhost',
'queue' => 'default',
'retry_after' => 90,
'block_for' => 0,
'after_commit' => false,
],
'sqs' => [
'driver' => 'sqs',
'key' => env('AWS_ACCESS_KEY_ID'),
'secret' => env('AWS_SECRET_ACCESS_KEY'),
'prefix' => env('SQS_PREFIX', 'https://sqs.us-east-1.amazonaws.com/your-account-id'),
'queue' => env('SQS_QUEUE', 'default'),
'suffix' => env('SQS_SUFFIX'),
'region' => env('AWS_DEFAULT_REGION', 'us-east-1'),
'after_commit' => false,
],
'redis' => [
'driver' => 'redis',
'connection' => 'default',
'queue' => env('REDIS_QUEUE', 'default'),
'retry_after' => 3600,
'block_for' => null,
'after_commit' => false,
],
],
/*
|--------------------------------------------------------------------------
| Job Batching
|--------------------------------------------------------------------------
|
| The following options configure the database and table that store job
| batching information. These options can be updated to any database
| connection and table which has been defined by your application.
|
*/
'batching' => [
'database' => env('DB_CONNECTION', 'mysql'),
'table' => 'job_batches',
],
/*
|--------------------------------------------------------------------------
| Failed Queue Jobs
|--------------------------------------------------------------------------
|
| These options configure the behavior of failed queue job logging so you
| can control which database and table are used to store the jobs that
| have failed. You may change them to any database / table you wish.
|
*/
'failed' => [
'driver' => env('QUEUE_FAILED_DRIVER', 'database-uuids'),
'database' => env('DB_CONNECTION', 'mysql'),
'table' => 'failed_jobs',
],
];
================================================
FILE: config/sanctum.php
================================================
<?php
use Laravel\Sanctum\Sanctum;
return [
/*
|--------------------------------------------------------------------------
| Stateful Domains
|--------------------------------------------------------------------------
|
| Requests from the following domains / hosts will receive stateful API
| authentication cookies. Typically, these should include your local
| and production domains which access your API via a frontend SPA.
|
*/
'stateful' => explode(',', env('SANCTUM_STATEFUL_DOMAINS', sprintf(
'%s%s',
'localhost,localhost:3000,127.0.0.1,127.0.0.1:8000,::1',
Sanctum::currentApplicationUrlWithPort()
))),
/*
|--------------------------------------------------------------------------
| Sanctum Guards
|--------------------------------------------------------------------------
|
| This array contains the authentication guards that will be checked when
| Sanctum is trying to authenticate a request. If none of these guards
| are able to authenticate the request, Sanctum will use the bearer
| token that's present on an incoming request for authentication.
|
*/
'guard' => ['web'],
/*
|--------------------------------------------------------------------------
| Expiration Minutes
|--------------------------------------------------------------------------
|
| This value controls the number of minutes until an issued token will be
| considered expired. This will override any values set in the token's
| "expires_at" attribute, but first-party sessions are not affected.
|
*/
'expiration' => null,
/*
|--------------------------------------------------------------------------
| Token Prefix
|--------------------------------------------------------------------------
|
| Sanctum can prefix new tokens in order to take advantage of numerous
| security scanning initiatives maintained by open source platforms
| that notify developers if they commit tokens into repositories.
|
| See: https://docs.github.com/en/code-security/secret-scanning/about-secret-scanning
|
*/
'token_prefix' => env('SANCTUM_TOKEN_PREFIX', ''),
/*
|--------------------------------------------------------------------------
| Sanctum Middleware
|--------------------------------------------------------------------------
|
| When authenticating your first-party SPA with Sanctum you may need to
| customize some of the middleware Sanctum uses while processing the
| request. You may change the middleware listed below as required.
|
*/
'middleware' => [
'authenticate_session' => Laravel\Sanctum\Http\Middleware\AuthenticateSession::class,
'encrypt_cookies' => App\Http\Middleware\EncryptCookies::class,
'verify_csrf_token' => App\Http\Middleware\VerifyCsrfToken::class,
],
];
================================================
FILE: config/services.php
================================================
<?php
return [
/*
|--------------------------------------------------------------------------
| Third Party Services
|--------------------------------------------------------------------------
|
| This file is for storing the credentials for third party services such
| as Mailgun, Postmark, AWS and more. This file provides the de facto
| location for this type of information, allowing packages to have
| a conventional file to locate the various service credentials.
|
*/
'mailgun' => [
'domain' => env('MAILGUN_DOMAIN'),
'secret' => env('MAILGUN_SECRET'),
'endpoint' => env('MAILGUN_ENDPOINT', 'api.mailgun.net'),
'scheme' => 'https',
],
'postmark' => [
'token' => env('POSTMARK_TOKEN'),
],
'ses' => [
'key' => env('AWS_ACCESS_KEY_ID'),
'secret' => env('AWS_SECRET_ACCESS_KEY'),
'region' => env('AWS_DEFAULT_REGION', 'us-east-1'),
],
'google' => [
'enabled' => env('GOOGLE_LOGIN_ENABLED', false),
'client_id' => env('GOOGLE_CLIENT_ID'),
'client_secret' => env('GOOGLE_CLIENT_SECRET'),
'redirect' => env('GOOGLE_REDIRECT_URI'),
],
];
================================================
FILE: config/session.php
================================================
<?php
use Illuminate\Support\Str;
return [
/*
|--------------------------------------------------------------------------
| Default Session Driver
|--------------------------------------------------------------------------
|
| This option controls the default session "driver" that will be used on
| requests. By default, we will use the lightweight native driver but
| you may specify any of the other wonderful drivers provided here.
|
| Supported: "file", "cookie", "database", "apc",
| "memcached", "redis", "dynamodb", "array"
|
*/
'driver' => env('SESSION_DRIVER', 'database'),
/*
|--------------------------------------------------------------------------
| Session Lifetime
|--------------------------------------------------------------------------
|
| Here you may specify the number of minutes that you wish the session
| to be allowed to remain idle before it expires. If you want them
| to immediately expire on the browser closing, set that option.
|
*/
'lifetime' => env('SESSION_LIFETIME', 1440),
'expire_on_close' => false,
/*
|--------------------------------------------------------------------------
| Session Encryption
|--------------------------------------------------------------------------
|
| This option allows you to easily specify that all of your session data
| should be encrypted before it is stored. All encryption will be run
| automatically by Laravel and you can use the Session like normal.
|
*/
'encrypt' => false,
/*
|--------------------------------------------------------------------------
| Session File Location
|--------------------------------------------------------------------------
|
| When using the native session driver, we need a location where session
| files may be stored. A default has been set for you but a different
| location may be specified. This is only needed for file sessions.
|
*/
'files' => storage_path('framework/sessions'),
/*
|--------------------------------------------------------------------------
| Session Database Connection
|--------------------------------------------------------------------------
|
| When using the "database" or "redis" session drivers, you may specify a
| connection that should be used to manage these sessions. This should
| correspond to a connection in your database configuration options.
|
*/
'connection' => env('SESSION_CONNECTION'),
/*
|--------------------------------------------------------------------------
| Session Database Table
|--------------------------------------------------------------------------
|
| When using the "database" session driver, you may specify the table we
| should use to manage the sessions. Of course, a sensible default is
| provided for you; however, you are free to change this as needed.
|
*/
'table' => 'sessions',
/*
|--------------------------------------------------------------------------
| Session Cache Store
|--------------------------------------------------------------------------
|
| While using one of the framework's cache driven session backends you may
| list a cache store that should be used for these sessions. This value
| must match with one of the application's configured cache "stores".
|
| Affects: "apc", "dynamodb", "memcached", "redis"
|
*/
'store' => env('SESSION_STORE'),
/*
|--------------------------------------------------------------------------
| Session Sweeping Lottery
|--------------------------------------------------------------------------
|
| Some session drivers must manually sweep their storage location to get
| rid of old sessions from storage. Here are the chances that it will
| happen on a given request. By default, the odds are 2 out of 100.
|
*/
'lottery' => [2, 100],
/*
|--------------------------------------------------------------------------
| Session Cookie Name
|--------------------------------------------------------------------------
|
| Here you may change the name of the cookie used to identify a session
| instance by ID. The name specified here will get used every time a
| new session cookie is created by the framework for every driver.
|
*/
'cookie' => env(
'SESSION_COOKIE',
Str::slug(env('APP_NAME', 'laravel'), '_').'_session'
),
/*
|--------------------------------------------------------------------------
| Session Cookie Path
|--------------------------------------------------------------------------
|
| The session cookie path determines the path for which the cookie will
| be regarded as available. Typically, this will be the root path of
| your application but you are free to change this when necessary.
|
*/
'path' => '/',
/*
|--------------------------------------------------------------------------
| Session Cookie Domain
|--------------------------------------------------------------------------
|
| Here you may change the domain of the cookie used to identify a session
| in your application. This will determine which domains the cookie is
| available to in your application. A sensible default has been set.
|
*/
'domain' => env('SESSION_DOMAIN'),
/*
|--------------------------------------------------------------------------
| HTTPS Only Cookies
|--------------------------------------------------------------------------
|
| By setting this option to true, session cookies will only be sent back
| to the server if the browser has a HTTPS connection. This will keep
| the cookie from being sent to you when it can't be done securely.
|
*/
'secure' => env('SESSION_SECURE_COOKIE'),
/*
|--------------------------------------------------------------------------
| HTTP Access Only
|--------------------------------------------------------------------------
|
| Setting this value to true will prevent JavaScript from accessing the
| value of the cookie and the cookie will only be accessible through
| the HTTP protocol. You are free to modify this option if needed.
|
*/
'http_only' => true,
/*
|--------------------------------------------------------------------------
| Same-Site Cookies
|--------------------------------------------------------------------------
|
| This option determines how your cookies behave when cross-site requests
| take place, and can be used to mitigate CSRF attacks. By default, we
| will set this value to "lax" since this is a secure default value.
|
| Supported: "lax", "strict", "none", null
|
*/
'same_site' => 'lax',
/*
|--------------------------------------------------------------------------
| Partitioned Cookies
|--------------------------------------------------------------------------
|
| Setting this value to true will tie the cookie to the top-level site for
| a cross-site context. Partitioned cookies are accepted by the browser
| when flagged "secure" and the Same-Site attribute is set to "none".
|
*/
'partitioned' => false,
];
================================================
FILE: config/view.php
================================================
<?php
return [
/*
|--------------------------------------------------------------------------
| View Storage Paths
|--------------------------------------------------------------------------
|
| Most templating systems load templates from disk. Here you may specify
| an array of paths that should be checked for your views. Of course
| the usual Laravel view path has already been registered for you.
|
*/
'paths' => [
resource_path('views'),
],
/*
|--------------------------------------------------------------------------
| Compiled View Path
|--------------------------------------------------------------------------
|
| This option determines where all the compiled Blade templates will be
| stored for your application. Typically, this is within the storage
| directory. However, as usual, you are free to change this value.
|
*/
'compiled' => env(
'VIEW_COMPILED_PATH',
realpath(storage_path('framework/views'))
),
];
================================================
FILE: database/.gitignore
================================================
*.sqlite*
================================================
FILE: database/migrations/2019_08_19_000000_create_failed_jobs_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('failed_jobs', function (Blueprint $table) {
$table->id();
$table->string('uuid')->unique();
$table->text('connection');
$table->text('queue');
$table->longText('payload');
$table->longText('exception');
$table->timestamp('failed_at')->useCurrent();
});
}
/**
* Reverse the migrations.
*/
public function down(): void
{
Schema::dropIfExists('failed_jobs');
}
};
================================================
FILE: database/migrations/2019_12_14_000001_create_personal_access_tokens_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('personal_access_tokens', function (Blueprint $table) {
$table->id();
$table->morphs('tokenable');
$table->string('name');
$table->string('token', 64)->unique();
$table->text('abilities')->nullable();
$table->timestamp('last_used_at')->nullable();
$table->timestamp('expires_at')->nullable();
$table->timestamps();
});
}
/**
* Reverse the migrations.
*/
public function down(): void
{
Schema::dropIfExists('personal_access_tokens');
}
};
================================================
FILE: database/migrations/2024_02_18_184745_create_sessions_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('sessions', function (Blueprint $table) {
$table->string('id')->primary();
$table->foreignId('user_id')->nullable()->index();
$table->string('ip_address', 45)->nullable();
$table->text('user_agent')->nullable();
$table->longText('payload');
$table->integer('last_activity')->index();
});
}
/**
* Reverse the migrations.
*/
public function down(): void
{
Schema::dropIfExists('sessions');
}
};
================================================
FILE: database/migrations/2024_03_23_092656_create_notifications_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('notifications', function (Blueprint $table) {
$table->uuid('id')->primary();
$table->string('type');
$table->morphs('notifiable');
$table->text('data');
$table->timestamp('read_at')->nullable();
$table->timestamps();
});
}
/**
* Reverse the migrations.
*/
public function down(): void
{
Schema::dropIfExists('notifications');
}
};
================================================
FILE: database/seeders/DatabaseSeeder.php
================================================
<?php
namespace Database\Seeders;
// use Illuminate\Database\Console\Seeds\WithoutModelEvents;
use Illuminate\Database\Seeder;
use Vigilant\Uptime\Models\Monitor;
class DatabaseSeeder extends Seeder
{
/**
* Seed the application's database.
*/
public function run(): void
{
/** @var Monitor $monitor */
$monitor = Monitor::factory()->create();
$latencyMin = 5;
$latencyMax = 20;
$currentDate = now();
for ($i = 0; $i < 72; $i++) {
$currentDate->subHour();
$monitor->aggregatedResults()->create([
'total_time' => rand($latencyMin, $latencyMax),
'created_at' => $currentDate,
'updated_at' => $currentDate,
]);
}
}
}
================================================
FILE: docker/crontab
================================================
* * * * * /usr/local/bin/php /app/artisan schedule:run >> /app/storage/logs/schedule.log 2>&1
================================================
FILE: docker/entrypoint.sh
================================================
#!/bin/sh
cp -f -r /tmp/public/* /app/public
mkdir -p /app/storage/framework/cache
mkdir -p /app/storage/framework/sessions
mkdir -p /app/storage/framework/views
mkdir -p /app/storage/logs
chown -R www-data:www-data /app/storage
if ! grep -q "^APP_KEY=" ".env" || [ -z "$(grep "^APP_KEY=" ".env" | cut -d '=' -f2)" ]; then
php artisan key:generate
fi
php artisan optimize:clear
php artisan migrate --force
php artisan storage:link
php artisan notifications:create
php artisan notifications:rename-classes
php artisan optimize
/usr/bin/supervisord -c /app/docker/supervisor/supervisor.conf
================================================
FILE: docker/horizon-entrypoint.sh
================================================
#!/bin/sh
mkdir -p /app/storage/framework/cache
mkdir -p /app/storage/framework/sessions
mkdir -p /app/storage/framework/views
mkdir -p /app/storage/logs
chown -R www-data:www-data /app/storage
exec su-exec www-data php artisan horizon
================================================
FILE: docker/nginx.conf
================================================
server {
listen 8000;
server_name _;
root /app/public;
index index.php;
access_log /app/storage/logs/nginx-access.log;
error_log /app/storage/logs/nginx-error.log;
sendfile on;
tcp_nopush on;
tcp_nodelay on;
keepalive_timeout 30;
keepalive_requests 1000;
gzip on;
gzip_comp_level 5;
gzip_min_length 256;
gzip_proxied any;
gzip_vary on;
gzip_types
application/javascript
application/json
application/xml
application/rss+xml
text/css
text/javascript
text/plain
text/xml
image/svg+xml;
location ~* \.(css|js|ico|gif|jpe?g|png|webp|avif|svg|woff2?|ttf|eot|otf)$ {
expires 30d;
access_log off;
add_header Cache-Control "public, immutable";
try_files $uri /index.php?$query_string;
}
location / {
try_files $uri $uri/ /index.php?$query_string;
}
location = /index.php {
fastcgi_pass unix:/run/php-fpm.sock;
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
include fastcgi_params;
fastcgi_read_timeout 300;
fastcgi_buffering on;
fastcgi_buffer_size 16k;
fastcgi_buffers 16 16k;
fastcgi_busy_buffers_size 32k;
}
location ~ \.php$ {
return 404;
}
location ~ /\.ht {
deny all;
}
}
================================================
FILE: docker/php-fpm.ini
================================================
max_execution_time = 300
max_input_time = 60
memory_limit = 256M
expose_php = Off
display_errors = Off
log_errors = On
error_log = /app/storage/logs/php-errors.log
error_reporting = E_ALL & ~E_DEPRECATED & ~E_STRICT
opcache.enable = 1
opcache.memory_consumption = 256
opcache.interned_strings_buffer = 16
opcache.max_accelerated_files = 20000
opcache.validate_timestamps = 0
opcache.save_comments = 1
opcache.enable_file_override = 1
opcache.preload = /app/docker/preload.php
opcache.preload_user = www-data
opcache.jit_buffer_size = 64M
opcache.jit = 1255
realpath_cache_size = 4096K
realpath_cache_ttl = 600
================================================
FILE: docker/preload.php
================================================
<?php
require_once '/app/vendor/autoload.php';
$files = array_merge(
glob('/app/vendor/laravel/framework/src/Illuminate/Support/*.php') ?: [],
glob('/app/vendor/laravel/framework/src/Illuminate/Support/Facades/*.php') ?: [],
glob('/app/vendor/laravel/framework/src/Illuminate/Collections/*.php') ?: [],
glob('/app/vendor/laravel/framework/src/Illuminate/Http/*.php') ?: [],
glob('/app/vendor/laravel/framework/src/Illuminate/Routing/*.php') ?: [],
glob('/app/vendor/laravel/framework/src/Illuminate/Database/Eloquent/*.php') ?: [],
glob('/app/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Concerns/*.php') ?: [],
glob('/app/vendor/laravel/framework/src/Illuminate/Database/Query/*.php') ?: [],
glob('/app/vendor/laravel/framework/src/Illuminate/Container/*.php') ?: [],
glob('/app/vendor/laravel/framework/src/Illuminate/Pipeline/*.php') ?: [],
glob('/app/vendor/laravel/framework/src/Illuminate/View/*.php') ?: [],
glob('/app/vendor/laravel/framework/src/Illuminate/Cache/*.php') ?: [],
glob('/app/vendor/laravel/framework/src/Illuminate/Session/*.php') ?: [],
glob('/app/vendor/laravel/framework/src/Illuminate/Auth/*.php') ?: [],
glob('/app/vendor/laravel/framework/src/Illuminate/Validation/*.php') ?: [],
glob('/app/app/Models/*.php') ?: [],
glob('/app/packages/*/src/Models/*.php') ?: [],
glob('/app/packages/*/src/Actions/*.php') ?: [],
glob('/app/packages/*/src/Enums/*.php') ?: [],
glob('/app/packages/*/src/Data/*.php') ?: [],
glob('/app/packages/*/src/Contracts/*.php') ?: [],
glob('/app/packages/*/src/Concerns/*.php') ?: [],
glob('/app/packages/*/src/Http/Controllers/*.php') ?: [],
glob('/app/packages/*/src/Http/Resources/*.php') ?: [],
glob('/app/packages/*/src/Http/Requests/*.php') ?: [],
glob('/app/packages/*/src/Livewire/*.php') ?: [],
glob('/app/packages/*/src/Scopes/*.php') ?: [],
glob('/app/packages/*/src/Observers/*.php') ?: [],
glob('/app/packages/saas/packages/*/src/Models/*.php') ?: [],
glob('/app/packages/saas/packages/*/src/Actions/*.php') ?: [],
glob('/app/packages/saas/packages/*/src/Enums/*.php') ?: [],
glob('/app/packages/saas/packages/*/src/Data/*.php') ?: [],
glob('/app/packages/saas/packages/*/src/Contracts/*.php') ?: [],
glob('/app/packages/saas/packages/*/src/Concerns/*.php') ?: [],
glob('/app/packages/saas/packages/*/src/Http/Controllers/*.php') ?: [],
glob('/app/packages/saas/packages/*/src/Http/Resources/*.php') ?: [],
glob('/app/packages/saas/packages/*/src/Http/Requests/*.php') ?: [],
glob('/app/packages/saas/packages/*/src/Livewire/*.php') ?: [],
glob('/app/packages/saas/packages/*/src/Scopes/*.php') ?: [],
glob('/app/packages/saas/packages/*/src/Observers/*.php') ?: [],
);
foreach ($files as $file) {
try {
if (is_file($file)) {
opcache_compile_file($file);
}
} catch (Throwable) {
//
}
}
================================================
FILE: docker/supervisor/supervisor.conf
================================================
[supervisord]
nodaemon=true
user=root
logfile=/app/storage/logs/supervisord.log
logfile_maxbytes=10MB
[program:cron]
command=/usr/sbin/crond -f -l 5
stdout_logfile=/app/storage/logs/cron.log
stderr_logfile=/app/storage/logs/cron-error.log
stdout_logfile_maxbytes=10MB
stderr_logfile_maxbytes=10MB
autorestart=true
[program:php-fpm]
command=php-fpm -F
stdout_logfile=/app/storage/logs/php-fpm.log
redirect_stderr=true
stdout_logfile_maxbytes=10MB
stdout_logfile_backups=5
autorestart=true
[program:nginx]
command=nginx -g "daemon off;"
stdout_logfile=/app/storage/logs/nginx.log
redirect_stderr=true
stdout_logfile_maxbytes=10MB
stdout_logfile_backups=5
autorestart=true
================================================
FILE: docker/www.conf
================================================
[www]
user = www-data
group = www-data
listen = /run/php-fpm.sock
listen.owner = www-data
listen.group = nginx
listen.mode = 0666
pm = dynamic
pm.max_children = 24
pm.start_servers = 4
pm.min_spare_servers = 2
pm.max_spare_servers = 6
pm.max_requests = 1000
request_terminate_timeout = 300
slowlog = /app/storage/logs/php-fpm-slow.log
request_slowlog_timeout = 5
clear_env = no
================================================
FILE: docker-compose.yml
================================================
services:
app:
image: ghcr.io/govigilant/vigilant:latest
build:
context: .
volumes:
- type: bind
source: ./.env
target: /app/.env
- ./storage:/app/storage
- public:/app/public
restart: always
working_dir: /app
networks:
- vigilant
healthcheck:
test: curl --fail http://localhost:8000 || exit 1
interval: 30s
timeout: 10s
retries: 5
depends_on:
mysql:
condition: service_healthy
ports:
- "8000:8000"
horizon:
image: ghcr.io/govigilant/vigilant:latest
volumes:
- type: bind
source: ./.env
target: /app/.env
read_only: true
- ./storage:/app/storage
- public:/app/public
restart: always
working_dir: /app
networks:
- vigilant
entrypoint: ["sh", "/app/docker/horizon-entrypoint.sh"]
healthcheck:
test: ["CMD", "php", "artisan", "horizon:status"]
interval: 30s
timeout: 10s
start_period: 10s
retries: 3
depends_on:
mysql:
condition: service_healthy
redis:
condition: service_healthy
mysql:
image: mysql:8.0
restart: always
environment:
- MYSQL_DATABASE=vigilant
- MYSQL_ROOT_PASSWORD=password
volumes:
- database:/var/lib/mysql
networks:
- vigilant
healthcheck:
test: ["CMD", "mysqladmin", "ping", "-h", "localhost"]
interval: 10s
timeout: 20s
retries: 10
redis:
image: redis:7
restart: always
volumes:
- redis:/data
networks:
- vigilant
healthcheck:
test: ["CMD", "redis-cli", "ping"]
lighthouse:
image: ghcr.io/govigilant/lighthouse-server:latest
restart: always
deploy:
resources:
reservations:
memory: 2G
networks:
- vigilant
outpost:
image: ghcr.io/govigilant/vigilant-uptime-outpost:latest
restart: always
environment:
- VIGILANT_URL=http://app:8000
- OUTPOST_SECRET=outpost-secret
depends_on:
app:
condition: service_healthy
networks:
- vigilant
networks:
vigilant:
volumes:
public:
database:
redis:
================================================
FILE: package.json
================================================
{
"private": true,
"type": "module",
"scripts": {
"predev": "node scripts/generate-tailwind-sources.mjs",
"dev": "vite",
"prebuild": "find packages -type d -name vendor -exec rm -r {} + && node scripts/generate-tailwind-sources.mjs",
"build": "NODE_OPTIONS='--max-old-space-size=6144' vite build"
},
"devDependencies": {
"@tailwindcss/forms": "^0.5.2",
"@tailwindcss/postcss": "^4.1.3",
"@tailwindcss/typography": "^0.5.0",
"axios": "1.6.4",
"laravel-vite-plugin": "^1.0.0",
"postcss": "^8.4.14",
"tailwindcss": "^4.1.3",
"vite": "6.4.1"
},
"dependencies": {
"chart.js": "^4.4.1"
}
}
================================================
FILE: packages/certificates/.gitignore
================================================
vendor
composer.lock
.phpunit.result.cache
================================================
FILE: packages/certificates/composer.json
================================================
{
"name": "vigilant/certificates",
"description": "Vigilant Certificate Monitor",
"type": "package",
"license": "AGPL",
"authors": [
{
"name": "Vincent Boon",
"email": "info@vincentbean.com",
"role": "Developer"
}
],
"require": {
"php": "^8.3",
"guzzlehttp/guzzle": "^7.8",
"laravel/framework": "^12.0",
"livewire/livewire": "^3.4",
"vigilant/core": "@dev",
"vigilant/sites": "@dev",
"vigilant/users": "@dev",
"vigilant/frontend": "@dev",
"vigilant/notifications": "@dev"
},
"require-dev": {
"laravel/pint": "^1.6",
"larastan/larastan": "^3.0",
"orchestra/testbench": "^10.0",
"phpstan/phpstan-mockery": "^2.0",
"phpunit/phpunit": "^11.0"
},
"autoload": {
"psr-4": {
"Vigilant\\Certificates\\": "src",
"Vigilant\\Certificates\\Database\\Factories\\": "database/factories",
"Vigilant\\Users\\Database\\Factories\\": "../users/database/factories"
}
},
"autoload-dev": {
"psr-4": {
"Vigilant\\Certificates\\Tests\\": "tests"
}
},
"scripts": {
"test": "phpunit",
"analyse": "phpstan",
"style": "pint --test",
"quality": [
"@test",
"@analyse"
]
},
"config": {
"sort-packages": true,
"allow-plugins": {
"php-http/discovery": true
}
},
"extra": {
"laravel": {
"providers": [
"Vigilant\\Certificates\\ServiceProvider"
]
}
},
"minimum-stability": "dev",
"prefer-stable": true,
"repositories": [
{
"type": "path",
"url": "../*"
}
]
}
================================================
FILE: packages/certificates/config/certificates.php
================================================
<?php
return [
'queue' => 'certificates',
];
================================================
FILE: packages/certificates/database/migrations/2025_04_08_200000_create_create_certificate_monitors_table.php
================================================
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
use Vigilant\Sites\Models\Site;
use Vigilant\Users\Models\Team;
return new class extends Migration
{
public function up(): void
{
Schema::create('certificate_monitors', function (Blueprint $table): void {
$table->id();
$table->foreignIdFor(Site::class)->nullable()->constrained()->onDelete('cascade');
$table->foreignIdFor(Team::class)->constrained()->onDelete('cascade');
$table->boolean('enabled')->default(true);
$table->dateTime('next_check')->nullable();
$table->string('domain');
$table->integer('port')->default(443);
$table->string('serial_number')->nullable();
$table->string('protocol')->nullable();
$table->string('fingerprint')->nullable();
$table->dateTime('valid_from')->nullable();
$table->dateTime('valid_to')->nullable();
$table->json('data')->nullable();
$table->timestamps();
});
}
public function down(): void
{
Schema::dropIfExists('certificate_monitors');
}
};
================================================
FILE: packages/certificates/database/migrations/2025_04_12_090000_create_create_certificate_monitor_history_table.php
================================================
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
use Vigilant\Certificates\Models\CertificateMonitor;
use Vigilant\Users\Models\Team;
return new class extends Migration
{
public function up(): void
{
Schema::create('certificate_monitor_histories', function (Blueprint $table): void {
$table->id();
$table->foreignIdFor(CertificateMonitor::class)->nullable()->constrained()->onDelete('cascade');
$table->foreignIdFor(Team::class)->constrained()->onDelete('cascade');
$table->string('serial_number')->nullable();
$table->string('protocol')->nullable();
$table->string('fingerprint')->nullable();
$table->dateTime('valid_from')->nullable();
$table->dateTime('valid_to')->nullable();
$table->json('data')->nullable();
$table->timestamps();
});
}
public function down(): void
{
Schema::dropIfExists('certificate_monitor_histories');
}
};
================================================
FILE: packages/certificates/phpstan.neon
================================================
includes:
- ./vendor/larastan/larastan/extension.neon
- ./vendor/phpstan/phpstan-mockery/extension.neon
parameters:
paths:
- src
- tests
level: 8
ignoreErrors:
- identifier: missingType.iterableValue
- identifier: missingType.generics
================================================
FILE: packages/certificates/phpunit.xml
================================================
<?xml version="1.0" encoding="UTF-8"?>
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/10.3/phpunit.xsd" bootstrap="vendor/autoload.php" colors="true">
<testsuites>
<testsuite name="Tests">
<directory>./tests/*</directory>
</testsuite>
</testsuites>
<coverage/>
<source>
<include>
<directory suffix=".php">./src</directory>
</include>
</source>
</phpunit>
================================================
FILE: packages/certificates/resources/navigation.php
================================================
<?php
use Vigilant\Core\Facades\Navigation;
Navigation::add(route('certificates'), 'Certificates')
->parent('infrastructure')
->icon('phosphor-certificate')
->gate('use-certificates')
->routeIs('certificate*')
->sort(600);
================================================
FILE: packages/certificates/resources/views/components/empty-states/monitors.blade.php
================================================
<x-frontend::empty-state
:title="__('No Certificate Monitors')"
:description="__('Track TLS certificate expirations and changes by adding your first certificate monitor.')"
icon="phosphor-warning-circle"
iconClass="h-12 w-12 text-teal"
iconWrapperClass="rounded-full bg-teal/10 p-4 mb-6"
:buttonHref="route('certificates.create')"
:buttonText="__('Add Certificate Monitor')"
buttonClass="bg-gradient-to-r from-teal via-cyan to-teal bg-300% text-base-50 px-5 py-2.5 rounded-lg hover:shadow-lg hover:shadow-teal/30 transition-all duration-300"
/>
================================================
FILE: packages/certificates/resources/views/index.blade.php
================================================
<x-app-layout>
<x-slot name="header">
<x-page-header title="Certificate Monitoring">
<x-frontend::page-header.actions>
<x-create-button dusk="certificate-add-button" :href="route('certificates.create')"
model="Vigilant\Certificates\Models\CertificateMonitor">
@lang('Add Certificate Monitor')
</x-create-button>
</x-frontend::page-header.actions>
<x-frontend::page-header.mobile-actions>
<x-create-button-dropdown :href="route('certificates.create')" model="Vigilant\Certificates\Models\CertificateMonitor">
@lang('Add Certificate Monitor')
</x-create-button-dropdown>
</x-frontend::page-header.mobile-actions>
</x-page-header>
</x-slot>
@if ($hasMonitors)
<livewire:certificate-monitor-table />
@else
<x-certificates::empty-states.monitors />
@endif
</x-app-layout>
================================================
FILE: packages/certificates/resources/views/livewire/certificate-monitor-form.blade.php
================================================
<div>
@if (!$inline)
<x-slot name="header">
<x-page-header :title="$updating ? 'Edit Certificate Monitor - ' . $certificateMonitor->url : 'Add Certificate Monitor'" :back="$updating
? route('certificates.index', ['monitor' => $certificateMonitor])
: route('certificates')">
</x-page-header>
</x-slot>
@endif
<form wire:submit="save">
<div class="max-w-7xl mx-auto">
<x-card>
<div class="flex flex-col gap-4">
@if (!$inline)
<x-form.checkbox field="form.enabled" name="Enabled"
description="Enable or disable this certificate monitor" />
@endif
<x-form.text field="form.domain" name="Domain" description="Domain" />
<x-form.number field="form.port" name="Port" description="Port" />
@if (!$inline)
<x-form.submit-button dusk="submit-button" :submitText="$updating ? 'Save' : 'Create'" />
@endif
</div>
</x-card>
</div>
</form>
</div>
================================================
FILE: packages/certificates/resources/views/livewire/monitor/dashboard.blade.php
================================================
<div class="">
<dl class="grid grid-cols-2 lg:grid-cols-4 gap-4">
<x-frontend::stats-card :title="__('Expiry')">
@if ($monitor->valid_to === null)
<span class="text-red-light">@lang('Unknown')</span>
@elseif ($monitor->valid_to->isPast())
<span class="text-red-light">@lang('Expired :diff ago', ['diff' => $monitor->valid_to->longAbsoluteDiffForHumans()])</span>
@else
<span class="text-green">@lang('Expires in :diff', ['diff' => $monitor->valid_to->longAbsoluteDiffForHumans()])</span>
@endif
</x-frontend::stats-card>
<x-frontend::stats-card :title="__('Valid from')">
@if ($monitor->valid_from === null)
<span class="text-red-light">@lang('Unknown')</span>
@else
<span class="text-base-200">{{ $monitor->valid_from->toDatetimeString() }}</span>
@endif
</x-frontend::stats-card>
<x-frontend::stats-card :title="__('Valid to')">
@if ($monitor->valid_to === null)
<span class="text-red-light">@lang('Unknown')</span>
@else
<span class="text-base-200">{{ $monitor->valid_to->toDatetimeString() }}</span>
@endif
</x-frontend::stats-card>
<x-frontend::stats-card :title="__('Issuer')">
@if (data_get($monitor->data ?? [], 'issuer.CN') === null)
<span class="text-red-light">@lang('Unknown')</span>
@else
<span class="text-base-200">{{ data_get($monitor->data, 'issuer.CN') }}</span>
@endif
</x-frontend::stats-card>
</dl>
</div>
================================================
FILE: packages/certificates/resources/views/monitor/index.blade.php
================================================
<x-app-layout>
<x-slot name="header">
<x-page-header :back="route('certificates')" :title="'Certificate Monitor - ' . $monitor->domain . ($monitor->enabled ? '' : ' (Disabled)')">
<x-frontend::page-header.actions>
<x-form.button dusk="lighthouse-edit-button"
href="{{ route('certificates.edit', ['monitor' => $monitor]) }}">
@lang('Edit')
</x-form.button>
<x-form.button class="bg-red" @click="$dispatch('open-delete-modal')">
@lang('Delete')
</x-form.button>
</x-frontend::page-header.actions>
<x-frontend::page-header.mobile-actions>
<x-form.dropdown-button href="{{ route('certificates.edit', ['monitor' => $monitor]) }}">
@lang('Edit')
</x-form.dropdown-button>
<x-form.dropdown-button class="!text-red hover:!text-red-light" @click="$dispatch('open-delete-modal')">
@lang('Delete')
</x-form.dropdown-button>
</x-frontend::page-header.mobile-actions>
</x-page-header>
</x-slot>
<livewire:certificate-monitor-dashboard :monitorId="$monitor->id" />
<div class="my-8">
<h2 class="text-xl font-bold leading-7 sm:truncate sm:text-2xl sm:tracking-tight text-neutral-100 mb-2">
{{ __('History') }}</h2>
<p class="text-sm text-neutral-400 mb-4">
@lang('View the history of this certificate monitor.')
</p>
<livewire:certificate-monitor-history-table :monitorId="$monitor->id" />
</div>
<!-- Delete Confirmation Modal -->
<div x-data="{ showDeleteModal: false }" @open-delete-modal.window="showDeleteModal = true">
<x-frontend::modal show="showDeleteModal">
<x-frontend::modal.header icon="phosphor-trash" iconColor="red" show="showDeleteModal">
@lang('Delete Certificate Monitor')
</x-frontend::modal.header>
<x-frontend::modal.body>
<div class="space-y-4">
<p class="text-base-100">
@lang('Are you sure you want to delete this certificate monitor?')
</p>
<div class="bg-base-850 border border-base-700 rounded-lg p-4">
<div class="flex items-start gap-3">
<div class="flex-shrink-0">
@svg('phosphor-warning-circle', 'w-5 h-5 text-orange mt-0.5')
</div>
<div class="flex-1">
<p class="text-sm text-base-300">
<span class="font-semibold text-base-100">{{ $monitor->domain }}</span>
</p>
<p class="text-sm text-base-400 mt-1">
@lang('This action cannot be undone. All certificate history for this monitor will be permanently deleted.')
</p>
</div>
</div>
</div>
</div>
</x-frontend::modal.body>
<x-frontend::modal.footer>
<x-form.button type="button" @click="showDeleteModal = false">
@lang('Cancel')
</x-form.button>
<form action="{{ route('certificates.delete', ['monitor' => $monitor]) }}" method="POST" class="inline">
@csrf
@method('DELETE')
<x-form.button class="bg-red" type="submit">
@lang('Delete Monitor')
</x-form.button>
</form>
</x-frontend::modal.footer>
</x-frontend::modal>
</div>
</x-app-layout>
================================================
FILE: packages/certificates/routes/web.php
================================================
<?php
use Illuminate\Support\Facades\Route;
use Vigilant\Certificates\Http\Controllers\CertificateMonitorController;
use Vigilant\Certificates\Livewire\CertificateMonitorForm;
Route::prefix('certificates')
->group(function () {
Route::get('/', [CertificateMonitorController::class, 'list'])->name('certificates');
Route::get('/create', CertificateMonitorForm::class)->name('certificates.create');
Route::get('/{monitor}', [CertificateMonitorController::class, 'index'])->name('certificates.index')->can('view,monitor');
Route::get('/edit/{monitor}', CertificateMonitorForm::class)->name('certificates.edit');
Route::delete('/{monitor}', [CertificateMonitorController::class, 'delete'])->name('certificates.delete')->can('delete,monitor');
});
================================================
FILE: packages/certificates/src/Actions/CheckCertificate.php
================================================
<?php
namespace Vigilant\Certificates\Actions;
use Illuminate\Support\Carbon;
use Vigilant\Certificates\Models\CertificateMonitor;
use Vigilant\Certificates\Notifications\CertificateChangedNotification;
use Vigilant\Certificates\Notifications\CertificateExpiredNotification;
use Vigilant\Certificates\Notifications\CertificateExpiresInDaysNotification;
use Vigilant\Certificates\Notifications\UnableToResolveCertificateNotification;
class CheckCertificate
{
public function check(CertificateMonitor $monitor): void
{
$context = stream_context_create([
'ssl' => [
'capture_peer_cert' => true,
'verify_peer' => false,
'verify_peer_name' => false,
],
]);
$client = @stream_socket_client(
"ssl://{$monitor->domain}:{$monitor->port}",
$errno,
$errstr,
30,
STREAM_CLIENT_CONNECT,
$context
);
if ($client === false) {
UnableToResolveCertificateNotification::notify($monitor, $errstr);
return;
}
$metadata = stream_get_meta_data($client);
$contParams = stream_context_get_params($client);
$certificate = openssl_x509_parse($contParams['options']['ssl']['peer_certificate']);
if ($certificate === false) {
UnableToResolveCertificateNotification::notify($monitor, 'Unable to parse certificate');
return;
}
$fingerprint = openssl_x509_fingerprint($contParams['options']['ssl']['peer_certificate'], 'sha256');
$validTo = Carbon::createFromTimestampUTC(data_get($certificate, 'validTo_time_t'));
if ($validTo->isAfter(now()->addDays(30))) {
$nextCheck = now()->addDays(30);
} elseif ($validTo->isAfter(now()->addDays(7))) {
$nextCheck = now()->addDays(7);
} else {
$nextCheck = $validTo->subDay();
if ($nextCheck->isPast()) {
$nextCheck = now()->addHours(3);
}
}
if ($validTo->isPast()) {
CertificateExpiredNotification::notify($monitor);
} else {
}
if ($monitor->fingerprint !== $fingerprint) {
$history = $monitor->history()->create([
'serial_number' => data_get($certificate, 'serialNumber'),
'protocol' => data_get($metadata, 'crypto.protocol'),
'fingerprint' => $fingerprint,
'valid_from' => Carbon::createFromTimestampUTC(data_get($certificate, 'validFrom_time_t')),
'valid_to' => $validTo,
'data' => array_merge(
$certificate,
[
'metadata' => $metadata,
]
),
]);
CertificateChangedNotification::notify($monitor, $history);
}
$monitor->update([
'next_check' => $nextCheck,
'serial_number' => data_get($certificate, 'serialNumber'),
'protocol' => data_get($metadata, 'crypto.protocol'),
'fingerprint' => $fingerprint,
'valid_from' => Carbon::createFromTimestampUTC(data_get($certificate, 'validFrom_time_t')),
'valid_to' => $validTo,
'data' => array_merge(
$certificate,
[
'metadata' => $metadata,
]
),
]);
if ($validTo->isFuture()) {
CertificateExpiresInDaysNotification::notify($monitor);
}
}
}
================================================
FILE: packages/certificates/src/Commands/CheckCertificateCommand.php
================================================
<?php
namespace Vigilant\Certificates\Commands;
use Illuminate\Console\Command;
use Vigilant\Certificates\Jobs\CheckCertificateJob;
use Vigilant\Certificates\Models\CertificateMonitor;
class CheckCertificateCommand extends Command
{
protected $signature = 'certificates:check {id}';
public function handle(): int
{
/** @var int $id */
$id = $this->argument('id');
$monitor = CertificateMonitor::query()
->withoutGlobalScopes()
->findOrFail($id);
CheckCertificateJob::dispatch($monitor);
return static::SUCCESS;
}
}
================================================
FILE: packages/certificates/src/Commands/CheckCertificatesCommand.php
================================================
<?php
namespace Vigilant\Certificates\Commands;
use Illuminate\Console\Command;
use Illuminate\Database\Eloquent\Builder;
use Illuminate\Foundation\Bus\PendingDispatch;
use Vigilant\Certificates\Jobs\CheckCertificateJob;
use Vigilant\Certificates\Models\CertificateMonitor;
class CheckCertificatesCommand extends Command
{
protected $signature = 'certificates:check-scheduled';
public function handle(): int
{
CertificateMonitor::query()
->withoutGlobalScopes()
->where('enabled', '=', true)
->where(function (Builder $query): void {
$query->where('next_check', '<=', now())
->orWhereNull('next_check');
})
->get()
->each(fn (CertificateMonitor $monitor): PendingDispatch => CheckCertificateJob::dispatch($monitor));
return static::SUCCESS;
}
}
================================================
FILE: packages/certificates/src/Http/Controllers/CertificateMonitorController.php
================================================
<?php
namespace Vigilant\Certificates\Http\Controllers;
use Illuminate\Http\RedirectResponse;
use Illuminate\Routing\Controller;
use Illuminate\View\View;
use Vigilant\Certificates\Models\CertificateMonitor;
use Vigilant\Frontend\Concerns\DisplaysAlerts;
use Vigilant\Frontend\Enums\AlertType;
class CertificateMonitorController extends Controller
{
use DisplaysAlerts;
public function list(): View
{
/** @var view-string $view */
$view = 'certificates::index';
$hasMonitors = CertificateMonitor::query()->exists();
return view($view, [
'hasMonitors' => $hasMonitors,
]);
}
public function index(CertificateMonitor $monitor): mixed
{
/** @var view-string $view */
$view = 'certificates::monitor.index';
return view($view, [
'monitor' => $monitor,
]);
}
public function delete(CertificateMonitor $monitor): RedirectResponse
{
$monitor->delete();
$this->alert(
__('Deleted'),
__('Certificate monitor was successfully deleted'),
AlertType::Success
);
return response()->redirectToRoute('certificates');
}
}
================================================
FILE: packages/certificates/src/Jobs/CheckCertificateJob.php
================================================
<?php
namespace Vigilant\Certificates\Jobs;
use Illuminate\Bus\Queueable;
use Illuminate\Contracts\Queue\ShouldBeUnique;
use Illuminate\Contracts\Queue\ShouldQueue;
use Illuminate\Foundation\Bus\Dispatchable;
use Illuminate\Queue\InteractsWithQueue;
use Illuminate\Queue\SerializesModels;
use Vigilant\Certificates\Actions\CheckCertificate;
use Vigilant\Certificates\Models\CertificateMonitor;
use Vigilant\Core\Services\TeamService;
class CheckCertificateJob implements ShouldBeUnique, ShouldQueue
{
use Dispatchable;
use InteractsWithQueue;
use Queueable;
use SerializesModels;
public function __construct(
public CertificateMonitor $monitor
) {
$this->onQueue(config()->string('certificates.queue'));
}
public function handle(CheckCertificate $certificate, TeamService $teamService): void
{
$teamService->setTeamById($this->monitor->team_id);
$certificate->check($this->monitor);
}
public function uniqueId(): int
{
return $this->monitor->id;
}
}
================================================
FILE: packages/certificates/src/Livewire/CertificateMonitorForm.php
================================================
<?php
namespace Vigilant\Certificates\Livewire;
use Livewire\Attributes\Locked;
use Livewire\Attributes\On;
use Livewire\Component;
use Vigilant\Certificates\Models\CertificateMonitor;
use Vigilant\Frontend\Concerns\DisplaysAlerts;
use Vigilant\Frontend\Enums\AlertType;
use Vigilant\Frontend\Traits\CanBeInline;
class CertificateMonitorForm extends Component
{
use CanBeInline;
use DisplaysAlerts;
public Forms\CertificateMonitorForm $form;
#[Locked]
public CertificateMonitor $certificateMonitor;
public function mount(?CertificateMonitor $monitor): void
{
if ($monitor !== null) {
if ($monitor->exists) {
$this->authorize('update', $monitor);
} else {
$this->authorize('create', $monitor);
}
$this->form->fill($monitor->toArray());
$this->certificateMonitor = $monitor;
}
}
#[On('save')]
public function save(): void
{
$this->validate();
if ($this->certificateMonitor->exists) {
$this->authorize('update', $this->certificateMonitor);
$this->certificateMonitor->update($this->form->all());
} else {
$this->authorize('create', $this->certificateMonitor);
$this->certificateMonitor = CertificateMonitor::query()->create(
$this->form->all()
);
}
if (! $this->inline) {
$this->alert(
__('Saved'),
__('Certificate monitor was successfully :action',
['action' => $this->certificateMonitor->wasRecentlyCreated ? 'created' : 'saved']),
AlertType::Success
);
$this->redirectRoute('certificates.index', ['monitor' => $this->certificateMonitor]);
}
}
public function render(): mixed
{
/** @var view-string $view */
$view = 'certificates::livewire.certificate-monitor-form';
return view($view, [
'updating' => $this->certificateMonitor->exists,
]);
}
}
================================================
FILE: packages/certificates/src/Livewire/Forms/CertificateMonitorForm.php
================================================
<?php
namespace Vigilant\Certificates\Livewire\Forms;
use Livewire\Attributes\Locked;
use Livewire\Attributes\Validate;
use Livewire\Form;
use Vigilant\Certificates\Models\CertificateMonitor;
use Vigilant\Core\Validation\CanEnableRule;
use Vigilant\Frontend\Validation\CleanDomainValidator;
use Vigilant\Frontend\Validation\Fqdn;
class CertificateMonitorForm extends Form
{
#[Locked]
public ?int $site_id;
public string $domain = '';
#[Validate('required|integer|min:1|max:65535')]
public int $port = 443;
public bool $enabled = true;
public function getRules(): array
{
return array_merge(parent::getRules(),
[
'enabled' => ['boolean', new CanEnableRule(CertificateMonitor::class)],
'domain' => ['required', 'string', 'max:255', new CleanDomainValidator, new Fqdn],
]
);
}
}
================================================
FILE: packages/certificates/src/Livewire/Monitor/Dashboard.php
================================================
<?php
namespace Vigilant\Certificates\Livewire\Monitor;
use Livewire\Attributes\Locked;
use Livewire\Component;
use Vigilant\Certificates\Models\CertificateMonitor;
class Dashboard extends Component
{
#[Locked]
public int $monitorId;
public function mount(int $monitorId): void
{
$this->monitorId = $monitorId;
}
public function render(): mixed
{
$monitor = CertificateMonitor::query()->findOrFail($this->monitorId);
/** @var view-string $view */
$view = 'certificates::livewire.monitor.dashboard';
return view($view, [
'monitor' => $monitor,
]);
}
}
================================================
FILE: packages/certificates/src/Livewire/Tables/CertificateMonitorHistoryTable.php
================================================
<?php
namespace Vigilant\Certificates\Livewire\Tables;
use Illuminate\Database\Eloquent\Builder;
use Livewire\Attributes\Locked;
use RamonRietdijk\LivewireTables\Columns\Column;
use Vigilant\Certificates\Models\CertificateMonitorHistory;
use Vigilant\Frontend\Integrations\Table\BaseTable;
use Vigilant\Frontend\Integrations\Table\DateColumn;
class CertificateMonitorHistoryTable extends BaseTable
{
protected string $model = CertificateMonitorHistory::class;
#[Locked]
public int $monitorId;
public function mount(int $monitorId): void
{
$this->monitorId = $monitorId;
}
protected function columns(): array
{
return [
Column::make(__('Domain'), 'certificateMonitor.domain')
->sortable()
->searchable(),
DateColumn::make(__('Changed At'), 'created_at')
->sortable(),
Column::make(__('Issuer'))
->displayUsing(function (CertificateMonitorHistory $monitor): string {
return data_get($monitor->data ?? [], 'issuer.CN', __('Unknown'));
}),
DateColumn::make(__('Valid From'), 'valid_from')
->sortable()
->searchable(),
DateColumn::make(__('Valid To'), 'valid_to')
->sortable()
->searchable(),
Column::make(__('Protocol'), 'protocol')
gitextract_0yr_cv_n/ ├── .editorconfig ├── .gitattributes ├── .github/ │ └── workflows/ │ ├── code-style.yml │ ├── image.yml │ ├── package-quality.yml │ ├── release-image.yml │ └── tests.yml ├── .gitignore ├── Dockerfile ├── LICENSE.md ├── README.md ├── SECURITY.md ├── app/ │ ├── Console/ │ │ └── Kernel.php │ ├── Exceptions/ │ │ └── Handler.php │ ├── Http/ │ │ ├── Controllers/ │ │ │ └── Controller.php │ │ ├── Kernel.php │ │ └── Middleware/ │ │ ├── Authenticate.php │ │ ├── EncryptCookies.php │ │ ├── PreventRequestsDuringMaintenance.php │ │ ├── RedirectIfAuthenticated.php │ │ ├── TrimStrings.php │ │ ├── TrustHosts.php │ │ ├── TrustProxies.php │ │ ├── ValidateSignature.php │ │ └── VerifyCsrfToken.php │ ├── Providers/ │ │ ├── AppServiceProvider.php │ │ ├── AuthServiceProvider.php │ │ ├── BroadcastServiceProvider.php │ │ ├── EventServiceProvider.php │ │ ├── FortifyServiceProvider.php │ │ ├── HorizonServiceProvider.php │ │ ├── JetstreamServiceProvider.php │ │ └── RouteServiceProvider.php │ └── View/ │ └── Components/ │ ├── AppLayout.php │ └── GuestLayout.php ├── artisan ├── bootstrap/ │ ├── app.php │ └── cache/ │ └── .gitignore ├── composer.json ├── config/ │ ├── app.php │ ├── auth.php │ ├── broadcasting.php │ ├── cache.php │ ├── cors.php │ ├── database.php │ ├── filesystems.php │ ├── fortify.php │ ├── hashing.php │ ├── horizon.php │ ├── jetstream.php │ ├── livewire.php │ ├── logging.php │ ├── mail.php │ ├── queue.php │ ├── sanctum.php │ ├── services.php │ ├── session.php │ └── view.php ├── database/ │ ├── .gitignore │ ├── migrations/ │ │ ├── 2019_08_19_000000_create_failed_jobs_table.php │ │ ├── 2019_12_14_000001_create_personal_access_tokens_table.php │ │ ├── 2024_02_18_184745_create_sessions_table.php │ │ └── 2024_03_23_092656_create_notifications_table.php │ └── seeders/ │ └── DatabaseSeeder.php ├── docker/ │ ├── crontab │ ├── entrypoint.sh │ ├── horizon-entrypoint.sh │ ├── nginx.conf │ ├── php-fpm.ini │ ├── preload.php │ ├── supervisor/ │ │ └── supervisor.conf │ └── www.conf ├── docker-compose.yml ├── package.json ├── packages/ │ ├── certificates/ │ │ ├── .gitignore │ │ ├── composer.json │ │ ├── config/ │ │ │ └── certificates.php │ │ ├── database/ │ │ │ └── migrations/ │ │ │ ├── 2025_04_08_200000_create_create_certificate_monitors_table.php │ │ │ └── 2025_04_12_090000_create_create_certificate_monitor_history_table.php │ │ ├── phpstan.neon │ │ ├── phpunit.xml │ │ ├── resources/ │ │ │ ├── navigation.php │ │ │ └── views/ │ │ │ ├── components/ │ │ │ │ └── empty-states/ │ │ │ │ └── monitors.blade.php │ │ │ ├── index.blade.php │ │ │ ├── livewire/ │ │ │ │ ├── certificate-monitor-form.blade.php │ │ │ │ └── monitor/ │ │ │ │ └── dashboard.blade.php │ │ │ └── monitor/ │ │ │ └── index.blade.php │ │ ├── routes/ │ │ │ └── web.php │ │ ├── src/ │ │ │ ├── Actions/ │ │ │ │ └── CheckCertificate.php │ │ │ ├── Commands/ │ │ │ │ ├── CheckCertificateCommand.php │ │ │ │ └── CheckCertificatesCommand.php │ │ │ ├── Http/ │ │ │ │ └── Controllers/ │ │ │ │ └── CertificateMonitorController.php │ │ │ ├── Jobs/ │ │ │ │ └── CheckCertificateJob.php │ │ │ ├── Livewire/ │ │ │ │ ├── CertificateMonitorForm.php │ │ │ │ ├── Forms/ │ │ │ │ │ └── CertificateMonitorForm.php │ │ │ │ ├── Monitor/ │ │ │ │ │ └── Dashboard.php │ │ │ │ └── Tables/ │ │ │ │ ├── CertificateMonitorHistoryTable.php │ │ │ │ └── CertificateMonitorsTable.php │ │ │ ├── Models/ │ │ │ │ ├── CertificateMonitor.php │ │ │ │ └── CertificateMonitorHistory.php │ │ │ ├── Notifications/ │ │ │ │ ├── CertificateChangedNotification.php │ │ │ │ ├── CertificateExpiredNotification.php │ │ │ │ ├── CertificateExpiresInDaysNotification.php │ │ │ │ ├── Conditions/ │ │ │ │ │ └── DaysCondition.php │ │ │ │ └── UnableToResolveCertificateNotification.php │ │ │ └── ServiceProvider.php │ │ ├── testbench.yaml │ │ └── tests/ │ │ └── TestCase.php │ ├── core/ │ │ ├── .gitignore │ │ ├── composer.json │ │ ├── config/ │ │ │ └── core.php │ │ ├── phpstan.neon │ │ ├── phpunit.xml │ │ ├── resources/ │ │ │ └── navigation.php │ │ ├── routes/ │ │ │ └── web.php │ │ ├── src/ │ │ │ ├── Actions/ │ │ │ │ └── ResolveDataRetention.php │ │ │ ├── Concerns/ │ │ │ │ └── HasDataRetention.php │ │ │ ├── Contracts/ │ │ │ │ └── ResolvesDataRetention.php │ │ │ ├── Data/ │ │ │ │ └── Data.php │ │ │ ├── Facades/ │ │ │ │ └── Navigation.php │ │ │ ├── Http/ │ │ │ │ └── Middleware/ │ │ │ │ └── TeamMiddleware.php │ │ │ ├── Navigation/ │ │ │ │ ├── Navigation.php │ │ │ │ └── NavigationItem.php │ │ │ ├── Policies/ │ │ │ │ └── AllowAllPolicy.php │ │ │ ├── Scopes/ │ │ │ │ └── TeamScope.php │ │ │ ├── ServiceProvider.php │ │ │ ├── Services/ │ │ │ │ └── TeamService.php │ │ │ ├── Validation/ │ │ │ │ └── CanEnableRule.php │ │ │ └── helpers.php │ │ ├── testbench.yaml │ │ └── tests/ │ │ └── TestCase.php │ ├── crawler/ │ │ ├── .gitignore │ │ ├── composer.json │ │ ├── config/ │ │ │ └── crawler.php │ │ ├── database/ │ │ │ └── migrations/ │ │ │ ├── 2024_09_06_213000_create_web_crawlers_table.php │ │ │ ├── 2024_09_06_220000_create_web_crawled_urls_table.php │ │ │ ├── 2025_01_18_220000_crawled_urls_url_length.php │ │ │ ├── 2025_02_01_183000_web_crawlers_enabled_field.php │ │ │ ├── 2025_04_07_200000_web_crawled_urls_url_hash.php │ │ │ ├── 2025_09_28_100000_create_web_crawler_ignored_urls_table.php │ │ │ └── 2025_09_29_190000_web_crawled_urls_ignored_field.php │ │ ├── phpstan.neon │ │ ├── phpunit.xml │ │ ├── resources/ │ │ │ ├── navigation.php │ │ │ └── views/ │ │ │ ├── components/ │ │ │ │ └── empty-states/ │ │ │ │ └── crawlers.blade.php │ │ │ ├── crawler/ │ │ │ │ └── index.blade.php │ │ │ ├── crawlers.blade.php │ │ │ └── livewire/ │ │ │ ├── crawler/ │ │ │ │ └── dashboard.blade.php │ │ │ └── crawler-form.blade.php │ │ ├── routes/ │ │ │ └── web.php │ │ ├── src/ │ │ │ ├── Actions/ │ │ │ │ ├── CollectCrawlerStats.php │ │ │ │ ├── CrawlUrl.php │ │ │ │ ├── ImportSitemaps.php │ │ │ │ ├── ProcessCrawlerState.php │ │ │ │ └── StartCrawler.php │ │ │ ├── Commands/ │ │ │ │ ├── CollectCrawlerStatsCommand.php │ │ │ │ ├── CrawlUrlsCommand.php │ │ │ │ ├── ProcessCrawlerStatesCommand.php │ │ │ │ ├── ScheduleCrawlersCommand.php │ │ │ │ └── StartCrawlerCommand.php │ │ │ ├── Enums/ │ │ │ │ ├── State.php │ │ │ │ └── Status.php │ │ │ ├── Events/ │ │ │ │ └── CrawlerFinishedEvent.php │ │ │ ├── Exports/ │ │ │ │ └── IssuesExport.php │ │ │ ├── Http/ │ │ │ │ └── Controllers/ │ │ │ │ └── CrawlerController.php │ │ │ ├── Jobs/ │ │ │ │ ├── CollectCrawlerStatsJob.php │ │ │ │ ├── CrawUrlJob.php │ │ │ │ ├── ImportSitemapsJob.php │ │ │ │ ├── ProcessCrawlerStateJob.php │ │ │ │ └── StartCrawlerJob.php │ │ │ ├── Listeners/ │ │ │ │ └── CrawlerFinishedListener.php │ │ │ ├── Livewire/ │ │ │ │ ├── Crawler/ │ │ │ │ │ └── Dashboard.php │ │ │ │ ├── CrawlerForm.php │ │ │ │ ├── Crawlers.php │ │ │ │ ├── Forms/ │ │ │ │ │ └── CrawlerForm.php │ │ │ │ └── Tables/ │ │ │ │ ├── CrawledUrlsTable.php │ │ │ │ ├── CrawlerTable.php │ │ │ │ └── IssuesTable.php │ │ │ ├── Models/ │ │ │ │ ├── CrawledUrl.php │ │ │ │ ├── Crawler.php │ │ │ │ └── IgnoredUrl.php │ │ │ ├── Notifications/ │ │ │ │ ├── RatelimitedNotification.php │ │ │ │ └── UrlIssuesNotification.php │ │ │ ├── Observers/ │ │ │ │ ├── CrawledUrlObserver.php │ │ │ │ ├── CrawlerObserver.php │ │ │ │ └── IgnoredUrlObserver.php │ │ │ ├── ServiceProvider.php │ │ │ └── Validation/ │ │ │ ├── EqualDomainRule.php │ │ │ └── ValidRegexLines.php │ │ ├── testbench.yaml │ │ └── tests/ │ │ ├── Actions/ │ │ │ ├── CrawUrlTest.php │ │ │ ├── ProcessCrawlerStateTest.php │ │ │ └── StartCrawlerTest.php │ │ └── TestCase.php │ ├── cve/ │ │ ├── .gitignore │ │ ├── composer.json │ │ ├── config/ │ │ │ └── cve.php │ │ ├── database/ │ │ │ └── migrations/ │ │ │ ├── 2025_04_18_090000_create_cves_table.php │ │ │ ├── 2025_04_18_100000_create_cve_monitors_table.php │ │ │ ├── 2025_04_18_103000_create_cve_monitor_matches_table.php │ │ │ ├── 2025_10_04_135717_add_fulltext_index_to_cves_description.php │ │ │ └── 2025_10_04_135739_add_unique_index_to_cve_monitor_matches.php │ │ ├── phpstan.neon │ │ ├── phpunit.xml │ │ ├── resources/ │ │ │ ├── navigation.php │ │ │ └── views/ │ │ │ ├── components/ │ │ │ │ └── empty-states/ │ │ │ │ └── monitors.blade.php │ │ │ ├── cve.blade.php │ │ │ ├── index.blade.php │ │ │ ├── livewire/ │ │ │ │ └── cve-monitor-form.blade.php │ │ │ └── monitor.blade.php │ │ ├── routes/ │ │ │ └── web.php │ │ ├── src/ │ │ │ ├── Actions/ │ │ │ │ ├── ImportAllCves.php │ │ │ │ ├── ImportCve.php │ │ │ │ ├── ImportCves.php │ │ │ │ ├── MatchCve.php │ │ │ │ └── MatchExistingCves.php │ │ │ ├── Commands/ │ │ │ │ ├── ImportAllCvesCommand.php │ │ │ │ ├── ImportCvesCommand.php │ │ │ │ ├── MatchCveCommand.php │ │ │ │ └── MatchExistingCvesCommand.php │ │ │ ├── Http/ │ │ │ │ └── Controllers/ │ │ │ │ ├── CveController.php │ │ │ │ └── CveMonitorController.php │ │ │ ├── Jobs/ │ │ │ │ ├── ImportAllCvesJob.php │ │ │ │ ├── ImportCvesJob.php │ │ │ │ ├── MatchCveJob.php │ │ │ │ ├── MatchCveMonitorsJob.php │ │ │ │ └── MatchExistingCvesJob.php │ │ │ ├── Livewire/ │ │ │ │ ├── CveMonitorForm.php │ │ │ │ ├── Forms/ │ │ │ │ │ └── CveMonitorForm.php │ │ │ │ └── Tables/ │ │ │ │ ├── CveMonitorMatchesTable.php │ │ │ │ └── CveMonitorTable.php │ │ │ ├── Models/ │ │ │ │ ├── Cve.php │ │ │ │ ├── CveMonitor.php │ │ │ │ └── CveMonitorMatch.php │ │ │ ├── Notifications/ │ │ │ │ ├── Conditions/ │ │ │ │ │ ├── KeywordCondition.php │ │ │ │ │ └── ScoreCondition.php │ │ │ │ └── CveMatchedNotification.php │ │ │ ├── Observers/ │ │ │ │ └── CveMonitorObserver.php │ │ │ └── ServiceProvider.php │ │ ├── testbench.yaml │ │ └── tests/ │ │ ├── Actions/ │ │ │ ├── ImportAllCvesTest.php │ │ │ ├── ImportCveTest.php │ │ │ ├── ImportCvesTest.php │ │ │ └── MatchCveTest.php │ │ ├── Models/ │ │ │ ├── CveMonitorMatchTest.php │ │ │ ├── CveMonitorTest.php │ │ │ └── CveTest.php │ │ ├── Notifications/ │ │ │ └── CveMatchedNotificationTest.php │ │ └── TestCase.php │ ├── dns/ │ │ ├── .gitignore │ │ ├── composer.json │ │ ├── config/ │ │ │ └── dns.php │ │ ├── database/ │ │ │ └── migrations/ │ │ │ ├── 2024_07_16_073000_create_dns_monitors_table.php │ │ │ ├── 2024_07_16_073500_create_dns_monitor_history_table.php │ │ │ ├── 2025_01_23_220000_dns_monitor_value_field_size.php │ │ │ ├── 2025_02_01_180000_dns_monitor_enabled_field.php │ │ │ └── 2025_03_22_090000_dns_monitor_value_field_nullable.php │ │ ├── phpstan.neon │ │ ├── phpunit.xml │ │ ├── resources/ │ │ │ ├── navigation.php │ │ │ └── views/ │ │ │ ├── components/ │ │ │ │ └── empty-states/ │ │ │ │ └── monitors.blade.php │ │ │ └── livewire/ │ │ │ ├── dns-monitor-form.blade.php │ │ │ ├── import.blade.php │ │ │ ├── monitor/ │ │ │ │ └── dashboard.blade.php │ │ │ ├── monitor-history.blade.php │ │ │ └── monitors.blade.php │ │ ├── routes/ │ │ │ └── web.php │ │ ├── src/ │ │ │ ├── Actions/ │ │ │ │ ├── CheckDnsRecord.php │ │ │ │ ├── ResolveGeoIp.php │ │ │ │ └── ResolveRecord.php │ │ │ ├── Client/ │ │ │ │ └── DnsClient.php │ │ │ ├── Commands/ │ │ │ │ ├── CheckAllDnsRecordsCommand.php │ │ │ │ ├── CheckDnsRecordCommand.php │ │ │ │ └── ResolveGeoIpCommand.php │ │ │ ├── Enums/ │ │ │ │ └── Type.php │ │ │ ├── Http/ │ │ │ │ └── Controllers/ │ │ │ │ └── DnsMonitorController.php │ │ │ ├── Jobs/ │ │ │ │ ├── CheckDnsRecordJob.php │ │ │ │ └── ResolveGeoIpJob.php │ │ │ ├── Livewire/ │ │ │ │ ├── DnsImport.php │ │ │ │ ├── DnsMonitorForm.php │ │ │ │ ├── DnsMonitorHistory.php │ │ │ │ ├── DnsMonitors.php │ │ │ │ ├── Forms/ │ │ │ │ │ └── DnsMonitorForm.php │ │ │ │ ├── Monitor/ │ │ │ │ │ └── Dashboard.php │ │ │ │ └── Tables/ │ │ │ │ ├── DnsMonitorHistoryTable.php │ │ │ │ └── DnsMonitorTable.php │ │ │ ├── Models/ │ │ │ │ ├── DnsMonitor.php │ │ │ │ └── DnsMonitorHistory.php │ │ │ ├── Notifications/ │ │ │ │ ├── Conditions/ │ │ │ │ │ └── RecordTypeCondition.php │ │ │ │ ├── RecordChangedNotification.php │ │ │ │ └── RecordNotResolvedNotification.php │ │ │ ├── Observers/ │ │ │ │ └── GeoipObserver.php │ │ │ ├── RecordParsers/ │ │ │ │ ├── A.php │ │ │ │ ├── AAAA.php │ │ │ │ ├── CAA.php │ │ │ │ ├── CNAME.php │ │ │ │ ├── MX.php │ │ │ │ ├── NS.php │ │ │ │ ├── RecordParser.php │ │ │ │ ├── SOA.php │ │ │ │ └── TXT.php │ │ │ └── ServiceProvider.php │ │ ├── testbench.yaml │ │ └── tests/ │ │ ├── Actions/ │ │ │ └── CheckDnsRecordTest.php │ │ └── TestCase.php │ ├── frontend/ │ │ ├── .gitignore │ │ ├── composer.json │ │ ├── phpstan.neon │ │ ├── phpunit.xml │ │ ├── resources/ │ │ │ └── views/ │ │ │ ├── components/ │ │ │ │ ├── card.blade.php │ │ │ │ ├── empty-state.blade.php │ │ │ │ ├── mdash.blade.php │ │ │ │ ├── modal/ │ │ │ │ │ ├── body.blade.php │ │ │ │ │ ├── footer.blade.php │ │ │ │ │ └── header.blade.php │ │ │ │ ├── modal.blade.php │ │ │ │ ├── page-header/ │ │ │ │ │ ├── actions/ │ │ │ │ │ │ └── index.blade.php │ │ │ │ │ └── mobile-actions/ │ │ │ │ │ └── index.blade.php │ │ │ │ ├── stats-card.blade.php │ │ │ │ └── tabs/ │ │ │ │ ├── container.blade.php │ │ │ │ ├── navigation.blade.php │ │ │ │ ├── panel.blade.php │ │ │ │ └── panels.blade.php │ │ │ ├── integrations/ │ │ │ │ └── table/ │ │ │ │ ├── actions-column.blade.php │ │ │ │ ├── chart-column.blade.php │ │ │ │ ├── geoip-column.blade.php │ │ │ │ ├── hover-column.blade.php │ │ │ │ ├── link-column.blade.php │ │ │ │ └── status-column.blade.php │ │ │ └── livewire/ │ │ │ └── charts/ │ │ │ ├── base-chart-placeholder.blade.php │ │ │ └── base-chart.blade.php │ │ ├── src/ │ │ │ ├── Concerns/ │ │ │ │ └── DisplaysAlerts.php │ │ │ ├── Enums/ │ │ │ │ └── AlertType.php │ │ │ ├── Http/ │ │ │ │ └── Livewire/ │ │ │ │ └── BaseChart.php │ │ │ ├── Integrations/ │ │ │ │ └── Table/ │ │ │ │ ├── Actions/ │ │ │ │ │ └── InlineAction.php │ │ │ │ ├── ActionsColumn.php │ │ │ │ ├── BaseTable.php │ │ │ │ ├── ChartColumn.php │ │ │ │ ├── Concerns/ │ │ │ │ │ └── HasInlineActions.php │ │ │ │ ├── DateColumn.php │ │ │ │ ├── Enums/ │ │ │ │ │ └── Status.php │ │ │ │ ├── GeoIpColumn.php │ │ │ │ ├── HoverColumn.php │ │ │ │ ├── LinkColumn.php │ │ │ │ └── StatusColumn.php │ │ │ ├── ServiceProvider.php │ │ │ ├── Traits/ │ │ │ │ └── CanBeInline.php │ │ │ └── Validation/ │ │ │ ├── CleanDomainValidator.php │ │ │ ├── CountryCode.php │ │ │ ├── CronExpression.php │ │ │ └── Fqdn.php │ │ ├── testbench.yaml │ │ └── tests/ │ │ └── TestCase.php │ ├── healthchecks/ │ │ ├── .gitignore │ │ ├── composer.json │ │ ├── config/ │ │ │ └── healthchecks.php │ │ ├── database/ │ │ │ └── migrations/ │ │ │ ├── 2025_11_06_200000_create_healthchecks_table.php │ │ │ ├── 2025_11_06_201000_create_healthcheck_results_table.php │ │ │ ├── 2025_11_06_202000_create_healthcheck_metrics_table.php │ │ │ └── 2025_11_23_150400_update_healthcheck_results_columns.php │ │ ├── phpstan.neon │ │ ├── phpunit.xml │ │ ├── resources/ │ │ │ ├── navigation.php │ │ │ └── views/ │ │ │ ├── components/ │ │ │ │ └── empty-states/ │ │ │ │ └── healthchecks.blade.php │ │ │ ├── healthcheck/ │ │ │ │ └── view.blade.php │ │ │ ├── livewire/ │ │ │ │ ├── charts/ │ │ │ │ │ └── metric-chart.blade.php │ │ │ │ ├── healthcheck-dashboard.blade.php │ │ │ │ ├── healthcheck-form.blade.php │ │ │ │ ├── healthcheck-setup.blade.php │ │ │ │ ├── healthcheck-token-editor.blade.php │ │ │ │ └── healthchecks.blade.php │ │ │ └── platforms/ │ │ │ ├── drupal.blade.php │ │ │ ├── endpoint.blade.php │ │ │ ├── joomla.blade.php │ │ │ ├── laravel.blade.php │ │ │ ├── magento.blade.php │ │ │ ├── statamic.blade.php │ │ │ └── wordpress.blade.php │ │ ├── routes/ │ │ │ ├── api.php │ │ │ └── web.php │ │ ├── src/ │ │ │ ├── Actions/ │ │ │ │ ├── AggregateMetrics.php │ │ │ │ ├── CheckHealth.php │ │ │ │ ├── CheckMetric.php │ │ │ │ └── CheckResult.php │ │ │ ├── Checks/ │ │ │ │ ├── Checker.php │ │ │ │ ├── Endpoint.php │ │ │ │ └── Module.php │ │ │ ├── Commands/ │ │ │ │ ├── AggregateMetricsCommand.php │ │ │ │ ├── CheckHealthcheckCommand.php │ │ │ │ └── ScheduleHealthchecksCommand.php │ │ │ ├── Enums/ │ │ │ │ ├── Status.php │ │ │ │ └── Type.php │ │ │ ├── Http/ │ │ │ │ ├── Controllers/ │ │ │ │ │ └── HealthcheckController.php │ │ │ │ └── Livewire/ │ │ │ │ └── Charts/ │ │ │ │ └── MetricChart.php │ │ │ ├── Jobs/ │ │ │ │ ├── AggregateMetricsJob.php │ │ │ │ ├── CheckHealthcheckJob.php │ │ │ │ ├── CheckMetricJob.php │ │ │ │ └── CheckResultJob.php │ │ │ ├── Livewire/ │ │ │ │ ├── Forms/ │ │ │ │ │ └── HealthcheckForm.php │ │ │ │ ├── HealthcheckDashboard.php │ │ │ │ ├── HealthcheckForm.php │ │ │ │ ├── HealthcheckSetup.php │ │ │ │ ├── HealthcheckTokenEditor.php │ │ │ │ ├── Healthchecks.php │ │ │ │ └── Tables/ │ │ │ │ ├── HealthcheckTable.php │ │ │ │ └── ResultTable.php │ │ │ ├── Models/ │ │ │ │ ├── Healthcheck.php │ │ │ │ ├── Metric.php │ │ │ │ └── Result.php │ │ │ ├── Notifications/ │ │ │ │ ├── Conditions/ │ │ │ │ │ ├── CheckKeyCondition.php │ │ │ │ │ ├── DiskFullInCondition.php │ │ │ │ │ ├── MetricIncreaseNewValueCondition.php │ │ │ │ │ ├── MetricIncreasePercentCondition.php │ │ │ │ │ ├── MetricIncreaseTimeframeCondition.php │ │ │ │ │ ├── MetricKeyCondition.php │ │ │ │ │ ├── MetricUnitCondition.php │ │ │ │ │ ├── MetricValueCondition.php │ │ │ │ │ └── StatusCondition.php │ │ │ │ ├── DiskUsageNotification.php │ │ │ │ ├── HealthCheckFailedNotification.php │ │ │ │ ├── MetricIncreasingNotification.php │ │ │ │ ├── MetricNotification.php │ │ │ │ └── MetricSpikeNotification.php │ │ │ ├── Observers/ │ │ │ │ └── HealthcheckObserver.php │ │ │ └── ServiceProvider.php │ │ ├── testbench.yaml │ │ └── tests/ │ │ ├── Actions/ │ │ │ ├── AggregateMetricsTest.php │ │ │ ├── CheckMetricTest.php │ │ │ └── CheckResultTest.php │ │ └── TestCase.php │ ├── lighthouse/ │ │ ├── .gitignore │ │ ├── composer.json │ │ ├── config/ │ │ │ └── lighthouse.php │ │ ├── database/ │ │ │ └── migrations/ │ │ │ ├── 2024_05_11_105500_create_lighthouse_sites_table.php │ │ │ ├── 2024_05_11_120000_create_lighthouse_results_table.php │ │ │ ├── 2024_05_17_073000_lighthouse_results_aggregated_field_table.php │ │ │ ├── 2024_06_22_160000_create_lighthouse_result_audits_table.php │ │ │ ├── 2024_07_13_200000_lighthouse_site_rename_table.php │ │ │ ├── 2025_02_01_173000_lighthouse_monitors_enabled_field.php │ │ │ ├── 2025_02_03_190000_lighthouse_monitors_next_run_field.php │ │ │ ├── 2025_02_07_210000_lighthouse_monitors_batch_fields.php │ │ │ └── 2025_03_19_200000_lighthouse_monitors_run_started_at_field.php │ │ ├── phpstan.neon │ │ ├── phpunit.xml │ │ ├── resources/ │ │ │ ├── navigation.php │ │ │ └── views/ │ │ │ ├── components/ │ │ │ │ ├── average-difference.blade.php │ │ │ │ └── empty-states/ │ │ │ │ └── monitors.blade.php │ │ │ ├── lighthouse/ │ │ │ │ └── index.blade.php │ │ │ ├── livewire/ │ │ │ │ ├── lighthouse-site-form.blade.php │ │ │ │ ├── lighthouse-sites.blade.php │ │ │ │ └── monitor/ │ │ │ │ └── dashboard.blade.php │ │ │ └── result/ │ │ │ └── index.blade.php │ │ ├── routes/ │ │ │ ├── api.php │ │ │ └── web.php │ │ ├── src/ │ │ │ ├── Actions/ │ │ │ │ ├── AggregateLighthouseBatch.php │ │ │ │ ├── AggregateResults.php │ │ │ │ ├── CalculateTimeDifference.php │ │ │ │ ├── CheckLighthouseResult.php │ │ │ │ ├── CheckLighthouseResultAudit.php │ │ │ │ ├── ProcessLighthouseResult.php │ │ │ │ └── RunLighthouse.php │ │ │ ├── Commands/ │ │ │ │ ├── AggregateLighthouseBatchCommand.php │ │ │ │ ├── AggregateLighthouseResultsCommand.php │ │ │ │ ├── CheckLighthouseCommand.php │ │ │ │ ├── LighthouseCommand.php │ │ │ │ └── ScheduleLighthouseCommand.php │ │ │ ├── Data/ │ │ │ │ └── CategoryResultDifferenceData.php │ │ │ ├── Http/ │ │ │ │ └── Controllers/ │ │ │ │ ├── LighthouseCallbackController.php │ │ │ │ ├── LighthouseMonitorController.php │ │ │ │ └── LighthouseResultController.php │ │ │ ├── Jobs/ │ │ │ │ ├── AggregateLighthouseBatchJob.php │ │ │ │ ├── AggregateLighthouseResultsJob.php │ │ │ │ ├── CheckLighthouseResultJob.php │ │ │ │ └── RunLighthouseJob.php │ │ │ ├── Livewire/ │ │ │ │ ├── Charts/ │ │ │ │ │ ├── LighthouseCategoriesChart.php │ │ │ │ │ └── NumericLighthouseChart.php │ │ │ │ ├── Forms/ │ │ │ │ │ └── LighthouseSiteForm.php │ │ │ │ ├── LighthouseSiteForm.php │ │ │ │ ├── LighthouseSites.php │ │ │ │ ├── Monitor/ │ │ │ │ │ └── Dashboard.php │ │ │ │ └── Tables/ │ │ │ │ ├── LighthouseMonitorsTable.php │ │ │ │ ├── LighthouseResultAuditsTable.php │ │ │ │ └── LighthouseResultsTable.php │ │ │ ├── Models/ │ │ │ │ ├── LighthouseMonitor.php │ │ │ │ ├── LighthouseResult.php │ │ │ │ └── LighthouseResultAudit.php │ │ │ ├── Notifications/ │ │ │ │ ├── CategoryScoreChangedNotification.php │ │ │ │ ├── Conditions/ │ │ │ │ │ ├── Audit/ │ │ │ │ │ │ ├── AuditChangesCondition.php │ │ │ │ │ │ ├── AuditDecreasesCondition.php │ │ │ │ │ │ ├── AuditIncreasesCondition.php │ │ │ │ │ │ ├── AuditPercentCondition.php │ │ │ │ │ │ ├── AuditTypeCondition.php │ │ │ │ │ │ └── AuditValueCondition.php │ │ │ │ │ └── Category/ │ │ │ │ │ ├── AccessibilityPercentScoreCondition.php │ │ │ │ │ ├── AccessibilityScoreDecreasesCondition.php │ │ │ │ │ ├── AccessibilityScoreIncreasesCondition.php │ │ │ │ │ ├── AccessibilityScoreValueCondition.php │ │ │ │ │ ├── AverageScoreChangesCondition.php │ │ │ │ │ ├── AverageScoreCondition.php │ │ │ │ │ ├── AverageScoreDecreasesCondition.php │ │ │ │ │ ├── AverageScoreIncreasesCondition.php │ │ │ │ │ ├── AverageScoreValueCondition.php │ │ │ │ │ ├── BestPracticesPercentScoreCondition.php │ │ │ │ │ ├── BestPracticesScoreDecreasesCondition.php │ │ │ │ │ ├── BestPracticesScoreIncreasesCondition.php │ │ │ │ │ ├── BestPracticesScoreValueCondition.php │ │ │ │ │ ├── PerformancePercentScoreCondition.php │ │ │ │ │ ├── PerformanceScoreDecreasesCondition.php │ │ │ │ │ ├── PerformanceScoreIncreasesCondition.php │ │ │ │ │ ├── PerformanceScoreValueCondition.php │ │ │ │ │ ├── ScoreCondition.php │ │ │ │ │ ├── SeoPercentPercentScoreCondition.php │ │ │ │ │ ├── SeoScoreDecreasesCondition.php │ │ │ │ │ ├── SeoScoreIncreasesCondition.php │ │ │ │ │ └── SeoScoreValueCondition.php │ │ │ │ └── NumericAuditChangedNotification.php │ │ │ ├── Observers/ │ │ │ │ └── LighthouseMonitorObserver.php │ │ │ └── ServiceProvider.php │ │ ├── testbench.yaml │ │ └── tests/ │ │ ├── Actions/ │ │ │ ├── AggregateResultsTest.php │ │ │ ├── CalculateTimeDifferenceTest.php │ │ │ ├── CheckLighthouseResultAuditTest.php │ │ │ ├── CheckLighthouseResultTest.php │ │ │ └── RunLighthouseTest.php │ │ ├── Data/ │ │ │ └── CategoryResultDifferenceDataTest.php │ │ ├── Notifications/ │ │ │ └── Conditions/ │ │ │ ├── Audit/ │ │ │ │ ├── AuditChangeConditionsTest.php │ │ │ │ └── AuditValueConditionTest.php │ │ │ └── Category/ │ │ │ ├── AverageScoreChangeConditionsTest.php │ │ │ ├── AverageScoreValueConditionTest.php │ │ │ └── PerformanceScoreValueConditionTest.php │ │ └── TestCase.php │ ├── notifications/ │ │ ├── .gitignore │ │ ├── composer.json │ │ ├── config/ │ │ │ └── notifications.php │ │ ├── database/ │ │ │ └── migrations/ │ │ │ ├── 2024_02_25_110000_create_notification_triggers_table.php │ │ │ ├── 2024_02_25_111000_create_notification_channels_table.php │ │ │ ├── 2024_02_25_111000_create_notification_triggers_channels_table.php │ │ │ ├── 2024_02_25_112000_create_notification_history_table.php │ │ │ ├── 2024_04_04_193000_notification_trigger_all_channels_field.php │ │ │ ├── 2024_04_12_193000_notification_enabled_field.php │ │ │ ├── 2024_09_22_113000_notification_cooldown_field.php │ │ │ ├── 2026_01_02_150000_add_name_to_notification_channels_table.php │ │ │ └── 2026_01_02_151500_backfill_notification_channel_names.php │ │ ├── phpstan.neon │ │ ├── phpunit.xml │ │ ├── resources/ │ │ │ ├── navigation.php │ │ │ └── views/ │ │ │ ├── channels.blade.php │ │ │ ├── components/ │ │ │ │ ├── condition-builder/ │ │ │ │ │ ├── condition.blade.php │ │ │ │ │ ├── group.blade.php │ │ │ │ │ └── type/ │ │ │ │ │ ├── number.blade.php │ │ │ │ │ ├── select.blade.php │ │ │ │ │ ├── static.blade.php │ │ │ │ │ └── text.blade.php │ │ │ │ └── empty-states/ │ │ │ │ └── channels.blade.php │ │ │ ├── history.blade.php │ │ │ ├── livewire/ │ │ │ │ ├── channels/ │ │ │ │ │ ├── configuration/ │ │ │ │ │ │ ├── discord.blade.php │ │ │ │ │ │ ├── google-chat.blade.php │ │ │ │ │ │ ├── mail.blade.php │ │ │ │ │ │ ├── microsoft-teams.blade.php │ │ │ │ │ │ ├── ntfy.blade.php │ │ │ │ │ │ ├── slack.blade.php │ │ │ │ │ │ ├── telegram.blade.php │ │ │ │ │ │ └── webhook.blade.php │ │ │ │ │ └── form.blade.php │ │ │ │ └── notifications/ │ │ │ │ ├── condition-builder.blade.php │ │ │ │ └── form.blade.php │ │ │ ├── mails/ │ │ │ │ └── notification.blade.php │ │ │ └── notifications.blade.php │ │ ├── routes/ │ │ │ └── web.php │ │ ├── src/ │ │ │ ├── Actions/ │ │ │ │ ├── CheckBurst.php │ │ │ │ ├── CheckCooldown.php │ │ │ │ └── CreateNotifications.php │ │ │ ├── Channels/ │ │ │ │ ├── DiscordChannel.php │ │ │ │ ├── GoogleChatChannel.php │ │ │ │ ├── MailChannel.php │ │ │ │ ├── MicrosoftTeamsChannel.php │ │ │ │ ├── NotificationChannel.php │ │ │ │ ├── NtfyChannel.php │ │ │ │ ├── SlackChannel.php │ │ │ │ ├── TelegramChannel.php │ │ │ │ └── WebhookChannel.php │ │ │ ├── Commands/ │ │ │ │ ├── CreateNotificationsCommand.php │ │ │ │ ├── RenameConditionClassesCommand.php │ │ │ │ └── TestNotificationCommand.php │ │ │ ├── Concerns/ │ │ │ │ └── NotificationFake.php │ │ │ ├── Conditions/ │ │ │ │ ├── Condition.php │ │ │ │ ├── ConditionEngine.php │ │ │ │ ├── FalseCondition.php │ │ │ │ ├── SelectCondition.php │ │ │ │ ├── StaticCondition.php │ │ │ │ └── TrueCondition.php │ │ │ ├── Contracts/ │ │ │ │ └── HasSite.php │ │ │ ├── Enums/ │ │ │ │ ├── ConditionType.php │ │ │ │ └── Level.php │ │ │ ├── Facades/ │ │ │ │ └── NotificationRegistry.php │ │ │ ├── Http/ │ │ │ │ ├── Controllers/ │ │ │ │ │ └── ChannelController.php │ │ │ │ └── Livewire/ │ │ │ │ ├── ChannelForm.php │ │ │ │ ├── Channels/ │ │ │ │ │ └── Configuration/ │ │ │ │ │ ├── ChannelConfiguration.php │ │ │ │ │ ├── Discord.php │ │ │ │ │ ├── GoogleChat.php │ │ │ │ │ ├── Mail.php │ │ │ │ │ ├── MicrosoftTeams.php │ │ │ │ │ ├── Ntfy.php │ │ │ │ │ ├── Slack.php │ │ │ │ │ ├── Telegram.php │ │ │ │ │ └── Webhook.php │ │ │ │ ├── Forms/ │ │ │ │ │ ├── CreateChannelForm.php │ │ │ │ │ └── CreateNotificationForm.php │ │ │ │ ├── NotificationForm.php │ │ │ │ ├── Notifications/ │ │ │ │ │ └── Conditions/ │ │ │ │ │ └── ConditionBuilder.php │ │ │ │ └── Tables/ │ │ │ │ ├── ChannelTable.php │ │ │ │ ├── HistoryTable.php │ │ │ │ └── NotificationTable.php │ │ │ ├── Jobs/ │ │ │ │ ├── CreateNotificationsJob.php │ │ │ │ └── SendNotificationJob.php │ │ │ ├── Mail/ │ │ │ │ └── NotificationMail.php │ │ │ ├── Models/ │ │ │ │ ├── Channel.php │ │ │ │ ├── History.php │ │ │ │ └── Trigger.php │ │ │ ├── Notifications/ │ │ │ │ ├── Notification.php │ │ │ │ ├── NotificationRegistry.php │ │ │ │ └── TestNotification.php │ │ │ ├── Observers/ │ │ │ │ ├── ChannelObserver.php │ │ │ │ └── TriggerObserver.php │ │ │ ├── Scopes/ │ │ │ │ └── HistoryTeamScope.php │ │ │ └── ServiceProvider.php │ │ ├── testbench.yaml │ │ └── tests/ │ │ ├── Channels/ │ │ │ ├── NtfyChannelTest.php │ │ │ └── TelegramChannelTest.php │ │ ├── Conditions/ │ │ │ └── ConditionEngineTest.php │ │ ├── Fakes/ │ │ │ ├── Conditions/ │ │ │ │ ├── FalseCondition.php │ │ │ │ └── TrueCondition.php │ │ │ ├── FakeChannel.php │ │ │ └── FakeNotification.php │ │ ├── Models/ │ │ │ └── ChannelTest.php │ │ ├── Notifications/ │ │ │ ├── NotificationRegistryTest.php │ │ │ └── NotificationTest.php │ │ └── TestCase.php │ ├── onboarding/ │ │ ├── .gitignore │ │ ├── composer.json │ │ ├── config/ │ │ │ └── onboarding.php │ │ ├── database/ │ │ │ └── migrations/ │ │ │ └── 2024_09_29_210000_create_team_onboarding_step_table.php │ │ ├── phpstan.neon │ │ ├── phpunit.xml │ │ ├── resources/ │ │ │ └── views/ │ │ │ ├── complete.blade.php │ │ │ ├── import-domains.blade.php │ │ │ └── notification-channel.blade.php │ │ ├── routes/ │ │ │ └── web.php │ │ ├── src/ │ │ │ ├── Actions/ │ │ │ │ └── ShouldOnboard.php │ │ │ ├── Http/ │ │ │ │ └── Middleware/ │ │ │ │ ├── OnlyOnboarding.php │ │ │ │ └── RedirectToOnboard.php │ │ │ ├── Livewire/ │ │ │ │ ├── Complete.php │ │ │ │ ├── ImportDomains.php │ │ │ │ └── NotificationChannel.php │ │ │ ├── Models/ │ │ │ │ └── OnboardingStep.php │ │ │ └── ServiceProvider.php │ │ ├── testbench.yaml │ │ └── tests/ │ │ └── TestCase.php │ ├── settings/ │ │ ├── .gitignore │ │ ├── composer.json │ │ ├── config/ │ │ │ └── settings.php │ │ ├── phpstan.neon │ │ ├── phpunit.xml │ │ ├── resources/ │ │ │ └── views/ │ │ │ ├── index.blade.php │ │ │ └── tabs/ │ │ │ ├── profile.blade.php │ │ │ ├── security.blade.php │ │ │ └── team.blade.php │ │ ├── routes/ │ │ │ └── web.php │ │ ├── src/ │ │ │ ├── Livewire/ │ │ │ │ ├── Forms/ │ │ │ │ │ ├── ProfileForm.php │ │ │ │ │ └── UpdatePasswordForm.php │ │ │ │ ├── Settings.php │ │ │ │ └── Tabs/ │ │ │ │ ├── Profile.php │ │ │ │ ├── Security.php │ │ │ │ └── Team.php │ │ │ └── ServiceProvider.php │ │ ├── testbench.yaml │ │ └── tests/ │ │ └── TestCase.php │ ├── sites/ │ │ ├── .gitignore │ │ ├── composer.json │ │ ├── config/ │ │ │ └── sites.php │ │ ├── database/ │ │ │ └── migrations/ │ │ │ └── 2024_02_20_170000_create_sites_table.php │ │ ├── phpstan.neon │ │ ├── phpunit.xml │ │ ├── resources/ │ │ │ ├── navigation.php │ │ │ └── views/ │ │ │ ├── components/ │ │ │ │ ├── empty-states/ │ │ │ │ │ └── no-monitors.blade.php │ │ │ │ └── site-card.blade.php │ │ │ ├── livewire/ │ │ │ │ ├── form.blade.php │ │ │ │ ├── import.blade.php │ │ │ │ ├── sites.blade.php │ │ │ │ └── tabs/ │ │ │ │ ├── certificate-monitor.blade.php │ │ │ │ ├── crawler.blade.php │ │ │ │ ├── dns-monitors.blade.php │ │ │ │ ├── healthcheck-monitor.blade.php │ │ │ │ ├── lighthouse-monitor.blade.php │ │ │ │ └── uptime-monitor.blade.php │ │ │ └── sites/ │ │ │ └── view.blade.php │ │ ├── routes/ │ │ │ └── web.php │ │ ├── src/ │ │ │ ├── Actions/ │ │ │ │ └── ImportSite.php │ │ │ ├── Conditions/ │ │ │ │ └── SiteCondition.php │ │ │ ├── Http/ │ │ │ │ ├── Controllers/ │ │ │ │ │ └── SiteController.php │ │ │ │ └── Livewire/ │ │ │ │ ├── Forms/ │ │ │ │ │ └── CreateSiteForm.php │ │ │ │ ├── ImportSites.php │ │ │ │ ├── SiteForm.php │ │ │ │ ├── Sites.php │ │ │ │ ├── Tables/ │ │ │ │ │ └── SiteTable.php │ │ │ │ └── Tabs/ │ │ │ │ ├── CertificateMonitor.php │ │ │ │ ├── Crawler.php │ │ │ │ ├── DnsMonitors.php │ │ │ │ ├── HealthcheckMonitor.php │ │ │ │ ├── LighthouseMonitors.php │ │ │ │ └── UptimeMonitor.php │ │ │ ├── Jobs/ │ │ │ │ └── ImportSiteJob.php │ │ │ ├── Models/ │ │ │ │ └── Site.php │ │ │ ├── Observers/ │ │ │ │ └── SiteObserver.php │ │ │ └── ServiceProvider.php │ │ ├── testbench.yaml │ │ └── tests/ │ │ └── TestCase.php │ ├── uptime/ │ │ ├── .gitignore │ │ ├── composer.json │ │ ├── config/ │ │ │ └── uptime.php │ │ ├── database/ │ │ │ ├── factories/ │ │ │ │ └── MonitorFactory.php │ │ │ └── migrations/ │ │ │ ├── 2024_02_21_190000_create_uptime_monitors_table.php │ │ │ ├── 2024_02_21_190100_create_uptime_results_table.php │ │ │ ├── 2024_02_21_190200_create_uptime_downtimes_table.php │ │ │ ├── 2024_02_22_073000_create_uptime_results_aggregates_table.php │ │ │ ├── 2024_05_21_170200_uptime_downtimes_data_field.php │ │ │ ├── 2025_02_01_170000_uptime_monitors_enabled_field.php │ │ │ ├── 2025_05_06_190000_uptime_monitors_schedule_fields.php │ │ │ ├── 2025_10_05_080000_create_uptime_outposts_table.php │ │ │ ├── 2025_10_06_181706_add_country_to_uptime_results_tables.php │ │ │ ├── 2025_10_06_183423_add_location_to_uptime_monitors_table.php │ │ │ ├── 2025_10_06_184619_add_country_to_uptime_monitors_table.php │ │ │ ├── 2025_10_07_180857_add_geoip_fetched_at_to_uptime_monitors_table.php │ │ │ ├── 2025_10_08_100000_add_closest_outpost_id_to_uptime_monitors_table.php │ │ │ ├── 2025_10_19_152447_add_unavailable_at_to_uptime_outposts_table.php │ │ │ ├── 2025_12_23_192903_add_geoip_automatic_to_uptime_monitors_table.php │ │ │ ├── 2025_12_23_193500_add_geoip_automatic_to_uptime_outposts_table.php │ │ │ └── 2025_12_27_142900_update_ping_monitor_types.php │ │ ├── phpstan.neon │ │ ├── phpunit.xml │ │ ├── resources/ │ │ │ ├── navigation.php │ │ │ └── views/ │ │ │ ├── components/ │ │ │ │ └── empty-states/ │ │ │ │ └── monitors.blade.php │ │ │ ├── livewire/ │ │ │ │ ├── charts/ │ │ │ │ │ ├── column-latency-chart.blade.php │ │ │ │ │ └── latency-chart.blade.php │ │ │ │ ├── monitor/ │ │ │ │ │ ├── dashboard.blade.php │ │ │ │ │ └── form.blade.php │ │ │ │ └── uptime-monitors.blade.php │ │ │ └── monitor/ │ │ │ └── view.blade.php │ │ ├── routes/ │ │ │ ├── api.php │ │ │ └── web.php │ │ ├── src/ │ │ │ ├── Actions/ │ │ │ │ ├── AggregateResults.php │ │ │ │ ├── CalculateUptimePercentage.php │ │ │ │ ├── CheckLatency.php │ │ │ │ ├── CheckUptime.php │ │ │ │ ├── FetchGeolocation.php │ │ │ │ └── Outpost/ │ │ │ │ ├── DetermineOutpost.php │ │ │ │ ├── GenerateOutpostCertificate.php │ │ │ │ ├── GenerateRootCertificate.php │ │ │ │ └── RegisterOutpost.php │ │ │ ├── Commands/ │ │ │ │ ├── AggregateResultsCommand.php │ │ │ │ ├── CheckLatencyCommand.php │ │ │ │ ├── CheckUnavailableOutpostsCommand.php │ │ │ │ ├── CheckUptimeCommand.php │ │ │ │ ├── GenerateRootCaCommand.php │ │ │ │ └── ScheduleUptimeChecksCommand.php │ │ │ ├── Data/ │ │ │ │ └── UptimeResult.php │ │ │ ├── Enums/ │ │ │ │ ├── OutpostStatus.php │ │ │ │ ├── State.php │ │ │ │ └── Type.php │ │ │ ├── Events/ │ │ │ │ ├── DowntimeEndEvent.php │ │ │ │ ├── DowntimeStartEvent.php │ │ │ │ └── UptimeCheckedEvent.php │ │ │ ├── Http/ │ │ │ │ ├── Controllers/ │ │ │ │ │ ├── Api/ │ │ │ │ │ │ ├── OutpostController.php │ │ │ │ │ │ └── OutpostIpController.php │ │ │ │ │ └── UptimeMonitorController.php │ │ │ │ ├── Livewire/ │ │ │ │ │ ├── Charts/ │ │ │ │ │ │ ├── ColumnLatencyChart.php │ │ │ │ │ │ └── LatencyChart.php │ │ │ │ │ ├── Forms/ │ │ │ │ │ │ └── CreateUptimeMonitorForm.php │ │ │ │ │ ├── Monitor/ │ │ │ │ │ │ └── Dashboard.php │ │ │ │ │ ├── Tables/ │ │ │ │ │ │ ├── DowntimeTable.php │ │ │ │ │ │ └── MonitorTable.php │ │ │ │ │ ├── UptimeMonitorForm.php │ │ │ │ │ └── UptimeMonitors.php │ │ │ │ └── Middleware/ │ │ │ │ ├── ExternalOutpostMiddleware.php │ │ │ │ └── OutpostAuthMiddleware.php │ │ │ ├── Jobs/ │ │ │ │ ├── AggregateResultsJob.php │ │ │ │ ├── CheckUnavailableOutpostJob.php │ │ │ │ ├── CheckUptimeJob.php │ │ │ │ └── UpdateMonitorLocationJob.php │ │ │ ├── Listeners/ │ │ │ │ ├── CheckLatencyListener.php │ │ │ │ ├── DowntimeEndNotificationListener.php │ │ │ │ └── DowntimeStartNotificationListener.php │ │ │ ├── Models/ │ │ │ │ ├── Downtime.php │ │ │ │ ├── Monitor.php │ │ │ │ ├── Outpost.php │ │ │ │ ├── Result.php │ │ │ │ └── ResultAggregate.php │ │ │ ├── Notifications/ │ │ │ │ ├── Conditions/ │ │ │ │ │ ├── ClosestCountryCondition.php │ │ │ │ │ ├── CountryCondition.php │ │ │ │ │ ├── LatencyMsCondition.php │ │ │ │ │ └── LatencyPercentCondition.php │ │ │ │ ├── DowntimeEndNotification.php │ │ │ │ ├── DowntimeStartNotification.php │ │ │ │ ├── LatencyChangedNotification.php │ │ │ │ └── LatencyPeakNotification.php │ │ │ ├── Observers/ │ │ │ │ ├── MonitorObserver.php │ │ │ │ └── OutpostObserver.php │ │ │ └── ServiceProvider.php │ │ ├── testbench.yaml │ │ └── tests/ │ │ ├── Fakes/ │ │ │ └── HandlerStatsResponse.php │ │ ├── Feature/ │ │ │ ├── AggregateResultsTest.php │ │ │ ├── DowntimeTest.php │ │ │ └── UptimeTest.php │ │ ├── TestCase.php │ │ └── Unit/ │ │ ├── CalculateUptimePercentageTest.php │ │ ├── DetermineOutpostPerformanceTest.php │ │ ├── DetermineOutpostTest.php │ │ ├── Enums/ │ │ │ └── TypeTest.php │ │ ├── ExternalOutpostMiddlewareTest.php │ │ ├── FetchGeolocationTest.php │ │ ├── GenerateOutpostCertificateTest.php │ │ ├── OutpostAuthMiddlewareTest.php │ │ └── RegisterOutpostTest.php │ └── users/ │ ├── .gitignore │ ├── composer.json │ ├── config/ │ │ └── users.php │ ├── database/ │ │ ├── factories/ │ │ │ ├── TeamFactory.php │ │ │ └── UserFactory.php │ │ └── migrations/ │ │ ├── 2014_10_12_000000_create_users_table.php │ │ ├── 2014_10_12_100000_create_password_reset_tokens_table.php │ │ ├── 2014_10_12_200000_add_two_factor_columns_to_users_table.php │ │ ├── 2020_05_21_100000_create_teams_table.php │ │ ├── 2020_05_21_200000_create_team_user_table.php │ │ ├── 2020_05_21_300000_create_team_invitations_table.php │ │ └── 2024_05_18_100000_team_timezone_field.php │ ├── phpstan.neon │ ├── phpunit.xml │ ├── routes/ │ │ ├── auth.php │ │ └── web.php │ ├── src/ │ │ ├── Actions/ │ │ │ ├── Fortify/ │ │ │ │ ├── CreateNewUser.php │ │ │ │ ├── PasswordValidationRules.php │ │ │ │ ├── ResetUserPassword.php │ │ │ │ ├── UpdateUserPassword.php │ │ │ │ └── UpdateUserProfileInformation.php │ │ │ └── Jetstream/ │ │ │ ├── AddTeamMember.php │ │ │ ├── CreateTeam.php │ │ │ ├── DeleteTeam.php │ │ │ ├── DeleteUser.php │ │ │ ├── InviteTeamMember.php │ │ │ ├── RemoveTeamMember.php │ │ │ └── UpdateTeamName.php │ │ ├── Http/ │ │ │ ├── Controllers/ │ │ │ │ └── SocialiteController.php │ │ │ └── Middleware/ │ │ │ ├── EnsureEmailIsVerified.php │ │ │ └── NoUserMiddleware.php │ │ ├── Models/ │ │ │ ├── Membership.php │ │ │ ├── Team.php │ │ │ ├── TeamInvitation.php │ │ │ └── User.php │ │ ├── Notifications/ │ │ │ └── VerifyEmail.php │ │ ├── Observers/ │ │ │ └── TeamObserver.php │ │ ├── Policies/ │ │ │ └── TeamPolicy.php │ │ ├── ServiceProvider.php │ │ └── Validators/ │ │ └── RegistrationEnabledValidator.php │ ├── testbench.yaml │ └── tests/ │ └── TestCase.php ├── phpunit.xml ├── postcss.config.js ├── public/ │ ├── .htaccess │ ├── index.php │ ├── robots.txt │ └── site.webmanifest ├── resources/ │ ├── css/ │ │ ├── app.css │ │ └── tailwind.sources.css │ ├── js/ │ │ ├── app.js │ │ └── bootstrap.js │ ├── lang/ │ │ └── en/ │ │ └── validation.php │ ├── markdown/ │ │ ├── policy.md │ │ └── terms.md │ ├── navigation.php │ └── views/ │ ├── api/ │ │ ├── api-token-manager.blade.php │ │ └── index.blade.php │ ├── auth/ │ │ ├── confirm-password.blade.php │ │ ├── forgot-password.blade.php │ │ ├── login.blade.php │ │ ├── register.blade.php │ │ ├── reset-password.blade.php │ │ ├── two-factor-challenge.blade.php │ │ └── verify-email.blade.php │ ├── components/ │ │ ├── action-message.blade.php │ │ ├── action-section.blade.php │ │ ├── alert.blade.php │ │ ├── alerts/ │ │ │ ├── danger.blade.php │ │ │ ├── info.blade.php │ │ │ ├── success.blade.php │ │ │ └── warning.blade.php │ │ ├── application-logo.blade.php │ │ ├── application-mark.blade.php │ │ ├── authentication-card-logo.blade.php │ │ ├── authentication-card.blade.php │ │ ├── banner.blade.php │ │ ├── button.blade.php │ │ ├── card.blade.php │ │ ├── checkbox.blade.php │ │ ├── confirmation-modal.blade.php │ │ ├── confirms-password.blade.php │ │ ├── create-button-dropdown.blade.php │ │ ├── create-button.blade.php │ │ ├── danger-button.blade.php │ │ ├── dialog-modal.blade.php │ │ ├── dropdown-link.blade.php │ │ ├── dropdown.blade.php │ │ ├── form/ │ │ │ ├── button.blade.php │ │ │ ├── checkbox.blade.php │ │ │ ├── dropdown-button.blade.php │ │ │ ├── header.blade.php │ │ │ ├── number.blade.php │ │ │ ├── password.blade.php │ │ │ ├── select.blade.php │ │ │ ├── submit-button.blade.php │ │ │ ├── text-list.blade.php │ │ │ ├── text.blade.php │ │ │ ├── textarea.blade.php │ │ │ └── time.blade.php │ │ ├── form-section.blade.php │ │ ├── input-error.blade.php │ │ ├── input.blade.php │ │ ├── label.blade.php │ │ ├── layout/ │ │ │ ├── sidebar/ │ │ │ │ ├── menu.blade.php │ │ │ │ └── mobile-menu.blade.php │ │ │ ├── sidebar.blade.php │ │ │ ├── topbar.blade.php │ │ │ └── user-profile-dropdown.blade.php │ │ ├── modal.blade.php │ │ ├── nav-link.blade.php │ │ ├── page-header.blade.php │ │ ├── password-group.blade.php │ │ ├── responsive-nav-link.blade.php │ │ ├── secondary-button.blade.php │ │ ├── section-border.blade.php │ │ ├── section-title.blade.php │ │ ├── switchable-team.blade.php │ │ └── validation-errors.blade.php │ ├── dashboard.blade.php │ ├── emails/ │ │ └── team-invitation.blade.php │ ├── errors/ │ │ ├── 401.blade.php │ │ ├── 402.blade.php │ │ ├── 403.blade.php │ │ ├── 404.blade.php │ │ ├── 419.blade.php │ │ ├── 429.blade.php │ │ ├── 500.blade.php │ │ ├── 503.blade.php │ │ ├── layout.blade.php │ │ └── minimal.blade.php │ ├── layouts/ │ │ ├── app.blade.php │ │ └── guest.blade.php │ ├── policy.blade.php │ ├── profile/ │ │ ├── delete-user-form.blade.php │ │ ├── logout-other-browser-sessions-form.blade.php │ │ ├── two-factor-authentication-form.blade.php │ │ ├── update-password-form.blade.php │ │ └── update-profile-information-form.blade.php │ ├── teams/ │ │ ├── create-team-form.blade.php │ │ ├── create.blade.php │ │ ├── delete-team-form.blade.php │ │ ├── show.blade.php │ │ ├── team-member-manager.blade.php │ │ └── update-team-name-form.blade.php │ ├── terms.blade.php │ └── vendor/ │ ├── livewire-table/ │ │ ├── columns/ │ │ │ ├── buttons/ │ │ │ │ └── copy.blade.php │ │ │ ├── content/ │ │ │ │ ├── action.blade.php │ │ │ │ ├── boolean.blade.php │ │ │ │ ├── default.blade.php │ │ │ │ └── image.blade.php │ │ │ ├── footer/ │ │ │ │ └── default.blade.php │ │ │ ├── header/ │ │ │ │ └── default.blade.php │ │ │ └── search/ │ │ │ ├── boolean.blade.php │ │ │ ├── date.blade.php │ │ │ ├── default.blade.php │ │ │ └── select.blade.php │ │ ├── components/ │ │ │ ├── button.blade.php │ │ │ ├── dropdown/ │ │ │ │ ├── content.blade.php │ │ │ │ ├── divider.blade.php │ │ │ │ ├── footer.blade.php │ │ │ │ ├── header.blade.php │ │ │ │ ├── index.blade.php │ │ │ │ ├── menu/ │ │ │ │ │ ├── index.blade.php │ │ │ │ │ └── item.blade.php │ │ │ │ └── section.blade.php │ │ │ ├── form/ │ │ │ │ ├── checkbox.blade.php │ │ │ │ ├── group.blade.php │ │ │ │ ├── input.blade.php │ │ │ │ └── select.blade.php │ │ │ ├── icon.blade.php │ │ │ ├── notification/ │ │ │ │ ├── button.blade.php │ │ │ │ └── index.blade.php │ │ │ └── table/ │ │ │ ├── index.blade.php │ │ │ ├── message.blade.php │ │ │ ├── tbody.blade.php │ │ │ ├── td.blade.php │ │ │ ├── tfoot.blade.php │ │ │ ├── th.blade.php │ │ │ ├── thead.blade.php │ │ │ └── tr.blade.php │ │ ├── filters/ │ │ │ ├── boolean.blade.php │ │ │ ├── date.blade.php │ │ │ ├── filter.blade.php │ │ │ └── select.blade.php │ │ ├── icons/ │ │ │ ├── arrow-path.blade.php │ │ │ ├── backspace.blade.php │ │ │ ├── check-circle.blade.php │ │ │ ├── check.blade.php │ │ │ ├── chevron-down.blade.php │ │ │ ├── chevron-left.blade.php │ │ │ ├── chevron-right.blade.php │ │ │ ├── chevron-up-down.blade.php │ │ │ ├── chevron-up.blade.php │ │ │ ├── clipboard-document-check.blade.php │ │ │ ├── clipboard-document.blade.php │ │ │ ├── clock.blade.php │ │ │ ├── cog-6-tooth.blade.php │ │ │ ├── ellipsis-vertical.blade.php │ │ │ ├── eye.blade.php │ │ │ ├── funnel.blade.php │ │ │ ├── information-circle.blade.php │ │ │ ├── list-bullet.blade.php │ │ │ ├── magnifying-glass.blade.php │ │ │ ├── min.blade.php │ │ │ ├── play.blade.php │ │ │ ├── plus.blade.php │ │ │ ├── queue-list.blade.php │ │ │ ├── view-columns.blade.php │ │ │ └── x-mark.blade.php │ │ ├── livewire/ │ │ │ └── livewire-table.blade.php │ │ ├── pagination/ │ │ │ └── pagination.blade.php │ │ ├── table/ │ │ │ └── table.blade.php │ │ └── toolbar/ │ │ ├── buttons/ │ │ │ ├── clear-search.blade.php │ │ │ └── reordering.blade.php │ │ ├── dropdowns/ │ │ │ ├── actions.blade.php │ │ │ ├── configuration.blade.php │ │ │ ├── sections/ │ │ │ │ ├── actions.blade.php │ │ │ │ ├── columns.blade.php │ │ │ │ ├── configuration.blade.php │ │ │ │ ├── filters.blade.php │ │ │ │ ├── polling.blade.php │ │ │ │ ├── results.blade.php │ │ │ │ ├── suggestions.blade.php │ │ │ │ └── trashed.blade.php │ │ │ └── suggestions.blade.php │ │ ├── loader.blade.php │ │ ├── notification.blade.php │ │ ├── search.blade.php │ │ └── toolbar.blade.php │ └── mail/ │ ├── html/ │ │ ├── button.blade.php │ │ ├── footer.blade.php │ │ ├── header.blade.php │ │ ├── layout.blade.php │ │ ├── message.blade.php │ │ ├── panel.blade.php │ │ ├── subcopy.blade.php │ │ ├── table.blade.php │ │ └── themes/ │ │ └── default.css │ └── text/ │ ├── button.blade.php │ ├── footer.blade.php │ ├── header.blade.php │ ├── layout.blade.php │ ├── message.blade.php │ ├── panel.blade.php │ ├── subcopy.blade.php │ └── table.blade.php ├── routes/ │ ├── api.php │ ├── channels.php │ ├── console.php │ └── web.php ├── scripts/ │ ├── generate-tailwind-sources.mjs │ └── package-quality.sh ├── storage/ │ ├── app/ │ │ └── .gitignore │ ├── framework/ │ │ ├── .gitignore │ │ ├── cache/ │ │ │ └── .gitignore │ │ ├── sessions/ │ │ │ └── .gitignore │ │ ├── testing/ │ │ │ └── .gitignore │ │ └── views/ │ │ └── .gitignore │ └── logs/ │ └── .gitignore ├── tests/ │ ├── Browser/ │ │ ├── Notifications/ │ │ │ ├── ChannelsFormTest.php │ │ │ ├── ChannelsIndexTest.php │ │ │ ├── NotificationsFormTest.php │ │ │ └── NotificationsIndexTest.php │ │ ├── Pages/ │ │ │ ├── HomePage.php │ │ │ └── Page.php │ │ ├── Sites/ │ │ │ ├── SitesFormTest.php │ │ │ └── SitesIndexTest.php │ │ ├── Uptime/ │ │ │ ├── UptimeFormTest.php │ │ │ └── UptimeIndexTest.php │ │ ├── console/ │ │ │ └── .gitignore │ │ ├── screenshots/ │ │ │ └── .gitignore │ │ └── source/ │ │ └── .gitignore │ ├── CreatesApplication.php │ ├── DuskTestCase.php │ ├── Feature/ │ │ └── .gitkeep │ ├── TestCase.php │ └── Unit/ │ └── .gitkeep └── vite.config.js
Showing preview only (208K chars total). Download the full file or copy to clipboard to get everything.
SYMBOL INDEX (2200 symbols across 606 files)
FILE: app/Console/Kernel.php
class Kernel (line 22) | class Kernel extends ConsoleKernel
method schedule (line 24) | protected function schedule(Schedule $schedule): void
method commands (line 61) | protected function commands(): void
FILE: app/Exceptions/Handler.php
class Handler (line 8) | class Handler extends ExceptionHandler
method register (line 24) | public function register(): void
FILE: app/Http/Controllers/Controller.php
class Controller (line 9) | class Controller extends BaseController
FILE: app/Http/Kernel.php
class Kernel (line 11) | class Kernel extends HttpKernel
method addMiddlewareToGroup (line 74) | public function addMiddlewareToGroup(string $group, string|array $midd...
FILE: app/Http/Middleware/Authenticate.php
class Authenticate (line 8) | class Authenticate extends Middleware
method redirectTo (line 13) | protected function redirectTo(Request $request): ?string
FILE: app/Http/Middleware/EncryptCookies.php
class EncryptCookies (line 7) | class EncryptCookies extends Middleware
FILE: app/Http/Middleware/PreventRequestsDuringMaintenance.php
class PreventRequestsDuringMaintenance (line 7) | class PreventRequestsDuringMaintenance extends Middleware
FILE: app/Http/Middleware/RedirectIfAuthenticated.php
class RedirectIfAuthenticated (line 11) | class RedirectIfAuthenticated
method handle (line 18) | public function handle(Request $request, Closure $next, string ...$gua...
FILE: app/Http/Middleware/TrimStrings.php
class TrimStrings (line 7) | class TrimStrings extends Middleware
FILE: app/Http/Middleware/TrustHosts.php
class TrustHosts (line 7) | class TrustHosts extends Middleware
method hosts (line 14) | public function hosts(): array
FILE: app/Http/Middleware/TrustProxies.php
class TrustProxies (line 8) | class TrustProxies extends Middleware
FILE: app/Http/Middleware/ValidateSignature.php
class ValidateSignature (line 7) | class ValidateSignature extends Middleware
FILE: app/Http/Middleware/VerifyCsrfToken.php
class VerifyCsrfToken (line 7) | class VerifyCsrfToken extends Middleware
FILE: app/Providers/AppServiceProvider.php
class AppServiceProvider (line 9) | class AppServiceProvider extends ServiceProvider
method register (line 14) | public function register(): void
method boot (line 22) | public function boot(): void
FILE: app/Providers/AuthServiceProvider.php
class AuthServiceProvider (line 7) | class AuthServiceProvider extends ServiceProvider
method boot (line 21) | public function boot(): void
FILE: app/Providers/BroadcastServiceProvider.php
class BroadcastServiceProvider (line 8) | class BroadcastServiceProvider extends ServiceProvider
method boot (line 13) | public function boot(): void
FILE: app/Providers/EventServiceProvider.php
class EventServiceProvider (line 9) | class EventServiceProvider extends ServiceProvider
method boot (line 25) | public function boot(): void
method shouldDiscoverEvents (line 33) | public function shouldDiscoverEvents(): bool
FILE: app/Providers/FortifyServiceProvider.php
class FortifyServiceProvider (line 16) | class FortifyServiceProvider extends ServiceProvider
method register (line 21) | public function register(): void
method boot (line 29) | public function boot(): void
FILE: app/Providers/HorizonServiceProvider.php
class HorizonServiceProvider (line 9) | class HorizonServiceProvider extends HorizonApplicationServiceProvider
method boot (line 14) | public function boot(): void
method gate (line 27) | protected function gate(): void
FILE: app/Providers/JetstreamServiceProvider.php
class JetstreamServiceProvider (line 19) | class JetstreamServiceProvider extends ServiceProvider
method register (line 24) | public function register(): void
method boot (line 32) | public function boot(): void
method configurePermissions (line 53) | protected function configurePermissions(): void
FILE: app/Providers/RouteServiceProvider.php
class RouteServiceProvider (line 11) | class RouteServiceProvider extends ServiceProvider
method boot (line 25) | public function boot(): void
FILE: app/View/Components/AppLayout.php
class AppLayout (line 8) | class AppLayout extends Component
method render (line 13) | public function render(): View
FILE: app/View/Components/GuestLayout.php
class GuestLayout (line 8) | class GuestLayout extends Component
method render (line 13) | public function render(): View
FILE: database/migrations/2019_08_19_000000_create_failed_jobs_table.php
method up (line 12) | public function up(): void
method down (line 28) | public function down(): void
FILE: database/migrations/2019_12_14_000001_create_personal_access_tokens_table.php
method up (line 12) | public function up(): void
method down (line 29) | public function down(): void
FILE: database/migrations/2024_02_18_184745_create_sessions_table.php
method up (line 12) | public function up(): void
method down (line 27) | public function down(): void
FILE: database/migrations/2024_03_23_092656_create_notifications_table.php
method up (line 12) | public function up(): void
method down (line 27) | public function down(): void
FILE: database/seeders/DatabaseSeeder.php
class DatabaseSeeder (line 9) | class DatabaseSeeder extends Seeder
method run (line 14) | public function run(): void
FILE: packages/certificates/database/migrations/2025_04_08_200000_create_create_certificate_monitors_table.php
method up (line 11) | public function up(): void
method down (line 36) | public function down(): void
FILE: packages/certificates/database/migrations/2025_04_12_090000_create_create_certificate_monitor_history_table.php
method up (line 11) | public function up(): void
method down (line 31) | public function down(): void
FILE: packages/certificates/src/Actions/CheckCertificate.php
class CheckCertificate (line 12) | class CheckCertificate
method check (line 14) | public function check(CertificateMonitor $monitor): void
FILE: packages/certificates/src/Commands/CheckCertificateCommand.php
class CheckCertificateCommand (line 9) | class CheckCertificateCommand extends Command
method handle (line 13) | public function handle(): int
FILE: packages/certificates/src/Commands/CheckCertificatesCommand.php
class CheckCertificatesCommand (line 11) | class CheckCertificatesCommand extends Command
method handle (line 15) | public function handle(): int
FILE: packages/certificates/src/Http/Controllers/CertificateMonitorController.php
class CertificateMonitorController (line 12) | class CertificateMonitorController extends Controller
method list (line 16) | public function list(): View
method index (line 27) | public function index(CertificateMonitor $monitor): mixed
method delete (line 37) | public function delete(CertificateMonitor $monitor): RedirectResponse
FILE: packages/certificates/src/Jobs/CheckCertificateJob.php
class CheckCertificateJob (line 15) | class CheckCertificateJob implements ShouldBeUnique, ShouldQueue
method __construct (line 22) | public function __construct(
method handle (line 28) | public function handle(CheckCertificate $certificate, TeamService $tea...
method uniqueId (line 34) | public function uniqueId(): int
FILE: packages/certificates/src/Livewire/CertificateMonitorForm.php
class CertificateMonitorForm (line 13) | class CertificateMonitorForm extends Component
method mount (line 23) | public function mount(?CertificateMonitor $monitor): void
method save (line 37) | #[On('save')]
method render (line 65) | public function render(): mixed
FILE: packages/certificates/src/Livewire/Forms/CertificateMonitorForm.php
class CertificateMonitorForm (line 13) | class CertificateMonitorForm extends Form
method getRules (line 25) | public function getRules(): array
FILE: packages/certificates/src/Livewire/Monitor/Dashboard.php
class Dashboard (line 9) | class Dashboard extends Component
method mount (line 14) | public function mount(int $monitorId): void
method render (line 19) | public function render(): mixed
FILE: packages/certificates/src/Livewire/Tables/CertificateMonitorHistoryTable.php
class CertificateMonitorHistoryTable (line 12) | class CertificateMonitorHistoryTable extends BaseTable
method mount (line 19) | public function mount(int $monitorId): void
method columns (line 24) | protected function columns(): array
method query (line 54) | protected function query(): Builder
FILE: packages/certificates/src/Livewire/Tables/CertificateMonitorsTable.php
class CertificateMonitorsTable (line 19) | class CertificateMonitorsTable extends BaseTable
method columns (line 23) | protected function columns(): array
method filters (line 88) | protected function filters(): array
method actions (line 101) | protected function actions(): array
method link (line 128) | protected function link(Model $model): ?string
FILE: packages/certificates/src/Models/CertificateMonitor.php
class CertificateMonitor (line 37) | #[ObservedBy(TeamObserver::class)]
method history (line 51) | public function history(): HasMany
method site (line 56) | public function site(): BelongsTo
method team (line 61) | public function team(): BelongsTo
FILE: packages/certificates/src/Models/CertificateMonitorHistory.php
class CertificateMonitorHistory (line 31) | #[ObservedBy(TeamObserver::class)]
method certificateMonitor (line 46) | public function certificateMonitor(): BelongsTo
method team (line 51) | public function team(): BelongsTo
method prunable (line 56) | public function prunable(): Builder
FILE: packages/certificates/src/Notifications/CertificateChangedNotification.php
class CertificateChangedNotification (line 12) | class CertificateChangedNotification extends Notification implements Has...
method __construct (line 18) | public function __construct(public CertificateMonitor $monitor, public...
method title (line 20) | public function title(): string
method description (line 27) | public function description(): string
method info (line 36) | public static function info(): ?string
method uniqueId (line 41) | public function uniqueId(): string|int
method site (line 46) | public function site(): ?Site
FILE: packages/certificates/src/Notifications/CertificateExpiredNotification.php
class CertificateExpiredNotification (line 11) | class CertificateExpiredNotification extends Notification implements Has...
method __construct (line 19) | public function __construct(public CertificateMonitor $monitor) {}
method title (line 21) | public function title(): string
method info (line 29) | public static function info(): ?string
method uniqueId (line 34) | public function uniqueId(): string|int
method site (line 39) | public function site(): ?Site
FILE: packages/certificates/src/Notifications/CertificateExpiresInDaysNotification.php
class CertificateExpiresInDaysNotification (line 12) | class CertificateExpiresInDaysNotification extends Notification implemen...
method __construct (line 31) | public function __construct(public CertificateMonitor $monitor) {}
method title (line 33) | public function title(): string
method description (line 41) | public function description(): string
method info (line 50) | public static function info(): ?string
method uniqueId (line 55) | public function uniqueId(): string|int
method site (line 60) | public function site(): ?Site
FILE: packages/certificates/src/Notifications/Conditions/DaysCondition.php
class DaysCondition (line 10) | class DaysCondition extends Condition
method applies (line 16) | public function applies(Notification $notification, ?string $operand, ...
FILE: packages/certificates/src/Notifications/UnableToResolveCertificateNotification.php
class UnableToResolveCertificateNotification (line 11) | class UnableToResolveCertificateNotification extends Notification implem...
method __construct (line 19) | public function __construct(public CertificateMonitor $monitor, public...
method title (line 21) | public function title(): string
method description (line 28) | public function description(): string
method info (line 35) | public static function info(): ?string
method uniqueId (line 40) | public function uniqueId(): string|int
method site (line 45) | public function site(): ?Site
FILE: packages/certificates/src/ServiceProvider.php
class ServiceProvider (line 25) | class ServiceProvider extends BaseServiceProvider
method register (line 27) | public function register(): void
method registerConfig (line 33) | protected function registerConfig(): static
method boot (line 40) | public function boot(): void
method bootRoutes (line 55) | protected function bootRoutes(): static
method bootConfig (line 65) | protected function bootConfig(): static
method bootMigrations (line 74) | protected function bootMigrations(): static
method bootCommands (line 81) | protected function bootCommands(): static
method bootViews (line 94) | protected function bootViews(): static
method bootLivewire (line 101) | protected function bootLivewire(): static
method bootNavigation (line 111) | protected function bootNavigation(): static
method bootNotifications (line 118) | protected function bootNotifications(): static
method bootGates (line 137) | protected function bootGates(): static
method bootPolicies (line 148) | protected function bootPolicies(): static
FILE: packages/certificates/tests/TestCase.php
class TestCase (line 11) | abstract class TestCase extends BaseTestCase
method setUp (line 15) | protected function setUp(): void
method getPackageProviders (line 22) | protected function getPackageProviders($app): array
method defineEnvironment (line 31) | protected function defineEnvironment($app): void
FILE: packages/core/src/Actions/ResolveDataRetention.php
class ResolveDataRetention (line 8) | class ResolveDataRetention implements ResolvesDataRetention
method resolve (line 10) | public function resolve(string $class): Carbon
FILE: packages/core/src/Concerns/HasDataRetention.php
type HasDataRetention (line 8) | trait HasDataRetention
method retentionPeriod (line 10) | protected function retentionPeriod(): Carbon
FILE: packages/core/src/Contracts/ResolvesDataRetention.php
type ResolvesDataRetention (line 7) | interface ResolvesDataRetention
method resolve (line 9) | public function resolve(string $class): Carbon;
FILE: packages/core/src/Data/Data.php
class Data (line 9) | abstract class Data implements Arrayable, ArrayAccess
method __construct (line 13) | final public function __construct(
method offsetExists (line 19) | public function offsetExists(mixed $offset): bool
method offsetGet (line 24) | public function offsetGet(mixed $offset): mixed
method offsetSet (line 29) | public function offsetSet(mixed $offset, mixed $value): void
method offsetUnset (line 34) | public function offsetUnset(mixed $offset): void
method validate (line 39) | public function validate(array $data): void
method of (line 44) | public static function of(array $data): static
method toArray (line 49) | public function toArray(): array
FILE: packages/core/src/Facades/Navigation.php
class Navigation (line 13) | class Navigation extends Facade
method getFacadeAccessor (line 15) | protected static function getFacadeAccessor(): string
FILE: packages/core/src/Http/Middleware/TeamMiddleware.php
class TeamMiddleware (line 10) | class TeamMiddleware
method __construct (line 12) | public function __construct(protected TeamService $teamService) {}
method handle (line 17) | public function handle(Request $request, Closure $next): Response
FILE: packages/core/src/Navigation/Navigation.php
class Navigation (line 5) | class Navigation
method path (line 13) | public function path(string $path): static
method add (line 20) | public function add(
method items (line 31) | public function items(): array
FILE: packages/core/src/Navigation/NavigationItem.php
class NavigationItem (line 8) | class NavigationItem
method __construct (line 12) | public function __construct(
method active (line 30) | public function active(): bool
method shouldRender (line 39) | public function shouldRender(): bool
method name (line 48) | public function name(string $name): static
method routeIs (line 55) | public function routeIs(string ...$routeIs): static
method url (line 62) | public function url(string $url): static
method icon (line 69) | public function icon(string $icon): static
method gate (line 76) | public function gate(string $gate): static
method sort (line 83) | public function sort(int $sort): static
method code (line 90) | public function code(string $code): static
method parent (line 97) | public function parent(string $parent): static
method hasChildren (line 104) | public function hasChildren(): bool
method getChildren (line 109) | public function getChildren(): array
FILE: packages/core/src/Policies/AllowAllPolicy.php
class AllowAllPolicy (line 8) | class AllowAllPolicy
method viewAny (line 10) | public function viewAny(User $user): bool
method view (line 15) | public function view(User $user, Model $model): bool
method create (line 20) | public function create(User $user): bool
method update (line 25) | public function update(User $user, Model $model): bool
method delete (line 30) | public function delete(User $user, Model $model): bool
method restore (line 35) | public function restore(User $user, Model $model): bool
method forceDelete (line 40) | public function forceDelete(User $user, Model $model): bool
FILE: packages/core/src/Scopes/TeamScope.php
class TeamScope (line 10) | class TeamScope implements Scope
method apply (line 12) | public function apply(Builder $builder, Model $model): void
FILE: packages/core/src/ServiceProvider.php
class ServiceProvider (line 13) | class ServiceProvider extends BaseServiceProvider
method register (line 15) | public function register(): void
method registerConfig (line 22) | protected function registerConfig(): static
method registerSingletons (line 29) | protected function registerSingletons(): static
method boot (line 37) | public function boot(): void
method bootActions (line 48) | protected function bootActions(): static
method bootConfig (line 57) | protected function bootConfig(): static
method bootMigrations (line 66) | protected function bootMigrations(): static
method bootCommands (line 73) | protected function bootCommands(): static
method bootRoutes (line 84) | protected function bootRoutes(): static
method bootNavigation (line 94) | protected function bootNavigation(): static
FILE: packages/core/src/Services/TeamService.php
class TeamService (line 9) | class TeamService
method fromAuth (line 13) | public function fromAuth(): void
method setTeam (line 26) | public function setTeam(?Team $team): void
method setTeamById (line 31) | public function setTeamById(int $teamId): void
method team (line 39) | public function team(): Team
method instance (line 50) | public static function instance(): TeamService
method fake (line 58) | public static function fake(): Team
FILE: packages/core/src/Validation/CanEnableRule.php
class CanEnableRule (line 9) | class CanEnableRule implements ValidationRule
method __construct (line 11) | public function __construct(public string $model) {}
method validate (line 13) | public function validate(string $attribute, mixed $value, Closure $fai...
FILE: packages/core/src/helpers.php
function teamTimezone (line 7) | function teamTimezone(Carbon $carbon): Carbon
function ce (line 17) | function ce(): bool
FILE: packages/core/tests/TestCase.php
class TestCase (line 9) | abstract class TestCase extends BaseTestCase
method getPackageProviders (line 13) | protected function getPackageProviders($app): array
method defineEnvironment (line 20) | protected function defineEnvironment($app): void
FILE: packages/crawler/database/migrations/2024_09_06_213000_create_web_crawlers_table.php
method up (line 12) | public function up(): void
method down (line 32) | public function down(): void
FILE: packages/crawler/database/migrations/2024_09_06_220000_create_web_crawled_urls_table.php
method up (line 11) | public function up(): void
method down (line 29) | public function down(): void
FILE: packages/crawler/database/migrations/2025_01_18_220000_crawled_urls_url_length.php
method up (line 9) | public function up(): void
FILE: packages/crawler/database/migrations/2025_02_01_183000_web_crawlers_enabled_field.php
method up (line 9) | public function up(): void
method down (line 16) | public function down(): void
FILE: packages/crawler/database/migrations/2025_04_07_200000_web_crawled_urls_url_hash.php
method up (line 9) | public function up(): void
FILE: packages/crawler/database/migrations/2025_09_28_100000_create_web_crawler_ignored_urls_table.php
method up (line 10) | public function up(): void
method down (line 24) | public function down(): void
FILE: packages/crawler/database/migrations/2025_09_29_190000_web_crawled_urls_ignored_field.php
method up (line 9) | public function up(): void
method down (line 16) | public function down(): void
FILE: packages/crawler/src/Actions/CollectCrawlerStats.php
class CollectCrawlerStats (line 13) | class CollectCrawlerStats
method __construct (line 15) | public function __construct(protected TeamService $teamService) {}
method collect (line 17) | public function collect(Crawler $crawler, bool $shouldNotify = true): ...
FILE: packages/crawler/src/Actions/CrawlUrl.php
class CrawlUrl (line 19) | class CrawlUrl
method __construct (line 23) | public function __construct(protected TeamService $teamService) {}
method crawl (line 25) | public function crawl(CrawledUrl $url, int $try = 0): void
method buildBlacklistPatterns (line 166) | protected function buildBlacklistPatterns(Crawler $crawler): \Illumina...
method extractLinks (line 174) | protected function extractLinks(string $html, array $baseUrl): array
method fetchResponse (line 224) | protected function fetchResponse(string $currentUrl, ?string $allowedD...
method sendRequest (line 237) | protected function sendRequest(string $url): Response
method nextRedirectUrl (line 249) | protected function nextRedirectUrl(Response $response, string $current...
method isSameDomain (line 280) | protected function isSameDomain(string $url, string $domain): bool
method withoutQuery (line 295) | protected function withoutQuery(string $url): string
method resolveRelativeUrl (line 327) | protected function resolveRelativeUrl(string $relativeUrl, array $base...
FILE: packages/crawler/src/Actions/ImportSitemaps.php
class ImportSitemaps (line 12) | class ImportSitemaps
method import (line 16) | public function import(Crawler $crawler): void
method processSitemap (line 23) | protected function processSitemap(Crawler $crawler, string $url): void
method storeUrls (line 64) | protected function storeUrls(Crawler $crawler, Collection $urls): void
FILE: packages/crawler/src/Actions/ProcessCrawlerState.php
class ProcessCrawlerState (line 10) | class ProcessCrawlerState
method __construct (line 12) | public function __construct(
method process (line 17) | public function process(Crawler $crawler): void
method finished (line 39) | protected function finished(Crawler $crawler): bool
FILE: packages/crawler/src/Actions/StartCrawler.php
class StartCrawler (line 9) | class StartCrawler
method start (line 11) | public function start(Crawler $crawler): void
FILE: packages/crawler/src/Commands/CollectCrawlerStatsCommand.php
class CollectCrawlerStatsCommand (line 10) | class CollectCrawlerStatsCommand extends Command
method handle (line 16) | public function handle(TeamService $teamService): int
FILE: packages/crawler/src/Commands/CrawlUrlsCommand.php
class CrawlUrlsCommand (line 12) | class CrawlUrlsCommand extends Command
method handle (line 18) | public function handle(): int
FILE: packages/crawler/src/Commands/ProcessCrawlerStatesCommand.php
class ProcessCrawlerStatesCommand (line 11) | class ProcessCrawlerStatesCommand extends Command
method handle (line 17) | public function handle(): int
FILE: packages/crawler/src/Commands/ScheduleCrawlersCommand.php
class ScheduleCrawlersCommand (line 11) | class ScheduleCrawlersCommand extends Command
method handle (line 17) | public function handle(StartCrawler $starter): int
FILE: packages/crawler/src/Commands/StartCrawlerCommand.php
class StartCrawlerCommand (line 10) | class StartCrawlerCommand extends Command
method handle (line 16) | public function handle(StartCrawler $starter, TeamService $teamService...
FILE: packages/crawler/src/Enums/State.php
method label (line 15) | public function label(): string
FILE: packages/crawler/src/Enums/Status.php
method label (line 60) | public function label(): string
FILE: packages/crawler/src/Events/CrawlerFinishedEvent.php
class CrawlerFinishedEvent (line 9) | class CrawlerFinishedEvent
method __construct (line 14) | public function __construct(public Crawler $crawler) {}
FILE: packages/crawler/src/Exports/IssuesExport.php
class IssuesExport (line 12) | class IssuesExport implements FromCollection, WithHeadings, WithMapping
method __construct (line 14) | public function __construct(
method collection (line 18) | public function collection(): Collection
method headings (line 23) | public function headings(): array
method map (line 34) | public function map(mixed $row): array
FILE: packages/crawler/src/Http/Controllers/CrawlerController.php
class CrawlerController (line 10) | class CrawlerController extends Controller
method index (line 14) | public function index(Crawler $crawler): mixed
method delete (line 24) | public function delete(Crawler $crawler): mixed
FILE: packages/crawler/src/Jobs/CollectCrawlerStatsJob.php
class CollectCrawlerStatsJob (line 14) | class CollectCrawlerStatsJob implements ShouldBeUniqueUntilProcessing, S...
method __construct (line 21) | public function __construct(
method handle (line 28) | public function handle(CollectCrawlerStats $crawlerStats): void
method uniqueId (line 33) | public function uniqueId(): int
FILE: packages/crawler/src/Jobs/CrawUrlJob.php
class CrawUrlJob (line 14) | class CrawUrlJob implements ShouldBeUnique, ShouldQueue
method __construct (line 21) | public function __construct(
method handle (line 27) | public function handle(CrawlUrl $url): void
method tags (line 32) | public function tags(): array
method uniqueId (line 40) | public function uniqueId(): string
FILE: packages/crawler/src/Jobs/ImportSitemapsJob.php
class ImportSitemapsJob (line 14) | class ImportSitemapsJob implements ShouldBeUnique, ShouldQueue
method __construct (line 21) | public function __construct(
method handle (line 27) | public function handle(ImportSitemaps $sitemaps): void
method uniqueId (line 32) | public function uniqueId(): int
FILE: packages/crawler/src/Jobs/ProcessCrawlerStateJob.php
class ProcessCrawlerStateJob (line 14) | class ProcessCrawlerStateJob implements ShouldBeUnique, ShouldQueue
method __construct (line 21) | public function __construct(
method handle (line 27) | public function handle(ProcessCrawlerState $state): void
method uniqueId (line 32) | public function uniqueId(): int
FILE: packages/crawler/src/Jobs/StartCrawlerJob.php
class StartCrawlerJob (line 15) | class StartCrawlerJob implements ShouldBeUnique, ShouldQueue
method __construct (line 22) | public function __construct(public Crawler $crawler)
method handle (line 27) | public function handle(StartCrawler $starter, TeamService $teamService...
method uniqueId (line 33) | public function uniqueId(): int
FILE: packages/crawler/src/Listeners/CrawlerFinishedListener.php
class CrawlerFinishedListener (line 8) | class CrawlerFinishedListener
method handle (line 10) | public function handle(CrawlerFinishedEvent $event): void
FILE: packages/crawler/src/Livewire/Crawler/Dashboard.php
class Dashboard (line 11) | class Dashboard extends Component
method mount (line 16) | public function mount(int $crawlerId): void
method render (line 21) | public function render(): mixed
FILE: packages/crawler/src/Livewire/CrawlerForm.php
class CrawlerForm (line 14) | class CrawlerForm extends Component
method mount (line 24) | public function mount(?Crawler $crawler, ?int $siteId = null): void
method addListItem (line 48) | public function addListItem(string $field): void
method save (line 55) | #[On('save')]
method getCronSchedule (line 91) | protected function getCronSchedule(): string
method render (line 105) | public function render(): mixed
FILE: packages/crawler/src/Livewire/Crawlers.php
class Crawlers (line 9) | class Crawlers extends Component
method render (line 11) | public function render(): View
FILE: packages/crawler/src/Livewire/Forms/CrawlerForm.php
class CrawlerForm (line 13) | class CrawlerForm extends Form
method rules (line 37) | public function rules(): array
FILE: packages/crawler/src/Livewire/Tables/CrawledUrlsTable.php
class CrawledUrlsTable (line 13) | class CrawledUrlsTable extends BaseTable
method mount (line 24) | public function mount(int $crawlerId): void
method columns (line 29) | protected function columns(): array
method filters (line 43) | protected function filters(): array
method query (line 61) | protected function query(): Builder
FILE: packages/crawler/src/Livewire/Tables/CrawlerTable.php
class CrawlerTable (line 25) | class CrawlerTable extends BaseTable
method columns (line 36) | protected function columns(): array
method filters (line 114) | protected function filters(): array
method actions (line 127) | protected function actions(): array
method link (line 159) | protected function link(Model $model): ?string
FILE: packages/crawler/src/Livewire/Tables/IssuesTable.php
class IssuesTable (line 26) | class IssuesTable extends BaseTable
method mount (line 39) | public function mount(int $crawlerId): void
method columns (line 44) | protected function columns(): array
method actions (line 73) | protected function actions(): array
method generateFilename (line 120) | protected function generateFilename(): string
method filters (line 130) | protected function filters(): array
method query (line 148) | protected function query(): Builder
FILE: packages/crawler/src/Models/CrawledUrl.php
class CrawledUrl (line 34) | #[ObservedBy([TeamObserver::class, CrawledUrlObserver::class])]
method site (line 51) | public function site(): BelongsTo
method team (line 56) | public function team(): BelongsTo
method crawler (line 61) | public function crawler(): BelongsTo
method foundOn (line 66) | public function foundOn(): BelongsTo
method hash (line 71) | public function hash(): void
FILE: packages/crawler/src/Models/Crawler.php
class Crawler (line 36) | #[ObservedBy([TeamObserver::class, CrawlerObserver::class])]
method totalUrlCount (line 52) | public function totalUrlCount(): int
method issueCount (line 59) | public function issueCount(): ?int
method site (line 66) | public function site(): BelongsTo
method team (line 71) | public function team(): BelongsTo
method urls (line 76) | public function urls(): HasMany
method ignoredUrls (line 81) | public function ignoredUrls(): HasMany
FILE: packages/crawler/src/Models/IgnoredUrl.php
class IgnoredUrl (line 20) | #[ObservedBy(IgnoredUrlObserver::class)]
method url (line 27) | public function url(): HasOne
method crawler (line 33) | public function crawler(): BelongsTo
FILE: packages/crawler/src/Notifications/RatelimitedNotification.php
class RatelimitedNotification (line 11) | class RatelimitedNotification extends Notification implements HasSite
method __construct (line 19) | public function __construct(public Crawler $crawler) {}
method title (line 21) | public function title(): string
method info (line 26) | public static function info(): ?string
method viewUrl (line 31) | public function viewUrl(): ?string
method site (line 36) | public function site(): ?Site
method uniqueId (line 41) | public function uniqueId(): string|int
FILE: packages/crawler/src/Notifications/UrlIssuesNotification.php
class UrlIssuesNotification (line 11) | class UrlIssuesNotification extends Notification implements HasSite
method __construct (line 17) | public function __construct(public Crawler $crawler) {}
method title (line 19) | public function title(): string
method info (line 30) | public static function info(): ?string
method viewUrl (line 35) | public function viewUrl(): ?string
method site (line 40) | public function site(): ?Site
method uniqueId (line 45) | public function uniqueId(): string|int
FILE: packages/crawler/src/Observers/CrawledUrlObserver.php
class CrawledUrlObserver (line 8) | class CrawledUrlObserver
method creating (line 10) | public function creating(CrawledUrl $url): void
FILE: packages/crawler/src/Observers/CrawlerObserver.php
class CrawlerObserver (line 8) | class CrawlerObserver
method created (line 10) | public function created(Crawler $crawler): void
FILE: packages/crawler/src/Observers/IgnoredUrlObserver.php
class IgnoredUrlObserver (line 8) | class IgnoredUrlObserver
method created (line 10) | public function created(IgnoredUrl $url): void
FILE: packages/crawler/src/ServiceProvider.php
class ServiceProvider (line 32) | class ServiceProvider extends BaseServiceProvider
method register (line 34) | public function register(): void
method registerConfig (line 40) | protected function registerConfig(): static
method boot (line 47) | public function boot(): void
method bootConfig (line 63) | protected function bootConfig(): static
method bootMigrations (line 72) | protected function bootMigrations(): static
method bootCommands (line 79) | protected function bootCommands(): static
method bootViews (line 94) | protected function bootViews(): static
method bootLivewire (line 101) | protected function bootLivewire(): static
method bootRoutes (line 114) | protected function bootRoutes(): static
method bootEvents (line 124) | protected function bootEvents(): static
method bootNavigation (line 131) | protected function bootNavigation(): static
method bootNotifications (line 138) | protected function bootNotifications(): static
method bootGates (line 156) | protected function bootGates(): static
method bootPolicies (line 165) | protected function bootPolicies(): static
FILE: packages/crawler/src/Validation/EqualDomainRule.php
class EqualDomainRule (line 9) | class EqualDomainRule implements DataAwareRule, InvokableRule
method setData (line 13) | public function setData(array $data): static
method __invoke (line 20) | public function __invoke(string $attribute, mixed $value, Closure $fai...
FILE: packages/crawler/src/Validation/ValidRegexLines.php
class ValidRegexLines (line 8) | class ValidRegexLines implements ValidationRule
method validate (line 10) | public function validate(string $attribute, mixed $value, Closure $fai...
FILE: packages/crawler/tests/Actions/CrawUrlTest.php
class CrawUrlTest (line 14) | class CrawUrlTest extends TestCase
method it_crawls_url (line 16) | #[Test]
method it_handles_malformed_html (line 70) | #[Test]
method it_handles_ratelimiting (line 101) | #[Test]
method it_does_not_insert_blacklisted_urls (line 131) | #[Test]
method it_inserts_all_urls_when_blacklist_is_empty (line 177) | #[Test]
FILE: packages/crawler/tests/Actions/ProcessCrawlerStateTest.php
class ProcessCrawlerStateTest (line 13) | class ProcessCrawlerStateTest extends TestCase
method it_processes_crawling_finished_state (line 15) | #[Test]
FILE: packages/crawler/tests/Actions/StartCrawlerTest.php
class StartCrawlerTest (line 14) | class StartCrawlerTest extends TestCase
method it_starts_crawler (line 16) | #[Test]
method it_starts_sitemap_job (line 38) | #[Test]
FILE: packages/crawler/tests/TestCase.php
class TestCase (line 11) | abstract class TestCase extends BaseTestCase
method setUp (line 15) | protected function setUp(): void
method getPackageProviders (line 22) | protected function getPackageProviders($app): array
method defineEnvironment (line 31) | protected function defineEnvironment($app): void
FILE: packages/cve/database/migrations/2025_04_18_090000_create_cves_table.php
method up (line 9) | public function up(): void
method down (line 27) | public function down(): void
FILE: packages/cve/database/migrations/2025_04_18_100000_create_cve_monitors_table.php
method up (line 11) | public function up(): void
method down (line 25) | public function down(): void
FILE: packages/cve/database/migrations/2025_04_18_103000_create_cve_monitor_matches_table.php
method up (line 11) | public function up(): void
method down (line 23) | public function down(): void
FILE: packages/cve/database/migrations/2025_10_04_135717_add_fulltext_index_to_cves_description.php
method up (line 8) | public function up(): void
method down (line 19) | public function down(): void
FILE: packages/cve/database/migrations/2025_10_04_135739_add_unique_index_to_cve_monitor_matches.php
method up (line 9) | public function up(): void
method down (line 16) | public function down(): void
FILE: packages/cve/src/Actions/ImportAllCves.php
class ImportAllCves (line 8) | class ImportAllCves
method __construct (line 10) | public function __construct(
method import (line 14) | public function import(int $page): void
FILE: packages/cve/src/Actions/ImportCve.php
class ImportCve (line 9) | class ImportCve
method import (line 11) | public function import(array $cve, bool $notify = true): void
FILE: packages/cve/src/Actions/ImportCves.php
class ImportCves (line 9) | class ImportCves
method __construct (line 11) | public function __construct(
method import (line 15) | public function import(?Carbon $from = null): void
FILE: packages/cve/src/Actions/MatchCve.php
class MatchCve (line 9) | class MatchCve
method match (line 11) | public function match(CveMonitor $monitor, Cve $cve): void
FILE: packages/cve/src/Actions/MatchExistingCves.php
class MatchExistingCves (line 8) | class MatchExistingCves
method match (line 10) | public function match(CveMonitor $monitor): void
FILE: packages/cve/src/Commands/ImportAllCvesCommand.php
class ImportAllCvesCommand (line 8) | class ImportAllCvesCommand extends Command
method handle (line 14) | public function handle(): int
FILE: packages/cve/src/Commands/ImportCvesCommand.php
class ImportCvesCommand (line 9) | class ImportCvesCommand extends Command
method handle (line 15) | public function handle(): int
FILE: packages/cve/src/Commands/MatchCveCommand.php
class MatchCveCommand (line 10) | class MatchCveCommand extends Command
method handle (line 16) | public function handle(): int
FILE: packages/cve/src/Commands/MatchExistingCvesCommand.php
class MatchExistingCvesCommand (line 9) | class MatchExistingCvesCommand extends Command
method handle (line 15) | public function handle(): int
FILE: packages/cve/src/Http/Controllers/CveController.php
class CveController (line 10) | class CveController extends Controller
method view (line 12) | public function view(CveMonitor $monitor, Cve $cve): View
FILE: packages/cve/src/Http/Controllers/CveMonitorController.php
class CveMonitorController (line 9) | class CveMonitorController extends Controller
method list (line 11) | public function list(): View
method view (line 22) | public function view(CveMonitor $monitor): View
FILE: packages/cve/src/Jobs/ImportAllCvesJob.php
class ImportAllCvesJob (line 13) | class ImportAllCvesJob implements ShouldBeUnique, ShouldQueue
method __construct (line 24) | public function __construct(protected int $page = 0)
method handle (line 29) | public function handle(ImportAllCves $importer): void
method uniqueId (line 34) | public function uniqueId(): int
method tags (line 39) | public function tags(): array
FILE: packages/cve/src/Jobs/ImportCvesJob.php
class ImportCvesJob (line 14) | class ImportCvesJob implements ShouldBeUnique, ShouldQueue
method __construct (line 25) | public function __construct(protected ?Carbon $from = null)
method handle (line 30) | public function handle(ImportCves $importer): void
method uniqueId (line 35) | public function uniqueId(): string
method tags (line 40) | public function tags(): array
FILE: packages/cve/src/Jobs/MatchCveJob.php
class MatchCveJob (line 16) | class MatchCveJob implements ShouldBeUnique, ShouldQueue
method __construct (line 23) | public function __construct(
method handle (line 30) | public function handle(MatchCve $matcher, TeamService $teamService): void
FILE: packages/cve/src/Jobs/MatchCveMonitorsJob.php
class MatchCveMonitorsJob (line 14) | class MatchCveMonitorsJob implements ShouldBeUnique, ShouldQueue
method __construct (line 21) | public function __construct(
method handle (line 27) | public function handle(): void
method uniqueId (line 36) | public function uniqueId(): int
FILE: packages/cve/src/Jobs/MatchExistingCvesJob.php
class MatchExistingCvesJob (line 15) | class MatchExistingCvesJob implements ShouldBeUnique, ShouldQueue
method __construct (line 22) | public function __construct(
method handle (line 28) | public function handle(MatchExistingCves $matcher, TeamService $teamSe...
FILE: packages/cve/src/Livewire/CveMonitorForm.php
class CveMonitorForm (line 12) | class CveMonitorForm extends Component
method mount (line 22) | public function mount(?CveMonitor $monitor): void
method save (line 36) | public function save(): void
method render (line 61) | public function render(): mixed
FILE: packages/cve/src/Livewire/Forms/CveMonitorForm.php
class CveMonitorForm (line 10) | class CveMonitorForm extends Form
method rules (line 19) | public function rules(): array
FILE: packages/cve/src/Livewire/Tables/CveMonitorMatchesTable.php
class CveMonitorMatchesTable (line 13) | class CveMonitorMatchesTable extends BaseTable
method mount (line 20) | public function mount(CveMonitor $monitor): void
method columns (line 25) | protected function columns(): array
method link (line 43) | protected function link(Model $record): string
method query (line 49) | protected function query(): Builder
FILE: packages/cve/src/Livewire/Tables/CveMonitorTable.php
class CveMonitorTable (line 22) | class CveMonitorTable extends BaseTable
method columns (line 26) | protected function columns(): array
method link (line 58) | protected function link(Model $record): string
method filters (line 63) | protected function filters(): array
method actions (line 76) | protected function actions(): array
method applySelect (line 108) | protected function applySelect(Builder $builder): static
FILE: packages/cve/src/Models/Cve.php
class Cve (line 22) | class Cve extends Model
method matches (line 33) | public function matches(): HasMany
FILE: packages/cve/src/Models/CveMonitor.php
class CveMonitor (line 28) | #[ScopedBy(TeamScope::class)]
method matches (line 38) | public function matches(): HasMany
method site (line 43) | public function site(): BelongsTo
method team (line 48) | public function team(): BelongsTo
FILE: packages/cve/src/Models/CveMonitorMatch.php
class CveMonitorMatch (line 18) | class CveMonitorMatch extends Model
method cve (line 22) | public function cve(): BelongsTo
method cveMonitor (line 27) | public function cveMonitor(): BelongsTo
FILE: packages/cve/src/Notifications/Conditions/KeywordCondition.php
class KeywordCondition (line 10) | class KeywordCondition extends SelectCondition
method options (line 14) | public function options(): array
method applies (line 22) | public function applies(
FILE: packages/cve/src/Notifications/Conditions/ScoreCondition.php
class ScoreCondition (line 9) | class ScoreCondition extends SelectCondition
method options (line 13) | public function options(): array
method operators (line 18) | public function operators(): array
method applies (line 30) | public function applies(
FILE: packages/cve/src/Notifications/CveMatchedNotification.php
class CveMatchedNotification (line 13) | class CveMatchedNotification extends Notification implements HasSite
method __construct (line 31) | public function __construct(public CveMonitor $monitor, public Cve $cv...
method title (line 33) | public function title(): string
method description (line 41) | public function description(): string
method info (line 58) | public static function info(): ?string
method level (line 63) | public function level(): Level
method uniqueId (line 76) | public function uniqueId(): string|int
method site (line 81) | public function site(): ?Site
FILE: packages/cve/src/Observers/CveMonitorObserver.php
class CveMonitorObserver (line 8) | class CveMonitorObserver
method created (line 10) | public function created(CveMonitor $monitor): void
method updated (line 15) | public function updated(CveMonitor $monitor): void
FILE: packages/cve/src/ServiceProvider.php
class ServiceProvider (line 25) | class ServiceProvider extends BaseServiceProvider
method register (line 27) | public function register(): void
method registerConfig (line 33) | protected function registerConfig(): static
method boot (line 40) | public function boot(): void
method bootRoutes (line 55) | protected function bootRoutes(): static
method bootConfig (line 65) | protected function bootConfig(): static
method bootMigrations (line 74) | protected function bootMigrations(): static
method bootCommands (line 81) | protected function bootCommands(): static
method bootViews (line 95) | protected function bootViews(): static
method bootLivewire (line 102) | protected function bootLivewire(): static
method bootNavigation (line 112) | protected function bootNavigation(): static
method bootNotifications (line 119) | protected function bootNotifications(): static
method bootGates (line 133) | protected function bootGates(): static
method bootPolicies (line 144) | protected function bootPolicies(): static
FILE: packages/cve/tests/Actions/ImportAllCvesTest.php
class ImportAllCvesTest (line 13) | class ImportAllCvesTest extends TestCase
method it_imports_full_page_of_cves (line 15) | #[Test]
method it_does_not_dispatch_next_job_for_partial_page (line 56) | #[Test]
method it_uses_correct_pagination_parameters (line 93) | #[Test]
method it_does_not_notify_for_bulk_import (line 114) | #[Test]
method it_handles_empty_response (line 149) | #[Test]
FILE: packages/cve/tests/Actions/ImportCveTest.php
class ImportCveTest (line 12) | class ImportCveTest extends TestCase
method it_imports_cve_with_english_description (line 14) | #[Test]
method it_imports_cve_without_english_description (line 45) | #[Test]
method it_uses_cvss_v2_when_v3_not_available (line 75) | #[Test]
method it_updates_existing_cve (line 103) | #[Test]
method it_dispatches_match_job_for_recent_cves (line 141) | #[Test]
method it_does_not_dispatch_match_job_for_old_cves (line 169) | #[Test]
method it_does_not_dispatch_match_job_when_notify_is_false (line 197) | #[Test]
method it_handles_missing_score (line 225) | #[Test]
FILE: packages/cve/tests/Actions/ImportCvesTest.php
class ImportCvesTest (line 11) | class ImportCvesTest extends TestCase
method it_imports_cves_from_api (line 13) | #[Test]
method it_uses_latest_cve_date_when_from_is_null (line 66) | #[Test]
method it_uses_yesterday_when_no_cves_exist (line 93) | #[Test]
method it_limits_date_range_to_30_days (line 113) | #[Test]
method it_limits_end_date_to_now_when_in_future (line 135) | #[Test]
FILE: packages/cve/tests/Actions/MatchCveTest.php
class MatchCveTest (line 11) | class MatchCveTest extends TestCase
method it_matches_cve_with_keyword (line 13) | #[Test]
method it_does_not_match_cve_without_keyword (line 42) | #[Test]
method it_matches_case_insensitively (line 71) | #[Test]
method it_does_not_create_duplicate_matches (line 100) | #[Test]
method it_matches_partial_keywords (line 130) | #[Test]
FILE: packages/cve/tests/Models/CveMonitorMatchTest.php
class CveMonitorMatchTest (line 11) | class CveMonitorMatchTest extends TestCase
method it_can_create_match (line 13) | #[Test]
method it_belongs_to_cve (line 42) | #[Test]
method it_belongs_to_cve_monitor (line 70) | #[Test]
method it_has_timestamps (line 98) | #[Test]
FILE: packages/cve/tests/Models/CveMonitorTest.php
class CveMonitorTest (line 12) | class CveMonitorTest extends TestCase
method it_can_create_monitor (line 14) | #[Test]
method it_casts_enabled_to_boolean (line 27) | #[Test]
method it_has_matches_relationship (line 38) | #[Test]
method it_can_have_multiple_matches (line 65) | #[Test]
method it_can_be_disabled (line 92) | #[Test]
method it_defaults_enabled_to_false (line 103) | #[Test]
FILE: packages/cve/tests/Models/CveTest.php
class CveTest (line 12) | class CveTest extends TestCase
method it_can_create_cve (line 14) | #[Test]
method it_casts_score_to_float (line 32) | #[Test]
method it_casts_dates_correctly (line 47) | #[Test]
method it_has_matches_relationship (line 63) | #[Test]
method it_handles_null_score (line 92) | #[Test]
method it_stores_json_data (line 107) | #[Test]
FILE: packages/cve/tests/Notifications/CveMatchedNotificationTest.php
class CveMatchedNotificationTest (line 12) | class CveMatchedNotificationTest extends TestCase
method it_creates_notification (line 14) | #[Test]
method it_returns_correct_title (line 40) | #[Test]
method it_returns_correct_description (line 66) | #[Test]
method it_returns_critical_level_for_high_score (line 94) | #[Test]
method it_returns_warning_level_for_medium_score (line 118) | #[Test]
method it_returns_info_level_for_low_score (line 142) | #[Test]
method it_returns_unique_id (line 166) | #[Test]
method it_handles_null_score (line 190) | #[Test]
method it_truncates_long_descriptions (line 217) | #[Test]
FILE: packages/cve/tests/TestCase.php
class TestCase (line 11) | abstract class TestCase extends BaseTestCase
method setUp (line 15) | protected function setUp(): void
method getPackageProviders (line 22) | protected function getPackageProviders($app): array
method defineEnvironment (line 32) | protected function defineEnvironment($app): void
FILE: packages/dns/database/migrations/2024_07_16_073000_create_dns_monitors_table.php
method up (line 11) | public function up(): void
method down (line 27) | public function down(): void
FILE: packages/dns/database/migrations/2024_07_16_073500_create_dns_monitor_history_table.php
method up (line 11) | public function up(): void
method down (line 26) | public function down(): void
FILE: packages/dns/database/migrations/2025_01_23_220000_dns_monitor_value_field_size.php
method up (line 9) | public function up(): void
FILE: packages/dns/database/migrations/2025_02_01_180000_dns_monitor_enabled_field.php
method up (line 9) | public function up(): void
method down (line 16) | public function down(): void
FILE: packages/dns/database/migrations/2025_03_22_090000_dns_monitor_value_field_nullable.php
method up (line 9) | public function up(): void
FILE: packages/dns/src/Actions/CheckDnsRecord.php
class CheckDnsRecord (line 10) | class CheckDnsRecord
method __construct (line 12) | public function __construct(
method check (line 17) | public function check(DnsMonitor $monitor): void
FILE: packages/dns/src/Actions/ResolveGeoIp.php
class ResolveGeoIp (line 8) | class ResolveGeoIp
method resolve (line 10) | public function resolve(DnsMonitor $monitor): void
FILE: packages/dns/src/Actions/ResolveRecord.php
class ResolveRecord (line 9) | class ResolveRecord
method __construct (line 11) | public function __construct(protected DnsClient $client) {}
method resolve (line 13) | public function resolve(Type $type, string $record): ?string
FILE: packages/dns/src/Client/DnsClient.php
class DnsClient (line 10) | class DnsClient
method get (line 12) | public function get(string $record, int|array $type, int $attempt = 0,...
method getNameserver (line 53) | protected function getNameserver(): string
FILE: packages/dns/src/Commands/CheckAllDnsRecordsCommand.php
class CheckAllDnsRecordsCommand (line 10) | class CheckAllDnsRecordsCommand extends Command
method handle (line 16) | public function handle(): int
FILE: packages/dns/src/Commands/CheckDnsRecordCommand.php
class CheckDnsRecordCommand (line 9) | class CheckDnsRecordCommand extends Command
method handle (line 15) | public function handle(): int
FILE: packages/dns/src/Commands/ResolveGeoIpCommand.php
class ResolveGeoIpCommand (line 11) | class ResolveGeoIpCommand extends Command
method handle (line 17) | public function handle(): int
FILE: packages/dns/src/Enums/Type.php
method flag (line 22) | public function flag(): int
method hasParser (line 39) | public function hasParser(): bool
method parser (line 44) | public function parser(): RecordParser
method geoIpableTypes (line 56) | public static function geoIpableTypes(): array
FILE: packages/dns/src/Http/Controllers/DnsMonitorController.php
class DnsMonitorController (line 10) | class DnsMonitorController extends Controller
method delete (line 14) | public function delete(DnsMonitor $monitor): mixed
FILE: packages/dns/src/Jobs/CheckDnsRecordJob.php
class CheckDnsRecordJob (line 14) | class CheckDnsRecordJob implements ShouldBeUnique, ShouldQueue
method __construct (line 21) | public function __construct(
method handle (line 27) | public function handle(CheckDnsRecord $record): void
method uniqueId (line 32) | public function uniqueId(): int
FILE: packages/dns/src/Jobs/ResolveGeoIpJob.php
class ResolveGeoIpJob (line 14) | class ResolveGeoIpJob implements ShouldBeUnique, ShouldQueue
method __construct (line 21) | public function __construct(
method handle (line 27) | public function handle(ResolveGeoIp $geoIp): void
method uniqueId (line 32) | public function uniqueId(): int
FILE: packages/dns/src/Livewire/DnsImport.php
class DnsImport (line 21) | class DnsImport extends Component
method mount (line 37) | public function mount(?int $siteId = null): void
method remove (line 58) | public function remove(int $index): void
method save (line 66) | #[On('save')]
method lookup (line 103) | public function lookup(): void
method render (line 147) | public function render(): View
FILE: packages/dns/src/Livewire/DnsMonitorForm.php
class DnsMonitorForm (line 12) | class DnsMonitorForm extends Component
method mount (line 23) | public function mount(?DnsMonitor $monitor): void
method resolve (line 37) | public function resolve(): void
method save (line 57) | public function save(): void
method render (line 93) | public function render(): mixed
FILE: packages/dns/src/Livewire/DnsMonitorHistory.php
class DnsMonitorHistory (line 9) | class DnsMonitorHistory extends Component
method mount (line 13) | public function mount(DnsMonitor $monitor): void
method render (line 18) | public function render(): View
FILE: packages/dns/src/Livewire/DnsMonitors.php
class DnsMonitors (line 9) | class DnsMonitors extends Component
method render (line 11) | public function render(): View
FILE: packages/dns/src/Livewire/Forms/DnsMonitorForm.php
class DnsMonitorForm (line 13) | class DnsMonitorForm extends Form
method rules (line 26) | public function rules(): array
FILE: packages/dns/src/Livewire/Monitor/Dashboard.php
class Dashboard (line 10) | class Dashboard extends Component
method mount (line 15) | public function mount(int $siteId): void
method render (line 20) | public function render(): mixed
FILE: packages/dns/src/Livewire/Tables/DnsMonitorHistoryTable.php
class DnsMonitorHistoryTable (line 13) | class DnsMonitorHistoryTable extends BaseTable
method mount (line 24) | public function mount(DnsMonitor $monitor): void
method columns (line 29) | protected function columns(): array
method query (line 46) | protected function query(): Builder
FILE: packages/dns/src/Livewire/Tables/DnsMonitorTable.php
class DnsMonitorTable (line 20) | class DnsMonitorTable extends BaseTable
method columns (line 24) | protected function columns(): array
method link (line 53) | protected function link(Model $record): string
method filters (line 58) | protected function filters(): array
method actions (line 71) | protected function actions(): array
FILE: packages/dns/src/Models/DnsMonitor.php
class DnsMonitor (line 32) | #[ObservedBy([TeamObserver::class, GeoipObserver::class])]
method site (line 44) | public function site(): BelongsTo
method history (line 49) | public function history(): HasMany
method lastHistory (line 54) | public function lastHistory(): ?DnsMonitorHistory
FILE: packages/dns/src/Models/DnsMonitorHistory.php
class DnsMonitorHistory (line 28) | #[ObservedBy(TeamObserver::class)]
method monitor (line 42) | public function monitor(): BelongsTo
method prunable (line 47) | public function prunable(): Builder
FILE: packages/dns/src/Notifications/Conditions/RecordTypeCondition.php
class RecordTypeCondition (line 11) | class RecordTypeCondition extends SelectCondition
method options (line 15) | public function options(): array
method operators (line 22) | public function operators(): array
method applies (line 30) | public function applies(Notification $notification, ?string $operand, ...
FILE: packages/dns/src/Notifications/RecordChangedNotification.php
class RecordChangedNotification (line 13) | class RecordChangedNotification extends Notification implements HasSite
method __construct (line 19) | public function __construct(public DnsMonitor $monitor, public DnsMoni...
method title (line 21) | public function title(): string
method description (line 26) | public function description(): string
method info (line 37) | public static function info(): ?string
method level (line 42) | public function level(): Level
method site (line 56) | public function site(): ?Site
method uniqueId (line 61) | public function uniqueId(): string|int
FILE: packages/dns/src/Notifications/RecordNotResolvedNotification.php
class RecordNotResolvedNotification (line 12) | class RecordNotResolvedNotification extends Notification implements HasSite
method __construct (line 18) | public function __construct(public DnsMonitor $monitor, public ?DnsMon...
method title (line 20) | public function title(): string
method description (line 25) | public function description(): string
method info (line 33) | public static function info(): ?string
method site (line 38) | public function site(): ?Site
method uniqueId (line 43) | public function uniqueId(): string|int
FILE: packages/dns/src/Observers/GeoipObserver.php
class GeoipObserver (line 9) | class GeoipObserver
method updating (line 11) | public function updating(DnsMonitor $monitor): void
method created (line 18) | public function created(DnsMonitor $monitor): void
FILE: packages/dns/src/RecordParsers/A.php
class A (line 5) | class A extends RecordParser
FILE: packages/dns/src/RecordParsers/AAAA.php
class AAAA (line 5) | class AAAA extends RecordParser
FILE: packages/dns/src/RecordParsers/CAA.php
class CAA (line 5) | class CAA extends RecordParser
FILE: packages/dns/src/RecordParsers/CNAME.php
class CNAME (line 5) | class CNAME extends RecordParser
FILE: packages/dns/src/RecordParsers/MX.php
class MX (line 5) | class MX extends RecordParser
FILE: packages/dns/src/RecordParsers/NS.php
class NS (line 5) | class NS extends RecordParser
FILE: packages/dns/src/RecordParsers/RecordParser.php
class RecordParser (line 5) | abstract class RecordParser
method parse (line 9) | public function parse(array $result): ?string
FILE: packages/dns/src/RecordParsers/SOA.php
class SOA (line 5) | class SOA extends RecordParser
FILE: packages/dns/src/RecordParsers/TXT.php
class TXT (line 5) | class TXT extends RecordParser
FILE: packages/dns/src/ServiceProvider.php
class ServiceProvider (line 28) | class ServiceProvider extends BaseServiceProvider
method register (line 30) | public function register(): void
method registerConfig (line 36) | protected function registerConfig(): static
method boot (line 43) | public function boot(): void
method bootConfig (line 58) | protected function bootConfig(): static
method bootMigrations (line 67) | protected function bootMigrations(): static
method bootCommands (line 74) | protected function bootCommands(): static
method bootViews (line 87) | protected function bootViews(): static
method bootLivewire (line 94) | protected function bootLivewire(): static
method bootRoutes (line 106) | protected function bootRoutes(): static
method bootNavigation (line 116) | protected function bootNavigation(): static
method bootNotifications (line 123) | protected function bootNotifications(): static
method bootGates (line 143) | protected function bootGates(): static
method bootPolicies (line 152) | protected function bootPolicies(): static
FILE: packages/dns/tests/Actions/CheckDnsRecordTest.php
class CheckDnsRecordTest (line 14) | class CheckDnsRecordTest extends TestCase
method it_does_not_update_when_value_is_unchanged (line 16) | #[Test]
method it_handles_change (line 39) | #[Test]
FILE: packages/dns/tests/TestCase.php
class TestCase (line 11) | abstract class TestCase extends BaseTestCase
method setUp (line 15) | protected function setUp(): void
method getPackageProviders (line 22) | protected function getPackageProviders($app): array
method defineEnvironment (line 31) | protected function defineEnvironment($app): void
FILE: packages/frontend/src/Concerns/DisplaysAlerts.php
type DisplaysAlerts (line 8) | trait DisplaysAlerts
method alert (line 10) | protected function alert(string $title, string $message = '', AlertTyp...
method alertBrowser (line 18) | protected function alertBrowser(string $title, string $message = '', A...
FILE: packages/frontend/src/Enums/AlertType.php
method component (line 12) | public function component(): string
FILE: packages/frontend/src/Http/Livewire/BaseChart.php
class BaseChart (line 9) | abstract class BaseChart extends Component
method data (line 15) | abstract public function data(): array;
method loadChart (line 17) | public function loadChart(): void
method placeholder (line 24) | public function placeholder(): mixed
method render (line 34) | public function render(): View
method defaultOptions (line 45) | public function defaultOptions(): array
method dataset (line 120) | protected function dataset(array $dataset): array
method getColor (line 138) | protected function getColor(string $key): string
method getChartColors (line 164) | protected function getChartColors(): array
method getChartColor (line 184) | protected function getChartColor(int $index): array
method getIdentifier (line 191) | protected function getIdentifier(): string
FILE: packages/frontend/src/Integrations/Table/Actions/InlineAction.php
class InlineAction (line 9) | class InlineAction
method __construct (line 15) | public function __construct(
method visible (line 21) | public function visible(Closure $callback): static
method isVisible (line 28) | public function isVisible(Model $model): bool
FILE: packages/frontend/src/Integrations/Table/ActionsColumn.php
class ActionsColumn (line 8) | class ActionsColumn extends BaseColumn
method actions (line 12) | public function actions(array $actions): static
method render (line 19) | public function render(Model $model): mixed
FILE: packages/frontend/src/Integrations/Table/BaseTable.php
class BaseTable (line 9) | abstract class BaseTable extends LivewireTable
FILE: packages/frontend/src/Integrations/Table/ChartColumn.php
class ChartColumn (line 9) | class ChartColumn extends BaseColumn
method component (line 15) | public function component(string $component): static
method parameters (line 22) | public function parameters(Closure $parameterCallback): static
method render (line 29) | public function render(Model $model): mixed
FILE: packages/frontend/src/Integrations/Table/Concerns/HasInlineActions.php
type HasInlineActions (line 5) | trait HasInlineActions
method runInlineAction (line 7) | public function runInlineAction(string $code, mixed $id): void
FILE: packages/frontend/src/Integrations/Table/DateColumn.php
class DateColumn (line 10) | class DateColumn extends BaseDateColumn
method resolveValue (line 12) | public function resolveValue(Model $model): mixed
FILE: packages/frontend/src/Integrations/Table/GeoIpColumn.php
class GeoIpColumn (line 8) | class GeoIpColumn extends Column
method render (line 10) | public function render(Model $model): mixed
FILE: packages/frontend/src/Integrations/Table/HoverColumn.php
class HoverColumn (line 9) | class HoverColumn extends BaseColumn
method length (line 13) | public function length(int $length): static
method render (line 20) | public function render(Model $model): mixed
FILE: packages/frontend/src/Integrations/Table/LinkColumn.php
class LinkColumn (line 9) | class LinkColumn extends BaseColumn
method link (line 17) | public function link(Closure $linkCallback): static
method text (line 24) | public function text(Closure $textCallback): static
method openInNewTab (line 31) | public function openInNewTab(bool $newTab = true): static
method render (line 38) | public function render(Model $model): mixed
FILE: packages/frontend/src/Integrations/Table/StatusColumn.php
class StatusColumn (line 9) | class StatusColumn extends BaseColumn
method status (line 15) | public function status(Closure $statusCallback): static
method text (line 22) | public function text(Closure $textCallback): static
method render (line 29) | public function render(Model $model): mixed
FILE: packages/frontend/src/ServiceProvider.php
class ServiceProvider (line 7) | class ServiceProvider extends BaseServiceProvider
method boot (line 9) | public function boot(): void
method bootViews (line 16) | protected function bootViews(): static
method bootLivewire (line 23) | protected function bootLivewire(): static
FILE: packages/frontend/src/Traits/CanBeInline.php
type CanBeInline (line 6) | trait CanBeInline
FILE: packages/frontend/src/Validation/CleanDomainValidator.php
class CleanDomainValidator (line 8) | class CleanDomainValidator implements ValidationRule
method validate (line 10) | public function validate(string $attribute, mixed $value, Closure $fai...
method containsUrlSpecificCharacters (line 22) | private function containsUrlSpecificCharacters(string $value): bool
FILE: packages/frontend/src/Validation/CountryCode.php
class CountryCode (line 9) | class CountryCode implements ValidationRule
method __construct (line 11) | public function __construct(
method validate (line 17) | public function validate(string $attribute, mixed $value, Closure $fai...
FILE: packages/frontend/src/Validation/CronExpression.php
class CronExpression (line 9) | class CronExpression implements ValidationRule
method validate (line 11) | public function validate(string $attribute, $value, Closure $fail): void
FILE: packages/frontend/src/Validation/Fqdn.php
class Fqdn (line 8) | class Fqdn implements ValidationRule
method __construct (line 10) | public function __construct(protected bool $allowSubdomains = true) {}
method validate (line 12) | public function validate(string $attribute, mixed $value, Closure $fai...
FILE: packages/frontend/tests/TestCase.php
class TestCase (line 9) | abstract class TestCase extends BaseTestCase
method getPackageProviders (line 13) | protected function getPackageProviders($app): array
method defineEnvironment (line 20) | protected function defineEnvironment($app): void
FILE: packages/healthchecks/database/migrations/2025_11_06_200000_create_healthchecks_table.php
method up (line 11) | public function up(): void
method down (line 34) | public function down(): void
FILE: packages/healthchecks/database/migrations/2025_11_06_201000_create_healthcheck_results_table.php
method up (line 10) | public function up(): void
method down (line 26) | public function down(): void
FILE: packages/healthchecks/database/migrations/2025_11_06_202000_create_healthcheck_metrics_table.php
method up (line 10) | public function up(): void
method down (line 25) | public function down(): void
FILE: packages/healthchecks/database/migrations/2025_11_23_150400_update_healthcheck_results_columns.php
method up (line 9) | public function up(): void
method down (line 19) | public function down(): void
FILE: packages/healthchecks/src/Actions/AggregateMetrics.php
class AggregateMetrics (line 10) | class AggregateMetrics
method handle (line 12) | public function handle(): void
method hourBuckets (line 31) | protected function hourBuckets(Carbon $latestAggregatableHour): Collec...
method aggregateHour (line 59) | protected function aggregateHour(Carbon $hourStart): void
method aggregateGroup (line 93) | protected function aggregateGroup(Collection $metrics): void
method latestAggregatableHourStart (line 129) | protected function latestAggregatableHourStart(): ?Carbon
FILE: packages/healthchecks/src/Actions/CheckHealth.php
class CheckHealth (line 10) | class CheckHealth
method check (line 12) | public function check(Healthcheck $healthcheck): void
FILE: packages/healthchecks/src/Actions/CheckMetric.php
class CheckMetric (line 14) | class CheckMetric
method check (line 16) | public function check(Healthcheck $healthcheck, int $runId): void
method checkIncreasingMetrics (line 35) | protected function checkIncreasingMetrics(Healthcheck $healthcheck, Co...
method calculateMetricIncrease (line 53) | public function calculateMetricIncrease(Healthcheck $healthcheck, stri...
method findBaselineMetricForRange (line 127) | protected function findBaselineMetricForRange(
method detectSpike (line 156) | public function detectSpike(Collection $recentMetrics, float $currentV...
method checkDiskUsage (line 187) | protected function checkDiskUsage(Healthcheck $healthcheck, Collection...
FILE: packages/healthchecks/src/Actions/CheckResult.php
class CheckResult (line 12) | class CheckResult
method check (line 14) | public function check(Healthcheck $healthcheck, int $runId): void
FILE: packages/healthchecks/src/Checks/Checker.php
class Checker (line 14) | abstract class Checker
method check (line 17) | abstract public function check(Healthcheck $healthcheck): int;
method generateRunId (line 19) | protected function generateRunId(Healthcheck $healthcheck): int
method persistResult (line 34) | protected function persistResult(Healthcheck $healthcheck, string $key...
method performHttpCall (line 58) | protected function performHttpCall(Healthcheck $healthcheck, Closure $...
FILE: packages/healthchecks/src/Checks/Endpoint.php
class Endpoint (line 12) | class Endpoint extends Checker
method check (line 14) | public function check(Healthcheck $healthcheck): int
FILE: packages/healthchecks/src/Checks/Module.php
class Module (line 12) | class Module extends Checker
method check (line 14) | public function check(Healthcheck $healthcheck): int
FILE: packages/healthchecks/src/Commands/AggregateMetricsCommand.php
class AggregateMetricsCommand (line 8) | class AggregateMetricsCommand extends Command
method handle (line 14) | public function handle(): int
FILE: packages/healthchecks/src/Commands/CheckHealthcheckCommand.php
class CheckHealthcheckCommand (line 9) | class CheckHealthcheckCommand extends Command
method handle (line 15) | public function handle(): int
FILE: packages/healthchecks/src/Commands/ScheduleHealthchecksCommand.php
class ScheduleHealthchecksCommand (line 10) | class ScheduleHealthchecksCommand extends Command
method handle (line 16) | public function handle(): int
FILE: packages/healthchecks/src/Enums/Type.php
method label (line 19) | public function label(): string
method icon (line 26) | public function icon(): string
method endpoint (line 39) | public function endpoint(): ?string
method checker (line 51) | public function checker(): Checker
method generatesOwnToken (line 61) | public function generatesOwnToken(): bool
method checksResponseKey (line 69) | public function checksResponseKey(): string
method metricsResponseKey (line 77) | public function metricsResponseKey(): string
FILE: packages/healthchecks/src/Http/Controllers/HealthcheckController.php
class HealthcheckController (line 10) | class HealthcheckController extends Controller
method index (line 14) | public function index(Healthcheck $healthcheck): mixed
method delete (line 24) | public function delete(Healthcheck $healthcheck): mixed
FILE: packages/healthchecks/src/Http/Livewire/Charts/MetricChart.php
class MetricChart (line 14) | class MetricChart extends BaseChart
method mount (line 27) | public function mount(array $data): void
method setMetricKey (line 42) | public function setMetricKey(string $key): void
method setDateRange (line 48) | public function setDateRange(string $range): void
method getDateRangeStart (line 54) | protected function getDateRangeStart(): Carbon
method getDateRangeOptions (line 67) | protected function getDateRangeOptions(): array
method getAvailableKeys (line 79) | protected function getAvailableKeys(): Collection
method points (line 92) | protected function points(): Collection
method data (line 106) | public function data(): array
method getIdentifier (line 177) | protected function getIdentifier(): string
method render (line 182) | public function render(): View
FILE: packages/healthchecks/src/Jobs/AggregateMetricsJob.php
class AggregateMetricsJob (line 13) | class AggregateMetricsJob implements ShouldBeUnique, ShouldQueue
method __construct (line 20) | public function __construct()
method handle (line 25) | public function handle(AggregateMetrics $aggregateMetrics): void
method uniqueId (line 30) | public function uniqueId(): string
FILE: packages/healthchecks/src/Jobs/CheckHealthcheckJob.php
class CheckHealthcheckJob (line 15) | class CheckHealthcheckJob implements ShouldBeUnique, ShouldQueue
method __construct (line 22) | public function __construct(public Healthcheck $healthcheck)
method handle (line 27) | public function handle(CheckHealth $checkHealth, TeamService $teamServ...
method uniqueId (line 33) | public function uniqueId(): int
FILE: packages/healthchecks/src/Jobs/CheckMetricJob.php
class CheckMetricJob (line 15) | class CheckMetricJob implements ShouldBeUnique, ShouldQueue
method __construct (line 22) | public function __construct(public Healthcheck $healthcheck, public in...
method handle (line 27) | public function handle(CheckMetric $checkMetric, TeamService $teamServ...
method uniqueId (line 33) | public function uniqueId(): string
FILE: packages/healthchecks/src/Jobs/CheckResultJob.php
class CheckResultJob (line 15) | class CheckResultJob implements ShouldBeUnique, ShouldQueue
method __construct (line 22) | public function __construct(public Healthcheck $healthcheck, public in...
method handle (line 27) | public function handle(CheckResult $result, TeamService $teamService):...
method uniqueId (line 33) | public function uniqueId(): string
FILE: packages/healthchecks/src/Livewire/Forms/HealthcheckForm.php
class HealthcheckForm (line 12) | class HealthcheckForm extends Form
method rules (line 27) | public function rules(): array
method cleanDomain (line 38) | public function cleanDomain(): void
method normalizeEndpoint (line 56) | public function normalizeEndpoint(): void
FILE: packages/healthchecks/src/Livewire/HealthcheckDashboard.php
class HealthcheckDashboard (line 10) | class HealthcheckDashboard extends Component
method mount (line 15) | public function mount(int $healthcheckId): void
method render (line 20) | public function render(): View
FILE: packages/healthchecks/src/Livewire/HealthcheckForm.php
class HealthcheckForm (line 15) | class HealthcheckForm extends Component
method mount (line 26) | public function mount(?Healthcheck $healthcheck, bool $inline = false)...
method save (line 47) | #[On('save')]
method render (line 89) | public function render(): View
FILE: packages/healthchecks/src/Livewire/HealthcheckSetup.php
class HealthcheckSetup (line 10) | class HealthcheckSetup extends Component
method mount (line 17) | public function mount(Healthcheck $healthcheck): void
method render (line 24) | public function render(): View
FILE: packages/healthchecks/src/Livewire/HealthcheckTokenEditor.php
class HealthcheckTokenEditor (line 12) | class HealthcheckTokenEditor extends Component
method mount (line 21) | public function mount(Healthcheck $healthcheck): void
method rules (line 28) | protected function rules(): array
method save (line 35) | public function save(): void
method render (line 59) | public function render(): View
FILE: packages/healthchecks/src/Livewire/Healthchecks.php
class Healthchecks (line 9) | class Healthchecks extends Component
method render (line 11) | public function render(): View
FILE: packages/healthchecks/src/Livewire/Tables/HealthcheckTable.php
class HealthcheckTable (line 18) | class HealthcheckTable extends BaseTable
method columns (line 27) | protected function columns(): array
method filters (line 71) | protected function filters(): array
method actions (line 84) | protected function actions(): array
method link (line 107) | public function link(Model $model): ?string
FILE: packages/healthchecks/src/Livewire/Tables/ResultTable.php
class ResultTable (line 16) | class ResultTable extends BaseTable
method mount (line 27) | public function mount(int $healthcheckId): void
method columns (line 33) | protected function columns(): array
method query (line 65) | protected function query(): Builder
FILE: packages/healthchecks/src/Models/Healthcheck.php
class Healthcheck (line 40) | #[ScopedBy([TeamScope::class])]
method site (line 54) | public function site(): BelongsTo
method team (line 59) | public function team(): BelongsTo
method results (line 64) | public function results(): HasMany
method metrics (line 69) | public function metrics(): HasMany
FILE: packages/healthchecks/src/Models/Metric.php
class Metric (line 23) | class Metric extends Model
method healthcheck (line 36) | public function healthcheck(): BelongsTo
method prunable (line 41) | public function prunable(): Builder
FILE: packages/healthchecks/src/Models/Result.php
class Result (line 26) | class Result extends Model
method healthcheck (line 42) | public function healthcheck(): BelongsTo
method prunable (line 47) | public function prunable(): Builder
FILE: packages/healthchecks/src/Notifications/Conditions/CheckKeyCondition.php
class CheckKeyCondition (line 10) | class CheckKeyCondition extends SelectCondition
method options (line 14) | public function options(): array
method applies (line 24) | public function applies(Notification $notification, ?string $operand, ...
FILE: packages/healthchecks/src/Notifications/Conditions/DiskFullInCondition.php
class DiskFullInCondition (line 10) | class DiskFullInCondition extends Condition
method operators (line 16) | public function operators(): array
method applies (line 26) | public function applies(Notification $notification, ?string $operand, ...
FILE: packages/healthchecks/src/Notifications/Conditions/MetricIncreaseNewValueCondition.php
class MetricIncreaseNewValueCondition (line 10) | class MetricIncreaseNewValueCondition extends Condition
method operators (line 16) | public function operators(): array
method applies (line 26) | public function applies(Notification $notification, ?string $operand, ...
FILE: packages/healthchecks/src/Notifications/Conditions/MetricIncreasePercentCondition.php
class MetricIncreasePercentCondition (line 10) | class MetricIncreasePercentCondition extends Condition
method operators (line 16) | public function operators(): array
method applies (line 26) | public function applies(Notification $notification, ?string $operand, ...
FILE: packages/healthchecks/src/Notifications/Conditions/MetricIncreaseTimeframeCondition.php
class MetricIncreaseTimeframeCondition (line 10) | class MetricIncreaseTimeframeCondition extends SelectCondition
method options (line 19) | public function options(): array
method applies (line 30) | public function applies(Notification $notification, ?string $operand, ...
FILE: packages/healthchecks/src/Notifications/Conditions/MetricKeyCondition.php
class MetricKeyCondition (line 10) | class MetricKeyCondition extends SelectCondition
method options (line 14) | public function options(): array
method operators (line 24) | public function operators(): array
method applies (line 32) | public function applies(Notification $notification, ?string $operand, ...
FILE: packages/healthchecks/src/Notifications/Conditions/MetricUnitCondition.php
class MetricUnitCondition (line 10) | class MetricUnitCondition extends SelectCondition
method options (line 14) | public function options(): array
method applies (line 24) | public function applies(Notification $notification, ?string $operand, ...
FILE: packages/healthchecks/src/Notifications/Conditions/MetricValueCondition.php
class MetricValueCondition (line 10) | class MetricValueCondition extends Condition
method operators (line 16) | public function operators(): array
method applies (line 26) | public function applies(Notification $notification, ?string $operand, ...
FILE: packages/healthchecks/src/Notifications/Conditions/StatusCondition.php
class StatusCondition (line 10) | class StatusCondition extends SelectCondition
method options (line 14) | public function options(): array
method applies (line 22) | public function applies(Notification $notification, ?string $operand, ...
FILE: packages/healthchecks/src/Notifications/DiskUsageNotification.php
class DiskUsageNotification (line 13) | class DiskUsageNotification extends Notification implements HasSite
method __construct (line 34) | public function __construct(
method title (line 42) | public function title(): string
method description (line 49) | public function description(): string
method info (line 65) | public static function info(): ?string
method uniqueId (line 70) | public function uniqueId(): string
method site (line 75) | public function site(): ?Site
FILE: packages/healthchecks/src/Notifications/HealthCheckFailedNotification.php
class HealthCheckFailedNotification (line 14) | class HealthCheckFailedNotification extends Notification implements HasSite
method __construct (line 34) | public function __construct(
method title (line 39) | public function title(): string
method description (line 44) | public function description(): string
method info (line 62) | public static function info(): ?string
method uniqueId (line 67) | public function uniqueId(): string
method site (line 82) | public function site(): ?Site
FILE: packages/healthchecks/src/Notifications/MetricIncreasingNotification.php
class MetricIncreasingNotification (line 14) | class MetricIncreasingNotification extends Notification implements HasSite
method __construct (line 47) | public function __construct(
method title (line 52) | public function title(): string
method description (line 59) | public function description(): string
method info (line 99) | public static function info(): ?string
method uniqueId (line 104) | public function uniqueId(): string
method site (line 109) | public function site(): ?Site
FILE: packages/healthchecks/src/Notifications/MetricNotification.php
class MetricNotification (line 13) | class MetricNotification extends Notification implements HasSite
method __construct (line 39) | public function __construct(
method title (line 43) | public function title(): string
method description (line 50) | public function description(): string
method info (line 63) | public static function info(): ?string
method uniqueId (line 68) | public function uniqueId(): string
method site (line 73) | public function site(): ?Site
FILE: packages/healthchecks/src/Notifications/MetricSpikeNotification.php
class MetricSpikeNotification (line 13) | class MetricSpikeNotification extends Notification implements HasSite
method __construct (line 40) | public function __construct(
method title (line 45) | public function title(): string
method description (line 52) | public function description(): string
method info (line 80) | public static function info(): ?string
method uniqueId (line 85) | public function uniqueId(): string
method site (line 90) | public function site(): ?Site
FILE: packages/healthchecks/src/Observers/HealthcheckObserver.php
class HealthcheckObserver (line 9) | class HealthcheckObserver
method creating (line 11) | public function creating(Healthcheck $healthcheck): void
method created (line 18) | public function created(Healthcheck $healthcheck): void
FILE: packages/healthchecks/src/ServiceProvider.php
class ServiceProvider (line 39) | class ServiceProvider extends BaseServiceProvider
method register (line 41) | public function register(): void
method registerConfig (line 47) | protected function registerConfig(): static
method boot (line 54) | public function boot(): void
method bootConfig (line 69) | protected function bootConfig(): static
method bootMigrations (line 78) | protected function bootMigrations(): static
method bootCommands (line 85) | protected function bootCommands(): static
method bootViews (line 98) | protected function bootViews(): static
method bootLivewire (line 105) | protected function bootLivewire(): static
method bootRoutes (line 118) | protected function bootRoutes(): static
method bootNavigation (line 132) | protected function bootNavigation(): static
method bootNotifications (line 139) | protected function bootNotifications(): static
method bootGates (line 177) | protected function bootGates(): static
method bootPolicies (line 186) | protected function bootPolicies(): static
FILE: packages/healthchecks/tests/Actions/AggregateMetricsTest.php
class AggregateMetricsTest (line 14) | class AggregateMetricsTest extends TestCase
method test_it_aggregates_metrics_older_than_the_last_hour (line 16) | public function test_it_aggregates_metrics_older_than_the_last_hour():...
FILE: packages/healthchecks/tests/Actions/CheckMetricTest.php
class CheckMetricTest (line 18) | class CheckMetricTest extends TestCase
method it_does_nothing_when_no_metrics_exist (line 20) | #[Test]
method it_detects_metric_spike (line 43) | #[Test]
method it_detects_long_term_metric_increase (line 96) | #[Test]
method it_only_checks_configured_timeframes (line 157) | #[Test]
method it_notifies_when_disk_usage_is_increasing (line 234) | #[Test]
FILE: packages/healthchecks/tests/Actions/CheckResultTest.php
class CheckResultTest (line 16) | class CheckResultTest extends TestCase
method it_notifies_when_unhealthy (line 18) | #[Test]
method it_sets_status_to_warning_when_results_have_warnings (line 60) | #[Test]
method it_does_not_notify_when_all_results_are_healthy (line 102) | #[Test]
method fakeNotification (line 139) | private function fakeNotification(string $notificationClass): void
method assertNotificationNotDispatched (line 149) | private function assertNotificationNotDispatched(string $notificationC...
method assertNotificationDispatched (line 160) | private function assertNotificationDispatched(string $notificationClas...
method notificationDispatches (line 188) | private function notificationDispatches(string $notificationClass): array
method resetNotificationFakes (line 202) | private function resetNotificationFakes(string $notificationClass): void
FILE: packages/healthchecks/tests/TestCase.php
class TestCase (line 11) | abstract class TestCase extends BaseTestCase
method getPackageProviders (line 15) | protected function getPackageProviders($app): array
method defineEnvironment (line 25) | protected function defineEnvironment($app): void
method setUp (line 35) | protected function setUp(): void
FILE: packages/lighthouse/database/migrations/2024_05_11_105500_create_lighthouse_sites_table.php
method up (line 11) | public function up(): void
method down (line 27) | public function down(): void
FILE: packages/lighthouse/database/migrations/2024_05_11_120000_create_lighthouse_results_table.php
method up (line 10) | public function up(): void
method down (line 31) | public function down(): void
FILE: packages/lighthouse/database/migrations/2024_05_17_073000_lighthouse_results_aggregated_field_table.php
method up (line 9) | public function up(): void
method down (line 16) | public function down(): void
FILE: packages/lighthouse/database/migrations/2024_06_22_160000_create_lighthouse_result_audits_table.php
method up (line 11) | public function up(): void
method down (line 37) | public function down(): void
FILE: packages/lighthouse/database/migrations/2024_07_13_200000_lighthouse_site_rename_table.php
method up (line 9) | public function up(): void
method down (line 20) | public function down(): void
FILE: packages/lighthouse/database/migrations/2025_02_01_173000_lighthouse_monitors_enabled_field.php
method up (line 9) | public function up(): void
method down (line 16) | public function down(): void
FILE: packages/lighthouse/database/migrations/2025_02_03_190000_lighthouse_monitors_next_run_field.php
method up (line 10) | public function up(): void
method down (line 21) | public function down(): void
FILE: packages/lighthouse/database/migrations/2025_02_07_210000_lighthouse_monitors_batch_fields.php
method up (line 9) | public function up(): void
method down (line 16) | public function down(): void
FILE: packages/lighthouse/database/migrations/2025_03_19_200000_lighthouse_monitors_run_started_at_field.php
method up (line 9) | public function up(): void
method down (line 16) | public function down(): void
FILE: packages/lighthouse/src/Actions/AggregateLighthouseBatch.php
class AggregateLighthouseBatch (line 11) | class AggregateLighthouseBatch
method aggregateBatch (line 13) | public function aggregateBatch(LighthouseMonitor $monitor, string $bat...
FILE: packages/lighthouse/src/Actions/AggregateResults.php
class AggregateResults (line 10) | class AggregateResults
method aggregate (line 12) | public function aggregate(LighthouseMonitor $site, Carbon $from, Carbo...
FILE: packages/lighthouse/src/Actions/CalculateTimeDifference.php
class CalculateTimeDifference (line 10) | class CalculateTimeDifference
method calculate (line 12) | public function calculate(LighthouseMonitor $monitor, Carbon $from, fl...
FILE: packages/lighthouse/src/Actions/CheckLighthouseResult.php
class CheckLighthouseResult (line 11) | class CheckLighthouseResult
method __construct (line 20) | public function __construct(protected CheckLighthouseResultAudit $chec...
method check (line 22) | public function check(LighthouseResult $result): void
method averageResults (line 55) | protected function averageResults(int $lighthouseSiteId, int $count, i...
FILE: packages/lighthouse/src/Actions/CheckLighthouseResultAudit.php
class CheckLighthouseResultAudit (line 9) | class CheckLighthouseResultAudit
method check (line 11) | public function check(LighthouseResultAudit $audit): void
method averageNumericValue (line 57) | protected function averageNumericValue(LighthouseResultAudit $audit, i...
FILE: packages/lighthouse/src/Actions/ProcessLighthouseResult.php
class ProcessLighthouseResult (line 10) | class ProcessLighthouseResult
method process (line 12) | public function process(LighthouseMonitor $monitor, string $batchId, a...
FILE: packages/lighthouse/src/Actions/RunLighthouse.php
class RunLighthouse (line 9) | class RunLighthouse
method __construct (line 11) | public function __construct(protected CheckLighthouseResult $lighthous...
method run (line 13) | public function run(LighthouseMonitor $monitor, ?string $batchId): void
method getAvailableWorker (line 45) | public function getAvailableWorker(): ?string
FILE: packages/lighthouse/src/Commands/AggregateLighthouseBatchCommand.php
class AggregateLighthouseBatchCommand (line 10) | class AggregateLighthouseBatchCommand extends Command
method handle (line 16) | public function handle(AggregateLighthouseBatch $aggregator, TeamServi...
FILE: packages/lighthouse/src/Commands/AggregateLighthouseResultsCommand.php
class AggregateLighthouseResultsCommand (line 10) | class AggregateLighthouseResultsCommand extends Command
method handle (line 16) | public function handle(): int
FILE: packages/lighthouse/src/Commands/CheckLighthouseCommand.php
class CheckLighthouseCommand (line 10) | class CheckLighthouseCommand extends Command
method handle (line 16) | public function handle(CheckLighthouseResult $lighthouseResult, TeamSe...
FILE: packages/lighthouse/src/Commands/LighthouseCommand.php
class LighthouseCommand (line 9) | class LighthouseCommand extends Command
method handle (line 15) | public function handle(): int
FILE: packages/lighthouse/src/Commands/ScheduleLighthouseCommand.php
class ScheduleLighthouseCommand (line 11) | class ScheduleLighthouseCommand extends Command
method handle (line 17) | public function handle(): int
FILE: packages/lighthouse/src/Data/CategoryResultDifferenceData.php
class CategoryResultDifferenceData (line 7) | class CategoryResultDifferenceData extends Data
method performanceOld (line 23) | public function performanceOld(): float
method performanceNew (line 28) | public function performanceNew(): float
method performanceDifference (line 33) | public function performanceDifference(): float
method accessibilityOld (line 38) | public function accessibilityOld(): float
method accessibilityNew (line 43) | public function accessibilityNew(): float
method accessibilityDifference (line 48) | public function accessibilityDifference(): float
method bestPracticesOld (line 53) | public function bestPracticesOld(): float
method bestPracticesNew (line 58) | public function bestPracticesNew(): float
method bestPracticesDifference (line 63) | public function bestPracticesDifference(): float
method seoOld (line 68) | public function seoOld(): float
method seoNew (line 73) | public function seoNew(): float
method seoDifference (line 78) | public function seoDifference(): float
method averageDifference (line 83) | public function averageDifference(): float
method calculateDifference (line 93) | protected function calculateDifference(float $old, float $new): float
FILE: packages/lighthouse/src/Http/Controllers/LighthouseCallbackController.php
class LighthouseCallbackController (line 11) | class LighthouseCallbackController extends Controller
method result (line 13) | public function result(
FILE: packages/lighthouse/src/Http/Controllers/LighthouseMonitorController.php
class LighthouseMonitorController (line 12) | class LighthouseMonitorController extends Controller
method index (line 16) | public function index(LighthouseMonitor $monitor): mixed
method delete (line 81) | public function delete(LighthouseMonitor $monitor): mixed
FILE: packages/lighthouse/src/Http/Controllers/LighthouseResultController.php
class LighthouseResultController (line 9) | class LighthouseResultController extends Controller
method index (line 11) | public function index(LighthouseResult $result): View
FILE: packages/lighthouse/src/Jobs/AggregateLighthouseBatchJob.php
class AggregateLighthouseBatchJob (line 15) | class AggregateLighthouseBatchJob implements ShouldBeUnique, ShouldQueue
method __construct (line 22) | public function __construct(public LighthouseMonitor $site, public str...
method handle (line 27) | public function handle(TeamService $teamService, AggregateLighthouseBa...
method uniqueId (line 35) | public function uniqueId(): int
FILE: packages/lighthouse/src/Jobs/AggregateLighthouseResultsJob.php
class AggregateLighthouseResultsJob (line 16) | class AggregateLighthouseResultsJob implements ShouldBeUnique, ShouldQueue
method __construct (line 23) | public function __construct(
method handle (line 31) | public function handle(AggregateResults $aggregateResults, TeamService...
method uniqueId (line 41) | public function uniqueId(): string
FILE: packages/lighthouse/src/Jobs/CheckLighthouseResultJob.php
class CheckLighthouseResultJob (line 15) | class CheckLighthouseResultJob implements ShouldBeUnique, ShouldQueue
method __construct (line 22) | public function __construct(public LighthouseResult $result)
method handle (line 27) | public function handle(CheckLighthouseResult $checker, TeamService $te...
method uniqueId (line 33) | public function uniqueId(): int
FILE: packages/lighthouse/src/Jobs/RunLighthouseJob.php
class RunLighthouseJob (line 15) | class RunLighthouseJob implements ShouldBeUniqueUntilProcessing, ShouldQ...
method __construct (line 22) | public function __construct(public LighthouseMonitor $site, public ?st...
method handle (line 27) | public function handle(RunLighthouse $lighthouse, TeamService $teamSer...
method uniqueId (line 33) | public function uniqueId(): int
FILE: packages/lighthouse/src/Livewire/Charts/LighthouseCategoriesChart.php
class LighthouseCategoriesChart (line 14) | #[Lazy]
method mount (line 23) | public function mount(array $data): void
method data (line 32) | public function data(): array
method getIdentifier (line 104) | protected function getIdentifier(): string
FILE: packages/lighthouse/src/Livewire/Charts/NumericLighthouseChart.php
class NumericLighthouseChart (line 14) | #[Lazy]
method mount (line 26) | public function mount(array $data): void
method data (line 35) | public function data(): array
method getIdentifier (line 98) | protected function getIdentifier(): string
FILE: packages/lighthouse/src/Livewire/Forms/LighthouseSiteForm.php
class LighthouseSiteForm (line 11) | class LighthouseSiteForm extends Form
method getRules (line 27) | public function getRules(): array
FILE: packages/lighthouse/src/Livewire/LighthouseSiteForm.php
class LighthouseSiteForm (line 13) | class LighthouseSiteForm extends Component
method mount (line 23) | public function mount(?LighthouseMonitor $monitor): void
method save (line 40) | #[On('save')]
method render (line 68) | public function render(): mixed
FILE: packages/lighthouse/src/Livewire/LighthouseSites.php
class LighthouseSites (line 8) | class LighthouseSites extends Component
method render (line 10) | public function render(): mixed
FILE: packages/lighthouse/src/Livewire/Monitor/Dashboard.php
class Dashboard (line 10) | class Dashboard extends Component
method mount (line 15) | public function mount(int $monitorId): void
method render (line 20) | public function render(): mixed
FILE: packages/lighthouse/src/Livewire/Tables/LighthouseMonitorsTable.php
class LighthouseMonitorsTable (line 21) | class LighthouseMonitorsTable extends BaseTable
method columns (line 25) | protected function columns(): array
method scoreDisplay (line 86) | public static function scoreDisplay(?float $value): string
method filters (line 103) | protected function filters(): array
method actions (line 116) | protected function actions(): array
method appliedQuery (line 143) | protected function appliedQuery(): Builder
method link (line 158) | protected function link(Model $model): ?string
FILE: packages/lighthouse/src/Livewire/Tables/LighthouseResultAuditsTable.php
class LighthouseResultAuditsTable (line 13) | class LighthouseResultAuditsTable extends BaseTable
method mount (line 20) | public function mount(int $resultId): void
method columns (line 25) | protected function columns(): array
method query (line 56) | protected function query(): Builder
FILE: packages/lighthouse/src/Livewire/Tables/LighthouseResultsTable.php
class LighthouseResultsTable (line 13) | class LighthouseResultsTable extends BaseTable
method mount (line 24) | public function mount(int $monitorId): void
method columns (line 29) | protected function columns(): array
method scoreDisplay (line 57) | protected function scoreDisplay(?float $value): string
method link (line 74) | protected function link(Model $model): ?string
method query (line 79) | protected function query(): Builder
FILE: packages/lighthouse/src/Models/LighthouseMonitor.php
class LighthouseMonitor (line 33) | #[ObservedBy([TeamObserver::class, LighthouseMonitorObserver::class])]
method site (line 46) | public function site(): BelongsTo
method lighthouseResults (line 51) | public function lighthouseResults(): HasMany
FILE: packages/lighthouse/src/Models/LighthouseResult.php
class LighthouseResult (line 32) | #[ObservedBy([TeamObserver::class])]
method lighthouseSite (line 45) | public function lighthouseSite(): BelongsTo
method audits (line 50) | public function audits(): HasMany
method prunable (line 55) | public function prunable(): Builder
FILE: packages/lighthouse/src/Models/LighthouseResultAudit.php
class LighthouseResultAudit (line 34) | #[ObservedBy([TeamObserver::class])]
method lighthouseResult (line 47) | public function lighthouseResult(): BelongsTo
FILE: packages/lighthouse/src/Notifications/CategoryScoreChangedNotification.php
class CategoryScoreChangedNotification (line 13) | class CategoryScoreChangedNotification extends Notification implements H...
method __construct (line 31) | public function __construct(
method title (line 36) | public function title(): string
method description (line 43) | public function description(): string
method info (line 67) | public static function info(): ?string
method level (line 72) | public function level(): Level
method mostlyNegative (line 79) | protected function mostlyNegative(): bool
method uniqueId (line 84) | public function uniqueId(): string|int
method site (line 89) | public function site(): ?Site
FILE: packages/lighthouse/src/Notifications/Conditions/Audit/AuditChangesCondition.php
class AuditChangesCondition (line 9) | class AuditChangesCondition extends Condition
method operands (line 13) | public function operands(): array
method operators (line 18) | public function operators(): array
method applies (line 26) | public function applies(
FILE: packages/lighthouse/src/Notifications/Conditions/Audit/AuditDecreasesCondition.php
class AuditDecreasesCondition (line 9) | class AuditDecreasesCondition extends Condition
method operands (line 13) | public function operands(): array
method operators (line 18) | public function operators(): array
method applies (line 26) | public function applies(
FILE: packages/lighthouse/src/Notifications/Conditions/Audit/AuditIncreasesCondition.php
class AuditIncreasesCondition (line 9) | class AuditIncreasesCondition extends Condition
method operands (line 13) | public function operands(): array
method operators (line 18) | public function operators(): array
method applies (line 26) | public function applies(
FILE: packages/lighthouse/src/Notifications/Conditions/Audit/AuditPercentCondition.php
class AuditPercentCondition (line 9) | class AuditPercentCondition extends Condition
method operands (line 13) | public function operands(): array
method operators (line 21) | public function operators(): array
method applies (line 33) | public function applies(
FILE: packages/lighthouse/src/Notifications/Conditions/Audit/AuditTypeCondition.php
class AuditTypeCondition (line 10) | class AuditTypeCondition extends SelectCondition
method operators (line 14) | public function operators(): array
method applies (line 22) | public function applies(
method options (line 39) | public function options(): array
FILE: packages/lighthouse/src/Notifications/Conditions/Audit/AuditValueCondition.php
class AuditValueCondition (line 9) | class AuditValueCondition extends Condition
method operands (line 13) | public function operands(): array
method operators (line 21) | public function operators(): array
method applies (line 33) | public function applies(
FILE: packages/lighthouse/src/Notifications/Conditions/Category/AccessibilityPercentScoreCondition.php
class AccessibilityPercentScoreCondition (line 7) | class AccessibilityPercentScoreCondition extends ScoreCondition
method score (line 11) | protected function score(CategoryScoreChangedNotification $notificatio...
FILE: packages/lighthouse/src/Notifications/Conditions/Category/AccessibilityScoreDecreasesCondition.php
class AccessibilityScoreDecreasesCondition (line 9) | class AccessibilityScoreDecreasesCondition extends Condition
method operands (line 13) | public function operands(): array
method operators (line 18) | public function operators(): array
method applies (line 26) | public function applies(
FILE: packages/lighthouse/src/Notifications/Conditions/Category/AccessibilityScoreIncreasesCondition.php
class AccessibilityScoreIncreasesCondition (line 9) | class AccessibilityScoreIncreasesCondition extends Condition
method operands (line 13) | public function operands(): array
method operators (line 18) | public function operators(): array
method applies (line 26) | public function applies(
FILE: packages/lighthouse/src/Notifications/Conditions/Category/AccessibilityScoreValueCondition.php
class AccessibilityScoreValueCondition (line 9) | class AccessibilityScoreValueCondition extends Condition
method operands (line 13) | public function operands(): array
method operators (line 21) | public function operators(): array
method applies (line 33) | public function applies(
FILE: packages/lighthouse/src/Notifications/Conditions/Category/AverageScoreChangesCondition.php
class AverageScoreChangesCondition (line 9) | class AverageScoreChangesCondition extends Condition
method operands (line 13) | public function operands(): array
method operators (line 18) | public function operators(): array
method applies (line 26) | public function applies(
FILE: packages/lighthouse/src/Notifications/Conditions/Category/AverageScoreCondition.php
class AverageScoreCondition (line 9) | class AverageScoreCondition extends Condition
method operands (line 13) | public function operands(): array
method operators (line 21) | public function operators(): array
method applies (line 33) | public function applies(
FILE: packages/lighthouse/src/Notifications/Conditions/Category/AverageScoreDecreasesCondition.php
class AverageScoreDecreasesCondition (line 9) | class AverageScoreDecreasesCondition extends Condition
method operands (line 13) | public function operands(): array
method operators (line 18) | public function operators(): array
method applies (line 26) | public function applies(
FILE: packages/lighthouse/src/Notifications/Conditions/Category/AverageScoreIncreasesCondition.php
class AverageScoreIncreasesCondition (line 9) | class AverageScoreIncreasesCondition extends Condition
method operands (line 13) | public function operands(): array
method operators (line 18) | public function operators(): array
method applies (line 26) | public function applies(
FILE: packages/lighthouse/src/Notifications/Conditions/Category/AverageScoreValueCondition.php
class AverageScoreValueCondition (line 9) | class AverageScoreValueCondition extends Condition
method operands (line 13) | public function operands(): array
method operators (line 21) | public function operators(): array
method applies (line 33) | public function applies(
FILE: packages/lighthouse/src/Notifications/Conditions/Category/BestPracticesPercentScoreCondition.php
class BestPracticesPercentScoreCondition (line 7) | class BestPracticesPercentScoreCondition extends ScoreCondition
method score (line 11) | protected function score(CategoryScoreChangedNotification $notificatio...
FILE: packages/lighthouse/src/Notifications/Conditions/Category/BestPracticesScoreDecreasesCondition.php
class BestPracticesScoreDecreasesCondition (line 9) | class BestPracticesScoreDecreasesCondition extends Condition
method operands (line 13) | public function operands(): array
method operators (line 18) | public function operators(): array
method applies (line 26) | public function applies(
FILE: packages/lighthouse/src/Notifications/Conditions/Category/BestPracticesScoreIncreasesCondition.php
class BestPracticesScoreIncreasesCondition (line 9) | class BestPracticesScoreIncreasesCondition extends Condition
method operands (line 13) | public function operands(): array
method operators (line 18) | public function operators(): array
method applies (line 26) | public function applies(
FILE: packages/lighthouse/src/Notifications/Conditions/Category/BestPracticesScoreValueCondition.php
class BestPracticesScoreValueCondition (line 9) | class BestPracticesScoreValueCondition extends Condition
method operands (line 13) | public function operands(): array
method operators (line 21) | public function operators(): array
method applies (line 33) | public function applies(
FILE: packages/lighthouse/src/Notifications/Conditions/Category/PerformancePercentScoreCondition.php
class PerformancePercentScoreCondition (line 7) | class PerformancePercentScoreCondition extends ScoreCondition
method score (line 11) | protected function score(CategoryScoreChangedNotification $notificatio...
FILE: packages/lighthouse/src/Notifications/Conditions/Category/PerformanceScoreDecreasesCondition.php
class PerformanceScoreDecreasesCondition (line 9) | class PerformanceScoreDecreasesCondition extends Condition
method operands (line 13) | public function operands(): array
method operators (line 18) | public function operators(): array
method applies (line 26) | public function applies(
FILE: packages/lighthouse/src/Notifications/Conditions/Category/PerformanceScoreIncreasesCondition.php
class PerformanceScoreIncreasesCondition (line 9) | class PerformanceScoreIncreasesCondition extends Condition
method operands (line 13) | public function operands(): array
method operators (line 18) | public function operators(): array
method applies (line 26) | public function applies(
FILE: packages/lighthouse/src/Notifications/Conditions/Category/PerformanceScoreValueCondition.php
class PerformanceScoreValueCondition (line 9) | class PerformanceScoreValueCondition extends Condition
method operands (line 13) | public function operands(): array
method operators (line 21) | public function operators(): array
method applies (line 33) | public function applies(
FILE: packages/lighthouse/src/Notifications/Conditions/Category/ScoreCondition.php
class ScoreCondition (line 9) | abstract class ScoreCondition extends Condition
method operands (line 13) | public function operands(): array
method operators (line 21) | public function operators(): array
method applies (line 33) | public function applies(
method score (line 58) | abstract protected function score(CategoryScoreChangedNotification $no...
FILE: packages/lighthouse/src/Notifications/Conditions/Category/SeoPercentPercentScoreCondition.php
class SeoPercentPercentScoreCondition (line 7) | class SeoPercentPercentScoreCondition extends ScoreCondition
method score (line 11) | protected function score(CategoryScoreChangedNotification $notificatio...
FILE: packages/lighthouse/src/Notifications/Conditions/Category/SeoScoreDecreasesCondition.php
class SeoScoreDecreasesCondition (line 9) | class SeoScoreDecreasesCondition extends Condition
method operands (line 13) | public function operands(): array
method operators (line 18) | public function operators(): array
method applies (line 26) | public function applies(
FILE: packages/lighthouse/src/Notifications/Conditions/Category/SeoScoreIncreasesCondition.php
class SeoScoreIncreasesCondition (line 9) | class SeoScoreIncreasesCondition extends Condition
method operands (line 13) | public function operands(): array
method operators (line 18) | public function operators(): array
method applies (line 26) | public function applies(
FILE: packages/lighthouse/src/Notifications/Conditions/Category/SeoScoreValueCondition.php
class SeoScoreValueCondition (line 9) | class SeoScoreValueCondition extends Condition
method operands (line 13) | public function operands(): array
method operators (line 21) | public function operators(): array
method applies (line 33) | public function applies(
FILE: packages/lighthouse/src/Notifications/NumericAuditChangedNotification.php
class NumericAuditChangedNotification (line 12) | class NumericAuditChangedNotification extends Notification implements Ha...
method __construct (line 32) | public function __construct(
method title (line 39) | public function title(): string
method description (line 48) | public function description(): string
method info (line 56) | public static function info(): ?string
method site (line 61) | public function site(): ?Site
method uniqueId (line 66) | public function uniqueId(): string|int
method roundRawValue (line 71) | protected function roundRawValue(float $rawValue): float
FILE: packages/lighthouse/src/Observers/LighthouseMonitorObserver.php
class LighthouseMonitorObserver (line 8) | class LighthouseMonitorObserver
method created (line 10) | public function created(LighthouseMonitor $monitor): void
FILE: packages/lighthouse/src/ServiceProvider.php
class ServiceProvider (line 58) | class ServiceProvider extends BaseServiceProvider
method register (line 60) | public function register(): void
method registerConfig (line 66) | protected function registerConfig(): static
method boot (line 73) | public function boot(): void
method bootConfig (line 88) | protected function bootConfig(): static
method bootMigrations (line 97) | protected function bootMigrations(): static
method bootCommands (line 104) | protected function bootCommands(): static
method bootViews (line 119) | protected function bootViews(): static
method bootLivewire (line 126) | protected function bootLivewire(): static
method bootRoutes (line 141) | protected function bootRoutes(): static
method bootNavigation (line 154) | protected function bootNavigation(): static
method bootNotifications (line 161) | protected function bootNotifications(): static
method bootGates (line 211) | protected function bootGates(): static
method bootPolicies (line 222) | protected function bootPolicies(): static
FILE: packages/lighthouse/tests/Actions/AggregateResultsTest.php
class AggregateResultsTest (line 10) | class AggregateResultsTest extends TestCase
method it_aggregates_result (line 12) | #[Test]
FILE: packages/lighthouse/tests/Actions/CalculateTimeDifferenceTest.php
class CalculateTimeDifferenceTest (line 10) | class CalculateTimeDifferenceTest extends TestCase
method it_calculates_difference (line 12) | #[Test]
FILE: packages/lighthouse/tests/Actions/CheckLighthouseResultAuditTest.php
class CheckLighthouseResultAuditTest (line 13) | class CheckLighthouseResultAuditTest extends TestCase
method it_dispatches_notification (line 15) | #[Test]
FILE: packages/lighthouse/tests/Actions/CheckLighthouseResultTest.php
class CheckLighthouseResultTest (line 14) | class CheckLighthouseResultTest extends TestCase
method it_dispatches_notification (line 16) | #[Test]
FILE: packages/lighthouse/tests/Actions/RunLighthouseTest.php
class RunLighthouseTest (line 12) | class RunLighthouseTest extends TestCase
method it_runs_lighthouse (line 14) | #[Test]
method it_gets_worker (line 46) | #[Test]
FILE: packages/lighthouse/tests/Data/CategoryResultDifferenceDataTest.php
class CategoryResultDifferenceDataTest (line 9) | class CategoryResultDifferenceDataTest extends TestCase
method test_calculations (line 11) | #[Test]
FILE: packages/lighthouse/tests/Notifications/Conditions/Audit/AuditChangeConditionsTest.php
class AuditChangeConditionsTest (line 15) | class AuditChangeConditionsTest extends TestCase
method it_checks_audit_increases (line 17) | #[Test]
method it_checks_audit_decreases (line 32) | #[Test]
method it_checks_audit_changes_either_direction (line 47) | #[Test]
method it_does_not_trigger_increase_on_decrease (line 63) | #[Test]
method it_does_not_trigger_decrease_on_increase (line 72) | #[Test]
method makeNotification (line 81) | protected function makeNotification(float $previous, float $current, f...
FILE: packages/lighthouse/tests/Notifications/Conditions/Audit/AuditValueConditionTest.php
class AuditValueConditionTest (line 13) | class AuditValueConditionTest extends TestCase
method it_checks_new_value_greater_than_threshold (line 15) | #[Test]
method it_checks_new_value_less_than_threshold (line 27) | #[Test]
method it_checks_old_value_greater_than_threshold (line 39) | #[Test]
method it_checks_old_value_less_than_threshold (line 51) | #[Test]
method it_checks_equality (line 63) | #[Test]
method makeNotification (line 75) | protected function makeNotification(float $previous, float $current, f...
FILE: packages/lighthouse/tests/Notifications/Conditions/Category/AverageScoreChangeConditionsTest.php
class AverageScoreChangeConditionsTest (line 15) | class AverageScoreChangeConditionsTest extends TestCase
method it_checks_score_increases (line 17) | #[Test]
method it_checks_score_decreases (line 32) | #[Test]
method it_checks_score_changes_either_direction (line 47) | #[Test]
method it_does_not_trigger_increase_on_decrease (line 63) | #[Test]
method it_does_not_trigger_decrease_on_increase (line 72) | #[Test]
method makeNotification (line 81) | protected function makeNotification(float $oldScore, float $newScore):...
FILE: packages/lighthouse/tests/Notifications/Conditions/Category/AverageScoreValueConditionTest.php
class AverageScoreValueConditionTest (line 13) | class AverageScoreValueConditionTest extends TestCase
method it_checks_new_average_value_greater_than_threshold (line 15) | #[Test]
method it_checks_new_average_value_less_than_threshold (line 28) | #[Test]
method it_checks_old_average_value_greater_than_threshold (line 41) | #[Test]
method it_checks_equality (line 54) | #[Test]
method makeNotification (line 66) | protected function makeNotification(array $oldScores, array $newScores...
FILE: packages/lighthouse/tests/Notifications/Conditions/Category/PerformanceScoreValueConditionTest.php
class PerformanceScoreValueConditionTest (line 13) | class PerformanceScoreValueConditionTest extends TestCase
method it_checks_new_value_greater_than_threshold (line 15) | #[Test]
method it_checks_new_value_less_than_threshold (line 27) | #[Test]
method it_checks_old_value_greater_than_threshold (line 39) | #[Test]
method it_checks_old_value_less_than_threshold (line 51) | #[Test]
method it_checks_equality (line 63) | #[Test]
method makeNotification (line 75) | protected function makeNotification(float $oldPerformance, float $newP...
FILE: packages/lighthouse/tests/TestCase.php
class TestCase (line 13) | abstract class TestCase extends BaseTestCase
method getPackageProviders (line 17) | protected function getPackageProviders($app): array
method defineEnvironment (line 27) | protected function defineEnvironment($app): void
method setUp (line 37) | protected function setUp(): void
FILE: packages/notifications/database/migrations/2024_02_25_110000_create_notification_triggers_table.php
method up (line 10) | public function up(): void
method down (line 24) | public function down(): void
FILE: packages/notifications/database/migrations/2024_02_25_111000_create_notification_channels_table.php
method up (line 10) | public function up(): void
method down (line 23) | public function down(): void
FILE: packages/notifications/database/migrations/2024_02_25_111000_create_notification_triggers_channels_table.php
method up (line 9) | public function up(): void
method down (line 25) | public function down(): void
FILE: packages/notifications/database/migrations/2024_02_25_112000_create_notification_history_table.php
method up (line 11) | public function up(): void
method down (line 35) | public function down(): void
FILE: packages/notifications/database/migrations/2024_04_04_193000_notification_trigger_all_channels_field.php
method up (line 9) | public function up(): void
method down (line 16) | public function down(): void
FILE: packages/notifications/database/migrations/2024_04_12_193000_notification_enabled_field.php
method up (line 9) | public function up(): void
method down (line 17) | public function down(): void
FILE: packages/notifications/database/migrations/2024_09_22_113000_notification_cooldown_field.php
method up (line 9) | public function up(): void
method down (line 16) | public function down(): void
FILE: packages/notifications/database/migrations/2026_01_02_150000_add_name_to_notification_channels_table.php
method up (line 9) | public function up(): void
method down (line 16) | public function down(): void
FILE: packages/notifications/database/migrations/2026_01_02_151500_backfill_notification_channel_names.php
method up (line 10) | public function up(): void
FILE: packages/notifications/src/Actions/CheckBurst.php
class CheckBurst (line 9) | class CheckBurst
method isBursting (line 13) | public function isBursting(Notification $notification, Trigger $trigge...
method cacheKey (line 20) | protected function cacheKey(Notification $notification, Trigger $trigg...
FILE: packages/notifications/src/Actions/CheckCooldown.php
class CheckCooldown (line 10) | class CheckCooldown
method onCooldown (line 12) | public function onCooldown(Trigger $trigger, Channel $channel, Notific...
FILE: packages/notifications/src/Actions/CreateNotifications.php
class CreateNotifications (line 10) | class CreateNotifications
method create (line 12) | public function create(Team $team): void
FILE: packages/notifications/src/Channels/DiscordChannel.php
class DiscordChannel (line 9) | class DiscordChannel extends NotificationChannel
method fire (line 19) | public function fire(Notification $notification, Channel $channel): void
FILE: packages/notifications/src/Channels/GoogleChatChannel.php
class GoogleChatChannel (line 9) | class GoogleChatChannel extends NotificationChannel
method fire (line 19) | public function fire(Notification $notification, Channel $channel): void
FILE: packages/notifications/src/Channels/MailChannel.php
class MailChannel (line 10) | class MailChannel extends NotificationChannel
method fire (line 20) | public function fire(Notification $notification, Channel $channel): void
FILE: packages/notifications/src/Channels/MicrosoftTeamsChannel.php
class MicrosoftTeamsChannel (line 9) | class MicrosoftTeamsChannel extends NotificationChannel
method fire (line 19) | public function fire(Notification $notification, Channel $channel): void
FILE: packages/notifications/src/Channels/NotificationChannel.php
class NotificationChannel (line 8) | abstract class NotificationChannel
method rules (line 18) | public function rules(): array
method fire (line 23) | abstract public function fire(Notification $notification, Channel $cha...
FILE: packages/notifications/src/Channels/NtfyChannel.php
class NtfyChannel (line 10) | class NtfyChannel extends NotificationChannel
method fire (line 25) | public function fire(Notification $notification, Channel $channel): void
FILE: packages/notifications/src/Channels/SlackChannel.php
class SlackChannel (line 9) | class SlackChannel extends NotificationChannel
method fire (line 19) | public function fire(Notification $notification, Channel $channel): void
FILE: packages/notifications/src/Channels/TelegramChannel.php
class TelegramChannel (line 9) | class TelegramChannel extends NotificationChannel
method fire (line 20) | public function fire(Notification $notification, Channel $channel): void
method escapeMarkdownV2 (line 65) | protected function escapeMarkdownV2(string $text): string
FILE: packages/notifications/src/Channels/WebhookChannel.php
class WebhookChannel (line 9) | class WebhookChannel extends NotificationChannel
method fire (line 19) | public function fire(Notification $notification, Channel $channel): void
FILE: packages/notifications/src/Commands/CreateNotificationsCommand.php
class CreateNotificationsCommand (line 11) | class CreateNotificationsCommand extends Command
method handle (line 17) | public function handle(): int
FILE: packages/notifications/src/Commands/RenameConditionClassesCommand.php
class RenameConditionClassesCommand (line 9) | class RenameConditionClassesCommand extends Command
method handle (line 15) | public function handle(): int
method processGroup (line 44) | protected function processGroup(array $group, string $old, string $new...
FILE: packages/notifications/src/Commands/TestNotificationCommand.php
class TestNotificationCommand (line 11) | class TestNotificationCommand extends Command
method handle (line 17) | public function handle(): int
FILE: packages/notifications/src/Concerns/NotificationFake.php
type NotificationFake (line 7) | trait NotificationFake
method fake (line 14) | public static function fake(): void
method wasDispatched (line 19) | public static function wasDispatched(?\Closure $callback = null): bool
FILE: packages/notifications/src/Conditions/Condition.php
class Condition (line 8) | abstract class Condition
method applies (line 15) | abstract public function applies(Notification $notification, ?string $...
method operators (line 18) | public function operators(): array
method operands (line 24) | public function operands(): array
method metadata (line 30) | public function metadata(): array
method info (line 35) | public static function info(): ?string
FILE: packages/notifications/src/Conditions/ConditionEngine.php
class ConditionEngine (line 9) | class ConditionEngine
method checkGroup (line 11) | public function checkGroup(Notification $notification, array $group, s...
FILE: packages/notifications/src/Conditions/FalseCondition.php
class FalseCondition (line 7) | class FalseCondition extends Condition
method applies (line 11) | public function applies(
method operators (line 21) | public function operators(): array
method operands (line 29) | public function operands(): array
FILE: packages/notifications/src/Conditions/SelectCondition.php
class SelectCondition (line 7) | abstract class SelectCondition extends Condition
method options (line 12) | abstract public function options(): array;
FILE: packages/notifications/src/Conditions/StaticCondition.php
class StaticCondition (line 7) | abstract class StaticCondition extends Condition
method operators (line 11) | public function operators(): array
FILE: packages/notifications/src/Conditions/TrueCondition.php
class TrueCondition (line 7) | class TrueCondition extends Condition
method applies (line 11) | public function applies(
method operators (line 21) | public function operators(): array
method operands (line 29) | public function operands(): array
FILE: packages/notifications/src/Contracts/HasSite.php
type HasSite (line 7) | interface HasSite
method site (line 9) | public function site(): ?Site;
FILE: packages/notifications/src/Enums/ConditionType.php
method view (line 12) | public function view(): string
FILE: packages/notifications/src/Enums/Level.php
method color (line 12) | public function color(): int
FILE: packages/notifications/src/Facades/NotificationRegistry.php
class NotificationRegistry (line 18) | class NotificationRegistry extends Facade
method getFacadeAccessor (line 20) | protected static function getFacadeAccessor(): string
FILE: packages/notifications/src/Http/Controllers/ChannelController.php
class ChannelController (line 9) | class ChannelController extends Controller
method index (line 11) | public function index(): View
FILE: packages/notifications/src/Http/Livewire/ChannelForm.php
class ChannelForm (line 16) | class ChannelForm extends Component
method mount (line 34) | public function mount(?Channel $channel): void
method updated (line 53) | public function updated(): void
method updateChannelSettings (line 64) | #[On('update-channel-settings')]
method updateChannelValidated (line 70) | #[On('update-channel-validated')]
method save (line 76) | public function save(bool $redirect = true, bool $dispatchSaved = true...
method test (line 115) | public function test(): void
method delete (line 132) | public function delete(): void
method render (line 149) | public function render(): mixed
FILE: packages/notifications/src/Http/Livewire/Channels/Configuration/ChannelConfiguration.php
class ChannelConfiguration (line 9) | abstract class ChannelConfiguration extends Component
method mount (line 17) | public function mount(string $channel, array $settings = []): void
method updated (line 23) | public function updated(): void
method render (line 40) | abstract public function render(): View;
FILE: packages/notifications/src/Http/Livewire/Channels/Configuration/Discord.php
class Discord (line 7) | class Discord extends ChannelConfiguration
method render (line 9) | public function render(): View
FILE: packages/notifications/src/Http/Livewire/Channels/Configuration/GoogleChat.php
class GoogleChat (line 7) | class GoogleChat extends ChannelConfiguration
method render (line 9) | public function render(): View
FILE: packages/notifications/src/Http/Livewire/Channels/Configuration/Mail.php
class Mail (line 7) | class Mail extends ChannelConfiguration
method render (line 9) | public function render(): View
FILE: packages/notifications/src/Http/Livewire/Channels/Configuration/MicrosoftTeams.php
class MicrosoftTeams (line 7) | class MicrosoftTeams extends ChannelConfiguration
method render (line 9) | public function render(): View
FILE: packages/notifications/src/Http/Livewire/Channels/Configuration/Ntfy.php
class Ntfy (line 7) | class Ntfy extends ChannelConfiguration
method render (line 9) | public function render(): View
FILE: packages/notifications/src/Http/Livewire/Channels/Configuration/Slack.php
class Slack (line 7) | class Slack extends ChannelConfiguration
method render (line 9) | public function render(): View
FILE: packages/notifications/src/Http/Livewire/Channels/Configuration/Telegram.php
class Telegram (line 7) | class Telegram extends ChannelConfiguration
method render (line 9) | public function render(): View
FILE: packages/notifications/src/Http/Livewire/Channels/Configuration/Webhook.php
class Webhook (line 7) | class Webhook extends ChannelConfiguration
method render (line 9) | public function render(): View
FILE: packages/notifications/src/Http/Livewire/Forms/CreateChannelForm.php
class CreateChannelForm (line 8) | class CreateChannelForm extends Form
FILE: packages/notifications/src/Http/Livewire/Forms/CreateNotificationForm.php
class CreateNotificationForm (line 8) | class CreateNotificationForm extends Form
FILE: packages/notifications/src/Http/Livewire/NotificationForm.php
class NotificationForm (line 13) | class NotificationForm extends Component
method mount (line 24) | public function mount(?Trigger $trigger): void
method conditionsUpdated (line 35) | #[On('conditions-updated')]
method save (line 41) | public function save(): void
method delete (line 65) | public function delete(): void
method render (line 82) | public function render(): mixed
FILE: packages/notifications/src/Http/Livewire/Notifications/Conditions/ConditionBuilder.php
class ConditionBuilder (line 10) | class ConditionBuilder extends Component
method mount (line 22) | public function mount(string $notification, array $initial = []): void
method addCondition (line 36) | public function addCondition(string $path): void
method addGroup (line 47) | public function addGroup(string $path): void
method deletePath (line 56) | public function deletePath(string $path): void
method addToPath (line 64) | protected function addToPath(string $path, array $item): void
method updated (line 77) | public function updated(): void
method render (line 85) | public function render(): mixed
method conditions (line 95) | protected function conditions(): array
FILE: packages/notifications/src/Http/Livewire/Tables/ChannelTable.php
class ChannelTable (line 17) | class ChannelTable extends BaseTable
method columns (line 21) | protected function columns(): array
method actions (line 45) | protected function actions(): array
method link (line 54) | public function link(Model $model): ?string
method applySelect (line 59) | protected function applySelect(Builder $builder): static
FILE: packages/notifications/src/Http/Livewire/Tables/HistoryTable.php
class HistoryTable (line 15) | class HistoryTable extends BaseTable
method columns (line 23) | protected function columns(): array
method filters (line 59) | protected function filters(): array
FILE: packages/notifications/src/Http/Livewire/Tables/NotificationTable.php
class NotificationTable (line 21) | class NotificationTable extends BaseTable
method columns (line 25) | protected function columns(): array
method filters (line 62) | protected function filters(): array
method actions (line 75) | protected function actions(): array
method link (line 101) | public function link(Model $model): ?string
method applySelect (line 106) | protected function applySelect(Builder $builder): static
FILE: packages/notifications/src/Jobs/CreateNotificationsJob.php
class CreateNotificationsJob (line 15) | class CreateNotificationsJob implements ShouldBeUnique, ShouldQueue
method __construct (line 22) | public function __construct(
method handle (line 28) | public function handle(CreateNotifications $notifications, TeamService...
method uniqueId (line 34) | public function uniqueId(): int
FILE: packages/notifications/src/Jobs/SendNotificationJob.php
class SendNotificationJob (line 15) | class SendNotificationJob implements ShouldBeUnique, ShouldQueue
method __construct (line 21) | public function __construct(
method handle (line 30) | public function handle(TeamService $teamService): void
method uniqueId (line 50) | public function uniqueId(): string
FILE: packages/notifications/src/Mail/NotificationMail.php
class NotificationMail (line 12) | class NotificationMail extends Mailable
method __construct (line 17) | public function __construct(public Notification $notification) {}
method envelope (line 19) | public function envelope(): Envelope
method content (line 30) | public function content(): Content
FILE: packages/notifications/src/Models/Channel.php
class Channel (line 25) | #[ObservedBy([ChannelObserver::class])]
method title (line 37) | public function title(): string
method history (line 53) | public function history(): HasMany
FILE: packages/notifications/src/Models/History.php
class History (line 26) | #[ScopedBy([HistoryTeamScope::class])]
method trigger (line 40) | public function trigger(): BelongsTo
method channel (line 45) | public function channel(): BelongsTo
method prunable (line 50) | public function prunable(): Builder
FILE: packages/notifications/src/Models/Trigger.php
class Trigger (line 32) | #[ObservedBy([TriggerObserver::class])]
method team (line 46) | public function team(): BelongsTo
method channels (line 51) | public function channels(): BelongsToMany
method history (line 56) | public function history(): HasMany
FILE: packages/notifications/src/Notifications/Notification.php
class Notification (line 16) | abstract class Notification implements Arrayable
method make (line 34) | public static function make(mixed ...$args): static
method notify (line 39) | public static function notify(mixed ...$args): void
method uniqueId (line 89) | abstract public function uniqueId(): string|int;
method level (line 91) | public function level(): Level
method title (line 96) | public function title(): string
method description (line 101) | public function description(): string
method info (line 106) | public static function info(): ?string
method viewUrl (line 111) | public function viewUrl(): ?string
method url (line 116) | public function url(): ?string
method urlTitle (line 121) | public function urlTitle(): ?string
method toArray (line 126) | public function toArray(): array
FILE: packages/notifications/src/Notifications/NotificationRegistry.php
class NotificationRegistry (line 9) | class NotificationRegistry
method registerNotification (line 20) | public function registerNotification(string|array $notification): static
method registerCondition (line 30) | public function registerCondition(string $notification, string|array $...
method registerChannel (line 40) | public function registerChannel(string|array $channel): static
method notifications (line 47) | public function notifications(): array
method channels (line 52) | public function channels(): array
method conditions (line 57) | public function conditions(string $notification): array
method hasCondition (line 62) | public function hasCondition(string $notification, string $condition):...
method fake (line 67) | public function fake(): void
FILE: packages/notifications/src/Notifications/TestNotification.php
class TestNotification (line 7) | class TestNotification extends Notification
method __construct (line 13) | public function __construct(public Level $level = Level::Success) {}
method title (line 15) | public function title(): string
method viewUrl (line 20) | public function viewUrl(): ?string
method url (line 25) | public function url(): ?string
method urlTitle (line 30) | public function urlTitle(): ?string
method uniqueId (line 36) | public function uniqueId(): string
FILE: packages/notifications/src/Observers/ChannelObserver.php
class ChannelObserver (line 9) | class ChannelObserver
method creating (line 11) | public function creating(Channel $channel): void
FILE: packages/notifications/src/Observers/TriggerObserver.php
class TriggerObserver (line 9) | class TriggerObserver
method creating (line 11) | public function creating(Trigger $trigger): void
FILE: packages/notifications/src/Scopes/HistoryTeamScope.php
class HistoryTeamScope (line 11) | class HistoryTeamScope implements Scope
method apply (line 13) | public function apply(Builder $builder, Model $model): void
FILE: packages/notifications/src/ServiceProvider.php
class ServiceProvider (line 42) | class ServiceProvider extends BaseServiceProvider
method register (line 44) | public function register(): void
method registerConfig (line 51) | protected function registerConfig(): static
method registerSingletons (line 58) | protected function registerSingletons(): static
method boot (line 65) | public function boot(): void
method bootConfig (line 80) | protected function bootConfig(): static
method bootMigrations (line 89) | protected function bootMigrations(): static
method bootCommands (line 96) | protected function bootCommands(): static
method bootViews (line 109) | protected function bootViews(): static
method bootEvents (line 116) | protected function bootEvents(): static
method bootLivewire (line 123) | protected function bootLivewire(): static
method bootRoutes (line 147) | protected function bootRoutes(): static
method bootNavigation (line 157) | protected function bootNavigation(): static
method bootNotificationChannels (line 164) | protected function bootNotificationChannels(): static
method bootPolicies (line 179) | protected function bootPolicies(): static
FILE: packages/notifications/tests/Channels/NtfyChannelTest.php
class NtfyChannelTest (line 13) | class NtfyChannelTest extends TestCase
method it_sends_to_ntfy (line 15) | #[Test]
FILE: packages/notifications/tests/Channels/TelegramChannelTest.php
class TelegramChannelTest (line 13) | class TelegramChannelTest extends TestCase
method it_sends_to_telegram (line 15) | #[Test]
method it_escapes_markdown_v2_special_characters (line 52) | #[Test]
method it_sends_telegram_message_with_inline_keyboard (line 93) | #[Test]
FILE: packages/notifications/tests/Conditions/ConditionEngineTest.php
class ConditionEngineTest (line 14) | class ConditionEngineTest extends TestCase
method it_checks_conditions (line 16) | #[Test]
method conditions (line 35) | public static function conditions(): array
FILE: packages/notifications/tests/Fakes/Conditions/FalseCondition.php
class FalseCondition (line 8) | class FalseCondition extends Condition
method applies (line 10) | public function applies(Notification $notification, ?string $operand, ...
FILE: packages/notifications/tests/Fakes/Conditions/TrueCondition.php
class TrueCondition (line 8) | class TrueCondition extends Condition
method applies (line 10) | public function applies(Notification $notification, ?string $operand, ...
FILE: packages/notifications/tests/Fakes/FakeChannel.php
class FakeChannel (line 9) | class FakeChannel extends NotificationChannel
method fire (line 13) | public function fire(Notification $notification, Channel $channel): void
FILE: packages/notifications/tests/Fakes/FakeNotification.php
class FakeNotification (line 8) | class FakeNotification extends Notification
method __construct (line 18) | public function __construct(
method uniqueId (line 22) | public function uniqueId(): string
FILE: packages/notifications/tests/Models/ChannelTest.php
class ChannelTest (line 10) | class ChannelTest extends TestCase
method it_returns_the_internal_name_when_available (line 12) | #[Test]
method it_falls_back_to_the_channel_display_name (line 27) | #[Test]
FILE: packages/notifications/tests/Notifications/NotificationRegistryTest.php
class NotificationRegistryTest (line 11) | class NotificationRegistryTest extends TestCase
method setUp (line 13) | protected function setUp(): void
method it_can_register_notification (line 20) | #[Test]
method it_can_register_channels (line 30) | #[Test]
FILE: packages/notifications/tests/Notifications/NotificationTest.php
class NotificationTest (line 16) | class NotificationTest extends TestCase
method it_dispatches_notification_all_channels_job (line 18) | #[Test]
method it_dispatches_notification_single_channels_job (line 63) | #[Test]
method it_it_arrayable (line 99) | #[Test]
FILE: packages/notifications/tests/TestCase.php
class TestCase (line 11) | abstract class TestCase extends BaseTestCase
method getPackageProviders (line 15) | protected function getPackageProviders($app): array
method defineEnvironment (line 25) | protected function defineEnvironment($app): void
method setUp (line 36) | protected function setUp(): void
FILE: packages/onboarding/database/migrations/2024_09_29_210000_create_team_onboarding_step_table.php
method up (line 10) | public function up(): void
method down (line 23) | public function down(): void
FILE: packages/onboarding/src/Actions/ShouldOnboard.php
class ShouldOnboard (line 8) | class ShouldOnboard
method __construct (line 10) | public function __construct(protected TeamService $teamService) {}
method shouldOnboard (line 12) | public function shouldOnboard(): bool
FILE: packages/onboarding/src/Http/Middleware/OnlyOnboarding.php
class OnlyOnboarding (line 10) | class OnlyOnboarding
method handle (line 15) | public function handle(Request $request, Closure $next): Response
FILE: packages/onboarding/src/Http/Middleware/RedirectToOnboard.php
class RedirectToOnboard (line 12) | class RedirectToOnboard
method handle (line 17) | public function handle(Request $request, Closure $next): Response
FILE: packages/onboarding/src/Livewire/Complete.php
class Complete (line 9) | class Complete extends Component
method finish (line 11) | public function finish(): void
method goBack (line 24) | public function goBack(): void
method checkStepFinished (line 29) | public function checkStepFinished(): void
method render (line 40) | public function render(): mixed
FILE: packages/onboarding/src/Livewire/ImportDomains.php
class ImportDomains (line 10) | class ImportDomains extends Component
method redirectNextStep (line 12) | #[On('sites-imported')]
method checkStepFinished (line 26) | public function checkStepFinished(): void
method skipOnboarding (line 31) | public function skipOnboarding(): void
method render (line 44) | public function render(): mixed
FILE: packages/onboarding/src/Livewire/NotificationChannel.php
class NotificationChannel (line 12) | class NotificationChannel extends Component
method mount (line 16) | public function mount(): void
method redirectNextStep (line 30) | #[On('channel-saved')]
method goBack (line 44) | public function goBack(): void
method checkStepFinished (line 58) | public function checkStepFinished(): void
method skipOnboarding (line 73) | public function skipOnboarding(): void
method render (line 86) | public function render(): mixed
FILE: packages/onboarding/src/Models/OnboardingStep.php
class OnboardingStep (line 16) | class OnboardingStep extends Model
FILE: packages/onboarding/src/ServiceProvider.php
class ServiceProvider (line 12) | class ServiceProvider extends BaseServiceProvider
method register (line 14) | public function register(): void
method registerConfig (line 20) | protected function registerConfig(): static
method boot (line 27) | public function boot(): void
method bootConfig (line 38) | protected function bootConfig(): static
method bootMigrations (line 47) | protected function bootMigrations(): static
method bootCommands (line 54) | protected function bootCommands(): static
method bootViews (line 65) | protected function bootViews(): static
method bootLivewire (line 72) | protected function bootLivewire(): static
method bootRoutes (line 81) | protected function bootRoutes(): static
FILE: packages/onboarding/tests/TestCase.php
class TestCase (line 11) | abstract class TestCase extends BaseTestCase
method setUp (line 15) | protected function setUp(): void
method getPackageProviders (line 22) | protected function getPackageProviders($app): array
method defineEnvironment (line 31) | protected function defineEnvironment($app): void
FILE: packages/settings/src/Livewire/Forms/ProfileForm.php
class ProfileForm (line 8) | class ProfileForm extends Form
FILE: packages/settings/src/Livewire/Forms/UpdatePasswordForm.php
class UpdatePasswordForm (line 8) | class UpdatePasswordForm extends Form
method rules (line 18) | public function rules(): array
method messages (line 26) | public function messages(): array
FILE: packages/settings/src/Livewire/Settings.php
class Settings (line 10) | class Settings extends Component
method mount (line 15) | public function mount(): void
method tabs (line 24) | protected function tabs(): array
method render (line 60) | public function render(): mixed
FILE: packages/settings/src/Livewire/Tabs/Profile.php
class Profile (line 11) | class Profile extends Component
method mount (line 17) | public function mount(): void
method save (line 25) | public function save(): void
method render (line 42) | public function render(): mixed
FILE: packages/settings/src/Livewire/Tabs/Security.php
class Security (line 12) | class Security extends Component
method updatePassword (line 18) | public function updatePassword(): void
method render (line 38) | public function render(): mixed
FILE: packages/settings/src/Livewire/Tabs/Team.php
class Team (line 8) | class Team extends Component
method render (line 10) | public function render(): mixed
FILE: packages/settings/src/ServiceProvider.php
class ServiceProvider (line 12) | class ServiceProvider extends BaseServiceProvider
method register (line 14) | public function register(): void
method registerConfig (line 20) | protected function registerConfig(): static
method boot (line 27) | public function boot(): void
method bootConfig (line 38) | protected function bootConfig(): static
method bootMigrations (line 47) | protected function bootMigrations(): static
method bootCommands (line 54) | protected function bootCommands(): static
method bootViews (line 65) | protected function bootViews(): static
method bootLivewire (line 72) | protected function bootLivewire(): static
method bootRoutes (line 81) | protected function bootRoutes(): static
FILE: packages/settings/tests/TestCase.php
class TestCase (line 11) | abstract class TestCase extends BaseTestCase
method setUp (line 15) | protected function setUp(): void
method getPackageProviders (line 22) | protected function getPackageProviders($app): array
method defineEnvironment (line 31) | protected function defineEnvironment($app): void
FILE: packages/sites/database/migrations/2024_02_20_170000_create_sites_table.php
method up (line 10) | public function up(): void
method down (line 22) | public function down(): void
FILE: packages/sites/src/Actions/ImportSite.php
class ImportSite (line 22) | class ImportSite
method __construct (line 24) | public function __construct(
method import (line 30) | public function import(int $teamId, string $domain, array $monitors): ...
method importUptime (line 60) | protected function importUptime(Site $site): void
method importLighthouse (line 79) | protected function importLighthouse(Site $site): void
method importDns (line 93) | protected function importDns(Site $site): void
method importCertificate (line 128) | protected function importCertificate(Site $site): void
method importCrawler (line 139) | protected function importCrawler(Site $site): void
method stripProtocol (line 151) | protected function stripProtocol(string $domain): string
FILE: packages/sites/src/Conditions/SiteCondition.php
class SiteCondition (line 10) | class SiteCondition extends SelectCondition
method applies (line 15) | public function applies(
method operators (line 40) | public function operators(): array
method options (line 49) | public function options(): array
FILE: packages/sites/src/Http/Controllers/SiteController.php
class SiteController (line 9) | class SiteController extends Controller
method view (line 11) | public function view(Site $site): mixed
method delete (line 129) | public function delete(Site $site): RedirectResponse
FILE: packages/sites/src/Http/Livewire/Forms/CreateSiteForm.php
class CreateSiteForm (line 8) | class CreateSiteForm extends Form
FILE: packages/sites/src/Http/Livewire/ImportSites.php
class ImportSites (line 13) | class ImportSites extends Component
method mount (line 32) | public function mount(): void
method confirm (line 40) | public function confirm(): void
method cancel (line 63) | public function cancel(): void
method import (line 68) | public function import(): void
method render (line 98) | public function render(): View
FILE: packages/sites/src/Http/Livewire/SiteForm.php
class SiteForm (line 22) | class SiteForm extends Component
method mount (line 32) | public function mount(?Site $site): void
method normalizeDomainToUrl (line 44) | protected function normalizeDomainToUrl(string $domain): string
method save (line 55) | #[On('save')]
method render (line 90) | public function render(): View
method normalizeUrl (line 105) | private function normalizeUrl(?string $url): string
method tabs (line 120) | protected function tabs(): array
FILE: packages/sites/src/Http/Livewire/Sites.php
class Sites (line 10) | class Sites extends Component
method render (line 14) | public function render(): View
FILE: packages/sites/src/Http/Livewire/Tables/SiteTable.php
class SiteTable (line 19) | class SiteTable extends BaseTable
method columns (line 26) | protected function columns(): array
method actions (line 178) | protected function actions(): array
method link (line 187) | public function link(Model $model): ?string
FILE: packages/sites/src/Http/Livewire/Tabs/CertificateMonitor.php
class CertificateMonitor (line 12) | class CertificateMonitor extends Component
method mount (line 19) | public function mount(Site $site): void
method monitor (line 25) | #[Computed]
method save (line 45) | #[On('save')]
method render (line 53) | public function render(): mixed
FILE: packages/sites/src/Http/Livewire/Tabs/Crawler.php
class Crawler (line 11) | class Crawler extends Component
method mount (line 18) | public function mount(Site $site): void
method crawler (line 24) | #[Computed]
method render (line 43) | public function render(): mixed
FILE: packages/sites/src/Http/Livewire/Tabs/DnsMonitors.php
class DnsMonitors (line 9) | class DnsMonitors extends Component
method mount (line 14) | public function mount(Site $site): void
method render (line 19) | public function render(): mixed
FILE: packages/sites/src/Http/Livewire/Tabs/HealthcheckMonitor.php
class HealthcheckMonitor (line 13) | class HealthcheckMonitor extends Component
method mount (line 20) | public function mount(Site $site): void
method healthcheck (line 26) | #[Computed]
method save (line 48) | #[On('save')]
method render (line 56) | public function render(): mixed
FILE: packages/sites/src/Http/Livewire/Tabs/LighthouseMonitors.php
class LighthouseMonitors (line 13) | class LighthouseMonitors extends Component
method rules (line 25) | public function rules(): array
method validationAttributes (line 35) | public function validationAttributes(): array
method mount (line 42) | public function mount(Site $site): void
method updated (line 55) | public function updated(): void
method save (line 60) | #[On('save')]
method addPage (line 86) | public function addPage(): void
method render (line 99) | public function render(): mixed
FILE: packages/sites/src/Http/Livewire/Tabs/UptimeMonitor.php
class UptimeMonitor (line 13) | class UptimeMonitor extends Component
method mount (line 20) | public function mount(Site $site): void
method monitor (line 26) | #[Computed]
method save (line 49) | #[On('save')]
method render (line 57) | public function render(): mixed
FILE: packages/sites/src/Jobs/ImportSiteJob.php
class ImportSiteJob (line 12) | class ImportSiteJob implements ShouldBeUnique, ShouldQueue
method __construct (line 19) | public function __construct(
method handle (line 27) | public function handle(ImportSite $importer): void
method uniqueId (line 36) | public function uniqueId(): string
method tags (line 42) | public function tags(): array
FILE: packages/sites/src/Models/Site.php
class Site (line 34) | #[ObservedBy([SiteObserver::class])]
method uptimeMonitor (line 40) | public function uptimeMonitor(): HasOne
method lighthouseMonitors (line 45) | public function lighthouseMonitors(): HasMany
method dnsMonitors (line 50) | public function dnsMonitors(): HasMany
method crawler (line 55) | public function crawler(): HasOne
method certificateMonitor (line 60) | public function certificateMonitor(): HasOne
method healthcheck (line 65) | public function healthcheck(): HasOne
FILE: packages/sites/src/Observers/SiteObserver.php
class SiteObserver (line 8) | class SiteObserver
method creating (line 10) | public function creating(Site $site): void
FILE: packages/sites/src/ServiceProvider.php
class ServiceProvider (line 26) | class ServiceProvider extends BaseServiceProvider
method register (line 28) | public function register(): void
method registerConfig (line 35) | protected function registerConfig(): static
method registerActions (line 42) | protected function registerActions(): static
method boot (line 48) | public function boot(): void
method bootConfig (line 62) | protected function bootConfig(): static
method bootMigrations (line 71) | protected function bootMigrations(): static
method bootCommands (line 78) | protected function bootCommands(): static
method bootViews (line 89) | protected function bootViews(): static
method bootLivewire (line 96) | protected function bootLivewire(): static
method bootRoutes (line 113) | protected function bootRoutes(): static
method bootNavigation (line 123) | protected function bootNavigation(): static
method bootNotifications (line 130) | protected function bootNotifications(): static
method bootPolicies (line 139) | protected function bootPolicies(): static
FILE: packages/sites/tests/TestCase.php
class TestCase (line 10) | abstract class TestCase extends BaseTestCase
method getPackageProviders (line 14) | protected function getPackageProviders($app): array
method defineEnvironment (line 22) | protected function defineEnvironment($app): void
FILE: packages/uptime/database/factories/MonitorFactory.php
class MonitorFactory (line 9) | class MonitorFactory extends Factory
method definition (line 13) | public function definition(): array
FILE: packages/uptime/database/migrations/2024_02_21_190000_create_uptime_monitors_table.php
method up (line 11) | public function up(): void
method down (line 31) | public function down(): void
FILE: packages/uptime/database/migrations/2024_02_21_190100_create_uptime_results_table.php
method up (line 10) | public function up(): void
method down (line 22) | public function down(): void
FILE: packages/uptime/database/migrations/2024_02_21_190200_create_uptime_downtimes_table.php
method up (line 10) | public function up(): void
method down (line 23) | public function down(): void
FILE: packages/uptime/database/migrations/2024_02_22_073000_create_uptime_results_aggregates_table.php
method up (line 10) | public function up(): void
method down (line 22) | public function down(): void
FILE: packages/uptime/database/migrations/2024_05_21_170200_uptime_downtimes_data_field.php
method up (line 9) | public function up(): void
method down (line 16) | public function down(): void
FILE: packages/uptime/database/migrations/2025_02_01_170000_uptime_monitors_enabled_field.php
method up (line 9) | public function up(): void
method down (line 16) | public function down(): void
FILE: packages/uptime/database/migrations/2025_05_06_190000_uptime_monitors_schedule_fields.php
method up (line 9) | public function up(): void
method down (line 21) | public function down(): void
FILE: packages/uptime/database/migrations/2025_10_05_080000_create_uptime_outposts_table.php
method up (line 9) | public function up(): void
method down (line 31) | public function down(): void
FILE: packages/uptime/database/migrations/2025_10_06_181706_add_country_to_uptime_results_tables.php
method up (line 9) | public function up(): void
method down (line 20) | public function down(): void
FILE: packages/uptime/database/migrations/2025_10_06_183423_add_location_to_uptime_monitors_table.php
method up (line 9) | public function up(): void
method down (line 17) | public function down(): void
FILE: packages/uptime/database/migrations/2025_10_06_184619_add_country_to_uptime_monitors_table.php
method up (line 9) | public function up(): void
method down (line 16) | public function down(): void
FILE: packages/uptime/database/migrations/2025_10_07_180857_add_geoip_fetched_at_to_uptime_monitors_table.php
method up (line 9) | public function up(): void
method down (line 16) | public function down(): void
FILE: packages/uptime/database/migrations/2025_10_08_100000_add_closest_outpost_id_to_uptime_monitors_table.php
method up (line 10) | public function up(): void
method down (line 17) | public function down(): void
FILE: packages/uptime/database/migrations/2025_10_19_152447_add_unavailable_at_to_uptime_outposts_table.php
method up (line 9) | public function up(): void
method down (line 16) | public function down(): void
FILE: packages/uptime/database/migrations/2025_12_23_192903_add_geoip_automatic_to_uptime_monitors_table.php
method up (line 9) | public function up(): void
method down (line 16) | public function down(): void
FILE: packages/uptime/database/migrations/2025_12_23_193500_add_geoip_automatic_to_uptime_outposts_table.php
method up (line 9) | public function up(): void
method down (line 16) | public function down(): void
FILE: packages/uptime/database/migrations/2025_12_27_142900_update_ping_monitor_types.php
method up (line 8) | public function up(): void
method down (line 15) | public function down(): void
FILE: packages/uptime/src/Actions/AggregateResults.php
class AggregateResults (line 9) | class AggregateResults
method aggregate (line 11) | public function aggregate(Monitor $monitor): void
FILE: packages/uptime/src/Actions/CalculateUptimePercentage.php
class CalculateUptimePercentage (line 10) | class CalculateUptimePercentage
method calculate (line 12) | public function calculate(Monitor $monitor, string $carbonModifier = '...
FILE: packages/uptime/src/Actions/CheckLatency.php
class CheckLatency (line 9) | class CheckLatency
method check (line 11) | public function check(Monitor $monitor): void
method checkForCountry (line 24) | protected function checkForCountry(Monitor $monitor, string $country):...
method checkForPeak (line 60) | protected function checkForPeak(Monitor $monitor, string $country, flo...
FILE: packages/uptime/src/Actions/CheckUptime.php
class CheckUptime (line 18) | class CheckUptime
method __construct (line 20) | public function __construct(
method check (line 25) | public function check(Monitor $monitor): void
FILE: packages/uptime/src/Actions/FetchGeolocation.php
class FetchGeolocation (line 10) | class FetchGeolocation
method __construct (line 12) | public function __construct(protected ResolveRecord $resolveRecord) {}
method fetch (line 14) | public function fetch(string $target): ?array
method extractHost (line 57) | protected function extractHost(string $target): ?string
method isIpAddress (line 77) | protected function isIpAddress(string $host): bool
method resolveToIp (line 82) | protected function resolveToIp(string $domain): ?string
FILE: packages/uptime/src/Actions/Outpost/DetermineOutpost.php
class DetermineOutpost (line 11) | class DetermineOutpost
method determine (line 13) | public function determine(?Monitor $monitor = null, array $excludedOut...
method updateClosestOutpost (line 42) | protected function updateClosestOutpost(Monitor $monitor): void
method selectClosestOutpost (line 53) | protected function selectClosestOutpost(Monitor $monitor, array $exclu...
method selectRemoteOutpost (line 71) | protected function selectRemoteOutpost(Monitor $monitor, array $exclud...
method findClosestOutpost (line 96) | protected function findClosestOutpost(Monitor $monitor, array $exclude...
FILE: packages/uptime/src/Actions/Outpost/GenerateOutpostCertificate.php
class GenerateOutpostCertificate (line 5) | class GenerateOutpostCertificate
method __construct (line 7) | public function __construct(
method generate (line 11) | public function generate(string $commonName, string $outpostIp, int $v...
FILE: packages/uptime/src/Actions/Outpost/GenerateRootCertificate.php
class GenerateRootCertificate (line 8) | class GenerateRootCertificate
method generate (line 14) | public function generate(): void
method exists (line 56) | public function exists(): bool
method getRootCertificatePath (line 61) | public function getRootCertificatePath(): string
method getRootCertificate (line 70) | public function getRootCertificate(): string
method getRootPrivateKey (line 85) | public function getRootPrivateKey(): string
method disk (line 100) | protected function disk(): Filesystem
FILE: packages/uptime/src/Actions/Outpost/RegisterOutpost.php
class RegisterOutpost (line 9) | class RegisterOutpost
method __construct (line 11) | public function __construct(
method register (line 15) | public function register(
FILE: packages/uptime/src/Commands/AggregateResultsCommand.php
class AggregateResultsCommand (line 9) | class AggregateResultsCommand extends Command
method handle (line 15) | public function handle(): int
FILE: packages/uptime/src/Commands/CheckLatencyCommand.php
class CheckLatencyCommand (line 10) | class CheckLatencyCommand extends Command
method handle (line 16) | public function handle(CheckLatency $checkLatency, TeamService $teamSe...
FILE: packages/uptime/src/Commands/CheckUnavailableOutpostsCommand.php
class CheckUnavailableOutpostsCommand (line 10) | class CheckUnavailableOutpostsCommand extends Command
method handle (line 16) | public function handle(): int
FILE: packages/uptime/src/Commands/CheckUptimeCommand.php
class CheckUptimeCommand (line 9) | class CheckUptimeCommand extends Command
method handle (line 15) | public function handle(): int
FILE: packages/uptime/src/Commands/GenerateRootCaCommand.php
class GenerateRootCaCommand (line 8) | class GenerateRootCaCommand extends Command
method handle (line 14) | public function handle(GenerateRootCertificate $generator): int
FILE: packages/uptime/src/Commands/ScheduleUptimeChecksCommand.php
class ScheduleUptimeChecksCommand (line 10) | class ScheduleUptimeChecksCommand extends Command
method handle (line 16) | public function handle(): int
FILE: packages/uptime/src/Data/UptimeResult.php
class UptimeResult (line 5) | class UptimeResult
method __construct (line 7) | public function __construct(
FILE: packages/uptime/src/Enums/Type.php
method label (line 14) | public function label(): string
method outpostValue (line 23) | public function outpostValue(): string
method formatTarget (line 32) | public function formatTarget(Monitor $monitor): string
FILE: packages/uptime/src/Events/DowntimeEndEvent.php
class DowntimeEndEvent (line 9) | class DowntimeEndEvent
method __construct (line 14) | public function __construct(
FILE: packages/uptime/src/Events/DowntimeStartEvent.php
class DowntimeStartEvent (line 9) | class DowntimeStartEvent
method __construct (line 14) | public function __construct(
FILE: packages/uptime/src/Events/UptimeCheckedEvent.php
class UptimeCheckedEvent (line 9) | class UptimeCheckedEvent
method __construct (line 14) | public function __construct(
FILE: packages/uptime/src/Http/Controllers/Api/OutpostController.php
class OutpostController (line 14) | class OutpostController extends Controller
method register (line 16) | public function register(
method unregister (line 68) | public function unregister(Request $request): JsonResponse
method list (line 84) | public function list(): JsonResponse
FILE: packages/uptime/src/Http/Controllers/Api/OutpostIpController.php
class OutpostIpController (line 12) | class OutpostIpController extends Controller
method list (line 14) | public function list(string $format): Response|JsonResponse
FILE: packages/uptime/src/Http/Controllers/UptimeMonitorController.php
class UptimeMonitorController (line 10) | class UptimeMonitorController extends Controller
method index (line 14) | public function index(Monitor $monitor): mixed
method delete (line 24) | public function delete(Monitor $monitor): mixed
FILE: packages/uptime/src/Http/Livewire/Charts/ColumnLatencyChart.php
class ColumnLatencyChart (line 7) | class ColumnLatencyChart extends LatencyChart
method mount (line 11) | public function mount(array $data): void
method data (line 28) | public function data(): array
method render (line 70) | public function render(): View
FILE: packages/uptime/src/Http/Livewire/Charts/LatencyChart.php
class LatencyChart (line 16) | class LatencyChart extends BaseChart
method mount (line 27) | public function mount(array $data): void
method toggleCountry (line 47) | public function toggleCountry(string $country): void
method setDateRange (line 58) | public function setDateRange(string $range): void
method selectAllCountries (line 64) | public function selectAllCountries(): void
method clearCountries (line 70) | public function clearCountries(): void
method getClosestCountry (line 76) | protected function getClosestCountry(): ?string
method getDateRangeStart (line 85) | protected function getDateRangeStart(): Carbon
method getDateRangeOptions (line 97) | protected function getDateRangeOptions(): array
method availableCountries (line 108) | protected function availableCountries(): Collection
method points (line 124) | protected function points(): Collection
method data (line 142) | public function data(): array
method singleLineData (line 151) | protected function singleLineData(): array
method multiCountryData (line 203) | protected function multiCountryData(): array
method getIdentifier (line 359) | protected function getIdentifier(): string
method render (line 364) | public function render(): View
FILE: packages/uptime/src/Http/Livewire/Forms/CreateUptimeMonitorForm.php
class CreateUptimeMonitorForm (line 14) | class CreateUptimeMonitorForm extends Form
method getRules (line 46) | public function getRules(): array
method all (line 78) | public function all(): array
FILE: packages/uptime/src/Http/Livewire/Monitor/Dashboard.php
class Dashboard (line 11) | class Dashboard extends Component
method mount (line 16) | public function mount(int $monitorId): void
method render (line 21) | public function render(): View
FILE: packages/uptime/src/Http/Livewire/Tables/DowntimeTable.php
class DowntimeTable (line 13) | class DowntimeTable extends BaseTable
method mount (line 24) | public function mount(int $monitorId): void
method columns (line 30) | protected function columns(): array
method query (line 50) | protected function query(): Builder
FILE: packages/uptime/src/Http/Livewire/Tables/MonitorTable.php
class MonitorTable (line 22) | class MonitorTable extends BaseTable
method columns (line 31) | protected function columns(): array
method filters (line 127) | protected function filters(): array
method actions (line 140) | protected function actions(): array
method link (line 163) | public function link(Model $model): ?string
FILE: packages/uptime/src/Http/Livewire/UptimeMonitorForm.php
class UptimeMonitorForm (line 14) | class UptimeMonitorForm extends Component
method mount (line 24) | public function mount(?Monitor $monitor): void
method save (line 45) | #[On('save')]
method render (line 73) | public function render(): mixed
FILE: packages/uptime/src/Http/Livewire/UptimeMonitors.php
class UptimeMonitors (line 9) | class UptimeMonitors extends Component
method render (line 11) | public function render(): View
FILE: packages/uptime/src/Http/Middleware/ExternalOutpostMiddleware.php
class ExternalOutpostMiddleware (line 7) | class ExternalOutpostMiddleware
method handle (line 9) | public function handle(Request $request, \Closure $next): mixed
FILE: packages/uptime/src/Http/Middleware/OutpostAuthMiddleware.php
class OutpostAuthMiddleware (line 7) | class OutpostAuthMiddleware
method handle (line 9) | public function handle(Request $request, \Closure $next): mixed
FILE: packages/uptime/src/Jobs/AggregateResultsJob.php
class AggregateResultsJob (line 14) | class AggregateResultsJob implements ShouldBeUnique, ShouldQueue
method __construct (line 21) | public function __construct(public Monitor $monitor)
method handle (line 26) | public function handle(AggregateResults $results): void
method uniqueId (line 31) | public function uniqueId(): int
FILE: packages/uptime/src/Jobs/CheckUnavailableOutpostJob.php
class CheckUnavailableOutpostJob (line 16) | class CheckUnavailableOutpostJob implements ShouldBeUnique, ShouldQueue
method __construct (line 23) | public function __construct(public Outpost $outpost)
method handle (line 28) | public function handle(): void
method uniqueId (line 50) | public function uniqueId(): int
FILE: packages/uptime/src/Jobs/CheckUptimeJob.php
class CheckUptimeJob (line 15) | class CheckUptimeJob implements ShouldBeUniqueUntilProcessing, ShouldQueue
method __construct (line 22) | public function __construct(public Monitor $monitor)
method handle (line 27) | public function handle(CheckUptime $uptime, TeamService $teamService):...
method uniqueId (line 33) | public function uniqueId(): int
FILE: packages/uptime/src/Jobs/UpdateMonitorLocationJob.php
class UpdateMonitorLocationJob (line 13) | class UpdateMonitorLocationJob implements ShouldQueue
method __construct (line 20) | public function __construct(public Monitor $monitor)
method handle (line 25) | public function handle(FetchGeolocation $fetchGeolocation): void
FILE: packages/uptime/src/Listeners/CheckLatencyListener.php
class CheckLatencyListener (line 8) | class CheckLatencyListener
method __construct (line 10) | public function __construct(protected CheckLatency $checker) {}
method handle (line 12) | public function handle(UptimeCheckedEvent $event): void
FILE: packages/uptime/src/Listeners/DowntimeEndNotificationListener.php
class DowntimeEndNotificationListener (line 8) | class DowntimeEndNotificationListener
method handle (line 10) | public function handle(DowntimeEndEvent $event): void
FILE: packages/uptime/src/Listeners/DowntimeStartNotificationListener.php
class DowntimeStartNotificationListener (line 9) | class DowntimeStartNotificationListener
method __construct (line 11) | public function __construct(protected TeamService $teamService) {}
method handle (line 13) | public function handle(DowntimeStartEvent $event): void
FILE: packages/uptime/src/Models/Downtime.php
class Downtime (line 22) | class Downtime extends Model
method monitor (line 37) | public function monitor(): BelongsTo
method prunable (line 42) | public function prunable(): Builder
FILE: packages/uptime/src/Models/Monitor.php
class Monitor (line 50) | #[ObservedBy([MonitorObserver::class])]
method site (line 73) | public function site(): BelongsTo
method results (line 78) | public function results(): HasMany
method aggregatedResults (line 83) | public function aggregatedResults(): HasMany
method downtimes (line 88) | public function downtimes(): HasMany
method team (line 93) | public function team(): BelongsTo
method closestOutpost (line 98) | public function closestOutpost(): BelongsTo
method currentDowntime (line 103) | public function currentDowntime(): ?Downtime
method shouldFetchGeoip (line 114) | public function shouldFetchGeoip(): bool
method newFactory (line 127) | protected static function newFactory(): MonitorFactory
FILE: packages/uptime/src/Models/Outpost.php
class Outpost (line 26) | #[ObservedBy([OutpostObserver::class])]
method url (line 42) | public function url(): string
FILE: packages/uptime/src/Models/Result.php
class Result (line 21) | class Result extends Model
method monitor (line 30) | public function monitor(): BelongsTo
method prunable (line 35) | public function prunable(): Builder
FILE: packages/uptime/src/Models/ResultAggregate.php
class ResultAggregate (line 18) | class ResultAggregate extends Model
method monitor (line 24) | public function monitor(): BelongsTo
FILE: packages/uptime/src/Notifications/Conditions/ClosestCountryCondition.php
class ClosestCountryCondition (line 10) | class ClosestCountryCondition extends StaticCondition
method applies (line 14) | public function applies(
method info (line 37) | public static function info(): ?string
FILE: packages/uptime/src/Notifications/Conditions/CountryCondition.php
class CountryCondition (line 11) | class CountryCondition extends SelectCondition
method options (line 15) | public function options(): array
method operators (line 25) | public function operators(): array
method applies (line 33) | public function applies(
FILE: packages/uptime/src/Notifications/Conditions/LatencyMsCondition.php
class LatencyMsCondition (line 11) | class LatencyMsCondition extends Condition
method operands (line 17) | public function operands(): array
method operators (line 26) | public function operators(): array
method applies (line 38) | public function applies(
method getCurrentLatency (line 64) | protected function getCurrentLatency(LatencyChangedNotification|Latenc...
method getLatencyChange (line 73) | protected function getLatencyChange(LatencyChangedNotification|Latency...
FILE: packages/uptime/src/Notifications/Conditions/LatencyPercentCondition.php
class LatencyPercentCondition (line 9) | class LatencyPercentCondition extends Condition
method operands (line 13) | public function operands(): array
method operators (line 21) | public function operators(): array
method applies (line 33) | public function applies(
FILE: packages/uptime/src/Notifications/DowntimeEndNotification.php
class DowntimeEndNotification (line 11) | class DowntimeEndNotification extends Notification implements HasSite
method __construct (line 17) | public function __construct(
method title (line 21) | public function title(): string
method description (line 30) | public function description(): string
method info (line 39) | public static function info(): ?string
method uniqueId (line 44) | public function uniqueId(): string|int
method site (line 49) | public function site(): ?Site
FILE: packages/uptime/src/Notifications/DowntimeStartNotification.php
class DowntimeStartNotification (line 11) | class DowntimeStartNotification extends Notification implements HasSite
method __construct (line 17) | public function __construct(
method title (line 21) | public function title(): string
method description (line 28) | public function description(): string
method info (line 39) | public static function info(): ?string
method uniqueId (line 44) | public function uniqueId(): string
method site (line 49) | public function site(): ?Site
FILE: packages/uptime/src/Notifications/LatencyChangedNotification.php
class LatencyChangedNotification (line 12) | class LatencyChangedNotification extends Notification implements HasSite
method __construct (line 34) | public function __construct(
method title (line 42) | public function title(): string
method description (line 50) | public function description(): string
method info (line 66) | public static function info(): ?string
method viewUrl (line 71) | public function viewUrl(): ?string
method level (line 76) | public function level(): Level
method uniqueId (line 85) | public function uniqueId(): string|int
method site (line 92) | public function site(): ?Site
FILE: packages/uptime/src/Notifications/LatencyPeakNotification.php
class LatencyPeakNotification (line 14) | class LatencyPeakNotification extends Notification implements HasSite
method __construct (line 49) | public function __construct(
method title (line 57) | public function title(): string
method description (line 67) | public function description(): string
method info (line 79) | public static function info(): ?string
method viewUrl (line 84) | public function viewUrl(): ?string
method level (line 89) | public function level(): Level
method uniqueId (line 98) | public function uniqueId(): string|int
method site (line 105) | public function site(): ?Site
FILE: packages/uptime/src/Observers/MonitorObserver.php
class MonitorObserver (line 10) | class MonitorObserver
method creating (line 12) | public function creating(Monitor $monitor): void
method created (line 22) | public function created(Monitor $monitor): void
FILE: packages/uptime/src/Observers/OutpostObserver.php
class OutpostObserver (line 9) | class OutpostObserver
method updated (line 11) | public function updated(Outpost $outpost): void
method deleted (line 27) | public function deleted(Outpost $outpost): void
FILE: packages/uptime/src/ServiceProvider.php
class ServiceProvider (line 46) | class ServiceProvider extends BaseServiceProvider
method register (line 48) | public function register(): void
method registerConfig (line 54) | protected function registerConfig(): static
method boot (line 61) | public function boot(): void
method bootConfig (line 78) | protected function bootConfig(): static
method bootMigrations (line 87) | protected function bootMigrations(): static
method bootCommands (line 94) | protected function bootCommands(): static
method bootViews (line 110) | protected function bootViews(): static
method bootLivewire (line 117) | protected function bootLivewire(): static
method bootRoutes (line 133) | protected function bootRoutes(): static
method bootEvents (line 147) | protected function bootEvents(): static
method bootRatelimiting (line 158) | protected function bootRatelimiting(): static
method bootNavigation (line 167) | protected function bootNavigation(): static
method bootNotifications (line 174) | protected function bootNotifications(): static
method bootGates (line 200) | protected function bootGates(): static
method bootPolicies (line 209) | protected function bootPolicies(): static
FILE: packages/uptime/tests/Fakes/HandlerStatsResponse.php
class HandlerStatsResponse (line 8) | class HandlerStatsResponse extends Response implements PromiseInterface
method withHandlerStats (line 12) | public function withHandlerStats(array $handlerStats): static
method handlerStats (line 19) | public function handlerStats(): array
method then (line 24) | public function then(?callable $onFulfilled = null, ?callable $onRejec...
method otherwise (line 29) | public function otherwise(callable $onRejected): PromiseInterface
method getState (line 34) | public function getState(): string
method resolve (line 39) | public function resolve($value): void
method reject (line 44) | public function reject($reason): void
method cancel (line 49) | public function cancel(): void
method wait (line 54) | public function wait(bool $unwrap = true)
FILE: packages/uptime/tests/Feature/AggregateResultsTest.php
class AggregateResultsTest (line 10) | class AggregateResultsTest extends TestCase
method test_it_aggregates_uptime_results (line 12) | public function test_it_aggregates_uptime_results(): void
method test_it_aggregates_uptime_results_per_country (line 51) | public function test_it_aggregates_uptime_results_per_country(): void
FILE: packages/uptime/tests/Feature/DowntimeTest.php
class DowntimeTest (line 14) | class DowntimeTest extends TestCase
method test_it_checks_dispatches_event_on_downtime_once (line 16) | public function test_it_checks_dispatches_event_on_downtime_once(): void
method test_it_resolves_downtime (line 66) | public function test_it_resolves_downtime(): void
FILE: packages/uptime/tests/Feature/UptimeTest.php
class UptimeTest (line 12) | class UptimeTest extends TestCase
method test_it_checks_uptime_via_http (line 14) | public function test_it_checks_uptime_via_http(): void
method test_it_checks_uptime_via_ping (line 60) | public function test_it_checks_uptime_via_ping(): void
FILE: packages/uptime/tests/TestCase.php
class TestCase (line 11) | abstract class TestCase extends BaseTestCase
method getPackageProviders (line 15) | protected function getPackageProviders($app): array
method defineEnvironment (line 25) | protected function defineEnvironment($app): void
method setUp (line 35) | protected function setUp(): void
FILE: packages/uptime/tests/Unit/CalculateUptimePercentageTest.php
class CalculateUptimePercentageTest (line 13) | class CalculateUptimePercentageTest extends TestCase
method test_it_calculates_uptime (line 15) | public function test_it_calculates_uptime(): void
FILE: packages/uptime/tests/Unit/DetermineOutpostPerformanceTest.php
class DetermineOutpostPerformanceTest (line 12) | class DetermineOutpostPerformanceTest extends TestCase
method test_it_efficiently_handles_thousands_of_outposts (line 14) | public function test_it_efficiently_handles_thousands_of_outposts(): void
method test_it_uses_database_queries_not_memory (line 93) | public function test_it_uses_database_queries_not_memory(): void
method test_remote_selection_distributes_across_all_countries (line 151) | public function test_remote_selection_distributes_across_all_countries...
FILE: packages/uptime/tests/Unit/DetermineOutpostTest.php
class DetermineOutpostTest (line 12) | class DetermineOutpostTest extends TestCase
method test_it_returns_null_when_no_outposts_available (line 14) | public function test_it_returns_null_when_no_outposts_available(): void
method test_it_selects_same_country_outpost_approximately_50_percent (line 33) | public function test_it_selects_same_country_outpost_approximately_50_...
method test_it_distributes_remote_country_outposts_evenly (line 120) | public function test_it_distributes_remote_country_outposts_evenly(): ...
method test_it_handles_monitor_without_country (line 200) | public function test_it_handles_monitor_without_country(): void
method test_it_handles_single_outpost_in_same_country (line 231) | public function test_it_handles_single_outpost_in_same_country(): void
method test_it_handles_no_same_country_outposts (line 267) | public function test_it_handles_no_same_country_outposts(): void
method test_it_stores_closest_outpost_id (line 314) | public function test_it_stores_closest_outpost_id(): void
method test_it_nullifies_closest_outpost_when_outpost_deleted (line 364) | public function test_it_nullifies_closest_outpost_when_outpost_deleted...
method test_it_nullifies_closest_outpost_when_outpost_becomes_unavailable (line 401) | public function test_it_nullifies_closest_outpost_when_outpost_becomes...
method test_it_uses_cached_closest_outpost_when_available (line 438) | public function test_it_uses_cached_closest_outpost_when_available(): ...
method test_excluded_outposts_dont_affect_closest_cache (line 494) | public function test_excluded_outposts_dont_affect_closest_cache(): void
FILE: packages/uptime/tests/Unit/Enums/TypeTest.php
class TypeTest (line 9) | class TypeTest extends TestCase
method test_http_format_target_accepts_ip_host (line 11) | public function test_http_format_target_accepts_ip_host(): void
FILE: packages/uptime/tests/Unit/ExternalOutpostMiddlewareTest.php
class ExternalOutpostMiddlewareTest (line 9) | class ExternalOutpostMiddlewareTest extends TestCase
method test_it_allows_private_ip_when_external_outposts_disabled (line 11) | public function test_it_allows_private_ip_when_external_outposts_disab...
method test_it_allows_localhost_when_external_outposts_disabled (line 27) | public function test_it_allows_localhost_when_external_outposts_disabl...
method test_it_denies_public_ip_when_external_outposts_disabled (line 43) | public function test_it_denies_public_ip_when_external_outposts_disabl...
method test_it_allows_public_ip_when_external_outposts_enabled (line 59) | public function test_it_allows_public_ip_when_external_outposts_enable...
method test_it_allows_private_ip_when_external_outposts_enabled (line 75) | public function test_it_allows_private_ip_when_external_outposts_enabl...
method test_it_allows_reserved_ip_when_external_outposts_disabled (line 91) | public function test_it_allows_reserved_ip_when_external_outposts_disa...
method test_it_allows_ipv6_private_address (line 107) | public function test_it_allows_ipv6_private_address(): void
method test_it_denies_ipv6_public_address_when_external_outposts_disabled (line 123) | public function test_it_denies_ipv6_public_address_when_external_outpo...
method test_it_allows_ipv6_public_address_when_external_outposts_enabled (line 139) | public function test_it_allows_ipv6_public_address_when_external_outpo...
FILE: packages/uptime/tests/Unit/FetchGeolocationTest.php
class FetchGeolocationTest (line 11) | class FetchGeolocationTest extends TestCase
method test_it_fetches_geolocation_for_hostname (line 13) | public function test_it_fetches_geolocation_for_hostname(): void
method test_it_extracts_hostname_from_url (line 37) | public function test_it_extracts_hostname_from_url(): void
method test_it_extracts_hostname_from_host_port_format (line 59) | public function test_it_extracts_hostname_from_host_port_format(): void
method test_it_returns_null_on_api_failure (line 77) | public function test_it_returns_null_on_api_failure(): void
method test_it_returns_null_on_exception (line 94) | public function test_it_returns_null_on_exception(): void
FILE: packages/uptime/tests/Unit/GenerateOutpostCertificateTest.php
class GenerateOutpostCertificateTest (line 10) | class GenerateOutpostCertificateTest extends TestCase
method setUp (line 12) | protected function setUp(): void
method test_it_generates_root_ca_certificate (line 23) | public function test_it_generates_root_ca_certificate(): void
method test_it_generates_outpost_certificate (line 42) | public function test_it_generates_outpost_certificate(): void
method tearDown (line 69) | protected function tearDown(): void
FILE: packages/uptime/tests/Unit/OutpostAuthMiddlewareTest.php
class OutpostAuthMiddlewareTest (line 9) | class OutpostAuthMiddlewareTest extends TestCase
method test_it_allows_request_with_valid_token (line 11) | public function test_it_allows_request_with_valid_token(): void
method test_it_denies_request_with_invalid_token (line 27) | public function test_it_denies_request_with_invalid_token(): void
method test_it_denies_request_without_token (line 43) | public function test_it_denies_request_without_token(): void
FILE: packages/uptime/tests/Unit/RegisterOutpostTest.php
class RegisterOutpostTest (line 11) | class RegisterOutpostTest extends TestCase
method test_it_registers_new_outpost_with_geolocation (line 13) | public function test_it_registers_new_outpost_with_geolocation(): void
method test_it_updates_existing_outpost_with_country (line 37) | public function test_it_updates_existing_outpost_with_country(): void
method test_it_fetches_geolocation_for_existing_outpost_without_country (line 65) | public function test_it_fetches_geolocation_for_existing_outpost_witho...
method test_it_handles_geolocation_fetch_failure_gracefully (line 98) | public function test_it_handles_geolocation_fetch_failure_gracefully()...
method test_it_registers_outpost_with_manual_location_when_geoip_disabled (line 116) | public function test_it_registers_outpost_with_manual_location_when_ge...
method test_it_updates_existing_outpost_with_manual_location_when_geoip_disabled (line 145) | public function test_it_updates_existing_outpost_with_manual_location_...
FILE: packages/users/database/factories/TeamFactory.php
class TeamFactory (line 11) | class TeamFactory extends Factory
method definition (line 20) | public function definition(): array
FILE: packages/users/database/factories/UserFactory.php
class UserFactory (line 14) | class UserFactory extends Factory
method definition (line 23) | public function definition(): array
method unverified (line 41) | public function unverified(): static
method withPersonalTeam (line 53) | public function withPersonalTeam(?callable $callback = null): static
FILE: packages/users/database/migrations/2014_10_12_000000_create_users_table.php
method up (line 12) | public function up(): void
method down (line 30) | public function down(): void
FILE: packages/users/database/migrations/2014_10_12_100000_create_password_reset_tokens_table.php
method up (line 12) | public function up(): void
method down (line 24) | public function down(): void
FILE: packages/users/database/migrations/2014_10_12_200000_add_two_factor_columns_to_users_table.php
method up (line 13) | public function up(): void
method down (line 35) | public function down(): void
FILE: packages/users/database/migrations/2020_05_21_100000_create_teams_table.php
method up (line 12) | public function up(): void
method down (line 26) | public function down(): void
FILE: packages/users/database/migrations/2020_05_21_200000_create_team_user_table.php
method up (line 12) | public function up(): void
method down (line 28) | public function down(): void
FILE: packages/users/database/migrations/2020_05_21_300000_create_team_invitations_table.php
method up (line 12) | public function up(): void
method down (line 28) | public function down(): void
FILE: packages/users/database/migrations/2024_05_18_100000_team_timezone_field.php
method up (line 9) | public function up(): void
method down (line 16) | public function down(): void
FILE: packages/users/src/Actions/Fortify/CreateNewUser.php
class CreateNewUser (line 14) | class CreateNewUser implements CreatesNewUsers
method create (line 23) | public function create(array $input, array $optional = []): User
method createTeam (line 54) | protected function createTeam(User $user): void
FILE: packages/users/src/Actions/Fortify/PasswordValidationRules.php
type PasswordValidationRules (line 7) | trait PasswordValidationRules
method passwordRules (line 14) | protected function passwordRules(): array
FILE: packages/users/src/Actions/Fortify/ResetUserPassword.php
class ResetUserPassword (line 10) | class ResetUserPassword implements ResetsUserPasswords
method reset (line 19) | public function reset(User $user, array $input): void
FILE: packages/users/src/Actions/Fortify/UpdateUserPassword.php
class UpdateUserPassword (line 10) | class UpdateUserPassword implements UpdatesUserPasswords
method update (line 19) | public function update(User $user, array $input): void
FILE: packages/users/src/Actions/Fortify/UpdateUserProfileInformation.php
class UpdateUserProfileInformation (line 11) | class UpdateUserProfileInformation implements UpdatesUserProfileInformation
method update (line 18) | public function update(User $user, array $input): void
method updateVerifiedUser (line 46) | protected function updateVerifiedUser(User $user, array $input): void
FILE: packages/users/src/Actions/Jetstream/AddTeamMember.php
class AddTeamMember (line 16) | class AddTeamMember implements AddsTeamMembers
method add (line 21) | public function add(User $user, Team $team, string $email, ?string $ro...
method validate (line 41) | protected function validate(Team $team, string $email, ?string $role):...
method rules (line 58) | protected function rules(): array
method ensureUserIsNotAlreadyOnTeam (line 71) | protected function ensureUserIsNotAlreadyOnTeam(Team $team, string $em...
FILE: packages/users/src/Actions/Jetstream/CreateTeam.php
class CreateTeam (line 13) | class CreateTeam implements CreatesTeams
method create (line 20) | public function create(User $user, array $input): Team
FILE: packages/users/src/Actions/Jetstream/DeleteTeam.php
class DeleteTeam (line 8) | class DeleteTeam implements DeletesTeams
method delete (line 13) | public function delete(Team $team): void
FILE: packages/users/src/Actions/Jetstream/DeleteUser.php
class DeleteUser (line 11) | class DeleteUser implements DeletesUsers
method __construct (line 23) | public function __construct(DeletesTeams $deletesTeams)
method delete (line 31) | public function delete(User $user): void
method deleteTeams (line 44) | protected function deleteTeams(User $user): void
FILE: packages/users/src/Actions/Jetstream/InviteTeamMember.php
class InviteTeamMember (line 19) | class InviteTeamMember implements InvitesTeamMembers
method invite (line 24) | public function invite(User $user, Team $team, string $email, ?string ...
method validate (line 44) | protected function validate(Team $team, string $email, ?string $role):...
method rules (line 61) | protected function rules(Team $team): array
method ensureUserIsNotAlreadyOnTeam (line 79) | protected function ensureUserIsNotAlreadyOnTeam(Team $team, string $em...
FILE: packages/users/src/Actions/Jetstream/RemoveTeamMember.php
class RemoveTeamMember (line 13) | class RemoveTeamMember implements RemovesTeamMembers
method remove (line 18) | public function remove(User $user, Team $team, User $teamMember): void
method authorize (line 32) | protected function authorize(User $user, Team $team, User $teamMember)...
method ensureUserDoesNotOwnTeam (line 43) | protected function ensureUserDoesNotOwnTeam(User $teamMember, Team $te...
FILE: packages/users/src/Actions/Jetstream/UpdateTeamName.php
class UpdateTeamName (line 11) | cla
Condensed preview — 1102 files, each showing path, character count, and a content snippet. Download the .json file or copy for the full structured content (1,827K chars).
[
{
"path": ".editorconfig",
"chars": 258,
"preview": "root = true\n\n[*]\ncharset = utf-8\nend_of_line = lf\nindent_size = 4\nindent_style = space\ninsert_final_newline = true\ntrim_"
},
{
"path": ".gitattributes",
"chars": 186,
"preview": "* text=auto eol=lf\n\n*.blade.php diff=html\n*.css diff=css\n*.html diff=html\n*.md diff=markdown\n*.php diff=php\n\n/.github ex"
},
{
"path": ".github/workflows/code-style.yml",
"chars": 348,
"preview": "name: PHP Linting\non:\n pull_request:\n branches:\n - 'feature/*'\n push:\n branches:\n - 'main'\n\njobs:\n ph"
},
{
"path": ".github/workflows/image.yml",
"chars": 1019,
"preview": "name: Build and publish image\n\non:\n workflow_dispatch:\n push:\n branches:\n - 'develop'\n - 'main'\n\njobs:\n "
},
{
"path": ".github/workflows/package-quality.yml",
"chars": 1133,
"preview": "name: Package quality\n\non:\n push:\n branches: [main]\n pull_request:\n\njobs:\n get-packages:\n runs-on: ubuntu-lates"
},
{
"path": ".github/workflows/release-image.yml",
"chars": 702,
"preview": "name: Build and publish release image\n\non:\n release:\n types: [published]\n\njobs:\n build-and-push-release-image:\n "
},
{
"path": ".github/workflows/tests.yml",
"chars": 599,
"preview": "name: Tests\n\non: ['push', 'pull_request']\n\njobs:\n tests:\n runs-on: ubuntu-latest\n name: Tests\n steps:\n - "
},
{
"path": ".gitignore",
"chars": 322,
"preview": "/.phpunit.cache\n/node_modules\n/public/build\n/public/hot\n/public/storage\n/public/vendor\n/public/js\n/public/css\n/storage/*"
},
{
"path": "Dockerfile",
"chars": 1578,
"preview": "FROM php:8.4-fpm-alpine\n\nRUN apk add --no-cache \\\n bash \\\n git \\\n curl \\\n vim \\\n unzip \\\n nginx \\\n "
},
{
"path": "LICENSE.md",
"chars": 34336,
"preview": " GNU AFFERO GENERAL PUBLIC LICENSE\n Version 3, 19 November 2007\n\nCopyright (C) "
},
{
"path": "README.md",
"chars": 1641,
"preview": "<p align=\"center\">\n <a href=\"https://govigilant.io/\" target=\"_blank\">\n <picture>\n <source media=\"(prefers-color"
},
{
"path": "SECURITY.md",
"chars": 1987,
"preview": "# Security Policy\n\n## Introduction\n\nVigilant is committed to ensuring the security and integrity of our users' data. Thi"
},
{
"path": "app/Console/Kernel.php",
"chars": 2585,
"preview": "<?php\n\nnamespace App\\Console;\n\nuse Illuminate\\Console\\Scheduling\\Schedule;\nuse Illuminate\\Foundation\\Console\\Kernel as C"
},
{
"path": "app/Exceptions/Handler.php",
"chars": 639,
"preview": "<?php\n\nnamespace App\\Exceptions;\n\nuse Illuminate\\Foundation\\Exceptions\\Handler as ExceptionHandler;\nuse Throwable;\n\nclas"
},
{
"path": "app/Http/Controllers/Controller.php",
"chars": 299,
"preview": "<?php\n\nnamespace App\\Http\\Controllers;\n\nuse Illuminate\\Foundation\\Auth\\Access\\AuthorizesRequests;\nuse Illuminate\\Foundat"
},
{
"path": "app/Http/Kernel.php",
"chars": 3259,
"preview": "<?php\n\nnamespace App\\Http;\n\nuse Illuminate\\Foundation\\Http\\Kernel as HttpKernel;\nuse Illuminate\\Support\\Arr;\nuse Vigilan"
},
{
"path": "app/Http/Middleware/Authenticate.php",
"chars": 409,
"preview": "<?php\n\nnamespace App\\Http\\Middleware;\n\nuse Illuminate\\Auth\\Middleware\\Authenticate as Middleware;\nuse Illuminate\\Http\\Re"
},
{
"path": "app/Http/Middleware/EncryptCookies.php",
"chars": 307,
"preview": "<?php\n\nnamespace App\\Http\\Middleware;\n\nuse Illuminate\\Cookie\\Middleware\\EncryptCookies as Middleware;\n\nclass EncryptCook"
},
{
"path": "app/Http/Middleware/PreventRequestsDuringMaintenance.php",
"chars": 366,
"preview": "<?php\n\nnamespace App\\Http\\Middleware;\n\nuse Illuminate\\Foundation\\Http\\Middleware\\PreventRequestsDuringMaintenance as Mid"
},
{
"path": "app/Http/Middleware/RedirectIfAuthenticated.php",
"chars": 760,
"preview": "<?php\n\nnamespace App\\Http\\Middleware;\n\nuse App\\Providers\\RouteServiceProvider;\nuse Closure;\nuse Illuminate\\Http\\Request;"
},
{
"path": "app/Http/Middleware/TrimStrings.php",
"chars": 381,
"preview": "<?php\n\nnamespace App\\Http\\Middleware;\n\nuse Illuminate\\Foundation\\Http\\Middleware\\TrimStrings as Middleware;\n\nclass TrimS"
},
{
"path": "app/Http/Middleware/TrustHosts.php",
"chars": 379,
"preview": "<?php\n\nnamespace App\\Http\\Middleware;\n\nuse Illuminate\\Http\\Middleware\\TrustHosts as Middleware;\n\nclass TrustHosts extend"
},
{
"path": "app/Http/Middleware/TrustProxies.php",
"chars": 655,
"preview": "<?php\n\nnamespace App\\Http\\Middleware;\n\nuse Illuminate\\Http\\Middleware\\TrustProxies as Middleware;\nuse Illuminate\\Http\\Re"
},
{
"path": "app/Http/Middleware/ValidateSignature.php",
"chars": 460,
"preview": "<?php\n\nnamespace App\\Http\\Middleware;\n\nuse Illuminate\\Routing\\Middleware\\ValidateSignature as Middleware;\n\nclass Validat"
},
{
"path": "app/Http/Middleware/VerifyCsrfToken.php",
"chars": 329,
"preview": "<?php\n\nnamespace App\\Http\\Middleware;\n\nuse Illuminate\\Foundation\\Http\\Middleware\\VerifyCsrfToken as Middleware;\n\nclass V"
},
{
"path": "app/Providers/AppServiceProvider.php",
"chars": 655,
"preview": "<?php\n\nnamespace App\\Providers;\n\nuse Illuminate\\Support\\Facades\\URL;\nuse Illuminate\\Support\\ServiceProvider;\nuse Vigilan"
},
{
"path": "app/Providers/AuthServiceProvider.php",
"chars": 468,
"preview": "<?php\n\nnamespace App\\Providers;\n\nuse Illuminate\\Foundation\\Support\\Providers\\AuthServiceProvider as ServiceProvider;\n\ncl"
},
{
"path": "app/Providers/BroadcastServiceProvider.php",
"chars": 359,
"preview": "<?php\n\nnamespace App\\Providers;\n\nuse Illuminate\\Support\\Facades\\Broadcast;\nuse Illuminate\\Support\\ServiceProvider;\n\nclas"
},
{
"path": "app/Providers/EventServiceProvider.php",
"chars": 846,
"preview": "<?php\n\nnamespace App\\Providers;\n\nuse Illuminate\\Auth\\Events\\Registered;\nuse Illuminate\\Auth\\Listeners\\SendEmailVerificat"
},
{
"path": "app/Providers/FortifyServiceProvider.php",
"chars": 1449,
"preview": "<?php\n\nnamespace App\\Providers;\n\nuse Illuminate\\Cache\\RateLimiting\\Limit;\nuse Illuminate\\Http\\Request;\nuse Illuminate\\Su"
},
{
"path": "app/Providers/HorizonServiceProvider.php",
"chars": 879,
"preview": "<?php\n\nnamespace App\\Providers;\n\nuse Illuminate\\Support\\Facades\\Gate;\nuse Laravel\\Horizon\\Horizon;\nuse Laravel\\Horizon\\H"
},
{
"path": "app/Providers/JetstreamServiceProvider.php",
"chars": 2017,
"preview": "<?php\n\nnamespace App\\Providers;\n\nuse Illuminate\\Support\\ServiceProvider;\nuse Laravel\\Jetstream\\Jetstream;\nuse Vigilant\\U"
},
{
"path": "app/Providers/RouteServiceProvider.php",
"chars": 1097,
"preview": "<?php\n\nnamespace App\\Providers;\n\nuse Illuminate\\Cache\\RateLimiting\\Limit;\nuse Illuminate\\Foundation\\Support\\Providers\\Ro"
},
{
"path": "app/View/Components/AppLayout.php",
"chars": 358,
"preview": "<?php\n\nnamespace App\\View\\Components;\n\nuse Illuminate\\View\\Component;\nuse Illuminate\\View\\View;\n\nclass AppLayout extends"
},
{
"path": "app/View/Components/GuestLayout.php",
"chars": 362,
"preview": "<?php\n\nnamespace App\\View\\Components;\n\nuse Illuminate\\View\\Component;\nuse Illuminate\\View\\View;\n\nclass GuestLayout exten"
},
{
"path": "artisan",
"chars": 1686,
"preview": "#!/usr/bin/env php\n<?php\n\ndefine('LARAVEL_START', microtime(true));\n\n/*\n|-----------------------------------------------"
},
{
"path": "bootstrap/app.php",
"chars": 1620,
"preview": "<?php\n\n/*\n|--------------------------------------------------------------------------\n| Create The Application\n|--------"
},
{
"path": "bootstrap/cache/.gitignore",
"chars": 14,
"preview": "*\n!.gitignore\n"
},
{
"path": "composer.json",
"chars": 3465,
"preview": "{\n \"name\": \"laravel/laravel\",\n \"type\": \"project\",\n \"description\": \"Vigilant: All-in-one website monitoring\",\n "
},
{
"path": "config/app.php",
"chars": 6616,
"preview": "<?php\n\nuse Illuminate\\Support\\Facades\\Facade;\nuse Illuminate\\Support\\ServiceProvider;\n\nreturn [\n\n /*\n |-----------"
},
{
"path": "config/auth.php",
"chars": 3909,
"preview": "<?php\n\nreturn [\n\n /*\n |--------------------------------------------------------------------------\n | Authentica"
},
{
"path": "config/broadcasting.php",
"chars": 2147,
"preview": "<?php\n\nreturn [\n\n /*\n |--------------------------------------------------------------------------\n | Default Br"
},
{
"path": "config/cache.php",
"chars": 3338,
"preview": "<?php\n\nuse Illuminate\\Support\\Str;\n\nreturn [\n\n /*\n |--------------------------------------------------------------"
},
{
"path": "config/cors.php",
"chars": 846,
"preview": "<?php\n\nreturn [\n\n /*\n |--------------------------------------------------------------------------\n | Cross-Orig"
},
{
"path": "config/database.php",
"chars": 5289,
"preview": "<?php\n\nuse Illuminate\\Support\\Str;\n\nreturn [\n\n /*\n |--------------------------------------------------------------"
},
{
"path": "config/filesystems.php",
"chars": 2370,
"preview": "<?php\n\nreturn [\n\n /*\n |--------------------------------------------------------------------------\n | Default Fi"
},
{
"path": "config/fortify.php",
"chars": 5443,
"preview": "<?php\n\nuse Laravel\\Fortify\\Features;\nuse Vigilant\\Users\\Http\\Middleware\\NoUserMiddleware;\n\nreturn [\n\n /*\n |-------"
},
{
"path": "config/hashing.php",
"chars": 1624,
"preview": "<?php\n\nreturn [\n\n /*\n |--------------------------------------------------------------------------\n | Default Ha"
},
{
"path": "config/horizon.php",
"chars": 9826,
"preview": "<?php\n\nuse Illuminate\\Support\\Str;\n\nreturn [\n\n /*\n |--------------------------------------------------------------"
},
{
"path": "config/jetstream.php",
"chars": 2733,
"preview": "<?php\n\nuse Laravel\\Jetstream\\Features;\nuse Laravel\\Jetstream\\Http\\Middleware\\AuthenticateSession;\n\nreturn [\n\n /*\n "
},
{
"path": "config/livewire.php",
"chars": 6186,
"preview": "<?php\n\nreturn [\n\n /*\n |---------------------------------------------------------------------------\n | Class Nam"
},
{
"path": "config/logging.php",
"chars": 4171,
"preview": "<?php\n\nuse Monolog\\Handler\\NullHandler;\nuse Monolog\\Handler\\StreamHandler;\nuse Monolog\\Handler\\SyslogUdpHandler;\nuse Mon"
},
{
"path": "config/mail.php",
"chars": 4107,
"preview": "<?php\n\nreturn [\n\n /*\n |--------------------------------------------------------------------------\n | Default Ma"
},
{
"path": "config/queue.php",
"chars": 3450,
"preview": "<?php\n\nreturn [\n\n /*\n |--------------------------------------------------------------------------\n | Default Qu"
},
{
"path": "config/sanctum.php",
"chars": 2963,
"preview": "<?php\n\nuse Laravel\\Sanctum\\Sanctum;\n\nreturn [\n\n /*\n |-------------------------------------------------------------"
},
{
"path": "config/services.php",
"chars": 1215,
"preview": "<?php\n\nreturn [\n\n /*\n |--------------------------------------------------------------------------\n | Third Part"
},
{
"path": "config/session.php",
"chars": 7499,
"preview": "<?php\n\nuse Illuminate\\Support\\Str;\n\nreturn [\n\n /*\n |--------------------------------------------------------------"
},
{
"path": "config/view.php",
"chars": 1053,
"preview": "<?php\n\nreturn [\n\n /*\n |--------------------------------------------------------------------------\n | View Stora"
},
{
"path": "database/.gitignore",
"chars": 10,
"preview": "*.sqlite*\n"
},
{
"path": "database/migrations/2019_08_19_000000_create_failed_jobs_table.php",
"chars": 768,
"preview": "<?php\n\nuse Illuminate\\Database\\Migrations\\Migration;\nuse Illuminate\\Database\\Schema\\Blueprint;\nuse Illuminate\\Support\\Fa"
},
{
"path": "database/migrations/2019_12_14_000001_create_personal_access_tokens_table.php",
"chars": 856,
"preview": "<?php\n\nuse Illuminate\\Database\\Migrations\\Migration;\nuse Illuminate\\Database\\Schema\\Blueprint;\nuse Illuminate\\Support\\Fa"
},
{
"path": "database/migrations/2024_02_18_184745_create_sessions_table.php",
"chars": 787,
"preview": "<?php\n\nuse Illuminate\\Database\\Migrations\\Migration;\nuse Illuminate\\Database\\Schema\\Blueprint;\nuse Illuminate\\Support\\Fa"
},
{
"path": "database/migrations/2024_03_23_092656_create_notifications_table.php",
"chars": 726,
"preview": "<?php\n\nuse Illuminate\\Database\\Migrations\\Migration;\nuse Illuminate\\Database\\Schema\\Blueprint;\nuse Illuminate\\Support\\Fa"
},
{
"path": "database/seeders/DatabaseSeeder.php",
"chars": 789,
"preview": "<?php\n\nnamespace Database\\Seeders;\n\n// use Illuminate\\Database\\Console\\Seeds\\WithoutModelEvents;\nuse Illuminate\\Database"
},
{
"path": "docker/crontab",
"chars": 94,
"preview": "* * * * * /usr/local/bin/php /app/artisan schedule:run >> /app/storage/logs/schedule.log 2>&1\n"
},
{
"path": "docker/entrypoint.sh",
"chars": 598,
"preview": "#!/bin/sh\n\ncp -f -r /tmp/public/* /app/public\n\nmkdir -p /app/storage/framework/cache\nmkdir -p /app/storage/framework/ses"
},
{
"path": "docker/horizon-entrypoint.sh",
"chars": 238,
"preview": "#!/bin/sh\n\nmkdir -p /app/storage/framework/cache\nmkdir -p /app/storage/framework/sessions\nmkdir -p /app/storage/framewor"
},
{
"path": "docker/nginx.conf",
"chars": 1398,
"preview": "server {\n listen 8000;\n server_name _;\n\n root /app/public;\n index index.php;\n\n access_log /app/storage/lo"
},
{
"path": "docker/php-fpm.ini",
"chars": 613,
"preview": "max_execution_time = 300\nmax_input_time = 60\nmemory_limit = 256M\n\nexpose_php = Off\ndisplay_errors = Off\nlog_errors = On\n"
},
{
"path": "docker/preload.php",
"chars": 2978,
"preview": "<?php\n\nrequire_once '/app/vendor/autoload.php';\n\n$files = array_merge(\n glob('/app/vendor/laravel/framework/src/Illum"
},
{
"path": "docker/supervisor/supervisor.conf",
"chars": 673,
"preview": "[supervisord]\nnodaemon=true\nuser=root\nlogfile=/app/storage/logs/supervisord.log\nlogfile_maxbytes=10MB\n\n[program:cron]\nco"
},
{
"path": "docker/www.conf",
"chars": 383,
"preview": "[www]\nuser = www-data\ngroup = www-data\n\nlisten = /run/php-fpm.sock\nlisten.owner = www-data\nlisten.group = nginx\nlisten.m"
},
{
"path": "docker-compose.yml",
"chars": 2682,
"preview": "services:\n app:\n image: ghcr.io/govigilant/vigilant:latest\n build:\n context: .\n volum"
},
{
"path": "package.json",
"chars": 720,
"preview": "{\n \"private\": true,\n \"type\": \"module\",\n \"scripts\": {\n \"predev\": \"node scripts/generate-tailwind-sources."
},
{
"path": "packages/certificates/.gitignore",
"chars": 43,
"preview": "vendor\ncomposer.lock\n.phpunit.result.cache\n"
},
{
"path": "packages/certificates/composer.json",
"chars": 1860,
"preview": "{\n \"name\": \"vigilant/certificates\",\n \"description\": \"Vigilant Certificate Monitor\",\n \"type\": \"package\",\n \"li"
},
{
"path": "packages/certificates/config/certificates.php",
"chars": 50,
"preview": "<?php\n\nreturn [\n 'queue' => 'certificates',\n];\n"
},
{
"path": "packages/certificates/database/migrations/2025_04_08_200000_create_create_certificate_monitors_table.php",
"chars": 1240,
"preview": "<?php\n\nuse Illuminate\\Database\\Migrations\\Migration;\nuse Illuminate\\Database\\Schema\\Blueprint;\nuse Illuminate\\Support\\Fa"
},
{
"path": "packages/certificates/database/migrations/2025_04_12_090000_create_create_certificate_monitor_history_table.php",
"chars": 1092,
"preview": "<?php\n\nuse Illuminate\\Database\\Migrations\\Migration;\nuse Illuminate\\Database\\Schema\\Blueprint;\nuse Illuminate\\Support\\Fa"
},
{
"path": "packages/certificates/phpstan.neon",
"chars": 288,
"preview": "includes:\n - ./vendor/larastan/larastan/extension.neon\n - ./vendor/phpstan/phpstan-mockery/extension.neon\n\nparamet"
},
{
"path": "packages/certificates/phpunit.xml",
"chars": 466,
"preview": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<phpunit xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\" xsi:noNamespaceSch"
},
{
"path": "packages/certificates/resources/navigation.php",
"chars": 245,
"preview": "<?php\n\nuse Vigilant\\Core\\Facades\\Navigation;\n\nNavigation::add(route('certificates'), 'Certificates')\n ->parent('infra"
},
{
"path": "packages/certificates/resources/views/components/empty-states/monitors.blade.php",
"chars": 577,
"preview": "<x-frontend::empty-state\n :title=\"__('No Certificate Monitors')\"\n :description=\"__('Track TLS certificate expirati"
},
{
"path": "packages/certificates/resources/views/index.blade.php",
"chars": 992,
"preview": "<x-app-layout>\n <x-slot name=\"header\">\n <x-page-header title=\"Certificate Monitoring\">\n <x-frontend"
},
{
"path": "packages/certificates/resources/views/livewire/certificate-monitor-form.blade.php",
"chars": 1192,
"preview": "<div>\n @if (!$inline)\n <x-slot name=\"header\">\n <x-page-header :title=\"$updating ? 'Edit Certificate"
},
{
"path": "packages/certificates/resources/views/livewire/monitor/dashboard.blade.php",
"chars": 1702,
"preview": "<div class=\"\">\n\n <dl class=\"grid grid-cols-2 lg:grid-cols-4 gap-4\">\n <x-frontend::stats-card :title=\"__('Expir"
},
{
"path": "packages/certificates/resources/views/monitor/index.blade.php",
"chars": 3926,
"preview": "<x-app-layout>\n <x-slot name=\"header\">\n <x-page-header :back=\"route('certificates')\" :title=\"'Certificate Moni"
},
{
"path": "packages/certificates/routes/web.php",
"chars": 793,
"preview": "<?php\n\nuse Illuminate\\Support\\Facades\\Route;\nuse Vigilant\\Certificates\\Http\\Controllers\\CertificateMonitorController;\nus"
},
{
"path": "packages/certificates/src/Actions/CheckCertificate.php",
"chars": 3617,
"preview": "<?php\n\nnamespace Vigilant\\Certificates\\Actions;\n\nuse Illuminate\\Support\\Carbon;\nuse Vigilant\\Certificates\\Models\\Certifi"
},
{
"path": "packages/certificates/src/Commands/CheckCertificateCommand.php",
"chars": 602,
"preview": "<?php\n\nnamespace Vigilant\\Certificates\\Commands;\n\nuse Illuminate\\Console\\Command;\nuse Vigilant\\Certificates\\Jobs\\CheckCe"
},
{
"path": "packages/certificates/src/Commands/CheckCertificatesCommand.php",
"chars": 890,
"preview": "<?php\n\nnamespace Vigilant\\Certificates\\Commands;\n\nuse Illuminate\\Console\\Command;\nuse Illuminate\\Database\\Eloquent\\Build"
},
{
"path": "packages/certificates/src/Http/Controllers/CertificateMonitorController.php",
"chars": 1218,
"preview": "<?php\n\nnamespace Vigilant\\Certificates\\Http\\Controllers;\n\nuse Illuminate\\Http\\RedirectResponse;\nuse Illuminate\\Routing\\C"
},
{
"path": "packages/certificates/src/Jobs/CheckCertificateJob.php",
"chars": 1048,
"preview": "<?php\n\nnamespace Vigilant\\Certificates\\Jobs;\n\nuse Illuminate\\Bus\\Queueable;\nuse Illuminate\\Contracts\\Queue\\ShouldBeUniqu"
},
{
"path": "packages/certificates/src/Livewire/CertificateMonitorForm.php",
"chars": 2098,
"preview": "<?php\n\nnamespace Vigilant\\Certificates\\Livewire;\n\nuse Livewire\\Attributes\\Locked;\nuse Livewire\\Attributes\\On;\nuse Livewi"
},
{
"path": "packages/certificates/src/Livewire/Forms/CertificateMonitorForm.php",
"chars": 891,
"preview": "<?php\n\nnamespace Vigilant\\Certificates\\Livewire\\Forms;\n\nuse Livewire\\Attributes\\Locked;\nuse Livewire\\Attributes\\Validate"
},
{
"path": "packages/certificates/src/Livewire/Monitor/Dashboard.php",
"chars": 650,
"preview": "<?php\n\nnamespace Vigilant\\Certificates\\Livewire\\Monitor;\n\nuse Livewire\\Attributes\\Locked;\nuse Livewire\\Component;\nuse Vi"
},
{
"path": "packages/certificates/src/Livewire/Tables/CertificateMonitorHistoryTable.php",
"chars": 1683,
"preview": "<?php\n\nnamespace Vigilant\\Certificates\\Livewire\\Tables;\n\nuse Illuminate\\Database\\Eloquent\\Builder;\nuse Livewire\\Attribut"
},
{
"path": "packages/certificates/src/Livewire/Tables/CertificateMonitorsTable.php",
"chars": 4388,
"preview": "<?php\n\nnamespace Vigilant\\Certificates\\Livewire\\Tables;\n\nuse Illuminate\\Database\\Eloquent\\Model;\nuse Illuminate\\Support\\"
},
{
"path": "packages/certificates/src/Models/CertificateMonitor.php",
"chars": 1722,
"preview": "<?php\n\nnamespace Vigilant\\Certificates\\Models;\n\nuse Illuminate\\Database\\Eloquent\\Attributes\\ObservedBy;\nuse Illuminate\\D"
},
{
"path": "packages/certificates/src/Models/CertificateMonitorHistory.php",
"chars": 1613,
"preview": "<?php\n\nnamespace Vigilant\\Certificates\\Models;\n\nuse Illuminate\\Database\\Eloquent\\Attributes\\ObservedBy;\nuse Illuminate\\D"
},
{
"path": "packages/certificates/src/Notifications/CertificateChangedNotification.php",
"chars": 1522,
"preview": "<?php\n\nnamespace Vigilant\\Certificates\\Notifications;\n\nuse Vigilant\\Certificates\\Models\\CertificateMonitor;\nuse Vigilant"
},
{
"path": "packages/certificates/src/Notifications/CertificateExpiredNotification.php",
"chars": 1145,
"preview": "<?php\n\nnamespace Vigilant\\Certificates\\Notifications;\n\nuse Vigilant\\Certificates\\Models\\CertificateMonitor;\nuse Vigilant"
},
{
"path": "packages/certificates/src/Notifications/CertificateExpiresInDaysNotification.php",
"chars": 1895,
"preview": "<?php\n\nnamespace Vigilant\\Certificates\\Notifications;\n\nuse Vigilant\\Certificates\\Models\\CertificateMonitor;\nuse Vigilant"
},
{
"path": "packages/certificates/src/Notifications/Conditions/DaysCondition.php",
"chars": 908,
"preview": "<?php\n\nnamespace Vigilant\\Certificates\\Notifications\\Conditions;\n\nuse Vigilant\\Certificates\\Notifications\\CertificateExp"
},
{
"path": "packages/certificates/src/Notifications/UnableToResolveCertificateNotification.php",
"chars": 1259,
"preview": "<?php\n\nnamespace Vigilant\\Certificates\\Notifications;\n\nuse Vigilant\\Certificates\\Models\\CertificateMonitor;\nuse Vigilant"
},
{
"path": "packages/certificates/src/ServiceProvider.php",
"chars": 4396,
"preview": "<?php\n\nnamespace Vigilant\\Certificates;\n\nuse Illuminate\\Support\\Facades\\Gate;\nuse Illuminate\\Support\\Facades\\Route;\nuse "
},
{
"path": "packages/certificates/testbench.yaml",
"chars": 53,
"preview": "providers:\n - Vigilant\\Certificates\\ServiceProvider\n"
},
{
"path": "packages/certificates/tests/TestCase.php",
"chars": 994,
"preview": "<?php\n\nnamespace Vigilant\\Certificates\\Tests;\n\nuse Illuminate\\Foundation\\Testing\\LazilyRefreshDatabase;\nuse Livewire\\Liv"
},
{
"path": "packages/core/.gitignore",
"chars": 43,
"preview": "vendor\ncomposer.lock\n.phpunit.result.cache\n"
},
{
"path": "packages/core/composer.json",
"chars": 1997,
"preview": "{\n \"name\": \"vigilant/core\",\n \"description\": \"Vigilant Core\",\n \"type\": \"package\",\n \"license\": \"AGPL\",\n \"au"
},
{
"path": "packages/core/config/core.php",
"chars": 1118,
"preview": "<?php\n\nuse Vigilant\\Certificates\\Models\\CertificateMonitorHistory;\nuse Vigilant\\Dns\\Models\\DnsMonitorHistory;\nuse Vigila"
},
{
"path": "packages/core/phpstan.neon",
"chars": 323,
"preview": "includes:\n - ./vendor/larastan/larastan/extension.neon\n - ./vendor/phpstan/phpstan-mockery/extension.neon\n\nparamet"
},
{
"path": "packages/core/phpunit.xml",
"chars": 466,
"preview": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<phpunit xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\" xsi:noNamespaceSch"
},
{
"path": "packages/core/resources/navigation.php",
"chars": 403,
"preview": "<?php\n\nuse Vigilant\\Core\\Facades\\Navigation;\n\nNavigation::add(null, 'Health')\n ->code('health')\n ->icon('phosphor-"
},
{
"path": "packages/core/routes/web.php",
"chars": 6,
"preview": "<?php\n"
},
{
"path": "packages/core/src/Actions/ResolveDataRetention.php",
"chars": 350,
"preview": "<?php\n\nnamespace Vigilant\\Core\\Actions;\n\nuse Illuminate\\Support\\Carbon;\nuse Vigilant\\Core\\Contracts\\ResolvesDataRetentio"
},
{
"path": "packages/core/src/Concerns/HasDataRetention.php",
"chars": 319,
"preview": "<?php\n\nnamespace Vigilant\\Core\\Concerns;\n\nuse Illuminate\\Support\\Carbon;\nuse Vigilant\\Core\\Contracts\\ResolvesDataRetenti"
},
{
"path": "packages/core/src/Contracts/ResolvesDataRetention.php",
"chars": 163,
"preview": "<?php\n\nnamespace Vigilant\\Core\\Contracts;\n\nuse Illuminate\\Support\\Carbon;\n\ninterface ResolvesDataRetention\n{\n public "
},
{
"path": "packages/core/src/Data/Data.php",
"chars": 1090,
"preview": "<?php\n\nnamespace Vigilant\\Core\\Data;\n\nuse ArrayAccess;\nuse Illuminate\\Contracts\\Support\\Arrayable;\nuse Illuminate\\Suppor"
},
{
"path": "packages/core/src/Facades/Navigation.php",
"chars": 444,
"preview": "<?php\n\nnamespace Vigilant\\Core\\Facades;\n\nuse Illuminate\\Support\\Facades\\Facade;\nuse Vigilant\\Core\\Navigation\\NavigationI"
},
{
"path": "packages/core/src/Http/Middleware/TeamMiddleware.php",
"chars": 550,
"preview": "<?php\n\nnamespace Vigilant\\Core\\Http\\Middleware;\n\nuse Closure;\nuse Illuminate\\Http\\Request;\nuse Symfony\\Component\\HttpFou"
},
{
"path": "packages/core/src/Navigation/Navigation.php",
"chars": 1279,
"preview": "<?php\n\nnamespace Vigilant\\Core\\Navigation;\n\nclass Navigation\n{\n protected array $paths = [];\n\n protected bool $loa"
},
{
"path": "packages/core/src/Navigation/NavigationItem.php",
"chars": 2123,
"preview": "<?php\n\nnamespace Vigilant\\Core\\Navigation;\n\nuse Illuminate\\Support\\Facades\\Gate;\nuse Illuminate\\Support\\Facades\\Route;\n\n"
},
{
"path": "packages/core/src/Policies/AllowAllPolicy.php",
"chars": 767,
"preview": "<?php\n\nnamespace Vigilant\\Core\\Policies;\n\nuse Illuminate\\Database\\Eloquent\\Model;\nuse Vigilant\\Users\\Models\\User;\n\nclass"
},
{
"path": "packages/core/src/Scopes/TeamScope.php",
"chars": 523,
"preview": "<?php\n\nnamespace Vigilant\\Core\\Scopes;\n\nuse Illuminate\\Database\\Eloquent\\Builder;\nuse Illuminate\\Database\\Eloquent\\Model"
},
{
"path": "packages/core/src/ServiceProvider.php",
"chars": 2302,
"preview": "<?php\n\nnamespace Vigilant\\Core;\n\nuse Illuminate\\Support\\Facades\\Route;\nuse Illuminate\\Support\\ServiceProvider as BaseSer"
},
{
"path": "packages/core/src/Services/TeamService.php",
"chars": 1292,
"preview": "<?php\n\nnamespace Vigilant\\Core\\Services;\n\nuse Illuminate\\Support\\Facades\\Auth;\nuse Vigilant\\Users\\Models\\Team;\nuse Vigil"
},
{
"path": "packages/core/src/Validation/CanEnableRule.php",
"chars": 686,
"preview": "<?php\n\nnamespace Vigilant\\Core\\Validation;\n\nuse Closure;\nuse Illuminate\\Contracts\\Validation\\ValidationRule;\nuse Vigilan"
},
{
"path": "packages/core/src/helpers.php",
"chars": 477,
"preview": "<?php\n\nuse Illuminate\\Support\\Carbon;\nuse Vigilant\\Core\\Services\\TeamService;\n\nif (! function_exists('teamTimezone')) {\n"
},
{
"path": "packages/core/testbench.yaml",
"chars": 45,
"preview": "providers:\n - Vigilant\\Core\\ServiceProvider\n"
},
{
"path": "packages/core/tests/TestCase.php",
"chars": 699,
"preview": "<?php\n\nnamespace Vigilant\\Core\\Tests;\n\nuse Illuminate\\Foundation\\Testing\\LazilyRefreshDatabase;\nuse Orchestra\\Testbench\\"
},
{
"path": "packages/crawler/.gitignore",
"chars": 43,
"preview": "vendor\ncomposer.lock\n.phpunit.result.cache\n"
},
{
"path": "packages/crawler/composer.json",
"chars": 1902,
"preview": "{\n \"name\": \"vigilant/crawler\",\n \"description\": \"Vigilant Crawler\",\n \"type\": \"package\",\n \"license\": \"AGPL\",\n "
},
{
"path": "packages/crawler/config/crawler.php",
"chars": 5838,
"preview": "<?php\n\nreturn [\n 'queue' => 'crawler',\n\n 'timeout' => env('CRAWLER_TIMEOUT', 5),\n 'connect_timeout' => env('CRA"
},
{
"path": "packages/crawler/database/migrations/2024_09_06_213000_create_web_crawlers_table.php",
"chars": 1036,
"preview": "<?php\n\nuse Illuminate\\Database\\Migrations\\Migration;\nuse Illuminate\\Database\\Schema\\Blueprint;\nuse Illuminate\\Support\\Fa"
},
{
"path": "packages/crawler/database/migrations/2024_09_06_220000_create_web_crawled_urls_table.php",
"chars": 983,
"preview": "<?php\n\nuse Illuminate\\Database\\Migrations\\Migration;\nuse Illuminate\\Database\\Schema\\Blueprint;\nuse Illuminate\\Support\\Fa"
},
{
"path": "packages/crawler/database/migrations/2025_01_18_220000_crawled_urls_url_length.php",
"chars": 353,
"preview": "<?php\n\nuse Illuminate\\Database\\Migrations\\Migration;\nuse Illuminate\\Database\\Schema\\Blueprint;\nuse Illuminate\\Support\\Fa"
},
{
"path": "packages/crawler/database/migrations/2025_02_01_183000_web_crawlers_enabled_field.php",
"chars": 476,
"preview": "<?php\n\nuse Illuminate\\Database\\Migrations\\Migration;\nuse Illuminate\\Database\\Schema\\Blueprint;\nuse Illuminate\\Support\\Fa"
},
{
"path": "packages/crawler/database/migrations/2025_04_07_200000_web_crawled_urls_url_hash.php",
"chars": 418,
"preview": "<?php\n\nuse Illuminate\\Database\\Migrations\\Migration;\nuse Illuminate\\Database\\Schema\\Blueprint;\nuse Illuminate\\Support\\Fa"
},
{
"path": "packages/crawler/database/migrations/2025_09_28_100000_create_web_crawler_ignored_urls_table.php",
"chars": 723,
"preview": "<?php\n\nuse Illuminate\\Database\\Migrations\\Migration;\nuse Illuminate\\Database\\Schema\\Blueprint;\nuse Illuminate\\Support\\Fa"
},
{
"path": "packages/crawler/database/migrations/2025_09_29_190000_web_crawled_urls_ignored_field.php",
"chars": 570,
"preview": "<?php\n\nuse Illuminate\\Database\\Migrations\\Migration;\nuse Illuminate\\Database\\Schema\\Blueprint;\nuse Illuminate\\Support\\Fa"
},
{
"path": "packages/crawler/phpstan.neon",
"chars": 325,
"preview": "includes:\n - ./vendor/larastan/larastan/extension.neon\n - ./vendor/phpstan/phpstan-mockery/extension.neon\n\nparamet"
},
{
"path": "packages/crawler/phpunit.xml",
"chars": 466,
"preview": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<phpunit xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\" xsi:noNamespaceSch"
},
{
"path": "packages/crawler/resources/navigation.php",
"chars": 222,
"preview": "<?php\n\nuse Vigilant\\Core\\Facades\\Navigation;\n\nNavigation::add(route('crawler.index'), 'Link Issues')\n ->parent('healt"
},
{
"path": "packages/crawler/resources/views/components/empty-states/crawlers.blade.php",
"chars": 504,
"preview": "<x-frontend::empty-state\n :title=\"__('No Crawlers Configured')\"\n :description=\"__('Add a crawler to monitor your s"
},
{
"path": "packages/crawler/resources/views/crawler/index.blade.php",
"chars": 4145,
"preview": "<x-app-layout>\n <x-slot name=\"header\">\n <x-page-header :back=\"route('crawler.index')\" :title=\"'Crawler - ' . $"
},
{
"path": "packages/crawler/resources/views/crawlers.blade.php",
"chars": 874,
"preview": "<div>\n <x-slot name=\"header\">\n <x-page-header title=\"Crawlers\">\n <x-frontend::page-header.actions>\n"
},
{
"path": "packages/crawler/resources/views/livewire/crawler/dashboard.blade.php",
"chars": 548,
"preview": "<dl class=\"grid grid-cols-2 lg:grid-cols-4 gap-4\">\n <x-frontend::stats-card :title=\"__('URLs found')\">\n {{ $to"
},
{
"path": "packages/crawler/resources/views/livewire/crawler-form.blade.php",
"chars": 8484,
"preview": "<div>\n @if (!$inline)\n <x-slot name=\"header\">\n <x-page-header :title=\"$updating ? __('Edit Crawler "
},
{
"path": "packages/crawler/routes/web.php",
"chars": 722,
"preview": "<?php\n\nuse Illuminate\\Support\\Facades\\Route;\nuse Vigilant\\Crawler\\Http\\Controllers\\CrawlerController;\nuse Vigilant\\Crawl"
},
{
"path": "packages/crawler/src/Actions/CollectCrawlerStats.php",
"chars": 1926,
"preview": "<?php\n\nnamespace Vigilant\\Crawler\\Actions;\n\nuse Illuminate\\Database\\Eloquent\\Builder;\nuse Illuminate\\Support\\Collection;"
},
{
"path": "packages/crawler/src/Actions/CrawlUrl.php",
"chars": 10773,
"preview": "<?php\n\nnamespace Vigilant\\Crawler\\Actions;\n\nuse Illuminate\\Http\\Client\\ConnectionException;\nuse Illuminate\\Http\\Client\\R"
},
{
"path": "packages/crawler/src/Actions/ImportSitemaps.php",
"chars": 3153,
"preview": "<?php\n\nnamespace Vigilant\\Crawler\\Actions;\n\nuse Illuminate\\Support\\Collection;\nuse Illuminate\\Support\\Facades\\Http;\nuse "
},
{
"path": "packages/crawler/src/Actions/ProcessCrawlerState.php",
"chars": 1258,
"preview": "<?php\n\nnamespace Vigilant\\Crawler\\Actions;\n\nuse Vigilant\\Core\\Services\\TeamService;\nuse Vigilant\\Crawler\\Enums\\State;\nus"
},
{
"path": "packages/crawler/src/Actions/StartCrawler.php",
"chars": 634,
"preview": "<?php\n\nnamespace Vigilant\\Crawler\\Actions;\n\nuse Vigilant\\Crawler\\Enums\\State;\nuse Vigilant\\Crawler\\Jobs\\ImportSitemapsJo"
},
{
"path": "packages/crawler/src/Commands/CollectCrawlerStatsCommand.php",
"chars": 721,
"preview": "<?php\n\nnamespace Vigilant\\Crawler\\Commands;\n\nuse Illuminate\\Console\\Command;\nuse Vigilant\\Core\\Services\\TeamService;\nuse"
},
{
"path": "packages/crawler/src/Commands/CrawlUrlsCommand.php",
"chars": 933,
"preview": "<?php\n\nnamespace Vigilant\\Crawler\\Commands;\n\nuse Illuminate\\Console\\Command;\nuse Illuminate\\Database\\Eloquent\\Builder;\nu"
},
{
"path": "packages/crawler/src/Commands/ProcessCrawlerStatesCommand.php",
"chars": 780,
"preview": "<?php\n\nnamespace Vigilant\\Crawler\\Commands;\n\nuse Illuminate\\Console\\Command;\nuse Illuminate\\Foundation\\Bus\\PendingDispat"
},
{
"path": "packages/crawler/src/Commands/ScheduleCrawlersCommand.php",
"chars": 1024,
"preview": "<?php\n\nnamespace Vigilant\\Crawler\\Commands;\n\nuse Cron\\CronExpression;\nuse Illuminate\\Console\\Command;\nuse Vigilant\\Crawl"
},
{
"path": "packages/crawler/src/Commands/StartCrawlerCommand.php",
"chars": 775,
"preview": "<?php\n\nnamespace Vigilant\\Crawler\\Commands;\n\nuse Illuminate\\Console\\Command;\nuse Vigilant\\Core\\Services\\TeamService;\nuse"
},
{
"path": "packages/crawler/src/Enums/State.php",
"chars": 605,
"preview": "<?php\n\nnamespace Vigilant\\Crawler\\Enums;\n\nenum State: string\n{\n case Pending = 'pending';\n case Crawling = 'crawli"
},
{
"path": "packages/crawler/src/Enums/Status.php",
"chars": 5274,
"preview": "<?php\n\nnamespace Vigilant\\Crawler\\Enums;\n\nenum Status: int\n{\n case ConnectionFailure = 0;\n case BAD_REQUEST = 400;"
},
{
"path": "packages/crawler/src/Events/CrawlerFinishedEvent.php",
"chars": 307,
"preview": "<?php\n\nnamespace Vigilant\\Crawler\\Events;\n\nuse Illuminate\\Foundation\\Events\\Dispatchable;\nuse Illuminate\\Queue\\Serialize"
},
{
"path": "packages/crawler/src/Exports/IssuesExport.php",
"chars": 1063,
"preview": "<?php\n\nnamespace Vigilant\\Crawler\\Exports;\n\nuse Illuminate\\Support\\Collection;\nuse Maatwebsite\\Excel\\Concerns\\FromCollec"
},
{
"path": "packages/crawler/src/Http/Controllers/CrawlerController.php",
"chars": 803,
"preview": "<?php\n\nnamespace Vigilant\\Crawler\\Http\\Controllers;\n\nuse Illuminate\\Routing\\Controller;\nuse Vigilant\\Crawler\\Models\\Craw"
},
{
"path": "packages/crawler/src/Jobs/CollectCrawlerStatsJob.php",
"chars": 977,
"preview": "<?php\n\nnamespace Vigilant\\Crawler\\Jobs;\n\nuse Illuminate\\Bus\\Queueable;\nuse Illuminate\\Contracts\\Queue\\ShouldBeUniqueUnti"
},
{
"path": "packages/crawler/src/Jobs/CrawUrlJob.php",
"chars": 962,
"preview": "<?php\n\nnamespace Vigilant\\Crawler\\Jobs;\n\nuse Illuminate\\Bus\\Queueable;\nuse Illuminate\\Contracts\\Queue\\ShouldBeUnique;\nus"
},
{
"path": "packages/crawler/src/Jobs/ImportSitemapsJob.php",
"chars": 859,
"preview": "<?php\n\nnamespace Vigilant\\Crawler\\Jobs;\n\nuse Illuminate\\Bus\\Queueable;\nuse Illuminate\\Contracts\\Queue\\ShouldBeUnique;\nus"
},
{
"path": "packages/crawler/src/Jobs/ProcessCrawlerStateJob.php",
"chars": 869,
"preview": "<?php\n\nnamespace Vigilant\\Crawler\\Jobs;\n\nuse Illuminate\\Bus\\Queueable;\nuse Illuminate\\Contracts\\Queue\\ShouldBeUnique;\nus"
},
{
"path": "packages/crawler/src/Jobs/StartCrawlerJob.php",
"chars": 966,
"preview": "<?php\n\nnamespace Vigilant\\Crawler\\Jobs;\n\nuse Illuminate\\Bus\\Queueable;\nuse Illuminate\\Contracts\\Queue\\ShouldBeUnique;\nus"
},
{
"path": "packages/crawler/src/Listeners/CrawlerFinishedListener.php",
"chars": 314,
"preview": "<?php\n\nnamespace Vigilant\\Crawler\\Listeners;\n\nuse Vigilant\\Crawler\\Events\\CrawlerFinishedEvent;\nuse Vigilant\\Crawler\\Job"
},
{
"path": "packages/crawler/src/Livewire/Crawler/Dashboard.php",
"chars": 1068,
"preview": "<?php\n\nnamespace Vigilant\\Crawler\\Livewire\\Crawler;\n\nuse Cron\\CronExpression;\nuse Illuminate\\Support\\Carbon;\nuse Livewir"
},
{
"path": "packages/crawler/src/Livewire/CrawlerForm.php",
"chars": 3486,
"preview": "<?php\n\nnamespace Vigilant\\Crawler\\Livewire;\n\nuse Livewire\\Attributes\\Locked;\nuse Livewire\\Attributes\\On;\nuse Livewire\\Co"
},
{
"path": "packages/crawler/src/Livewire/Crawlers.php",
"chars": 459,
"preview": "<?php\n\nnamespace Vigilant\\Crawler\\Livewire;\n\nuse Illuminate\\Contracts\\View\\View;\nuse Livewire\\Component;\nuse Vigilant\\Cr"
},
{
"path": "packages/crawler/src/Livewire/Forms/CrawlerForm.php",
"chars": 1311,
"preview": "<?php\n\nnamespace Vigilant\\Crawler\\Livewire\\Forms;\n\nuse Livewire\\Attributes\\Locked;\nuse Livewire\\Form;\nuse Vigilant\\Core\\"
},
{
"path": "packages/crawler/src/Livewire/Tables/CrawledUrlsTable.php",
"chars": 1902,
"preview": "<?php\n\nnamespace Vigilant\\Crawler\\Livewire\\Tables;\n\nuse Illuminate\\Database\\Eloquent\\Builder;\nuse Livewire\\Attributes\\Lo"
},
{
"path": "packages/crawler/src/Livewire/Tables/CrawlerTable.php",
"chars": 5643,
"preview": "<?php\n\nnamespace Vigilant\\Crawler\\Livewire\\Tables;\n\nuse Cron\\CronExpression;\nuse Illuminate\\Database\\Eloquent\\Model;\nuse"
},
{
"path": "packages/crawler/src/Livewire/Tables/IssuesTable.php",
"chars": 5572,
"preview": "<?php\n\nnamespace Vigilant\\Crawler\\Livewire\\Tables;\n\nuse Illuminate\\Database\\Eloquent\\Builder;\nuse Illuminate\\Support\\Enu"
},
{
"path": "packages/crawler/src/Models/CrawledUrl.php",
"chars": 1873,
"preview": "<?php\n\nnamespace Vigilant\\Crawler\\Models;\n\nuse Illuminate\\Database\\Eloquent\\Attributes\\ObservedBy;\nuse Illuminate\\Databa"
},
{
"path": "packages/crawler/src/Models/Crawler.php",
"chars": 2239,
"preview": "<?php\n\nnamespace Vigilant\\Crawler\\Models;\n\nuse Illuminate\\Database\\Eloquent\\Attributes\\ObservedBy;\nuse Illuminate\\Databa"
},
{
"path": "packages/crawler/src/Models/IgnoredUrl.php",
"chars": 949,
"preview": "<?php\n\nnamespace Vigilant\\Crawler\\Models;\n\nuse Illuminate\\Database\\Eloquent\\Attributes\\ObservedBy;\nuse Illuminate\\Databa"
},
{
"path": "packages/crawler/src/Notifications/RatelimitedNotification.php",
"chars": 1095,
"preview": "<?php\n\nnamespace Vigilant\\Crawler\\Notifications;\n\nuse Vigilant\\Crawler\\Models\\Crawler;\nuse Vigilant\\Notifications\\Contra"
},
{
"path": "packages/crawler/src/Notifications/UrlIssuesNotification.php",
"chars": 1283,
"preview": "<?php\n\nnamespace Vigilant\\Crawler\\Notifications;\n\nuse Vigilant\\Crawler\\Models\\Crawler;\nuse Vigilant\\Notifications\\Contra"
},
{
"path": "packages/crawler/src/Observers/CrawledUrlObserver.php",
"chars": 421,
"preview": "<?php\n\nnamespace Vigilant\\Crawler\\Observers;\n\nuse Vigilant\\Crawler\\Models\\CrawledUrl;\nuse Vigilant\\Crawler\\Models\\Ignore"
},
{
"path": "packages/crawler/src/Observers/CrawlerObserver.php",
"chars": 262,
"preview": "<?php\n\nnamespace Vigilant\\Crawler\\Observers;\n\nuse Vigilant\\Crawler\\Jobs\\StartCrawlerJob;\nuse Vigilant\\Crawler\\Models\\Cra"
},
{
"path": "packages/crawler/src/Observers/IgnoredUrlObserver.php",
"chars": 293,
"preview": "<?php\n\nnamespace Vigilant\\Crawler\\Observers;\n\nuse Vigilant\\Crawler\\Jobs\\CollectCrawlerStatsJob;\nuse Vigilant\\Crawler\\Mod"
},
{
"path": "packages/crawler/src/ServiceProvider.php",
"chars": 4966,
"preview": "<?php\n\nnamespace Vigilant\\Crawler;\n\nuse Illuminate\\Support\\Facades\\Event;\nuse Illuminate\\Support\\Facades\\Gate;\nuse Illum"
},
{
"path": "packages/crawler/src/Validation/EqualDomainRule.php",
"chars": 1035,
"preview": "<?php\n\nnamespace Vigilant\\Crawler\\Validation;\n\nuse Closure;\nuse Illuminate\\Contracts\\Validation\\DataAwareRule;\nuse Illum"
},
{
"path": "packages/crawler/src/Validation/ValidRegexLines.php",
"chars": 648,
"preview": "<?php\n\nnamespace Vigilant\\Crawler\\Validation;\n\nuse Closure;\nuse Illuminate\\Contracts\\Validation\\ValidationRule;\n\nclass V"
},
{
"path": "packages/crawler/testbench.yaml",
"chars": 48,
"preview": "providers:\n - Vigilant\\Crawler\\ServiceProvider\n"
},
{
"path": "packages/crawler/tests/Actions/CrawUrlTest.php",
"chars": 6776,
"preview": "<?php\n\nnamespace Vigilant\\Crawler\\Tests\\Actions;\n\nuse Illuminate\\Support\\Facades\\Http;\nuse PHPUnit\\Framework\\Attributes\\"
},
{
"path": "packages/crawler/tests/Actions/ProcessCrawlerStateTest.php",
"chars": 1274,
"preview": "<?php\n\nnamespace Vigilant\\Crawler\\Tests\\Actions;\n\nuse Illuminate\\Support\\Facades\\Event;\nuse PHPUnit\\Framework\\Attributes"
},
{
"path": "packages/crawler/tests/Actions/StartCrawlerTest.php",
"chars": 1561,
"preview": "<?php\n\nnamespace Vigilant\\Crawler\\Tests\\Actions;\n\nuse Illuminate\\Support\\Facades\\Bus;\nuse PHPUnit\\Framework\\Attributes\\T"
},
{
"path": "packages/crawler/tests/TestCase.php",
"chars": 984,
"preview": "<?php\n\nnamespace Vigilant\\Crawler\\Tests;\n\nuse Illuminate\\Foundation\\Testing\\LazilyRefreshDatabase;\nuse Livewire\\Livewire"
},
{
"path": "packages/cve/.gitignore",
"chars": 43,
"preview": "vendor\ncomposer.lock\n.phpunit.result.cache\n"
},
{
"path": "packages/cve/composer.json",
"chars": 1807,
"preview": "{\n \"name\": \"vigilant/cve\",\n \"description\": \"Vigilant CVE Monitor\",\n \"type\": \"package\",\n \"license\": \"AGPL\",\n "
},
{
"path": "packages/cve/config/cve.php",
"chars": 41,
"preview": "<?php\n\nreturn [\n 'queue' => 'cve',\n];\n"
},
{
"path": "packages/cve/database/migrations/2025_04_18_090000_create_cves_table.php",
"chars": 701,
"preview": "<?php\n\nuse Illuminate\\Database\\Migrations\\Migration;\nuse Illuminate\\Database\\Schema\\Blueprint;\nuse Illuminate\\Support\\Fa"
},
{
"path": "packages/cve/database/migrations/2025_04_18_100000_create_cve_monitors_table.php",
"chars": 795,
"preview": "<?php\n\nuse Illuminate\\Database\\Migrations\\Migration;\nuse Illuminate\\Database\\Schema\\Blueprint;\nuse Illuminate\\Support\\Fa"
},
{
"path": "packages/cve/database/migrations/2025_04_18_103000_create_cve_monitor_matches_table.php",
"chars": 709,
"preview": "<?php\n\nuse Illuminate\\Database\\Migrations\\Migration;\nuse Illuminate\\Database\\Schema\\Blueprint;\nuse Illuminate\\Support\\Fa"
}
]
// ... and 902 more files (download for full content)
About this extraction
This page contains the full source code of the govigilant/vigilant GitHub repository, extracted and formatted as plain text for AI agents and large language models (LLMs). The extraction includes 1102 files (1.6 MB), approximately 435.8k tokens, and a symbol index with 2200 extracted functions, classes, methods, constants, and types. Use this with OpenClaw, Claude, ChatGPT, Cursor, Windsurf, or any other AI tool that accepts text input. You can copy the full output to your clipboard or download it as a .txt file.
Extracted by GitExtract — free GitHub repo to text converter for AI. Built by Nikandr Surkov.