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(7y ago)922.8k↓64.1%2MITPHPPHP &gt;=7.0.0

Since May 28Pushed 7y 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 3d 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 62% 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

2594d 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

[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.0k15](/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)
