PHPackages                             mijohansen/php-stitch-client - 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. mijohansen/php-stitch-client

ActiveLibrary[API Development](/categories/api)

mijohansen/php-stitch-client
============================

A Stitch Import API client library for php.

0.0.2(7y ago)2148MITPHP

Since Nov 29Pushed 7y ago1 watchersCompare

[ Source](https://github.com/mijohansen/php-stitch-client)[ Packagist](https://packagist.org/packages/mijohansen/php-stitch-client)[ RSS](/packages/mijohansen-php-stitch-client/feed)WikiDiscussions master Synced 2mo ago

READMEChangelogDependencies (2)Versions (3)Used By (0)

php-stitch-client
=================

[](#php-stitch-client)

A very simplistic Stitch Import API client library for php.

### Some important notes

[](#some-important-notes)

When pushing data at the API there is two fairly undocumented features that should be noted.

#### date and datetime

[](#date-and-datetime)

First you should note that the API doesn't support datetime. At first I thought this was a bad thing, but after som soulsearching I have concluded that this actually isnt't breaking anything. Just use the date format `YYYYMMDD` and cast it to an int before pushing it into the Stich Client liberary. Dates will be stored as integers and is easy to both join and do filtering on. I guess most datatargets have great support for handling numbers.

#### Floats and numbers

[](#floats-and-numbers)

The stitch API distincts between numbers and floats. When sending stuff with JSON, PHP for instance will by default remove zeros from floats. To prevent this behaviour this small liberary uses the `JSON_PRESERVE_ZERO_FRACTION`flag.

```
json_encode($body , JSON_PRESERVE_ZERO_FRACTION);
```

Might be helpful for other implementations.

###  Health Score

26

—

LowBetter than 43% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity13

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity52

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

Unknown

Total

1

Last Release

2723d ago

### Community

Maintainers

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

---

Top Contributors

[![mijohansen](https://avatars.githubusercontent.com/u/589907?v=4)](https://github.com/mijohansen "mijohansen (1 commits)")

### Embed Badge

![Health badge](/badges/mijohansen-php-stitch-client/health.svg)

```
[![Health](https://phpackages.com/badges/mijohansen-php-stitch-client/health.svg)](https://phpackages.com/packages/mijohansen-php-stitch-client)
```

###  Alternatives

[tencentcloud/tencentcloud-sdk-php

TencentCloudApi php sdk

3731.2M42](/packages/tencentcloud-tencentcloud-sdk-php)[convertkit/convertkitapi

Kit PHP SDK for the Kit API

2167.1k1](/packages/convertkit-convertkitapi)[mapado/rest-client-sdk

Rest Client SDK for hydra API

1125.9k2](/packages/mapado-rest-client-sdk)

PHPackages © 2026

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