Download the PHP package usystems/webling-api-php without Composer
On this page you can find all versions of the php package usystems/webling-api-php. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download usystems/webling-api-php
More information about usystems/webling-api-php
Files in usystems/webling-api-php
Package webling-api-php
Short Description Lightweight Webling API Wrapper
License MIT
Informations about the package webling-api-php
Webling API Wrapper for PHP
A Lightweight PHP Wrapper to query the Webling API.
Installation
Install with Composer:
composer require usystems/webling-api-php
Usage
Simple usage
Create a new client with some options:
For more examples see the "examples" folder.
Caching Data
If you are doing lots of GET requests, you may want to use a cache. The Cache Class in combination with the FileCacheAdapter lets you cache Webling API requests on the filesystem. It does check which objects have changed and only fetches the changed objects.
This is how you use the Cache:
Requirements
To use this library you need at least:
- PHP >=5.6
- PHP cURL Extension
- PHP JSON Extension
- A Webling Account with API enabled
API Documentation
You can find the Full Documentation of the Webling REST-API at demo.webling.ch/api
Changelog
v1.3.1
- Fixed a bug that prevented response caching from working properly
v1.3.0
Support for binary files caching has been added.
- The interface
ICache
now has a new functiongetObjectBinary()
. - The
FileCacheAdapter
andIFileCacheAdapter
has been updated to support the new functions. - Starting this release, only PHP >= 5.6 is tested and supported
v1.2.0
The Webling\Cache\FileCache
has been marked as deprecated and will be removed in the future. Use the more generic Webling\Cache\Cache
with the Webling\CacheAdapters\FileCacheAdapter
instead.
All versions of webling-api-php with dependencies
ext-curl Version *
ext-json Version *