https://github.com/shakaran/packlink-php-sdk
A PHP library for implement the Packlink API REST service from Packlink Shipping, S.L. https://packlink.com
https://github.com/shakaran/packlink-php-sdk
delevery export import packlink php php-sdk psr-18 psr7 shipment
Last synced: 3 months ago
JSON representation
A PHP library for implement the Packlink API REST service from Packlink Shipping, S.L. https://packlink.com
- Host: GitHub
- URL: https://github.com/shakaran/packlink-php-sdk
- Owner: shakaran
- License: agpl-3.0
- Created: 2019-02-26T10:37:52.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2021-08-31T17:52:32.000Z (over 3 years ago)
- Last Synced: 2025-01-02T06:44:01.736Z (5 months ago)
- Topics: delevery, export, import, packlink, php, php-sdk, psr-18, psr7, shipment
- Language: PHP
- Homepage:
- Size: 44.9 KB
- Stars: 1
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
- License: LICENSE
Awesome Lists containing this project
README
# packlink-php-sdk
A PHP library for implement the Packlink API REST service from Packlink Shipping, S.L. https://packlink.com
# PackLink PHP client
This is the PackLink PHP SDK. This SDK contains methods for easily interacting
with the PackLink API.
Below are examples to get you started.[](https://github.com/shakaran/packlink-php/releases)
[](https://travis-ci.org/shakaran/packlink-php)
[](https://scrutinizer-ci.com/g/shakaran/packlink-php)
[](https://scrutinizer-ci.com/g/shakaran/packlink-php)
[](https://packagist.org/packages/shakaran/packlink-php)
[](https://gitter.im/shakaran/packlink-php?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)## Installation
To install the SDK, you will need to be using [Composer](http://getcomposer.org/)
in your project.
If you aren't using Composer yet, it's really simple! Here's how to install
composer:```bash
curl -sS https://getcomposer.org/installer | php
```The packlink api client is not hard coupled to Guzzle or any other library that sends
HTTP messages. It uses the [PSR-18](https://www.php-fig.org/psr/psr-18/) client abstraction.
This will give you the flexibilty to choose what PSR-7 implementation and HTTP client to use.If you just want to get started quickly you should run the following command:
```bash
composer require shakaran/packlink-php-sdk kriswallsmith/buzz nyholm/psr7
```## Quick start
To start using the Api SDK client, you need create an instance with your api key like this:
```php