PHPackages                             webgriffe/sylius-table-rate-shipping-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. webgriffe/sylius-table-rate-shipping-plugin

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

webgriffe/sylius-table-rate-shipping-plugin
===========================================

Provides table rate shipping calculator.

v2.0.5(2mo ago)1490.4k↓44.2%10[3 issues](https://github.com/webgriffe/WebgriffeSyliusTableRateShippingPlugin/issues)MITPHPPHP ^8.2CI passing

Since Oct 16Pushed 2mo ago4 watchersCompare

[ Source](https://github.com/webgriffe/WebgriffeSyliusTableRateShippingPlugin)[ Packagist](https://packagist.org/packages/webgriffe/sylius-table-rate-shipping-plugin)[ RSS](/packages/webgriffe-sylius-table-rate-shipping-plugin/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (10)Dependencies (72)Versions (20)Used By (0)

 [ ![](https://camo.githubusercontent.com/83733a6117ae540c829d8f618763311d694365b0d8872928c13cffaf85301cf4/68747470733a2f2f73796c6975732e636f6d2f77702d636f6e74656e742f75706c6f6164732f323031382f30382f7765626772696666655f6c6f676f2e706e67) ](https://www.webgriffe.com)

Table Rate Shipping Plugin
==========================

[](#table-rate-shipping-plugin)

[![](https://camo.githubusercontent.com/5b98e02f3693c16fd3f40037251d70ca5e1ecd2a11608dd21c9c7e3933b8942e/68747470733a2f2f73796c6975732e636f6d2f6173736574732f62616467652d617070726f7665642d62792d73796c6975732e706e67)](https://sylius.com/plugins/)

This plugin allows to define shipping rates using weight tables.

[![Build Status](https://github.com/webgriffe/WebgriffeSyliusTableRateShippingPlugin/workflows/Build/badge.svg)](https://github.com/webgriffe/WebgriffeSyliusTableRateShippingPlugin/actions)

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

[](#installation)

1. Run `composer require --no-scripts webgriffe/sylius-table-rate-shipping-plugin`: it's normal that the "cache:clear" command, that is executed automatically at the end, fails because you have to do the next steps.
2. If they have not been added automatically, you have to add these bundles to `config/bundles.php` file:

    ```
    Webgriffe\SyliusTableRateShippingPlugin\WebgriffeSyliusTableRateShippingPlugin::class => ['all' => true],
    ```
3. Add the plugin's configs by creating the file `config/packages/webgriffe_sylius_table_rate_shipping_plugin.yaml` with the following content:

    ```
    imports:
        - { resource: "@WebgriffeSyliusTableRateShippingPlugin/config/config.yaml" }
    ```
4. Add the plugin's routes by creating the file `config/routes/webgriffe_sylius_table_rate_shipping_plugin.yaml` with the following content:

    ```
    webgriffe_sylius_table_rate_shipping_plugin_admin:
      resource: "@WebgriffeSyliusTableRateShippingPlugin/config/routes/admin.yaml"
      prefix: /%sylius_admin.path_name%
    ```
5. Finish the installation by updating the database schema:

    ```
    bin/console cache:clear
    bin/console doctrine:migrations:migrate
    ```

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

[](#contributing)

To contribute you need to:

1. Clone this repository into you development environment and go to the plugin's root directory,
2. Then, from the plugin's root directory, run the following commands:

    ```
    composer install
    ```
3. Copy `tests/TestApplication/.env` in `tests/TestApplication/.env.local` and set configuration specific for your development environment.
4. Link node\_modules:

    ```
    ln -s vendor/sylius/test-application/node_modules node_modules
    ```
5. Run docker (create a `compose.override.yml` if you need to customize services):

    ```
    docker-compose up -d
    ```
6. Then, from the plugin's root directory, run the following commands:

    ```
    composer test-app-init
    ```
7. Run your local server:

    ```
    symfony server:ca:install
    symfony server:start -d
    ```
8. Now at  you have a full Sylius testing application which runs the plugin

### Static checks

[](#static-checks)

- Coding Standard

    ```
    vendor/bin/ecs check --fix
    ```
- Psalm

    ```
    vendor/bin/psalm
    ```
- PHPStan

    ```
    vendor/bin/phpstan analyse
    ```

### Testing

[](#testing)

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

First setup your test database:

```
```bash
APP_ENV=test vendor/bin/console doctrine:database:create
APP_ENV=test vendor/bin/console doctrine:migrations:migrate -n
# Optionally load data fixtures
APP_ENV=test vendor/bin/console sylius:fixtures:load -n
```

```

And build assets:

```
    (cd vendor/sylius/test-application && yarn install)
    (cd vendor/sylius/test-application && yarn build)
    vendor/bin/console assets:install
```

The current CI suite runs the following tests:

- PHPUnit

```
vendor/bin/phpunit
```

- PHPSpec

```
vendor/bin/phpspec run
```

- Behat (non-JS scenarios)

```
  vendor/bin/behat --strict --tags="~@javascript"
```

- Behat (JS scenarios)

    1. [Install Symfony CLI command](https://symfony.com/download).
    2. Start Headless Chrome:

    ```
    google-chrome-stable --enable-automation --disable-background-networking --no-default-browser-check --no-first-run --disable-popup-blocking --disable-default-apps --allow-insecure-localhost --disable-translate --disable-extensions --no-sandbox --enable-features=Metal --headless --remote-debugging-port=9222 --window-size=2880,1800 --proxy-server='direct://' --proxy-bypass-list='*' http://127.0.0.1
    ```

    3. Install SSL certificates (only once needed) and run test application's webserver on `127.0.0.1:8080`:

    ```
    symfony server:ca:install
    APP_ENV=test symfony server:start --port=8080 --dir=tests/TestApplication/public --daemon
    ```

    4. Run Behat:

    ```
    vendor/bin/behat --strict --tags="@javascript"
    ```

License
-------

[](#license)

This library is under the MIT license. See the complete license in the LICENSE file.

Credits
-------

[](#credits)

Developed by [Webgriffe®](http://www.webgriffe.com/).

###  Health Score

60

—

FairBetter than 99% of packages

Maintenance80

Actively maintained with recent releases

Popularity41

Moderate usage in the ecosystem

Community19

Small or concentrated contributor base

Maturity83

Battle-tested with a long release history

 Bus Factor2

2 contributors hold 50%+ of commits

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

Every ~149 days

Recently: every ~12 days

Total

19

Last Release

82d ago

Major Versions

0.6.1 → v1.0.02024-07-29

v1.0.0 → v2.0.02025-09-26

PHP version history (6 changes)v0.1.0PHP ^7.2

v0.1.1PHP ^7.3

0.4.0PHP ^7.4 || ^8.0

0.5.0PHP ^8.0

v1.0.0PHP ^8.1

v2.0.0PHP ^8.2

### Community

Maintainers

![](https://www.gravatar.com/avatar/eca104631fd7f6aff6d399ca16458c4d9814770756af0ecca22ffe2b1c5704d3?d=identicon)[mmenozzi](/maintainers/mmenozzi)

---

Top Contributors

[![mmenozzi](https://avatars.githubusercontent.com/u/1199914?v=4)](https://github.com/mmenozzi "mmenozzi (72 commits)")[![LucaGallinari](https://avatars.githubusercontent.com/u/5822554?v=4)](https://github.com/LucaGallinari "LucaGallinari (39 commits)")[![pamil](https://avatars.githubusercontent.com/u/1897953?v=4)](https://github.com/pamil "pamil (16 commits)")[![lruozzi9](https://avatars.githubusercontent.com/u/26346480?v=4)](https://github.com/lruozzi9 "lruozzi9 (10 commits)")[![Roshyo](https://avatars.githubusercontent.com/u/9363039?v=4)](https://github.com/Roshyo "Roshyo (10 commits)")[![ptim4x](https://avatars.githubusercontent.com/u/59584455?v=4)](https://github.com/ptim4x "ptim4x (3 commits)")[![t-n-y](https://avatars.githubusercontent.com/u/3873351?v=4)](https://github.com/t-n-y "t-n-y (1 commits)")

---

Tags

shipping-ratessyliussyliussylius-plugintest-appication

###  Code Quality

TestsPHPUnit

Static AnalysisPHPStan, Psalm

Type Coverage Yes

### Embed Badge

![Health badge](/badges/webgriffe-sylius-table-rate-shipping-plugin/health.svg)

```
[![Health](https://phpackages.com/badges/webgriffe-sylius-table-rate-shipping-plugin/health.svg)](https://phpackages.com/packages/webgriffe-sylius-table-rate-shipping-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)[dedi/sylius-seo-plugin

Sylius SEO plugin by Dedi.

28138.9k](/packages/dedi-sylius-seo-plugin)

PHPackages © 2026

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