Download the PHP package jsonpad/jsonpad-php without Composer
On this page you can find all versions of the php package jsonpad/jsonpad-php. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download jsonpad/jsonpad-php
More information about jsonpad/jsonpad-php
Files in jsonpad/jsonpad-php
Package jsonpad-php
Short Description jsonpad PHP library
License MIT
Homepage https://github.com/basementuniverse/jsonpad-php
Informations about the package jsonpad-php
jsonpad PHP library
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.
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.
See the jsonpad API Documentation for more information on the jsonpad API.
Requirements
PHP 5.3.3+
Install with Composer
You can install this library using Composer. Add the following requirement to composer.json
:
{
"require": {
"jsonpad/jsonpad-php": "1.*"
}
}
Then run:
composer install
In your PHP code, include the Composer autoloader:
require_once("vendor/autoload.php");
Manual Installation
To install this library manually, just download the latest release.
Then, include the init.php
file in your PHP code:
require_once("jsonpad-php/init.php");
Documentation
Here's an example of how to get started:
$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.
Tests
PHPUnit tests are provided in the /tests/
folder.
All versions of jsonpad-php with dependencies
ext-curl Version *
ext-json Version *
ext-mbstring Version *