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

ActiveLibrary[API Development](/categories/api)

startupthreads/startupthreads-api-php
=====================================

Client library for the StartupThreads API.

02.7kPHP

Since May 14Pushed 11y ago1 watchersCompare

[ Source](https://github.com/MDarnell/startupthreads-api-php)[ Packagist](https://packagist.org/packages/startupthreads/startupthreads-api-php)[ RSS](/packages/startupthreads-startupthreads-api-php/feed)WikiDiscussions master Synced 1w ago

READMEChangelogDependenciesVersions (1)Used By (0)

Startup Threds API
==================

[](#startup-threds-api)

Very simple and easy StartupThreads API wrapper, for PHP.

Complex wrappers are for noobs. This lets you access the StartupThreads API using the docs as directly as possible.

Requires PHP 5.3.

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

[](#installation)

You can install the startupthreads-api-php using [Composer](https://getcomposer.org/). Just add the following to your `composer.json`:

```
{
    "require": {
        "startupthreads/startupthreads-api-php": "dev-master"
    }
}

```

You will then need to:

- run `composer install` to get these dependencies added to your vendor directory
- add the Composer autoloader to your application with this line: `require("vendor/autoload.php")`

Examples
--------

[](#examples)

\###List items (/items.json method)

```
$st = new StartupThreads('api-token-here');
print_r($st->get('items.json'));
```

\###Create an Inventory Shipment (/inventory\_shipments method)

```
$st = new StartupThreads('api-token-here');
$result = $st->create('/inventory_shipments', array(
	'inventory_shipment' => array(
		payment_method'		=>	"account_balance",
		'test_mode'			=>	1
		'line_items' => array(
			array (
				"item_id"	=>	"dfsea4rs",
				"size"		=>	"MS",
				"quantity"	=>	3
			)
		),
		'address' => array (
			"name"			=>	"Frank Denbow",
			"street1"		=>	"902 Broadway",
			"city"			=>	"New York",
			"state"			=>	"New York",
		    "zip"			=>	"10010",
		    "country"		=>	"US"
		)
	);
));
print_r($result);
```

###  Health Score

23

—

LowBetter than 26% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity16

Limited adoption so far

Community7

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.

### Community

Maintainers

![](https://www.gravatar.com/avatar/b42250685f317cab38b296039b27fe0dcfdd41b93927d0dedfcc8dab8e2fb987?d=identicon)[MDarnell](/maintainers/MDarnell)

---

Top Contributors

[![MDarnell](https://avatars.githubusercontent.com/u/1820353?v=4)](https://github.com/MDarnell "MDarnell (5 commits)")

### Embed Badge

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

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

###  Alternatives

[facebook/php-business-sdk

PHP SDK for Facebook Business

90923.5M35](/packages/facebook-php-business-sdk)[exsyst/swagger

A php library to manipulate Swagger specifications

35916.3M7](/packages/exsyst-swagger)[hubspot/api-client

Hubspot API client

24015.5M18](/packages/hubspot-api-client)[botman/driver-telegram

Telegram driver for BotMan

93452.6k6](/packages/botman-driver-telegram)

PHPackages © 2026

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