PHPackages                             ampersand/akeneo-variant-group-rest-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. ampersand/akeneo-variant-group-rest-api

ActiveLibrary[API Development](/categories/api)

ampersand/akeneo-variant-group-rest-api
=======================================

1.0.1(8y ago)037PHP

Since Aug 4Pushed 8y ago8 watchersCompare

[ Source](https://github.com/AmpersandHQ/akeneo-variant-group-rest-api)[ Packagist](https://packagist.org/packages/ampersand/akeneo-variant-group-rest-api)[ RSS](/packages/ampersand-akeneo-variant-group-rest-api/feed)WikiDiscussions master Synced 4w ago

READMEChangelog (2)Dependencies (4)Versions (3)Used By (0)

Akeneo Variant Group Rest Api Bundle
====================================

[](#akeneo-variant-group-rest-api-bundle)

Add the missing variant group rest api endpoint for Akeneo &gt; 1.7.

Installation
------------

[](#installation)

Require this Bundle:

```
composer require ampersand/akeneo-variant-group-rest-api

```

Register it in your AppKernel.php:

```
    new Ampersand\Bundle\VariantGroupRestApiBundle\AmpersandVariantGroupRestApiBundle(),

```

Add this to your app/config/routing.yml:

```
ampersand_variant_group_rest_api:
    resource: "@AmpersandVariantGroupRestApiBundle/Resources/config/routing.yml"
    prefix: /api

```

And finally, clean your cache:

```
php app/console cache:clear

```

Usage
-----

[](#usage)

### GET data

[](#get-data)

```
http://akeneo.local/api/rest/v1/variant-groups/akeneo_tshirt

```

### POST data

[](#post-data)

```
http://akeneo.local/api/rest/v1/variant-groups

```

### Sample Payload

[](#sample-payload)

This is how VG data looks like, for both GET and POST requests.

```
{
    "code": "akeneo_tshirt",
    "type": "VARIANT",
    "axes": [
        "clothing_size",
        "main_color",
        "secondary_color"
    ],
    "values": {
        "name": [
            {
                "locale": null,
                "scope": null,
                "data": "The Akeneo T-Shirt"
            }
        ],
        "description": [
            {
                "locale": "de_DE",
                "scope": "ecommerce",
                "data": null
            },
            {
                "locale": "de_DE",
                "scope": "mobile",
                "data": null
            },
            {
                "locale": "de_DE",
                "scope": "print",
                "data": null
            },
            {
                "locale": "en_US",
                "scope": "ecommerce",
                "data": "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Etiam ut nulla egestas, ullamcorper dui nec, faucibus erat. Sed pharetra posuere neque fringilla mollis. Nulla elementum massa porta, facilisis turpis vitae, venenatis libero. Aliquam sagittis nisl in tempor ornare. Aenean ut odio libero. Pellentesque sed purus at orci bibendum efficitur sit amet in lectus. Nunc condimentum ornare mauris, sed vehicula lacus vestibulum vel. Class aptent taciti sociosqu ad litora torquent per conubia nostra, per inceptos himenaeos. Praesent pharetra vitae risus a mattis. Pellentesque orci est, molestie eu arcu ut, dapibus ullamcorper purus. Morbi dictum non sapien quis volutpat. Duis nisi ligula, convallis pretium elit eu, lacinia varius neque. Suspendisse auctor quis magna et ullamcorper. Cras diam neque, accumsan sit amet faucibus malesuada, dapibus ut tellus."
            },
            {
                "locale": "en_US",
                "scope": "mobile",
                "data": null
            },
            {
                "locale": "en_US",
                "scope": "print",
                "data": null
            },
            {
                "locale": "fr_FR",
                "scope": "ecommerce",
                "data": null
            },
            {
                "locale": "fr_FR",
                "scope": "mobile",
                "data": null
            },
            {
                "locale": "fr_FR",
                "scope": "print",
                "data": null
            }
        ],
        "release_date": [
            {
                "locale": null,
                "scope": "ecommerce",
                "data": "08/18/2017"
            },
            {
                "locale": null,
                "scope": "mobile",
                "data": null
            },
            {
                "locale": null,
                "scope": "print",
                "data": null
            }
        ]
    },
    "labels": {
        "de_DE": "T-Shirts Akeneo",
        "en_US": "Akeneo T-Shirts",
        "fr_FR": "T-Shirts Akeneo"
    }
}

```

###  Health Score

28

—

LowBetter than 52% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity7

Limited adoption so far

Community13

Small or concentrated contributor base

Maturity64

Established project with proven stability

 Bus Factor1

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

Total

2

Last Release

3245d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/aa904d0f61196b12bd6727175110ad7a58e19d888960279e7e4b9dbb636f34b9?d=identicon)[convenient](/maintainers/convenient)

![](https://avatars.githubusercontent.com/u/649590?v=4)[Douglas Radburn](/maintainers/chickenland)[@chickenland](https://github.com/chickenland)

---

Top Contributors

[![qrz-io](https://avatars.githubusercontent.com/u/3646206?v=4)](https://github.com/qrz-io "qrz-io (7 commits)")[![joshdifabio](https://avatars.githubusercontent.com/u/5609851?v=4)](https://github.com/joshdifabio "joshdifabio (1 commits)")

### Embed Badge

![Health badge](/badges/ampersand-akeneo-variant-group-rest-api/health.svg)

```
[![Health](https://phpackages.com/badges/ampersand-akeneo-variant-group-rest-api/health.svg)](https://phpackages.com/packages/ampersand-akeneo-variant-group-rest-api)
```

PHPackages © 2026

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