PHPackages                             rsilva/product-filter-api - 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. rsilva/product-filter-api

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

rsilva/product-filter-api
=========================

Product Filter Api by https://github.com/SilRodrigo

1.0.2(2y ago)0311MITPHPPHP &gt;=7.4

Since Dec 30Pushed 2y ago1 watchersCompare

[ Source](https://github.com/SilRodrigo/ProductFilterApi)[ Packagist](https://packagist.org/packages/rsilva/product-filter-api)[ RSS](/packages/rsilva-product-filter-api/feed)WikiDiscussions master Synced today

READMEChangelogDependencies (1)Versions (3)Used By (1)

Rsilva\_ProductFilterApi
========================

[](#rsilva_productfilterapi)

Visão geral
-----------

[](#visão-geral)

- Módulo para **Magento 2** que realiza uma chamada ***API*** retornando um ***JSON*** com os produtos cadastrados, suas categorias e atributos com base no filtro passado nos parâmetros da requisição.

Exemplo de retorno
------------------

[](#exemplo-de-retorno)

```
{
"collection": [
    {
        "entity_id": "1",
        "sku": "teste",
        "name": "teste",
        "type_id": "simple",
        "complete_image_url": "/media/catalog/product/p/u/image.png",
        "complete_page_url": "https://rsilva.vitrine/test.html",
        "price": "12.990000",
        "special_price": null,
        "formatted_price": "US$ 12,99",
        "formatted_special_price": "US$ 0,00",
        "description": ""
    }
],
"total_count": 1,
"pageSize": 9,
"finalPage": 1,
"currentPage": 1,
"attributeList": [
    {
        "backend_type": "decimal",
        "frontend_input": "Price",
        "options": [
            {
                "identifier": "price12.990000",
                "value": "12.990000",
                "label": "12.990000"
            }
        ],
        "name": "price"
    }
]

```

}

Utilizando o módulo
-------------------

[](#utilizando-o-módulo)

Na sua classe JS, passe a chamada do service:

```
define([
    'jquery',
    'Rsilva_ProductFilterApi/js/service/product-api'
],function ($, productApiService)  {}

```

Chamada para pesquisar por nome:

```
* @param  {string}  name
* @param  {Function}  callback
productApiService.queryProductByName(name,  callback)

```

###  Health Score

23

—

LowBetter than 26% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity7

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity47

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

Every ~188 days

Total

2

Last Release

1092d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/1325508?v=4)[Rick Silva](/maintainers/RSilva)[@rsilva](https://github.com/rsilva)

---

Top Contributors

[![SilRodrigo](https://avatars.githubusercontent.com/u/86023272?v=4)](https://github.com/SilRodrigo "SilRodrigo (3 commits)")

### Embed Badge

![Health badge](/badges/rsilva-product-filter-api/health.svg)

```
[![Health](https://phpackages.com/badges/rsilva-product-filter-api/health.svg)](https://phpackages.com/packages/rsilva-product-filter-api)
```

###  Alternatives

[exsyst/swagger

A php library to manipulate Swagger specifications

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

Hubspot API client

24016.2M20](/packages/hubspot-api-client)[pocketmine/bedrock-protocol

An implementation of the Minecraft: Bedrock Edition protocol in PHP

172445.0k13](/packages/pocketmine-bedrock-protocol)[botman/driver-telegram

Telegram driver for BotMan

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

PHPackages © 2026

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