PHPackages                             mangoweb-sylius/sylius-jezek-duel-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. mangoweb-sylius/sylius-jezek-duel-plugin

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

mangoweb-sylius/sylius-jezek-duel-plugin
========================================

Jezek duel plugin for Sylius

v0.2.0(7y ago)013MITPHPPHP ^7.1CI failing

Since Jan 30Pushed 6y ago2 watchersCompare

[ Source](https://github.com/mangoweb-sylius/SyliusJezekDuelPlugin)[ Packagist](https://packagist.org/packages/mangoweb-sylius/sylius-jezek-duel-plugin)[ RSS](/packages/mangoweb-sylius-sylius-jezek-duel-plugin/feed)WikiDiscussions master Synced 2mo ago

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

 [ ![](https://avatars0.githubusercontent.com/u/38423357?s=200&v=4) ](https://www.mangoweb.cz/en/)

Ježek Duel Plugin
=================

[](#ježek-duel-plugin)

Features
--------

[](#features)

Provides integration with [Duel](https://www.jezeksw.cz/duel/) accounting software.

- Downloads Sylius orders into Duel
- Updates product data in Sylius
- You can update any product data, by default the plugin updates stock level only. For details see `updateProduct()` method of the `mango:jezek:update` command.
- In combination with the [Payment Fee module](https://github.com/mangoweb-sylius/SyliusPaymentFeePlugin), it can handle cash on delivery fees (known as "Dobírka" in Czechia and Slovakia) incl. taxes.

 [![](https://raw.githubusercontent.com/mangoweb-sylius/SyliusJezekDuelPlugin/master/doc/duel-logo.png)](https://raw.githubusercontent.com/mangoweb-sylius/SyliusJezekDuelPlugin/master/doc/duel-logo.png)

Requirements
------------

[](#requirements)

- Based on how integrations in Ježek Duel work, you will need an FTP account as a storage for XML files which are used for transferring data.

 [![](https://raw.githubusercontent.com/mangoweb-sylius/SyliusJezekDuelPlugin/master/doc/setttings.png)](https://raw.githubusercontent.com/mangoweb-sylius/SyliusJezekDuelPlugin/master/doc/setttings.png)

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

[](#installation)

1. Run `$ composer require mangoweb-sylius/sylius-jezek-duel-plugin`.
2. Register `\MangoSylius\JezekDuelPlugin\MangoSyliusJezekDuelPlugin` in your Kernel.
3. Add ftp parameters into config.yml

```
    mango_sylius_jezek_duel:
        server_url: 'server_url'
        username:   'username'
        password:   'password'

```

4. Your Entity `Order` has to implement `\MangoSylius\JezekDuelPlugin\Model\OrderWithExportedAtInterface`. You can use Trait `MangoSylius\JezekDuelPlugin\Model\OrderWithExportedAtTrait`.
5. Your Entity `ProductVariant` has to implement `\MangoSylius\JezekDuelPlugin\Model\ProductVariantWithJezekIdsInterface`. You can use Trait `MangoSylius\JezekDuelPlugin\Model\ProductVariantWithJezekIdsTrait`.
6. Include template `Resources/views/Channel/extendedChannelForm.html.twig` in `@SyliusAdmin/Channel/_form.html.twig`.

For guide to use your own entity see [Sylius docs - Customizing Models](https://docs.sylius.com/en/1.3/customization/model.html)

 [![](https://raw.githubusercontent.com/mangoweb-sylius/SyliusJezekDuelPlugin/master/doc/jezekid.png)](https://raw.githubusercontent.com/mangoweb-sylius/SyliusJezekDuelPlugin/master/doc/jezekid.png)

Usage
-----

[](#usage)

- **Set up the eshop in Duel**
    Use "Webový servis" or "eBrána" type. Click "Založit e-shop" in "Agenda" tab (id asked for folder names, keep defaults - "in" and "out").
- **Link products**
    Use Ježek product UID codes as code for products in Sylius or if you use another codes in your Sylius eshop, put Duel's product UID in dedicated product parameter "Ježek ID". You can put mode UIDs (one per line) to connect more Duel products to one Sylius product when selling product bundles. The plugin first checks "Ježek ID" field, if empty, it checks product code to match the product by Ježek UID. For configurable products, there is one "Ježek ID" per variant. You can use the same "Ježek ID" for multiple variants as well as products.
- **Data handling by Sylius**
    Setup commands in cron as specified below. Recommended frequency is 5 mins for orders (can be less for busy shops) and one hour for products (if you update products less frequently, use daily sync).
- **Invoice inbound sync** (orders from eshop)
    Click "Stažení objednávek z e-shopu" in "Agenda" tab.
- **Invoice outbound sync** (product data to eshop)
    Click "Aktualizace dat v e-shopu" in "Agenda" tab.

 [![](https://raw.githubusercontent.com/mangoweb-sylius/SyliusJezekDuelPlugin/master/doc/ribbon.png)](https://raw.githubusercontent.com/mangoweb-sylius/SyliusJezekDuelPlugin/master/doc/ribbon.png)

### Commands

[](#commands)

- Export orders to FTP.

    ```
    mango:jezek:export
    ```
- Update products details from FTP.

    ```
    mango:jezek:update
    ```

Development
-----------

[](#development)

### Usage

[](#usage-1)

- Create symlink from .env.dist to .env or create your own .env file
- Develop your plugin in `/src`
- See `bin/` for useful commands

### Testing

[](#testing)

After your changes you must ensure that the tests are still passing.

- Easy Coding Standard ```
    bin/ecs.sh
    ```
- PHPStan ```
    bin/phpstan.sh
    ```

License
-------

[](#license)

This library is under the MIT license.

Credits
-------

[](#credits)

Developed by [manGoweb](https://www.mangoweb.eu/).

###  Health Score

22

—

LowBetter than 22% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity5

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity45

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 75% 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

2660d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/2500352?v=4)[Johan Hornof](/maintainers/hornofj)[@hornofj](https://github.com/hornofj)

![](https://avatars.githubusercontent.com/u/13216499?v=4)[Vašo](/maintainers/VasoOppelt)[@VasoOppelt](https://github.com/VasoOppelt)

---

Top Contributors

[![ondrej-kuhnel](https://avatars.githubusercontent.com/u/6840281?v=4)](https://github.com/ondrej-kuhnel "ondrej-kuhnel (3 commits)")[![hornofj](https://avatars.githubusercontent.com/u/2500352?v=4)](https://github.com/hornofj "hornofj (1 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/mangoweb-sylius-sylius-jezek-duel-plugin/health.svg)

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

###  Alternatives

[winzou/state-machine-bundle

Bundle for the very lightweight yet powerful PHP state machine

34010.4M15](/packages/winzou-state-machine-bundle)[stfalcon/tinymce-bundle

This Bundle integrates TinyMCE WYSIWYG editor into a Symfony2 project.

2692.9M24](/packages/stfalcon-tinymce-bundle)[symfony/ai-bundle

Integration bundle for Symfony AI components

30282.3k6](/packages/symfony-ai-bundle)[sylius/inventory-bundle

Flexible inventory management for Symfony applications.

19176.7k4](/packages/sylius-inventory-bundle)[netgen/content-browser

Netgen Content Browser is a Symfony bundle that provides an interface which selects items from any kind of backend and returns the IDs of selected items back to the calling code.

14112.1k8](/packages/netgen-content-browser)[leapt/core-bundle

Symfony LeaptCoreBundle

2529.1k4](/packages/leapt-core-bundle)

PHPackages © 2026

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