PHPackages                             mage2tv/module-apollo-boost-amd - 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. mage2tv/module-apollo-boost-amd

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

mage2tv/module-apollo-boost-amd
===============================

The popular apollo-boost graphql library transpiled to AMD, wrapped in a Magento 2 module.

0.3.1.1(6y ago)922.0k↓30.4%2MITPHPPHP &gt;=7.0.0

Since May 28Pushed 6y ago3 watchersCompare

[ Source](https://github.com/mage2tv/module-apollo-boost-amd)[ Packagist](https://packagist.org/packages/mage2tv/module-apollo-boost-amd)[ RSS](/packages/mage2tv-module-apollo-boost-amd/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependenciesVersions (2)Used By (0)

Apollo-Boost AMD module
=======================

[](#apollo-boost-amd-module)

The popular [apollo-boost](https://www.apollographql.com/docs/react/essentials/get-started#apollo-boost) library transpiled to AMD and wrapped in a Magento 2 module.

Usage:
------

[](#usage)

- Install `mage2tv/module-apollo-boost-amd`
- In your JavaScript AMD modules, require `'apollo-boost'`
- Use the "exported" `ApolloClient` and `gql` function:

```
const client = new ApolloAmd.ApolloClient();
const query = ApolloAmd.gql(my_graphql_query);

// or:

const {ApolloClient, gql} = ApolloAmd;

```

Example:
--------

[](#example)

```
define(['uiComponent', 'apollo-boost'], function (Component, ApolloAmd) {
    'use strict';

    const {ApolloClient, gql} = ApolloAmd;

    const client = new ApolloClient({url: '/graphql'});
    const query = gql(`
                query exampleProducts($count: Int = 1) {
                  products(filter: {} pageSize: $count sort: { name: DESC }) {
                    total_count
                    items {
                      id
                      type_id
                      name
                      sku
                    }
                  }
                }
    `);

    return Component.extend({
        defaults: {
            tracks: {
                result: true
            }
        },
        initialize: function () {
            client.query({
                query: query,
                variables: {
                    count: 3
                }
            })
            .then(data => {
                this.result = data;
            })
            .catch(console.error);
            return this._super();
        }
    });
});
```

###  Health Score

30

—

LowBetter than 64% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity33

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity44

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

2548d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/1905417db5fbd31a61553b29bd441fdc66945da7cfb14f1b20a72275c68184e8?d=identicon)[vinai](/maintainers/vinai)

---

Top Contributors

[![Vinai](https://avatars.githubusercontent.com/u/72463?v=4)](https://github.com/Vinai "Vinai (1 commits)")

### Embed Badge

![Health badge](/badges/mage2tv-module-apollo-boost-amd/health.svg)

```
[![Health](https://phpackages.com/badges/mage2tv-module-apollo-boost-amd/health.svg)](https://phpackages.com/packages/mage2tv-module-apollo-boost-amd)
```

###  Alternatives

[stripe/stripe-php

Stripe PHP Library

4.0k143.3M480](/packages/stripe-stripe-php)[twilio/sdk

A PHP wrapper for Twilio's API

1.6k92.9M272](/packages/twilio-sdk)[facebook/php-business-sdk

PHP SDK for Facebook Business

90821.9M34](/packages/facebook-php-business-sdk)[meilisearch/meilisearch-php

PHP wrapper for the Meilisearch API

74513.7M114](/packages/meilisearch-meilisearch-php)[google/gax

Google API Core for PHP

265103.1M454](/packages/google-gax)[google/common-protos

Google API Common Protos for PHP

173103.7M50](/packages/google-common-protos)

PHPackages © 2026

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