Download the PHP package bookability/bookability-php without Composer
On this page you can find all versions of the php package bookability/bookability-php. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download bookability/bookability-php
More information about bookability/bookability-php
Files in bookability/bookability-php
Package bookability-php
Short Description Bookability client for PHP with support for API v1
License MIT
Homepage https://github.com/bookability/bookability-php
Informations about the package bookability-php
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:[email protected]: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:[email protected]:80/v1';
$events = $bookability->events->find();
API
For more information on using the package and API, please refer to our website