PHPackages                             aquis/sylius-xporter-plugin - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. aquis/sylius-xporter-plugin

ActiveSylius-plugin[Utility &amp; Helpers](/categories/utility)

aquis/sylius-xporter-plugin
===========================

Plugin allowing to export and import back fixtures, in yml format.

v1.8(5y ago)08AGPL-3.0-or-laterPHPPHP ^7.3

Since Jan 20Pushed 5y ago1 watchersCompare

[ Source](https://github.com/malutanpetronel/SyliusXporterPlugin)[ Packagist](https://packagist.org/packages/aquis/sylius-xporter-plugin)[ Docs](http://www.webnou.ro)[ RSS](/packages/aquis-sylius-xporter-plugin/feed)WikiDiscussions master Synced yesterday

READMEChangelogDependencies (32)Versions (2)Used By (0)

Sylius Aquis Exporter
=====================

[](#sylius-aquis-exporter)

---

INSTALATION
-----------

[](#instalation)

To correctly install the plugin please follow the next steps

---

#### Install the plugin

[](#install-the-plugin)

dev phase

```
,
    "repositories": [
        {
            "type": "path",
            "url": "../SyliusXporterPlugin"
        }
    ]
```

then

```
composer require aquis/sylius-xporter-plugin:*@dev
```

---

#### Fix Sylius related errors

[](#fix-sylius-related-errors)

You may get in 1.8 a strange error Attempted to load class "SecurityCheckerCommand" from namespace in bin/console can be fixed with probably from outside docker as inside will throw allowed memory:

```
composer require sensiolabs/security-checker
```

then fix missing directory

```
mkdir /srv/sylius/public/media/image
```

---

#### Enable the plugin in the bundles.php by adding at the end

[](#enable-the-plugin-in-the-bundlesphp-by-adding-at-the-end)

```
...
Aquis\ProductDesignConfigurator\SyliusXporterPlugin::class => ['all' => true],
```

Enable plugin routes
--------------------

[](#enable-plugin-routes)

Add the following routes into your project routes.yml

```
sylius-aquis-xporter-plugin.admin:
    # loads routes from the SyliusProductDesignConfigurator Plugin - Admin
    resource: '@SyliusXporterPlugin/Resources/config/admin_routing.yml'

sylius-aquis-xporter-plugin.shop:
    # loads routes from the SyliusProductDesignConfigurator Plugin - Shop
    resource: '@SyliusXporterPlugin/Resources/config/shop_routing.yml'
```

Import configurations in \_sylius.yml of your project
-----------------------------------------------------

[](#import-configurations-in-_syliusyml-of-your-project)

```
- { resource: "@SyliusXporterPlugin/Resources/config/packages/_sylius.yml" }
- { resource: "@SyliusXporterPlugin/Resources/config/packages/oneup_flysystem.yml" }
- { resource: "@SyliusXporterPlugin/Resources/config/packages/monolog.yml" }
```

---

Add required traits in the project entities
-------------------------------------------

[](#add-required-traits-in-the-project-entities)

```
+++ b/src/Entity/Channel/Channel.php
+use Aquis\XporterPlugin\Model\Channel\ChannelTrait;
+    use ChannelTrait;

+++ b/src/Entity/Customer/Customer.php
+use Aquis\XporterPlugin\Model\Customer\CustomerTrait;
+    use CustomerTrait;

+++ b/src/Entity/Order/Adjustment.php
+use Aquis\XporterPlugin\Model\Order\AdjustmentTrait;
+    use AdjustmentTrait;

+++ b/src/Entity/Order/OrderItem.php
+use Aquis\XporterPlugin\Model\Order\OrderItemTrait;
+    use OrderItemTrait;

+++ b/src/Entity/Payment/PaymentMethod.php
+use Aquis\XporterPlugin\Model\Payment\PaymentMethodTrait;
+    use PaymentMethodTrait;

+++ b/src/Entity/Product/Product.php
+use Aquis\XporterPlugin\Model\Product\ProductTrait as ProductTrait_EX;
+    use ProductTrait_EX;

+++ b/src/Entity/Product/ProductAttributeValue.php
+use Aquis\XporterPlugin\Model\Product\ProductAttributeValueTrait;
+    use ProductAttributeValueTrait;

+++ b/src/Entity/Product/ProductVariant.php
+use Aquis\XporterPlugin\Model\Product\ProductVariantTrait as ProductVariantTrait_EX;
+    use ProductVariantTrait_EX;

+++ b/src/Entity/Promotion/Promotion.php
+use Aquis\XporterPlugin\Model\Promotion\PromotionTrait;
+    use PromotionTrait;

+++ b/src/Entity/Shipping/ShippingMethod.php
+use Aquis\XporterPlugin\Model\Shipping\ShippingMethodTrait;
+    use ShippingMethodTrait;

+++ b/src/Entity/Taxation/TaxRate.php
+use Aquis\XporterPlugin\Model\Taxation\TaxRateTrait;
+    use TaxRateTrait;

+++ b/src/Entity/Taxonomy/Taxon.php
+use Aquis\XporterPlugin\Model\Taxonomy\TaxonTrait;
+    use TaxonTrait;

+++ b/src/Entity/User/ShopUser.php
+use Aquis\XporterPlugin\Model\User\ShopUserTrait;
+    use ShopUserTrait;

+++ b/src/Entity/Channel/Channel.php
+use Aquis\XporterPlugin\Model\Channel\ChannelTrait;
+    use ChannelTrait;

+++ b/src/Entity/Customer/Customer.php
+use Aquis\XporterPlugin\Model\Customer\CustomerTrait;
+    use CustomerTrait;

+++ b/src/Entity/Order/Adjustment.php
+use Aquis\XporterPlugin\Model\Order\AdjustmentTrait;
+    use AdjustmentTrait;

+++ b/src/Entity/Order/OrderItem.php
+use Aquis\XporterPlugin\Model\Order\OrderItemTrait;
+    use OrderItemTrait;

+++ b/src/Entity/Payment/PaymentMethod.php
+use Aquis\XporterPlugin\Model\Payment\PaymentMethodTrait;
+    use PaymentMethodTrait;

+++ b/src/Entity/Product/Product.php
+use Aquis\XporterPlugin\Model\Product\ProductTrait as ProductTrait_EX;
+    use ProductTrait_EX;

+++ b/src/Entity/Product/ProductAttributeValue.php
+use Aquis\XporterPlugin\Model\Product\ProductAttributeValueTrait;
+    use ProductAttributeValueTrait;

+++ b/src/Entity/Product/ProductVariant.php
+use Aquis\XporterPlugin\Model\Product\ProductVariantTrait as ProductVariantTrait_EX;
+    use ProductVariantTrait_EX;

+++ b/src/Entity/Promotion/Promotion.php
+use Aquis\XporterPlugin\Model\Promotion\PromotionTrait;
+    use PromotionTrait;

+++ b/src/Entity/Shipping/ShippingMethod.php
+use Aquis\XporterPlugin\Model\Shipping\ShippingMethodTrait;
+    use ShippingMethodTrait;

+++ b/src/Entity/Taxation/TaxRate.php
+use Aquis\XporterPlugin\Model\Taxation\TaxRateTrait;
+    use TaxRateTrait;

+++ b/src/Entity/Taxonomy/Taxon.php
+use Aquis\XporterPlugin\Model\Taxonomy\TaxonTrait;
+    use TaxonTrait;

+++ b/src/Entity/User/ShopUser.php
+use Aquis\XporterPlugin\Model\User\ShopUserTrait;
+    use ShopUserTrait;
```

---

Run the follosing command to export your data
---------------------------------------------

[](#run-the-follosing-command-to-export-your-data)

Data can start from any entity and all related info will be dumped into a yaml file

```
bin/console  aquis:fixture:dump App\\Entity\\Product\\Product --ids=1,3 --debug=true
```

---

Test the plugin
---------------

[](#test-the-plugin)

We are using Behat, PHPSpec and PHPUnit to test this plugin.

### How to run the tests

[](#how-to-run-the-tests)

From the plugin root directory, run the following commands:

```
$ (cd tests/Application && yarn install)
$ (cd tests/Application && yarn build)
$ (cd tests/Application && bin/console assets:install public -e test)

$ (cd tests/Application && bin/console doctrine:database:create -e test)
$ (cd tests/Application && bin/console doctrine:schema:create -e test)

```

To be able to setup a plugin's database, remember to configure you database credentials in `tests/Application/.env` and `tests/Application/.env.test`.

Usage
-----

[](#usage)

### Running plugin tests

[](#running-plugin-tests)

- PHPUnit

    ```
    $ bin/phpunit
    ```
- PHPSpec

    ```
    $ bin/phpspec run
    ```
- Behat

    ```
    $ bin/behat
    ```

### Opening Sylius with this plugin

[](#opening-sylius-with-this-plugin)

- Using `test` environment:

    ```
    $ (cd tests/Application && bin/console sylius:fixtures:load -e test)
    $ (cd tests/Application && bin/console server:run -d public -e test)
    ```
- Using `dev` environment:

    ```
    $ (cd tests/Application && bin/console sylius:fixtures:load -e dev)
    $ (cd tests/Application && bin/console server:run -d public -e dev)
    ```

---

done...

---

##### Sylius &amp; API-PLATFORM

[](#sylius--api-platform)

```
https://docs.sylius.com/en/latest/api/unified_api/introduction.html
```

##### Get the service names

[](#get-the-service-names)

bin/console debug:container | grep state\_machine | grep -vE 'Transition|Definition' | awk '{ print $1 }'

### Refresh js and css

[](#refresh-js-and-css)

bin/console assets:install web --ansi

bin/console debug:container sylius.repository.product

##### Install dev

[](#install-dev)

COMPOSER=composer.dev.json composer install

#### Buy me a beer if this plugin helps you

[](#buy-me-a-beer-if-this-plugin-helps-you)

[![alt text](./QR.png)](./QR.png)

[https://www.paypal.com/donate?hosted\_button\_id=KNKTPJXM8PEEQ](https://www.paypal.com/donate?hosted_button_id=KNKTPJXM8PEEQ)

###  Health Score

21

—

LowBetter than 19% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity4

Limited adoption so far

Community4

Small or concentrated contributor base

Maturity48

Maturing project, gaining track record

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

1938d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/8abaace76f0e9d666f17ab75d741683eeda7f19262ca02e658507da5daebb427?d=identicon)[malutanpetronel@gmail.com](/maintainers/malutanpetronel@gmail.com)

---

Tags

syliussylius-pluginsylius aquis pluginsylius petro pluginsylius-xporter-plugin

###  Code Quality

TestsPHPUnit

Static AnalysisPHPStan, Psalm

Type Coverage Yes

### Embed Badge

![Health badge](/badges/aquis-sylius-xporter-plugin/health.svg)

```
[![Health](https://phpackages.com/badges/aquis-sylius-xporter-plugin/health.svg)](https://phpackages.com/packages/aquis-sylius-xporter-plugin)
```

###  Alternatives

[sylius/refund-plugin

Plugin provides basic refunds functionality for Sylius application.

691.7M14](/packages/sylius-refund-plugin)[stefandoorn/sitemap-plugin

Sitemap Plugin for Sylius

851.0M](/packages/stefandoorn-sitemap-plugin)[monsieurbiz/sylius-rich-editor-plugin

A Rich Editor plugin for Sylius.

75380.8k6](/packages/monsieurbiz-sylius-rich-editor-plugin)[synolia/sylius-scheduler-command-plugin

Scheduler Command Plugin.

34361.5k](/packages/synolia-sylius-scheduler-command-plugin)[odiseoteam/sylius-blog-plugin

This plugin add blog capabilities to your Sylius project

37104.5k](/packages/odiseoteam-sylius-blog-plugin)[webgriffe/sylius-table-rate-shipping-plugin

Provides table rate shipping calculator.

1490.4k](/packages/webgriffe-sylius-table-rate-shipping-plugin)

PHPackages © 2026

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