Skip to content

Trips Report

Fetch trip report rows for one or more devices or groups.

Request

php
use Carbon\CarbonImmutable;
use ThingsTelemetry\Traccar\Facades\Report;

$from = CarbonImmutable::parse('2025-11-22T18:30:00Z');
$to = CarbonImmutable::parse('2025-11-23T18:30:00Z');

$report = Report::trips(deviceIds: [6], groupIds: [], from: $from, to: $to);

Result

Returns an Illuminate\Support\Collection<int, ThingsTelemetry\Traccar\Dto\ReportTripsData>.

Released under the MIT License.