PHPackages                             laravie/codex - 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. laravie/codex

ActiveLibrary[API Development](/categories/api)

laravie/codex
=============

PHP library for building API Client SDK for PHP

v6.2.0(2y ago)22259.5k↓38.3%315MITPHPPHP &gt;=8.0.0 &lt;8.4.0

Since Aug 21Pushed 2y ago3 watchersCompare

[ Source](https://github.com/laravie/codex)[ Packagist](https://packagist.org/packages/laravie/codex)[ GitHub Sponsors](https://github.com/crynobone)[ Fund](https://liberapay.com/crynobone)[ RSS](/packages/laravie-codex/feed)WikiDiscussions 6.x Synced 1mo ago

READMEChangelog (10)Dependencies (8)Versions (73)Used By (15)

PHP library for building API Client SDK for PHP
===============================================

[](#php-library-for-building-api-client-sdk-for-php)

Codex aims to make it easier to build API SDK for PHP using [PHP-HTTP](https://php-http.org) which comply with [PSR-7](https://www.php-fig.org/psr/psr-7/) and [PSR-18](https://www.php-fig.org/psr/psr-18/)

[![tests](https://github.com/laravie/codex/workflows/tests/badge.svg?branch=6.x)](https://github.com/laravie/codex/actions?query=workflow%3Atests+branch%3A6.x)[![Latest Stable Version](https://camo.githubusercontent.com/b0562c57a1a2809238570dab9e1c9bd367571c4e45af524ff723a2b7b5eabb8f/68747470733a2f2f706f7365722e707567782e6f72672f6c6172617669652f636f6465782f762f737461626c65)](https://packagist.org/packages/laravie/codex)[![Total Downloads](https://camo.githubusercontent.com/388198fb1d3cd8d77c5270554fd5b82c3508f34785f026b28adea33037b25a14/68747470733a2f2f706f7365722e707567782e6f72672f6c6172617669652f636f6465782f646f776e6c6f616473)](https://packagist.org/packages/laravie/codex)[![Latest Unstable Version](https://camo.githubusercontent.com/6f9ffc7abc99c023552e76d4909bcc3e7ec9d51fd3c5b31e0792895447711da1/68747470733a2f2f706f7365722e707567782e6f72672f6c6172617669652f636f6465782f762f756e737461626c65)](https://packagist.org/packages/laravie/codex)[![License](https://camo.githubusercontent.com/1e1f54f46341b4ea028dd13c9a6052c7859300357ec25ddb3d55014492a3e9bc/68747470733a2f2f706f7365722e707567782e6f72672f6c6172617669652f636f6465782f6c6963656e7365)](https://packagist.org/packages/laravie/codex)[![Coverage Status](https://camo.githubusercontent.com/5b496d3c030be38d9dcdab404bfae198dd8aa245a7e87c5675e76ff6fca05968/68747470733a2f2f636f766572616c6c732e696f2f7265706f732f6769746875622f6c6172617669652f636f6465782f62616467652e7376673f6272616e63683d362e78)](https://coveralls.io/github/laravie/codex?branch=6.x)

Examples
--------

[](#examples)

- [KATSANA SDK for PHP](https://github.com/katsana/katsana-sdk-php)
- [Silverstreet by KATSANA](https://github.com/katsana/silverstreet)
- [Billplz by Jomweb](https://github.com/jomweb/billplz)

###  Health Score

49

—

FairBetter than 95% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity42

Moderate usage in the ecosystem

Community20

Small or concentrated contributor base

Maturity95

Battle-tested with a long release history

 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

Every ~38 days

Recently: every ~117 days

Total

73

Last Release

778d ago

Major Versions

v4.1.0 → v5.0.02019-03-28

3.3.x-dev → 4.0.x-dev2019-04-09

4.0.x-dev → v5.0.12019-05-30

3.4.x-dev → v5.2.02020-02-05

5.x-dev → v6.0.02023-05-02

PHP version history (8 changes)v0.1.0PHP &gt;=5.5

v2.0.0PHP &gt;=7.1

v1.5.0PHP &gt;=5.6

v1.6.0PHP &gt;=7.0

v5.2.0PHP &gt;=7.2

v5.3.0PHP ^7.2 || ^8.0

v6.0.0PHP &gt;=8.0.0 &lt;8.3.0

v6.2.0PHP &gt;=8.0.0 &lt;8.4.0

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/172966?v=4)[Mior Muhammad Zaki](/maintainers/crynobone)[@crynobone](https://github.com/crynobone)

---

Top Contributors

[![crynobone](https://avatars.githubusercontent.com/u/172966?v=4)](https://github.com/crynobone "crynobone (617 commits)")

---

Tags

phpsdk-php

###  Code Quality

TestsPHPUnit

Static AnalysisPHPStan

Code StyleLaravel Pint

Type Coverage Yes

### Embed Badge

![Health badge](/badges/laravie-codex/health.svg)

```
[![Health](https://phpackages.com/badges/laravie-codex/health.svg)](https://phpackages.com/packages/laravie-codex)
```

###  Alternatives

[stripe/stripe-php

Stripe PHP Library

4.0k143.3M480](/packages/stripe-stripe-php)[twilio/sdk

A PHP wrapper for Twilio's API

1.6k92.9M272](/packages/twilio-sdk)[knplabs/github-api

GitHub API v3 client

2.2k15.8M187](/packages/knplabs-github-api)[facebook/php-business-sdk

PHP SDK for Facebook Business

90121.9M34](/packages/facebook-php-business-sdk)[meilisearch/meilisearch-php

PHP wrapper for the Meilisearch API

73813.7M114](/packages/meilisearch-meilisearch-php)[google/gax

Google API Core for PHP

263103.1M454](/packages/google-gax)

PHPackages © 2026

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