Download the PHP package codebyray/carlistapi-laravel-sdk without Composer

On this page you can find all versions of the php package codebyray/carlistapi-laravel-sdk. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package carlistapi-laravel-sdk

Car List API Laravel SDK

A Laravel SDK for interacting with the authenticated Car List API from Laravel 11, 12, and 13 applications.

Laravel 11 compatibility is provided for existing applications. Laravel 11 reached end of security support on March 12, 2026, so Laravel 12 or newer is recommended for actively maintained applications.

This package contains only the API client. It does not include the Car List API server, database, authentication system, billing, admin interface, or import tools.

Requirements

Laravel 11 compatibility is maintained for existing applications, but Laravel 11 itself is end-of-life and no longer receives framework security updates. Laravel 12 or newer is recommended.

Installation

Install via Composer:

Laravel package auto-discovery registers the service provider and facade automatically.

Publishing the config

Publishing is optional. Use it only when you want to customize package configuration in the consuming application:

After changing .env or published configuration, clear Laravel's configuration cache:

Configuration

Add the required connection settings to the consuming application's .env file:

The base URL must end at /api. Do not include the API version in CAR_LIST_API_URL; the SDK appends CAR_LIST_API_VERSION to every request.

For local development:

This produces URLs such as:

When a new API version is available, update only:

Optional HTTP settings

The following environment variables are optional. The SDK provides sensible defaults:

User Agent

By default, requests include a User-Agent identifying the SDK and its version, for example:

You can override it by setting:

Quick Start

Usage

Dependency injection

Facade

VIN decoder

The SDK normalizes spaces, hyphens, and letter casing before sending the VIN.

Powersports

Per-request token override

Responses

All successful requests return an ApiResponse instance:

Exceptions

The SDK throws typed exceptions for common HTTP and transport errors.

Exception Description
AuthenticationException HTTP 401 Unauthorized
AuthorizationException HTTP 403 Forbidden
NotFoundException HTTP 404 Not Found
ValidationException HTTP 422 Unprocessable Entity
RateLimitException HTTP 429 Too Many Requests. Includes limit, used, remaining, and resetAt properties.
ServerException HTTP 5xx Server Error
TransportException Network or transport failure (timeouts, DNS errors, connection failures, etc.).

Endpoint coverage

The SDK wraps all authenticated routes currently defined by the Car List API:

Demo endpoints are intentionally excluded because this package is intended for authenticated production API access.

Testing

The GitHub Actions matrix tests Laravel 11, Laravel 12, and Laravel 13.

Support

MIT


All versions of carlistapi-laravel-sdk with dependencies

PHP Build Version
Package Version
Requires php Version ^8.2
illuminate/contracts Version ^11.0 || ^12.0 || ^13.0
illuminate/http Version ^11.0 || ^12.0 || ^13.0
illuminate/support Version ^11.0 || ^12.0 || ^13.0
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package codebyray/carlistapi-laravel-sdk contains the following files

Loading the files please wait ...