Skip to content
This repository was archived by the owner on May 25, 2022. It is now read-only.

Repository files navigation

Pakketpartner PHP Client

Latest Version on Packagist Total Downloads Software License Build Status

PHP Client for the Pakketpartner API

Installation

You can install the package via composer:

composer require appstract/pakketpartner-php-client

Usage

Setup the connection.

use Appstract\Pakketpartner\Connection;
use Appstract\Pakketpartner\Pakketpartner;

$connection = new Connection();

$connection->setApiToken('yourapitoken');

$pakketpartner = new Pakketpartner($connection);

Use a method to handle entities.

use Appstract\Pakketpartner\Pakketpartner;

$shipment = Pakketpartner::shipment();

$shipment->order_reference = 'Appstract';

$shipment->save();

Testing

composer test

Contributing

Contributions are welcome, thanks to y'all :)

About Appstract

Appstract is a small team from The Netherlands. We create (open source) tools for Web Developers and write about related subjects on Medium. You can follow us on Twitter, buy us a beer or support us on Patreon.

License

The MIT License (MIT). Please see License File for more information.

About

PHP Client for the Pakketpartner API

Resources

Stars

7 stars

Watchers

3 watching

Forks

Releases

Packages

Used by

Contributors

Languages