PHPackages                             axtiva/graphql-federation-extension - 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. axtiva/graphql-federation-extension

AbandonedArchivedLibrary[API Development](/categories/api)

axtiva/graphql-federation-extension
===================================

Extension for axtiva/flexible-graphql-php for support apollo federation integration

v1.0.1(4y ago)04.9k1MITPHPPHP &gt;=7.4

Since Oct 16Pushed 4y ago1 watchersCompare

[ Source](https://github.com/axtiva/graphql-federation-extension)[ Packagist](https://packagist.org/packages/axtiva/graphql-federation-extension)[ RSS](/packages/axtiva-graphql-federation-extension/feed)WikiDiscussions master Synced 2d ago

READMEChangelog (4)Dependencies (2)Versions (5)Used By (1)

Flexible Graphql PHP Apollo Federation Extension
================================================

[](#flexible-graphql-php-apollo-federation-extension)

Library extend [axtiva/flexible-graphql-php](https://github.com/axtiva/flexible-graphql-php) or [webonyx/graphql-php](https://github.com/webonyx/graphql-php) functionality for work as subgraph service of [Apollo Federation](https://www.apollographql.com/docs/federation/)

Usage in
--------

[](#usage-in)

- [axtiva/flexible-graphql-bundle](//github.com/axtiva/flexible-graphql-bundle) - add support of federation resolvers

Setup
-----

[](#setup)

Install by composer

```
composer require axtiva/graphql-federation-extension

```

Demo integration
----------------

[](#demo-integration)

Demo projects with

- [no framework integration](https://github.com/axtiva/example-integration/tree/master/NoFramework)
- [symfony bundle integration](https://github.com/axtiva/example-integration/tree/master/FlexibleGraphqlBundle)

Demo Federated schema
---------------------

[](#demo-federated-schema)

How to do look at directory [example](./example):

- How to setup apollo federated schema see at [example/extend\_schema.php](./example/extend_schema.php)

Run on project root directory:

```
php -S localhost:8080 ./example/extend_schema.php

```

Now you can send http graphql requests to

Get common graphql request

```
query{
 account(id:234) {
   id
   number
   transactions {
     id
     amount
   }
 }
}
```

Get federated representation request

```
query{
  _entities(representations: [
    {__typename: "Account", id: 123}
    {__typename: "Transaction", id: 333}
  ]) {
    __typename
    ...on Account {
      id
      number
    }
    ...on Transaction {
      id
      amount
    }
  }
}
```

Tests
-----

[](#tests)

Run tests

```
php vendor/bin/phpunit

```

###  Health Score

27

—

LowBetter than 49% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity17

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity53

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 ~57 days

Total

4

Last Release

1498d ago

Major Versions

v0.1.1 → v1.0.02022-03-26

### Community

Maintainers

![](https://www.gravatar.com/avatar/7b0b7dd34ef515c8cc41feb109b3bd8f67a2e3280f92641dfcba976bdc8b9634?d=identicon)[bpteam](/maintainers/bpteam)

---

Top Contributors

[![bpteam](https://avatars.githubusercontent.com/u/1714419?v=4)](https://github.com/bpteam "bpteam (6 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/axtiva-graphql-federation-extension/health.svg)

```
[![Health](https://phpackages.com/badges/axtiva-graphql-federation-extension/health.svg)](https://phpackages.com/packages/axtiva-graphql-federation-extension)
```

###  Alternatives

[nuwave/lighthouse

A framework for serving GraphQL from Laravel

3.5k10.7M93](/packages/nuwave-lighthouse)[thecodingmachine/graphqlite

Write your GraphQL queries in simple to write controllers (using webonyx/graphql-php).

5723.1M30](/packages/thecodingmachine-graphqlite)[wp-graphql/wp-graphql

GraphQL API for WordPress

3.8k391.7k19](/packages/wp-graphql-wp-graphql)[overblog/graphql-bundle

This bundle provides tools to build a GraphQL server in your Symfony App.

8027.9M28](/packages/overblog-graphql-bundle)[wheelpros/fitment-platform-api

Magento 2 (Open Source)

12.1k1.2k](/packages/wheelpros-fitment-platform-api)[aimeos/ai-admin-graphql

Aimeos Admin GraphQL API extension

944100.0k4](/packages/aimeos-ai-admin-graphql)

PHPackages © 2026

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