Download the PHP package sendynl/php-sdk without Composer
On this page you can find all versions of the php package sendynl/php-sdk. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download sendynl/php-sdk
More information about sendynl/php-sdk
Files in sendynl/php-sdk
Package php-sdk
Short Description A PHP Client for the Sendy API
License MIT
Homepage https://sendy.nl
Informations about the package php-sdk
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.
Installation
Installing the client can be done through Composer:
Usage
Authentication
Authentication can be done in two different ways: with personal access tokens and the OAuth flow.
Personal Access Tokens
You can manage your personal access tokens in the portal. When you have a personal access token, you can use this library like this:
OAuth
Authorize the connection from your app
This will redirect the user to the portal and authorize your integration with their account.
Connect with the API
Token refresh callback
It is possible to provide the connection a callable
to execute when the tokens are refresh. This can be useful when
you want to store the new tokens in your application to reuse them when necessary.
Endpoints
The endpoints in the API documentation are mapped to the resource as defined in the Resources directory. Please consult the API documentation for detailed documentation.
Contributing
Please see CONTRIBUTING for details.
Security
If you've found a bug regarding security please mail [email protected] instead of using the issue tracker.
License
The MIT License (MIT). Please see the License file for more information