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(3mo ago)02MITPHPPHP &gt;=8.1

Since Feb 6Pushed 3mo 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 1mo ago

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

34

—

LowBetter than 77% of packages

Maintenance81

Actively maintained with recent releases

Popularity2

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity42

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

101d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/a64a0f927c8e6bd7be8fa91c265dc6ef41015c6ce5bc19a977733d74d2bcd380?d=identicon)[albertoboffi](/maintainers/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

[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)[wheelpros/fitment-platform-api

Magento 2 (Open Source)

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

Hubspot API client

23414.2M16](/packages/hubspot-api-client)[jhowbhz/package-apigratis

Uma forma simples de consumir serviços gratuitos oferecidos pelo site https://apigratis.com.br/

505.2k](/packages/jhowbhz-package-apigratis)

PHPackages © 2026

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