PHPackages                             albertoboffi/moka-php - 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. albertoboffi/moka-php

ActiveLibrary[API Development](/categories/api)

albertoboffi/moka-php
=====================

A developer-first PHP library for structured, scalable REST APIs

v1.0.0(4mo ago)02MITPHPPHP &gt;=8.1

Since Feb 6Pushed 4mo agoCompare

[ Source](https://github.com/albertoboffi/moka-php)[ Packagist](https://packagist.org/packages/albertoboffi/moka-php)[ RSS](/packages/albertoboffi-moka-php/feed)WikiDiscussions main Synced today

READMEChangelog (1)Dependencies (2)Versions (2)Used By (0)

Moka PHP
========

[](#moka-php)

Moka PHP is a developer-first PHP library designed to build structured, scalable, and secure REST APIs ☕️.

📋 Prerequisites
---------------

[](#-prerequisites)

To install and run Moka, your system must meet the following requirements:

- **PHP** `>= 8.1`
- **Composer**

> Please refer to the [official Composer documentation](https://getcomposer.org/download/) for installation instructions.

📥 Installation
--------------

[](#-installation)

To install Moka, run:

```
composer require albertoboffi/moka-php
```

To update it:

```
composer update albertoboffi/moka-php
```

📖 Official Documentation
------------------------

[](#-official-documentation)

Usage guides, code examples, FAQs, and additional resources are available on the [official website](http://moka-php.netsons.org/).

🌟 Why Moka?
-----------

[](#-why-moka)

Traditional PHP API development often requires extensive boilerplate for control flow management. Moka PHP eliminates this overhead by abstracting low-level operations such as header management, request parsing, error handling, response structuring, security and other essential API infrastructure services. This streamlined approach ensures a cleaner architecture, enabling you to focus on feature delivery rather than infrastructure plumbing.

🤝 Contributing
--------------

[](#-contributing)

Contributions are welcome. Please submit a Pull Request or open an issue to discuss proposed changes.

⚖️ License
----------

[](#️-license)

This project is licensed under the [MIT License](LICENSE).

###  Health Score

33

—

LowBetter than 72% of packages

Maintenance74

Regular maintenance activity

Popularity2

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity43

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

147d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/70427293?v=4)[Alberto Boffi](/maintainers/albertoboffi)[@albertoboffi](https://github.com/albertoboffi)

---

Top Contributors

[![albertoboffi](https://avatars.githubusercontent.com/u/70427293?v=4)](https://github.com/albertoboffi "albertoboffi (22 commits)")

---

Tags

php-libraryrestful-api

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/albertoboffi-moka-php/health.svg)

```
[![Health](https://phpackages.com/badges/albertoboffi-moka-php/health.svg)](https://phpackages.com/packages/albertoboffi-moka-php)
```

###  Alternatives

[shopware/platform

The Shopware e-commerce core

3.4k1.5M3](/packages/shopware-platform)[cakephp/debug_kit

CakePHP Debug Kit

86314.7M171](/packages/cakephp-debug-kit)[wheelpros/fitment-platform-api

Magento 2 (Open Source)

12.1k1.2k](/packages/wheelpros-fitment-platform-api)[october/rain

October Rain Library

1601.7M83](/packages/october-rain)[shopware/core

Shopware platform is the core for all Shopware ecommerce products.

585.6M574](/packages/shopware-core)[jolicode/castor

A lightweight and modern task runner. Automate everything. In PHP.

54743.1k4](/packages/jolicode-castor)

PHPackages © 2026

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