PHPackages                             mma/customapi - 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. mma/customapi

ActiveMagento2-module[API Development](/categories/api)

mma/customapi
=============

0.5.9(6y ago)1873414[1 issues](https://github.com/dimaportenko/mma-customapi/issues)MITPHP

Since Aug 4Pushed 4y ago4 watchersCompare

[ Source](https://github.com/dimaportenko/mma-customapi)[ Packagist](https://packagist.org/packages/mma/customapi)[ RSS](/packages/mma-customapi/feed)WikiDiscussions master Synced yesterday

READMEChangelog (1)DependenciesVersions (11)Used By (0)

 [ ![](https://camo.githubusercontent.com/258d757e231a959c4cf7588345f1671dda2ea8d955cdf410875bc9b9cf13c896/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f666f6c6c6f776572732f64696d61706f7274656e6b6f3f6c6162656c3d466f6c6c6f7725323025343064696d61706f7274656e6b6f267374796c653d736f6369616c) ](https://github.com/dimaportenko?tab=followers)
 [ ![](https://camo.githubusercontent.com/926edea3f067b7fe14a9c724667db6dcd03d37e817e5520c36db2b7fa1a57e3e/68747470733a2f2f696d672e736869656c64732e696f2f747769747465722f666f6c6c6f772f64696d61706f7274656e6b6f3f6c6162656c3d466f6c6c6f7725323025343064696d61706f7274656e6b6f267374796c653d736f6369616c) ](https://twitter.com/dimaportenko)
 [ ![](https://camo.githubusercontent.com/51914a1415c3675027aa7d47f22a669fd2fcde51563b329e8f98a4b8421dea9d/68747470733a2f2f696d672e736869656c64732e696f2f796f75747562652f6368616e6e656c2f73756273637269626572732f554352654b6565494d5a797776516f615a505a4b7a516251) ](https://www.youtube.com/channel/UCReKeeIMZywvQoaZPZKzQbQ)
 [ ![](https://camo.githubusercontent.com/09a25337344843efcd4d36fbad80eff2097fe2be0be65aaf117098862f72f145/68747470733a2f2f696d672e736869656c64732e696f2f796f75747562652f6368616e6e656c2f76696577732f554352654b6565494d5a797776516f615a505a4b7a516251) ](https://www.youtube.com/channel/UCReKeeIMZywvQoaZPZKzQbQ)

### About

[](#about)

Magento 2 add custom rest api endpoints

##### Cagegory tree with image attribute

[](#cagegory-tree-with-image-attribute)

{base\_url}/rest/default/V1/mma/categories

##### Get Braintree client token

[](#get-braintree-client-token)

{base\_url}/rest/default/V1/mma/braintree/token

##### Get Vault for client

[](#get-vault-for-client)

{base\_url}/rest/default/V1/mma/me/vault/items

##### Get nonce for braintree vault

[](#get-nonce-for-braintree-vault)

{base\_url}/rest/default/V1/mma/me/vault/nonce

##### Get paypal security token for quote

[](#get-paypal-security-token-for-quote)

{base\_url}/rest/default/V1/mma/paypal/transparent/securityToken/:quote\_id

##### Get Magento version

[](#get-magento-version)

{base\_url}/rest/default/V1/mma/magento/version

##### Get Magento most viewed products

[](#get-magento-most-viewed-products)

{base\_url}/rest/default/V1/mma/products/most-viewed/:limit

##### Get Magento best seller products

[](#get-magento-best-seller-products)

{base\_url}/rest/default/V1/mma/products/best-seller/:limit

##### Get Magento top rated products

[](#get-magento-top-rated-products)

{base\_url}/rest/default/V1/mma/products/top-rated/:limit

##### Get Magento new products

[](#get-magento-new-products)

{base\_url}/rest/default/V1/mma/products/new/:limit

##### Get product reviews

[](#get-product-reviews)

{base\_url}/rest/default/V1/mma/review/reviews/:productId

##### Get product ratings

[](#get-product-ratings)

{base\_url}/rest/default/V1/mma/rating/ratings/:store\_id

##### Post product review from authorized customer

[](#post-product-review-from-authorized-customer)

{base\_url}/rest/default/V1/mma/review/mine/post

##### Post product review from guest customer

[](#post-product-review-from-guest-customer)

{base\_url}/rest/default/V1/mma/review/guest/post

##### Post contact form

[](#post-contact-form)

{base\_url}/rest/default/V1/mma/contact/post

### Install

[](#install)

composer require mma/customapi
php bin/magento setup:upgrade
php bin/magento cache:clean

### Compatibility

[](#compatibility)

Tested on Magento Commerce 2.2.5

### Learning

[](#learning)

Check my videos about Magento 2 Rest API development basics

###  Health Score

32

—

LowBetter than 69% of packages

Maintenance19

Infrequent updates — may be unmaintained

Popularity25

Limited adoption so far

Community15

Small or concentrated contributor base

Maturity59

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 97.4% 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 ~72 days

Recently: every ~59 days

Total

10

Last Release

2238d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/2d4d50318c38a76966ab444600e56d56801fb339305d4dd359ecf3bd1fcb5851?d=identicon)[dmytroportenko](/maintainers/dmytroportenko)

---

Top Contributors

[![dimaportenko](https://avatars.githubusercontent.com/u/6594232?v=4)](https://github.com/dimaportenko "dimaportenko (37 commits)")[![KeenanLawrence](https://avatars.githubusercontent.com/u/12356751?v=4)](https://github.com/KeenanLawrence "KeenanLawrence (1 commits)")

### Embed Badge

![Health badge](/badges/mma-customapi/health.svg)

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

###  Alternatives

[exsyst/swagger

A php library to manipulate Swagger specifications

35816.3M7](/packages/exsyst-swagger)[hubspot/api-client

Hubspot API client

24015.5M18](/packages/hubspot-api-client)[pocketmine/bedrock-protocol

An implementation of the Minecraft: Bedrock Edition protocol in PHP

172437.8k11](/packages/pocketmine-bedrock-protocol)[botman/driver-telegram

Telegram driver for BotMan

94452.6k6](/packages/botman-driver-telegram)

PHPackages © 2026

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