spiderweb/sylius-sendcloud-plugin

Sylius 2 plugin for SendCloud shipping automation

Maintainers

Package info

github.com/Zalastan/sylius-sendcloud

Homepage

Type:sylius-plugin

pkg:composer/spiderweb/sylius-sendcloud-plugin

Statistics

Installs: 11

Dependents: 0

Suggesters: 0

Stars: 0

Open Issues: 0

v1.5.3 2026-06-21 01:13 UTC

This package is auto-updated.

Last update: 2026-06-21 01:13:49 UTC


README

Sylius 2 plugin for SendCloud shipping automation. Automatically creates parcels in SendCloud when a shipment is marked as shipped, and stores the tracking number back on the shipment.

Features

  • Creates a SendCloud parcel automatically on the ship workflow transition
  • Stores the tracking number returned by SendCloud on the Sylius shipment
  • Encrypts API credentials at rest using libsodium (ext-sodium)
  • Admin configuration page under /admin/sendcloud/configuration

Requirements

  • PHP 8.2+
  • Sylius 2.0+
  • ext-sodium

Installation

composer require spiderweb/sylius-sendcloud-plugin

Register the plugin in your Symfony application:

// config/bundles.php
return [
    // ...
    SpiderWeb\Sylius\SendCloudPlugin\SendCloudPlugin::class => ['all' => true],
];

Import the routes:

# config/routes/sendcloud.yaml
spiderweb_sendcloud:
    resource: "@SendCloudPlugin/config/routes.yaml"

Run the database migration:

php bin/console doctrine:migrations:diff
php bin/console doctrine:migrations:migrate

Configuration

Go to Admin → SendCloud and enter your SendCloud API credentials (Settings → Integrations → API in your SendCloud account).

API keys are encrypted in the database using your application's APP_SECRET. If APP_SECRET changes, you will need to re-enter the credentials.

License

MIT — Spider Web