Перейти к содержимому
docs.
WORKSPACE

Документации проектов

Открыть каталог проектов
Localzet ServerАсинхронный PHP-серверTriangleФреймворк и компонентыMIX IDИдентификация и интеграцииHack APIПубличные API хакатонаACNПроект и компонентыUserlay / UserNetПроект и компонентыAxiomПроект и компонентыМесседжинг через почтуПроект и компонентыLWT / JWT / JOSEПроект и компонентыФинансовая аналитика KimaiПроект и компонентыМультипарадигмальная БДПроект и компонентыZorin PlatformПроект и компонентыZorin TrustПроект и компонентыFloraScope / VegwatchПроект и компонентыaegis-qДокументация проектаaevumdbДокументация проектаauditДокументация проектаauto-invest-managerАвтотрейдерcaine-companionДокументация проектаcertbot-cloudflareДокументация проектаClusterLocalzet Server / ClustercmdveilДокументация проектаConsolePHP CLICronБиблиотеки Localzet Serverdata-connectorДокументация проектаdevice-controlDevice Controlenn-projectДокументация проектаEventsБиблиотеки Localzet ServerflowsintДокументация проектаforgeДокументация проектаHttpClientБиблиотеки Localzet ServerinterpreterСобственный языкinvariaДокументация проектаkeynotesДокументация проектаknotrouteKnotroutelaravel-personal-analyticsДокументация проекта✓localzet-osДокументация проектаmeridianДокументация проектаMQTTБиблиотеки Localzet Servernano-kernelСобственная ОСNoterДокументация проектаpersonal-analyticsДокументация проектаProxyБиблиотеки Localzet ServerPSRБиблиотеки Localzet ServerPSR-7Библиотеки Localzet Serverrschs-monitorДокументация проектаsemsealДокументация проектаshardsealДокументация проектаSocketIOБиблиотеки Localzet ServerSOCKS5Библиотеки Localzet Serverstandalone-analyticsДокументация проектаstatic-php-cliДокументация проектаStorageБиблиотеки Localzet ServersutureДокументация проектаtempoweaveДокументация проектаttsСинтез речиTunnelБиблиотеки Localzet Serverui-kitUI KitvesperДокументация проектаWebAnalyzerWebAnalyzerzorin-access-brokerДокументация проектаzorin-authority-brokerДокументация проектаzorin-authority-sdk-phpДокументация проектаzorin-authority-sdk-pythonДокументация проектаzorin-authority-sdk-tsДокументация проектаzorin-client-intelДокументация проектаzorin-device-core-aospДокументация проектаzorin-host-agentДокументация проектаzorin-native-labДокументация проектаzorin-nodeДокументация проектаzorin-opsДокументация проектаdonstu-python-sdkДокументация проектаfloortraceFloortraceserver-rsLocalzet Server / Cluster
Каталог
Документация/laravel-personal-analytics

laravel-personal-analytics — API

src/AnalyticsServiceProvider.php

function register(): void
function boot(): void

src/Commands/AggregateAnalyticsCommand.php

function handle(AggregationService $aggregation): int

src/Commands/MaintainAnalyticsCommand.php

function handle(MaintenanceService $maintenance): int

src/Contracts/GeoResolver.php

function resolve(?string $ip): array

src/Contracts/UserAgentResolver.php

function resolve(?string $userAgent): array

src/Http/Controllers/AnalyticsAdminController.php

function index(): View
function report(string $report, Request $request, ReportService $reports): JsonResponse
function replay(string $replay, ReplayStorage $storage): JsonResponse
function heatmapSnapshot(string $heatmap, string $device, HeatmapStorage $storage): JsonResponse
function asset(string $asset): BinaryFileResponse

src/Http/Controllers/AnalyticsCollectorController.php

function __invoke(Request $request, GeoResolver $geo, UserAgentResolver $userAgent): JsonResponse

src/Http/Middleware/AnalyticsAdminSecurityHeaders.php

function handle(Request $request, Closure $next): Response

src/Http/Middleware/AnalyticsCors.php

function handle(Request $request, Closure $next): Response

src/Http/Middleware/AuthenticateAnalyticsAdmin.php

function handle(Request $request, Closure $next): Response

src/Jobs/ProcessAnalyticsBatch.php

function __construct(public array $events, public array $context)
function handle(IngestionService $ingestion): void
function backoff(): array

src/Services/AggregationService.php

function __construct(private DatabaseManager $database)
function aggregate(CarbonImmutable $day): void

src/Services/HeatmapStorage.php

function __construct(private DatabaseManager $database, private FilesystemManager $filesystems)
function putSnapshot(string $key, string $path, string $deviceType, int $viewportWidth, array $events, string $occurredAt): void
function snapshot(string $key, string $deviceType): array

src/Services/IngestionService.php

function __construct(private DatabaseManager $database, private ReplayStorage $replays, private HeatmapStorage $heatmaps, private PayloadSanitizer $sanitizer)
function ingest(array $events, array $requestContext): void

src/Services/MaintenanceService.php

function __construct(private DatabaseManager $database, private FilesystemManager $filesystems)
function maintain(): array
function createFuturePartitions(): void

src/Services/PayloadSanitizer.php

function sanitize(mixed $value, int $depth = 0): mixed

src/Services/ReplayStorage.php

function __construct(private FilesystemManager $filesystems)
function putChunk(string $visitorId, string $sessionId, string $chunkId, int $sequence, array $events, string $occurredAt): void
function events(string $replayId): array
function playback(string $replayId): array

src/Services/ReportService.php

function __construct(private DatabaseManager $database)
function dashboard(CarbonImmutable $from, CarbonImmutable $to): array
function overview(CarbonImmutable $from, CarbonImmutable $to): array
function timeline(CarbonImmutable $from, CarbonImmutable $to): array
function top(CarbonImmutable $from, CarbonImmutable $to, string $dimension): array
function category(CarbonImmutable $from, CarbonImmutable $to, string $category): array
function errorDetails(CarbonImmutable $from, CarbonImmutable $to): array
function ecommerce(CarbonImmutable $from, CarbonImmutable $to): array
function funnels(CarbonImmutable $from, CarbonImmutable $to): array
function realtime(): array
function journeys(CarbonImmutable $from, CarbonImmutable $to): array
function replays(CarbonImmutable $from, CarbonImmutable $to): array
function heatmaps(CarbonImmutable $from, CarbonImmutable $to): array
function goals(CarbonImmutable $from, CarbonImmutable $to): array
function rawEvents(CarbonImmutable $from, CarbonImmutable $to, array $filters): array
function sessions(CarbonImmutable $from, CarbonImmutable $to, array $filters): array
function visitors(CarbonImmutable $from, CarbonImmutable $to, array $filters): array
function heatmap(string $key, string $device, CarbonImmutable $from, CarbonImmutable $to): array
function health(): array

src/Support/NullGeoResolver.php

function resolve(?string $ip): array

src/Support/NullUserAgentResolver.php

function resolve(?string $userAgent): array