PHPackages                             rfink/edmunds-php-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. rfink/edmunds-php-api

ActiveLibrary[API Development](/categories/api)

rfink/edmunds-php-api
=====================

edmunds api bundle

v0.0.0(12y ago)81882[1 issues](https://github.com/rfink/edmunds-php-api/issues)1MITPHPPHP &gt;=5.3.2

Since Jul 7Pushed 11y ago3 watchersCompare

[ Source](https://github.com/rfink/edmunds-php-api)[ Packagist](https://packagist.org/packages/rfink/edmunds-php-api)[ Docs](https://www.github.com/rfink/edmunds-php-api)[ RSS](/packages/rfink-edmunds-php-api/feed)WikiDiscussions master Synced 2mo ago

READMEChangelogDependencies (1)Versions (5)Used By (1)

edmunds-php-api
===============

[](#edmunds-php-api)

Collection of API resources for the Edmunds vehicle API(s). The http client used is Guzzle ().

Usage
=====

[](#usage)

You will first need an API key. You can go to  and apply for a developer API key. There are 4 different APIs that make up the entirety of the Edmunds API, you will have to apply for a key for each. I won't go into too much detail here about that process.

In the simplest form, you can use it as follows:

```
In your composer.json, add the following dependency (replace {version} with latest version):

    "rfink/edmunds-php-api": "{version}"

Then run composer update from the command line.

Inside your app, you can bootstrap the guzzle client by adding the following code:

    $vehicleClient = \RF\Edmunds\Vehicle\Client::factory(array(
        'api_key' => '{your_api_key_here}',
        'base_url' => 'http://api.edmunds.com'
    ));

Then, you can run commands:

    $args = array('id' => '100533210');
    $command = $client->getCommand('modelYear.findById', $args);
    $response = $command->execute()->toArray();

Response will contain a plain php array representing the API response payload.

```

The best way to see how this works in action is to take a peek at the unit tests, as well as the API descriptions at the Edmunds developer website. The service description JSON files are also a good place to see required parameters for each call, and the response format.

###### A symfony2 bundle is being developed to wrap this as a service as well, see

[](#a-symfony2-bundle-is-being-developed-to-wrap-this-as-a-service-as-well-see-httpsgithubcomrfinkedmundsbundle)

\*\* This API is still in heavy, heavy alpha mode. Use in production at your own risk.\*\*

###  Health Score

27

—

LowBetter than 49% of packages

Maintenance18

Infrequent updates — may be unmaintained

Popularity18

Limited adoption so far

Community12

Small or concentrated contributor base

Maturity51

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

2

Last Release

4694d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/9b7341e955b17fa71892ad332c637e0359abf4cfa58a3106492c816cd900119f?d=identicon)[rfink](/maintainers/rfink)

---

Top Contributors

[![rfink](https://avatars.githubusercontent.com/u/108414?v=4)](https://github.com/rfink "rfink (13 commits)")

---

Tags

apiedmunds

### Embed Badge

![Health badge](/badges/rfink-edmunds-php-api/health.svg)

```
[![Health](https://phpackages.com/badges/rfink-edmunds-php-api/health.svg)](https://phpackages.com/packages/rfink-edmunds-php-api)
```

###  Alternatives

[teepluss/api

Laravel 4 Internal Request (HMVC)

7034.0k](/packages/teepluss-api)[dan/shopify-api

Shopify API for PHP

218.1k](/packages/dan-shopify-api)

PHPackages © 2026

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