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

ActiveLibrary[API Development](/categories/api)

whiplash/whiplash-api-php
=========================

Whiplash API for PHP

v1.4(9y ago)013.7k↓33.3%MITPHPPHP &gt;=5.3.0

Since Feb 5Pushed 9y ago1 watchersCompare

[ Source](https://github.com/mizan3008/whiplash-api-php)[ Packagist](https://packagist.org/packages/whiplash/whiplash-api-php)[ Docs](https://github.com/mizanur-rahman/whiplash-api-php)[ RSS](/packages/whiplash-whiplash-api-php/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (5)DependenciesVersions (5)Used By (0)

Whiplash API
============

[](#whiplash-api)

Super-simple, minimum abstraction Whiplash API v1 wrapper for PHP/Laravel.

Requires PHP 5.3 and a pulse.

Whiplash relies on 3 tables for the majority of calls: Items, Orders, and Order Items. Items are specific inventory items, Orders are requests for a shipment to be sent, and Order Items are what that order should contain.

Installation
------------

[](#installation)

You can install the whiplash-api using Composer:

```
composer require whiplash/whiplash-api-php

```

Examples
--------

[](#examples)

use this on top of your class:

```
use Whiplash\WhiplashApi;

```

Initialize the Whiplash API with your Whiplash API key:

```
$apiKey = 'YOUR API KEY';
$api = new WhiplashApi($apiKey);

```

Create item:

```
$item = $api->create_item(['sku' => 'NEW_SKU_123', 'name' => 'My Test Item', 'description' => 'My item description']);

```

Get item list:

```
$items = $api->get_items();
print_r($items);

```

Get item by id:

```
$item = $api->get_item(ITEM_ID);
print_r($item);

```

\*More documentation coming soon...

###  Health Score

31

—

LowBetter than 68% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity23

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity61

Established project with proven stability

 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

4

Last Release

3388d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/9748b0766b24b61753b31be891038b23e2207790d4a8892451cc4457027e4392?d=identicon)[mizan3008](/maintainers/mizan3008)

---

Top Contributors

[![mizan3008](https://avatars.githubusercontent.com/u/6143192?v=4)](https://github.com/mizan3008 "mizan3008 (7 commits)")

---

Tags

whiplash-api-php

### Embed Badge

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

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

###  Alternatives

[stripe/stripe-php

Stripe PHP Library

4.0k143.3M480](/packages/stripe-stripe-php)[twilio/sdk

A PHP wrapper for Twilio's API

1.6k92.9M272](/packages/twilio-sdk)[knplabs/github-api

GitHub API v3 client

2.2k15.8M187](/packages/knplabs-github-api)[facebook/php-business-sdk

PHP SDK for Facebook Business

90121.9M34](/packages/facebook-php-business-sdk)[meilisearch/meilisearch-php

PHP wrapper for the Meilisearch API

73813.7M114](/packages/meilisearch-meilisearch-php)[google/gax

Google API Core for PHP

263103.1M454](/packages/google-gax)

PHPackages © 2026

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