bookability/bookability-php
Composer 安装命令:
composer require bookability/bookability-php
包简介
Bookability client for PHP with support for API v1
README 文档
README
Bookability
A simple API package for integration with Bookability with PHP 5.3+. If you are looking for our Laravel 4 compatible package, please take a look at https://github.com/bookability/bookability-l4.
Installation
Requirements
- Any flavour of PHP 5.3+ should do
- [optional] PHPUnit to execute the test suite
With Composer
The easiest way to install Bookability is via composer.
In order to install add the following to your composer.json file within the require block:
"require": {
…
"bookability/bookability-php": "1.*",
…
}
You can then use the following in your code:
$bookability = new Bookability();
$bookability->dsn = 'http://username@project:your-key-goes-here@api.bookability.io:80/v1';
$events = $bookability->events->find();
Without Composer
Download the Bookability folder from the repo and save the file into your project path somewhere.
<?php
require 'path/to/Bookability.php';
$bookability = new Bookability();
$bookability->dsn = 'http://username@project:your-key-goes-here@api.bookability.io:80/v1';
$events = $bookability->events->find();
API
For more information on using the package and API, please refer to our website
统计信息
- 总下载量: 65
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 3
- 点击次数: 1
- 依赖项目数: 1
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2014-09-17