PHPackages                             loadpartner/fmcsa-safer-api - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [API Development](/categories/api)
4. /
5. loadpartner/fmcsa-safer-api

ActiveLibrary[API Development](/categories/api)

loadpartner/fmcsa-safer-api
===========================

PHP library to help interface with the FMCSA SAFER API

v1.0.0(1y ago)62.2k↑233.3%1MITPHP

Since Feb 21Pushed 1y ago2 watchersCompare

[ Source](https://github.com/loadpartner/fmcsa-safer-api-php)[ Packagist](https://packagist.org/packages/loadpartner/fmcsa-safer-api)[ RSS](/packages/loadpartner-fmcsa-safer-api/feed)WikiDiscussions main Synced 1w ago

READMEChangelog (3)Dependencies (1)Versions (4)Used By (0)

FMCSA SAFER API
===============

[](#fmcsa-safer-api)

A package to help interface with the Federal

Concepts
========

[](#concepts)

There are two kinds of reports returned by this library.

One is a "full report", which includes all the possible queries from the API for a given carrier.

The other is a "partial report", which will include only some basic information.

`searchCarrierName` returns partial reports, you should call the `getFullReport` with the DOT number to obtain the full version.

You can check if a report is full or not by the `full-report` property on the returned objects.

Usage
=====

[](#usage)

You will need to obtain a key from the FMCSA, [you can do that here](https://mobile.fmcsa.dot.gov/QCDevsite/)

```
use LoadPartner\FmcsaSaferApi\FmcsaSafer;

$apiKey = "xxxxx";  //your fmcsa safer API key
$svc = new FmcsaSafer($apiKey);
$svc->searchCarrierName('Trucks');  //returns a list of partial reports for matching carriers

// or search by exact DOT

$svc->getFullReport('1');   // returns the full report for a carrier based on DOT
```

###  Health Score

31

—

LowBetter than 65% of packages

Maintenance38

Infrequent updates — may be unmaintained

Popularity27

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity41

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~0 days

Total

3

Last Release

542d ago

Major Versions

v0.1.1 → v1.0.02025-02-21

### Community

Maintainers

![](https://www.gravatar.com/avatar/571288bf305d3f72afc94b9e95737974f632653b3988e1a7047c9dc37cd35bb5?d=identicon)[garrett\_makes](/maintainers/garrett_makes)

---

Top Contributors

[![adrenallen](https://avatars.githubusercontent.com/u/9594539?v=4)](https://github.com/adrenallen "adrenallen (3 commits)")

---

Tags

composerfmcsafreightlogisticsphpsafer

### Embed Badge

![Health badge](/badges/loadpartner-fmcsa-safer-api/health.svg)

```
[![Health](https://phpackages.com/badges/loadpartner-fmcsa-safer-api/health.svg)](https://phpackages.com/packages/loadpartner-fmcsa-safer-api)
```

###  Alternatives

[tencentcloud/tencentcloud-sdk-php

TencentCloudApi php sdk

3661.3M49](/packages/tencentcloud-tencentcloud-sdk-php)[eslazarev/wildberries-sdk

Wildberries OpenAPI clients (generated).

353.6k](/packages/eslazarev-wildberries-sdk)[neuron-core/neuron-ai

The PHP Agentic Framework.

2.0k832.6k55](/packages/neuron-core-neuron-ai)[files.com/files-php-sdk

Files.com PHP SDK

2482.9k](/packages/filescom-files-php-sdk)[volcengine/volcengine-php-sdk

119.5k](/packages/volcengine-volcengine-php-sdk)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
