PHPackages                             sendynl/php-sdk - 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. sendynl/php-sdk

ActiveLibrary[API Development](/categories/api)

sendynl/php-sdk
===============

A PHP Client for the Sendy API

v3.0(8mo ago)12.9k22MITPHPPHP &gt;=7.4.0CI passing

Since Apr 18Pushed 8mo ago2 watchersCompare

[ Source](https://github.com/sendynl/php-sdk)[ Packagist](https://packagist.org/packages/sendynl/php-sdk)[ Docs](https://sendy.nl)[ RSS](/packages/sendynl-php-sdk/feed)WikiDiscussions main Synced today

READMEChangelog (7)Dependencies (6)Versions (8)Used By (2)

Sendy API PHP Client
====================

[](#sendy-api-php-client)

PHP Client library to connect with the Sendy API. This client lets you connect with the Sendy API to create shipments and labels.

[![Code quality](https://github.com/keendelivery/php-sdk/actions/workflows/code_quality.yml/badge.svg)](https://github.com/keendelivery/php-sdk/actions/workflows/code_quality.yml) [![Tests](https://github.com/keendelivery/php-sdk/actions/workflows/tests.yml/badge.svg)](https://github.com/keendelivery/php-sdk/actions/workflows/tests.yml)

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

[](#installation)

Installing the client can be done through Composer:

```
composer require sendynl/php-sdk

```

Usage
-----

[](#usage)

### Authentication

[](#authentication)

Authentication can be done in two different ways: with personal access tokens and the OAuth flow.

#### Personal Access Tokens

[](#personal-access-tokens)

You can manage your personal access tokens in [the portal](https://app.sendy.nl/settings/personal-access-tokens). When you have a personal access token, you can use this library like this:

```
