appstract / pakketpartner-php-client
This package is abandoned and no longer maintained.
No replacement package was suggested.
PHP Client for the Pakketpartner API
1.1.0
2021-07-05 09:57 UTC
Requires
- php: ^7.0|^8.0
- jenssegers/model: ^1.2
Requires (Dev)
- phpunit/phpunit: 5.*
This package is auto-updated.
Last update: 2022-06-05 11:47:51 UTC
README
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.