Ecosystem
The API ecosystem
An API built with api-toolbox and a client built with sdk-toolbox speak the same standards, because both are written to the same RFCs. apiguide.dev explains each standard, Kit starts an API on them, Flagpole shows one running, and Pingback tests both ends against each other.
- 35HTTP standards implemented
- 13On both sides of the wire
- 30Pages of package docs
Six parts. One set of standards.
Understand the standard
apiguide.dev
What each HTTP standard says and why it exists, with the headers, status codes and errors that go with it. The place to start before writing either side.
56 specifications
Serve it
API Toolbox
The standards on the server, in Laravel: problem details, conditional requests, idempotency keys, Link pagination, deprecation and more, each switched on by itself.
v0.3.4PHP ^8.3
Consume it
SDK Toolbox
The same standards on the client, for PHP SDKs built on PSR-18: it reads problem details, honours Retry-After, follows Link pagination and reports deprecations.
v0.0.9PHP ^8.3
Start an API with it
Kit
A Laravel starter kit for token-authenticated APIs, built on api-toolbox, with an OpenAPI document checked against the running API on every build.
v0.2.3PHP ^8.5
See it running
Flagpole
A feature flag service built on Kit, evaluated with any OpenFeature SDK. The worked example: the standards in an application that needs them.
Prove they agree
Pingback
A small CRM API on Kit and its PHP SDK on sdk-toolbox, in one repository. The SDK's contract suite runs against the real API on every push, so the two ends can't quietly stop agreeing.
The standards. Who explains each one, who serves it, who reads it.
Of the 35 standards the two packages implement, 13 are on both sides of the wire, so a response api-toolbox sends is one sdk-toolbox knows how to read. The standards table has every one, with what each package does with it and the apiguide.dev page that explains it.
Why they exist. And what testing them together found.
Most of Your API Has Already Been Designed
Error formats, retries, lost updates, webhook signing: the IETF has already answered them. api-toolbox brings those answers to Laravel, one RFC per feature.
Most of Your SDK Has Already Been Designed, Too
Retries, rate limits, pagination, lost updates: the API already tells your client what to do. sdk-toolbox makes a PHP SDK listen, one RFC at a time.
Both Ends of the Wire
I built a small CRM API on api-toolbox and its SDK on sdk-toolbox, in one repository, tested against each other. My own two libraries disagreed within a day.