PHP Client for the Pakketpartner API
You can install the package via composer:
composer require appstract/pakketpartner-php-client
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();
composer test
Contributions are welcome, thanks to y'all :)
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.
The MIT License (MIT). Please see License File for more information.