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 yesterday

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 41% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity13

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity53

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

2770d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/589907?v=4)[Michael](/maintainers/mijohansen)[@mijohansen](https://github.com/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

3661.2M46](/packages/tencentcloud-tencentcloud-sdk-php)[neuron-core/neuron-ai

The PHP Agentic Framework.

2.0k496.1k34](/packages/neuron-core-neuron-ai)[avalara/avataxclient

Client library for Avalara's AvaTax suite of business tax calculation and processing services. Uses the REST v2 API.

528.3M7](/packages/avalara-avataxclient)[eslazarev/wildberries-sdk

Wildberries OpenAPI clients (generated).

252.5k](/packages/eslazarev-wildberries-sdk)[files.com/files-php-sdk

Files.com PHP SDK

2478.1k](/packages/filescom-files-php-sdk)[aimeos/prisma

A powerful PHP package for integrating media related Large Language Models (LLMs) into your applications

1942.4k4](/packages/aimeos-prisma)

PHPackages © 2026

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