PHPackages                             mayflower/shopware-attribute-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. mayflower/shopware-attribute-rest-api

AbandonedArchivedShopware-plugin[API Development](/categories/api)

mayflower/shopware-attribute-rest-api
=====================================

Shopware plugin that exposes free text fields (attributes) via REST API

v1.0.0(7y ago)19[2 issues](https://github.com/mayflower/ShopwareAttributeRestApi/issues)MITPHP

Since Sep 10Pushed 7y ago9 watchersCompare

[ Source](https://github.com/mayflower/ShopwareAttributeRestApi)[ Packagist](https://packagist.org/packages/mayflower/shopware-attribute-rest-api)[ RSS](/packages/mayflower-shopware-attribute-rest-api/feed)WikiDiscussions master Synced 2mo ago

READMEChangelog (1)DependenciesVersions (2)Used By (0)

ShopwareAttributeRestApi
========================

[](#shopwareattributerestapi)

A Shopware plugin that exposes the free text fields (attributes) via REST API.

[![Latest Stable Version](https://camo.githubusercontent.com/e0465dd28091d59ebe601449ae75652d75855a345a766db1c52ebe2c7fc3b664/68747470733a2f2f706f7365722e707567782e6f72672f6d6179666c6f7765722f73686f70776172652d6174747269627574652d726573742d6170692f762f737461626c65)](https://packagist.org/packages/mayflower/shopware-attribute-rest-api)[![Total Downloads](https://camo.githubusercontent.com/1d721584a43969cf5062605c1091bac1d48e2a03dd58000542c1c353ebab5747/68747470733a2f2f706f7365722e707567782e6f72672f6d6179666c6f7765722f73686f70776172652d6174747269627574652d726573742d6170692f646f776e6c6f616473)](https://packagist.org/packages/mayflower/shopware-attribute-rest-api)[![Latest Unstable Version](https://camo.githubusercontent.com/c240548f097ebabf0dc11737ba876aede3fde9d96683b3652376b16f02089043/68747470733a2f2f706f7365722e707567782e6f72672f6d6179666c6f7765722f73686f70776172652d6174747269627574652d726573742d6170692f762f756e737461626c65)](https://packagist.org/packages/mayflower/shopware-attribute-rest-api)[![License](https://camo.githubusercontent.com/f83274958beca1adf56b0244de0ce98c58421e23f73e456b847c00e6848b4099/68747470733a2f2f706f7365722e707567782e6f72672f6d6179666c6f7765722f73686f70776172652d6174747269627574652d726573742d6170692f6c6963656e7365)](https://packagist.org/packages/mayflower/shopware-attribute-rest-api)

About
-----

[](#about)

This plugin uses the [Attribute Crud Service](https://developers.shopware.com/developers-guide/attribute-system/) to expose attributes vie REST API.

It's intended to be used for automation of the free text field management.

Setup
-----

[](#setup)

Enable API Access as explained in [Shopware's REST API Documentation](https://developers.shopware.com/developers-guide/rest-api/#basic-settings).

Usage
-----

[](#usage)

The `attributes` resource supports the following operations:

NameAccess URLGETGET (List)PUTPUT (Batch)POSTDELETEDELETE (Batch)**attributes**/api/attributesYesYESYESNOYESYESNODue to the design of Shopware's attribute crud service, it might be possible to update with POST and create with PUT!

### GET

[](#get)

**table\_name** is used as ID.

#### Required Parameters

[](#required-parameters)

IdentifierParameterExample callcolumn\_namestring/api/attributes/s\_article\_attributes?column\_name=attr1#### Return Value

[](#return-value)

### GET (List)

[](#get-list)

#### Required Parameters

[](#required-parameters-1)

IdentifierParameterExample calltable\_namestring/api/attributes/s\_article\_attributes### PUT

[](#put)

- columnName (required), string,
- unifiedType, string, defaults to
- data, array
    - displayInBackend, boolean
    - translatable, boolean
    - core, boolean
    - label, string
    - ...

```
{
    "columnName": "attr99",
    "unifiedType": "text",
    "data": {
        "displayInBackend": true,
        "translatable": true,
        "core": true,
        "label": "Attribut 99"
    }
}

```

### POST

[](#post)

- tableName (required), string
- columnName (required), string,
- unifiedType, string, defaults to
- data, array
    - displayInBackend, boolean
    - translatable, boolean
    - core, boolean
    - label, string
    - ...

```
{
    "tableName": "s_articles_attributes",
    "columnName": "attr99",
    "unifiedType": "text",
    "data": {
        "displayInBackend": true,
        "translatable": true,
        "core": true,
        "label": "Attribut 99"
    }
}

```

### DELETE

[](#delete)

Contributing
------------

[](#contributing)

We use [Shopware's Vagrant Setup](https://github.com/shopwareLabs/shopware-vagrant) for development.

After Setup, you map/sync the plugin code into the vagrant box.

One way to do this, is updating the `Vagrantfile` with something similar like this:

```
config.vm.synced_folder "../ShopwareAttributeRestApi", "/home/vagrant/www/shopware/custom/plugins/ShopwareAttributeRestApi", create: true, type: "nfs"

```

We provide a basic [Postman Collection](Shopware_Attribute_REST_API.postman_collection.json) for testing.

License
-------

[](#license)

Please see [License File](LICENSE) for more information.

###  Health Score

22

—

LowBetter than 22% of packages

Maintenance0

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity62

Established project with proven stability

 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

2799d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/9f0574cd02f7aa226f0026cb4c027a92f36dd0a57d89ada829cee96fa4ccd13e?d=identicon)[xalopp](/maintainers/xalopp)

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

---

Top Contributors

[![xalopp](https://avatars.githubusercontent.com/u/1674529?v=4)](https://github.com/xalopp "xalopp (2 commits)")

### Embed Badge

![Health badge](/badges/mayflower-shopware-attribute-rest-api/health.svg)

```
[![Health](https://phpackages.com/badges/mayflower-shopware-attribute-rest-api/health.svg)](https://phpackages.com/packages/mayflower-shopware-attribute-rest-api)
```

###  Alternatives

[stripe/stripe-php

Stripe PHP Library

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

A PHP wrapper for Twilio's API

1.6k92.9M271](/packages/twilio-sdk)[knplabs/github-api

GitHub API v3 client

2.2k15.8M187](/packages/knplabs-github-api)[facebook/php-business-sdk

PHP SDK for Facebook Business

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

PHP wrapper for the Meilisearch API

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

Google API Core for PHP

263103.1M454](/packages/google-gax)

PHPackages © 2026

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