Search by

omnibus / offline

GlitchArt

Omnibus offline carrier: the shop ships by itself - configured rates, a tracking number typed by hand, its own counters as pickup points.

2.x-dev 2026-10-05 13:33 UTC

This package is auto-updated.

Last update: 2026-10-08 17:40:22 UTC


README

No carrier, for glitchr/omnibus: the shop hands parcels over itself (its own courier, a post office counter) or keeps them for collection.

$gateway = (new OfflineGatewayFactory())->create($options);   // the options below

No framework needed, and no HTTP client: the package requires glitchr/omnibus alone and calls nothing. In a Symfony application, the same through the bundle's configuration:

omnibus:
    gateways:
        retrait:
            factory: offline
            options:
                rates: [...]   # Omnibus\Action\ConfiguredRatingAction
                tracking_url: 'https://www.laposte.fr/outils/suivre-vos-envois?code={number}'
                pickup_points: # click & collect
                    - { id: shop, name: 'La boutique', street: ['1 rue ...'], postcode: '75001', city: Paris, country: FR }

License: LGPL-3.0-or-later.