GithubHelp home page GithubHelp logo

shakaran / packlink-php-sdk Goto Github PK

View Code? Open in Web Editor NEW
0.0 3.0 1.0 46 KB

A PHP library for implement the Packlink API REST service from Packlink Shipping, S.L. https://packlink.com

License: GNU Affero General Public License v3.0

PHP 100.00%
delevery shipment export import packlink php php-sdk psr7 psr-18

packlink-php-sdk's Introduction

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.

Latest Version Build Status Code Coverage Quality Score Total Downloads Join the chat at https://gitter.im/shakaran/packlink-php

Installation

To install the SDK, you will need to be using Composer in your project. If you aren't using Composer yet, it's really simple! Here's how to install composer:

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 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:

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

namespace MyCompany;

require __DIR__ . '/vendor/autoload.php';

use PackLink\ApiClient;

$apiKey = 'your_api_key';

// Create and configure the initial api client
$api = ApiClient::create($apiKey, 'https://api.packlink.com');

Examples

Under the Examples directory you can find several examples of how to use more deeply this API.

Other unofficial implementations

Support

Do you like my work? I am a Senior Backend Freelancer & Sysadmin, you can hire me to modify/implement/customize your custom develoment or integration of this API in your project, just open a issue for contact me or drop me an email to [email protected]!

Buy me a coffe or beer!

Buy me a coffee Join the chat at https://gitter.im/shakaran-packlink-php-sdk/community

packlink-php-sdk's People

Contributors

gitter-badger avatar shakaran avatar

Watchers

 avatar  avatar  avatar

Forkers

gitter-badger

packlink-php-sdk's Issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.