mamluk/kipchak

An API Development Kit (ADK) to consistently build and manage APIs

1.0 2025-07-29 08:03 UTC

README

Version Downloads Unstable License PHP Version

Kipchak by Mamluk

Kipchak by Mamluk

Overview

Kipchak is an API Development Kit (ADK) built on Slim Framework, designed for rapid API development. Written in PHP, it combines years of production experience handling thousands of concurrent requests.

Quick Start

To see Kipchak in action, visit our starter repository.

Features in the Community Edition

CategoryComponents
Core Features• Easy config management
• Consistent bootstrapping
• Dependency injection
• Middleware injection
Caching• Symfony Cache
• Memcached support
• File System Caching
Database• Doctrine DBAL and ORM
• CouchDB Client
Authentication• OAuth 2 with JWKS
• Key-based authentication
Development Tools• Object Mapping (Valinor)
• Pre-configured testing
Infrastructure• Base Dockerfile
• NGINX Unit support
Documentation• OpenAPI using Zircotte Swagger PHP

Enterprise Features (Paid)

  • Valkey support for caching
  • JWT authentication / authorisation with a public key
  • Binary only or security verified containers
  • RBAC Management
  • Personal Access Token Management
  • Rate limting by IP address / user / API key
  • OAuth 2 Client with simplified token management for upstream APIs

To learn more about Kipchak Enterprise Edition, please reach out via https://mamluk.net/contact.

Additional Open Source Components you can use with Kipchak

CategoryComponents
Message QueuesTavashan by Mamluk (https://1x.ax/mamluk/tavshan - a Rabbit MQ Client

Key Differences between versions 0.x and versions 1.x

  • Session management has not been used even once in a 0.x implementation as it's always best to keep APIs stateless so it has been removed
  • Zircote Swagger PHP has been added for generating OpenAPI documentation from PHP Attributes
  • Doctrine has now been upgraded to the stable version 3.5+. This may result in breaking changes, especially for migrations and if you were using / extending some core Doctrine capabilities without specifying return types.

Technical Stack

  • Framework: Built on Slim Framework
  • Memory Footprint: Lightweight compared to Symfony/Laravel
  • Integration: Compatible with Symfony/Laravel libraries
  • PHP 8.3+

Credits

ComponentProvider
FrameworkSlim Framework
Cache/ORMSymfony
HTTP ClientLaravel
LoggingMonolog
Object MappingTeam CuyZ (Valinor)
Open API DocsZircotte
Couch DBMamluk CouchDB Client

For complete dependencies, see our composer.json.

About

  • Company: Mamluk
  • Name Origin: Named after the Turkic Kipchak family which founded the Mamluk Sultanate of Cairo in 1250
  • Documentation: Available at Kipchak Starter