bookability/bookability-l4

Wrapper on the Bookability package provided by Bookability - with support for Laravel 4.

1.0.1 2014-10-10 14:13 UTC

This package is not auto-updated.

Last update: 2024-11-05 03:56:14 UTC


README

Latest Stable Version Total Downloads Latest Unstable Version License

Bookability L4 API support for Laravel

The package supports use with the Laravel Framework 4.* providing a Bookability facade. If you are looking for our PHP 5.3+ compatible package, please take a look at https://github.com/bookability/bookability-php.

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-l4": "1.*",
	…	
}

Within Laravel, locate the file ..app/config/app.php *.

Add the following to the providers array:

'providers' => array(
	…
	'Bookability\BookabilityL4\BookabilityServiceProvider',
	…
),

Furthermore, add the following the the aliases array:

'aliases' => array(
	…
	'BookabilityWrapper' => 'Bookability\BookabilityL4\Facades\BookabilityWrapper',
	…
),

Publish the configuration

$ php artisan config:publish bookability/bookability-l4

Lastly, run the command php composer.phar install command to install it.