PHPackages                             tylerkidd/silverstripe-shop-shippingframework - 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. tylerkidd/silverstripe-shop-shippingframework

ActiveSilverstripe-module

tylerkidd/silverstripe-shop-shippingframework
=============================================

Shipping module

114[5 PRs](https://github.com/tylerkidd/silverstripe-shop-shippingframework/pulls)PHP

Since Nov 25Pushed 10y ago1 watchersCompare

[ Source](https://github.com/tylerkidd/silverstripe-shop-shippingframework)[ Packagist](https://packagist.org/packages/tylerkidd/silverstripe-shop-shippingframework)[ RSS](/packages/tylerkidd-silverstripe-shop-shippingframework/feed)WikiDiscussions master Synced 2mo ago

READMEChangelogDependenciesVersions (2)Used By (0)

Shipping Framework
------------------

[](#shipping-framework)

This isn't actually a sub-module, but really a bunch of potential changes to the shop system.

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

[](#requirements)

- Shop module v0.9

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

[](#installation)

- Put the shop\_shippingframework folder into your SilverStripe root directory
- Add the ShippingFrameWorkModifier to your modifiers config, eg:

```
    Order::set_modifiers(array(
        'ShippingFrameworkModifier',
        'FlatTaxModifier'
    ));
```

- You need to use the new SteppedCheckout system to allow customers to set their address before they choose their shipping method. To set up steps, including the shippingmethod step, add the following to your mysite/\_config.php file:

```
    SteppedCheckout::setupSteps(array(
		  'membership' => 'CheckoutStep_Membership',
        'contactdetails' => 'CheckoutStep_ContactDetails',
        'shippingaddress' => 'CheckoutStep_Address',
        'billingaddress' => 'CheckoutStep_Address',
        'shippingmethod' => 'CheckoutStep_ShippingMethod', //extra line for shipping method
        'paymentmethod' => 'CheckoutStep_PaymentMethod',
        'summary' => 'CheckoutStep_Summary'
    ));
```

- To add the shipping estimation form to your CartPage template, add the following somewhere on your CartPage.ss template:

```

```

If you need some example tableshipping data to populate your site for testing/development, you can run the task: `yoursite.tld/dev/tasks/PopulateTableShippingTask`

Architecture
------------

[](#architecture)

`ShippingPackage` is a class used to encapsulate shipping data including: weight, dimensions, value, quantity.

`ShippingMethod` is the base class for different types of shipping calculation. These could either be flat rates, table based rates, or a

`TableShippingMethod` has many `TableShippingRate`, where `TableShppingRate extends RegionRestriction`. Table shipping rates also have optional weight, volume, value, and quantity constraint fields.

### Region Restrictions

[](#region-restrictions)

The `RegionRestriction` class serves as a base class for providing regionalised restrictions. Restrictions are specified by Country, State, and PostalCode. A value/rate can be given to each restriction. To work the appropriate rate, query for all the matchign restrictions, and sort by cheapest.

The wildcard '\*' means the restriction will match any region.

###  Health Score

21

—

LowBetter than 19% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity7

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity43

Maturing project, gaining track record

 Bus Factor1

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

### Community

Maintainers

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

---

Top Contributors

[![jedateach](https://avatars.githubusercontent.com/u/1356335?v=4)](https://github.com/jedateach "jedateach (44 commits)")[![tylerkidd](https://avatars.githubusercontent.com/u/1338983?v=4)](https://github.com/tylerkidd "tylerkidd (3 commits)")

### Embed Badge

![Health badge](/badges/tylerkidd-silverstripe-shop-shippingframework/health.svg)

```
[![Health](https://phpackages.com/badges/tylerkidd-silverstripe-shop-shippingframework/health.svg)](https://phpackages.com/packages/tylerkidd-silverstripe-shop-shippingframework)
```

PHPackages © 2026

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