albertoboffi / moka-php
A developer-first PHP library for structured, scalable REST APIs
Requires
- php: >=8.1
- composer/composer: ^2.0
Requires (Dev)
- phpunit/phpunit: ^12.5
This package is not auto-updated.
Last update: 2026-02-20 18:29:17 UTC
README
Moka PHP is a developer-first PHP library designed to build structured, scalable, and secure REST APIs ☕️.
📋 Prerequisites
To install and run Moka, your system must meet the following requirements:
- PHP
>= 8.1 - Composer
Please refer to the official Composer documentation for installation instructions.
📥 Installation
To install Moka, run:
composer require albertoboffi/moka-php
To update it:
composer update albertoboffi/moka-php
📖 Official Documentation
Usage guides, code examples, FAQs, and additional resources are available on the official website.
🌟 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
Contributions are welcome. Please submit a Pull Request or open an issue to discuss proposed changes.
⚖️ License
This project is licensed under the MIT License.