PHPackages                             ajowi/sendy-fulfilment - 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. [API Development](/categories/api)
4. /
5. ajowi/sendy-fulfilment

ActiveLibrary[API Development](/categories/api)

ajowi/sendy-fulfilment
======================

This package allows you to connect to the Sendy API to manage shipping fulfilment orders

v1.4.0(3y ago)012MITPHPPHP &gt;=7.4

Since Dec 17Pushed 3y ago1 watchersCompare

[ Source](https://github.com/ajowi/sendy-fulfilment)[ Packagist](https://packagist.org/packages/ajowi/sendy-fulfilment)[ Docs](https://github.com/ajowi/sendy-fulfilment)[ RSS](/packages/ajowi-sendy-fulfilment/feed)WikiDiscussions main Synced yesterday

READMEChangelog (5)Dependencies (9)Versions (6)Used By (0)

Sendy Fulfillment Service package for Laravel/PHP applications
==============================================================

[](#sendy-fulfillment-service-package-for-laravelphp-applications)

[![Latest Version on Packagist](https://camo.githubusercontent.com/c597ddb12c7f693fcf052940e75a843085589ffb677e285c5e4ccaeb7b3affbc/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f616a6f77692f73656e64792d66756c66696c6d656e742e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/ajowi/sendy-fulfilment)[![Software License](https://camo.githubusercontent.com/55c0218c8f8009f06ad4ddae837ddd05301481fcf0dff8e0ed9dadda8780713e/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d627269676874677265656e2e7376673f7374796c653d666c61742d737175617265)](LICENSE.md)[![Build Status](https://camo.githubusercontent.com/57b8a75a8a44cd9561bf0012d8e2cae5268a414a7542ac9847ec466a775a8695/68747470733a2f2f696d672e736869656c64732e696f2f7472617669732f616a6f77692f73656e64792d66756c66696c6d656e742f6d61737465722e7376673f7374796c653d666c61742d737175617265)](https://travis-ci.org/ajowi/sendy-fulfilment)[![Total Downloads](https://camo.githubusercontent.com/d80c08487e8d82c73b1fe23df30265610d2cc047f3349b8947f9182794ee2af6/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f616a6f77692f73656e64792d66756c66696c6d656e742e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/ajowi/sendy-fulfilment)

This package makes it easy to integrate Sendy Fulfillment Service API [Sendy Fulfillment](https://api.sendyit.com/v2/documentation) into your php applications.

Contents
--------

[](#contents)

- [Requirements](#requirements)
- [Installation](#installation)
    - [Setting up the Sendy Fulfillment service](#setting-up-the-sendy-fulfillment-service)
- [Usage](#usage)
    - [Available Operations](#available-operations)
- [Changelog](#changelog)
- [Testing](#testing)
- [Security](#security)
- [Contributing](#contributing)
- [Credits](#credits)
- [License](#license)

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

[](#requirements)

- [Sign up](https://app.sendyit.com) for a Sendy Fulfillment account
- Generate your API token in settings

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

[](#installation)

You can install the package via composer:

```
composer require ajowi/sendy-fulfilment
```

### Setting up the Sendy Fulfillment service

[](#setting-up-the-sendy-fulfillment-service)

On Laravel add your Sendy API Token and Endpoint URL to your `config/services.php`:

```
// config/services.php
...
'sendy' => [
    'token' => env('SENDY_TOKEN'),
    'endpoint_url' => env('SENDY_ENDPOINT_URL'),
],
...
```

Usage
-----

[](#usage)

Example request for an order's price quotations that return available pricing tiers given pickup and delivery coordinates

```
    use Ajowi\SendyFulfillment\PriceRequest;

    $data = new array(
        'ecommerce_order' => 'ODR-0000',
        'recepient' => [
                'name' => 'David Ajowi',
                'email' => 'ajowi@daniche.co.ke',
                'phone' => '+254 712345678'
        ],
        'locations' => [
            [
                'type' => 'PICKUP',
                'waypoint_id' => 'd67dbff1-4d57-4266-9c39-481c2d9c76eq',
                'lat' => -1.597429319708498,
                'long' => -1.597429319708498,
                'name' => 'Destination'
            ],
            [
                'type' => 'DELIVERY',
                'waypoint_id' => 'd67dbff1-4d57-4266-9c39-481c2d9c76eq',
                'lat' => -1.597429319708498,
                'long' => -1.597429319708498,
                'name' => 'Destination'
            ]
        ]
    );

    /**
     * -----------
     * IMPORTANT
     * -----------
     * If you are not using Laravel, pass the API token/key and Endpoint URL to the constructor like so
     *
     *  $priceRequest = new PriceRequest('SENDY_API_TOKEN', 'ENDPOINT_URL');
     *
     */
    $priceRequest = new PriceRequest();
    $priceRequest->initialize($data);

    // Do a price request
    try {
        $response = $priceRequest->send();
        $data = $response->getData();
        echo "Response data : " . print_r($data, true) . "\n";

        if ($response->isSuccessful()) {
            echo "Request was successful!\n";
        }
    } catch (\Exception $e) {
        echo "Message : " . $e->getMessage() . "\n";
    }
```

### Available Operations

[](#available-operations)

- `Price request`: Requests for an order's price quotations and returns available pricing tiers given pickup and delivery coordinates
- `Confirm an order`: Facilitates confirmation of an order after getting a quotation from the price request endpoint, using the pricing UUIDs
- `Fetch an order`: View the items in an order waypoint(s) or path of a given order
- `Cancel an order`: Facilitates cancellation of orders.
- `Track an order`: Get details about an order which include tracking details, status, rider details et al.

Changelog
---------

[](#changelog)

Please see [CHANGELOG](CHANGELOG.md) for more information what has changed recently.

Testing
-------

[](#testing)

```
$ composer test
```

Security
--------

[](#security)

If you discover any security related issues, please email :author\_email instead of using the issue tracker.

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

[](#contributing)

Please see [CONTRIBUTING](CONTRIBUTING.md) for details.

Credits
-------

[](#credits)

- [David Ajowi](https://github.com/ajowi)
- [All Contributors](../../contributors)

License
-------

[](#license)

The MIT License (MIT). Please see [License File](LICENSE.md) for more information.

###  Health Score

23

—

LowBetter than 26% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity5

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity50

Maturing project, gaining track record

 Bus Factor1

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

###  Release Activity

Cadence

Every ~7 days

Total

5

Last Release

1268d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/4e510be01eeae9e1564dadd3d848d078da5209b12856421688b054304a6f8427?d=identicon)[Daaj](/maintainers/Daaj)

---

Top Contributors

[![iiakenya](https://avatars.githubusercontent.com/u/41624317?v=4)](https://github.com/iiakenya "iiakenya (38 commits)")

---

Tags

sendy-fulfillmentshippingshipping-api

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/ajowi-sendy-fulfilment/health.svg)

```
[![Health](https://phpackages.com/badges/ajowi-sendy-fulfilment/health.svg)](https://phpackages.com/packages/ajowi-sendy-fulfilment)
```

###  Alternatives

[sylius/sylius

E-Commerce platform for PHP, based on Symfony framework.

8.5k5.9M738](/packages/sylius-sylius)[flow-php/flow

PHP ETL - Extract Transform Load - Data processing framework

85036.3k](/packages/flow-php-flow)[intercom/intercom-php

Intercom API client.

30421.4M26](/packages/intercom-intercom-php)[drupal/core-recommended

Locked core dependencies; require this project INSTEAD OF drupal/core.

6942.5M420](/packages/drupal-core-recommended)[telnyx/telnyx-php

Official Telnyx PHP SDK — APIs for Voice, SMS, MMS, WhatsApp, Fax, SIP Trunking, Wireless IoT, Call Control, and more. Build global communications on Telnyx's private carrier-grade network.

35789.4k2](/packages/telnyx-telnyx-php)[typo3/cms-core

TYPO3 CMS Core

3713.2M5.1k](/packages/typo3-cms-core)

PHPackages © 2026

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