2017 © Pedro Peláez
 

library jsonpad-php

jsonpad PHP library

image

jsonpad/jsonpad-php

jsonpad PHP library

  • Friday, June 5, 2015
  • by basementuniverse
  • Repository
  • 1 Watchers
  • 0 Stars
  • 3 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 2 Versions
  • 0 % Grown

The README.md

jsonpad PHP library

DEPRECATED This was designed for the old (~2015) version of jsonpad, which has since been rebuilt from the ground-up. This repo no longer works., (*1)

This is a PHP library for connecting to your jsonpad account, it allows you to read/write lists and items without having to communicate directly with the REST API., (*2)

It supports the jsonpad API caching features, so you can load lists and items multiple times without worrying too much about hitting the rate limits., (*3)

See the jsonpad API Documentation for more information on the jsonpad API., (*4)

Requirements

PHP 5.3.3+, (*5)

Install with Composer

You can install this library using Composer. Add the following requirement to composer.json:, (*6)

{
    "require": {
        "jsonpad/jsonpad-php": "1.*"
    }
}

Then run:, (*7)

composer install

In your PHP code, include the Composer autoloader:, (*8)

require_once("vendor/autoload.php");

Manual Installation

To install this library manually, just download the latest release., (*9)

Then, include the init.php file in your PHP code:, (*10)

require_once("jsonpad-php/init.php");

Documentation

Here's an example of how to get started:, (*11)

$jsonpad = new \Jsonpad\Jsonpad("username", "apitoken");
$list = $jsonpad->fetchList("testlist");
$items = $list->fetchItems(1, 5);
if (count($items) > 0) {
    var_dump($items[0]->getData());
}

Full documentation coming soon., (*12)

Tests

PHPUnit tests are provided in the /tests/ folder., (*13)

The Versions

05/06 2015

dev-master

9999999-dev https://github.com/basementuniverse/jsonpad-php

jsonpad PHP library

  Sources   Download

MIT

The Requires

  • php >=5.3.0
  • ext-curl *
  • ext-json *
  • ext-mbstring *

 

The Development Requires

by Gordon Larrigan

31/05 2015

1.0.0

1.0.0.0 https://github.com/basementuniverse/jsonpad-php

jsonpad PHP library

  Sources   Download

MIT

The Requires

  • php >=5.3.0
  • ext-curl *
  • ext-json *
  • ext-mbstring *

 

The Development Requires

by Gordon Larrigan