1. Go to this page and download the library: Download duellsy/pockpack library. Choose the download type require.
2. Extract the ZIP file and open the index.php.
3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
duellsy / pockpack example snippets
$pockpath_auth = new PockpackAuth();
$request_token = $pockpath_auth->connect($consumer_key);
$pockpack = new Pockpack($consumer_key, $access_token);
$as_array = true; // false will return JSON, true will return an array
$list = $pockpack->retrieve($options[, $as_array]); // the second parameter is optional, defaults to false