BlogIntegration
PHP logo
Official SDK

Build with PHP on CarsXE

PHP 8.1+ client built on Guzzle for Laravel, Symfony and plain PHP apps.


Package
carsxe/carsxe
Registry
Packagist
Published

PHP 8.1+

Typed models and named arguments throughout.

Guzzle 7

Familiar HTTP stack, easy to mock in tests.

Framework agnostic

Drop into Laravel, Symfony or vanilla PHP.

01

Overview

the PHP SDK is the official, supported way to call the full CarsXE vehicle data API from PHP. You get the same low-latency endpoints that power the CarsXE dashboard, packaged for the way you already work.

Under the hood, every request hits our globally-distributed API. That means you can decode VINs, look up license plates, pull market value, vehicle history, recalls, OBD codes, images and OCR results — without writing the HTTP, auth or retry plumbing yourself.

the PHP SDK is open source, free to use, and ready for production traffic on day one.

02

What you can build with PHP

Once the PHP SDK is installed, every CarsXE endpoint is a single method call away. Here are the ones developers reach for first.

  • Decode any 17-digit VIN. Return year, make, model, trim, engine, transmission, OEM options and dozens of other spec fields with one call.

  • License plate to VIN. Convert a US, Canadian or international license plate into a decoded VIN with full vehicle specs.

  • Vehicle history. Pull title, accident, ownership and odometer history events for any VIN in seconds.

  • Market value. Get wholesale, trade-in and retail value bands plus historical pricing for accurate appraisals.

  • Open recalls. Surface every open and historical NHTSA recall affecting a vehicle in one request.

  • Images and OCR. Fetch high-quality vehicle images, recognise plates from photos and OCR VIN stamps from images.

For installation instructions, authentication, and working code examples, visit the full PHP documentation in our developer docs.

View PHP docs

03

Next steps

Ready to take PHP further? These are the best places to head next:

Start building with PHP today