One honest bootstrap
Api::boot() loads drivers, middleware, then routes. You can read the whole core in a sitting.
An API development kit for PHP
Kipchak gives your PHP API the structure of a framework without the weight of one — Slim 4 underneath, FrankenPHP worker mode in front, and 29 drivers and middleware ready when you are.
$ composer create-project kipchak/starter my-api $ docker compose up --watch ✓ FrankenPHP worker running ✓ http://localhost/status → 200 OK
3,000req/s
served in production on the AlAdhan API, per instance
60% less
resource use than comparable Laravel or Symfony stacks on FPM
29packages
independent drivers & middleware — adopt them one at a time
0magic
PSR-compliant throughout — it's Slim, structured
Kipchak is a handful of files on top of Slim. It formalises the three things every API needs — booting, drivers, middleware — and stays out of everything else.
Api::boot() loads drivers, middleware, then routes. You can read the whole core in a sitting.
PSR-3, 7, 11 and 18 throughout. If you know modern PHP, you already know Kipchak.
Long-lived FrankenPHP processes with Caddy in front — and hot reload while you develop.
Plain PHP config files, one per concern: kipchak.doctrine.php, kipchak.valkey.php — env-aware and greppable.
Docker and Kubernetes configuration ship in the starter. Dev and production run the same image.
Drivers implement a three-method interface. Your team's internal services become drivers in an afternoon.
Each one an independent Composer package following the same conventions. Free packages are open source; Enterprise packages fund the project and come with support.
Drivers · 20 packages · 12 planned
Middleware · 9 packages · 8 planned
Kipchak Enterprise
The infrastructure-grade tier: clustering, search and streaming drivers, edge intelligence, and advanced auth — supported by the people who wrote them.
OAuth 2 Token
OAuth 2.0 client-credentials token handling
Valkey
Valkey / Redis cache — standalone, sentinel, cluster & replica
OpenSearch
OpenSearch, multi-connection with every auth mode
Kafka
Kafka producer & consumer with SASL/SSL
OPA
Policy decisions via Open Policy Agent
Auth — JWT
Advanced JWT authentication
Subashi Pro
Enterprise WAF with geo & ASN edge intelligence
Usage Metering
Per-consumer usage events for billing, to Kafka or logs
Quotas
Per-plan limits on requests and credits, per customer
Priority support
Upgrade guidance from the maintainers
Proven on the road
“The AlAdhan API answers three thousand requests a second for the global Muslim community — on Kipchak, on far less hardware than before.”
aladhan.com · Islamic Network · AlAdhan API, running on Kipchak v3
Relative resource use · same workload
| Kipchak + FrankenPHP | 1.0× |
| Slim + FPM | ~1.6× |
| Laravel / Symfony + FPM | ~2.5× |
Measured on production API workloads at Mamluk; your numbers will vary.