PHPackages                             3brs/sylius-packeta-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. [HTTP &amp; Networking](/categories/http)
4. /
5. 3brs/sylius-packeta-plugin

ActiveSylius-plugin[HTTP &amp; Networking](/categories/http)

3brs/sylius-packeta-plugin
==========================

Packeta plugin for Sylius

v5.1.0(1mo ago)01.7k↑226.7%2MITPHPPHP ^8.2

Since Oct 5Pushed 1mo agoCompare

[ Source](https://github.com/3BRS/sylius-packeta-plugin)[ Packagist](https://packagist.org/packages/3brs/sylius-packeta-plugin)[ RSS](/packages/3brs-sylius-packeta-plugin/feed)WikiDiscussions main Synced today

READMEChangelog (5)Dependencies (74)Versions (13)Used By (0)

 [ ![](https://camo.githubusercontent.com/bb0c16caf210bea68e0e59fc11e0844dc47097f9aeb8b388c3de5f1414d4d1c0/68747470733a2f2f33627273312e667261312e63646e2e6469676974616c6f6365616e7370616365732e636f6d2f336272732f6c6f676f2f334252532d6c6f676f2d73796c6975732d3230302e706e67) ](https://www.3brs.com)

 Packeta Plugin
 [ ![](https://camo.githubusercontent.com/32932c07723158219f374f24e8a175f19edac0a6a99cf617d92f998ea48399ba/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f6c2f336272732f73796c6975732d7061636b6574612d706c7567696e2e737667) ](https://packagist.org/packages/3brs/sylius-packeta-plugin "License") [ ![](https://camo.githubusercontent.com/97b1b4d122ae7d6d320701453da0408891ccfa2b25d33b76736c999cd4e02a10/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f336272732f73796c6975732d7061636b6574612d706c7567696e2e737667) ](https://packagist.org/packages/3brs/sylius-packeta-plugin "Version") [ ![](https://camo.githubusercontent.com/62d6f988b2fbbd6e9bca836dc91d946d1dc453bbcdde38b299cf8ca9406df3df/68747470733a2f2f636972636c6563692e636f6d2f67682f334252532f73796c6975732d7061636b6574612d706c7567696e2e7376673f7374796c653d736869656c64) ](https://circleci.com/gh/3BRS/sylius-packeta-plugin "Build status")
==================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================

[](#----packeta-plugin----------------------------------------------------)

 [![Packeta / Packeta / Zásielkovňa / Csomagküldő / Przesyłkownia / Coletăria](https://raw.githubusercontent.com/3BRS/sylius-packeta-plugin/master/doc/logo.png)](https://www.packeta.com/)

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

[](#requirements)

PackageVersionPHP^8.2Sylius^2.1> For Sylius 2.0 support, use version 4.0.x of this plugin. For Sylius 1.x support, use version 3.x of this plugin.

Features
--------

[](#features)

- Enables sending shipments via \[[en](https://www.packeta.com)\] \[[cz](https://www.zasilkovna.cz)\] \[[pl](https://www.przesylkownia.pl)\] \[[sk](https://www.zasielkovna.sk)\] \[[hu](https://www.csomagkuldo.hu)\] \[[ro](https://www.coletaria.ro)\] to Packeta branch or to the customer's address via Packeta service.
- The user can choose the Packeta branch from the map during checkout in the Shipment step.
- See Packeta branch in final checkout step and also in the admin panel.
- Export CSV with the Packeta shipments (both to Packeta branch or customer's address) and import it easily into Packeta's system.

 [![](https://raw.githubusercontent.com/3BRS/sylius-packeta-plugin/master/doc/admin_order_detail.png)](https://raw.githubusercontent.com/3BRS/sylius-packeta-plugin/master/doc/admin_order_detail.png)

 [![](https://raw.githubusercontent.com/3BRS/sylius-packeta-plugin/master/doc/admin_shipping_method_edit.png)](https://raw.githubusercontent.com/3BRS/sylius-packeta-plugin/master/doc/admin_shipping_method_edit.png)

 [![](https://raw.githubusercontent.com/3BRS/sylius-packeta-plugin/master/doc/shop_shipment_step.png)](https://raw.githubusercontent.com/3BRS/sylius-packeta-plugin/master/doc/shop_shipment_step.png)

 [![](https://raw.githubusercontent.com/3BRS/sylius-packeta-plugin/master/doc/shop_checkout_complete.png)](https://raw.githubusercontent.com/3BRS/sylius-packeta-plugin/master/doc/shop_checkout_complete.png)

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

[](#installation)

1. Run `composer require 3brs/sylius-packeta-plugin`.
2. Add plugin classes to your `config/bundles.php`:

    ```
    return [
       ...
       ThreeBRS\SyliusShipmentExportPlugin\ThreeBRSSyliusShipmentExportPlugin::class => ['all' => true],
       ThreeBRS\SyliusPacketaPlugin\ThreeBRSSyliusPacketaPlugin::class => ['all' => true],
    ];
    ```
3. Use plugin configuration by creating `config/packages/threebrs_sylius_packeta_plugin.yaml` with content

    ```
    imports:
         - { resource: "@ThreeBRSSyliusPacketaPlugin/Resources/config/config.{yml,yaml}" }
    ```
4. Add routing to `config/routes.yaml`

    ```
    threebrs_sylius_shipment_export_plugin:
        resource: "@ThreeBRSSyliusShipmentExportPlugin/Resources/config/admin_routing.{yml,yaml}"
        prefix: '/%sylius_admin.path_name%'
    ```
5. Your Entity `Shipment` has to implement `\ThreeBRS\SyliusPacketaPlugin\Model\PacketaShipmentInterface`. You can use the trait `\ThreeBRS\SyliusPacketaPlugin\Model\PacketaShipmentTrait`.

    ```
