PHPackages                             bookingbat/application - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. bookingbat/application

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

bookingbat/application
======================

1.0.0(13y ago)1261[7 issues](https://github.com/bookingbat/application/issues)CSS

Since Jun 23Pushed 12y ago1 watchersCompare

[ Source](https://github.com/bookingbat/application)[ Packagist](https://packagist.org/packages/bookingbat/application)[ Docs](http://bookingbat.com)[ RSS](/packages/bookingbat-application/feed)WikiDiscussions master Synced 4w ago

READMEChangelogDependencies (3)Versions (2)Used By (0)

[![Build Status](https://camo.githubusercontent.com/bbbd348d3965a59b8c5faba8e5f2196dd735396a3b6e7c87ddeaee3289e8c086/68747470733a2f2f7472617669732d63692e6f72672f626f6f6b696e676261742f6170706c69636174696f6e2e706e673f6272616e63683d6d6173746572)](https://travis-ci.org/bookingbat/application)

Online Appointment Booking
==========================

[](#online-appointment-booking)

Booking Bat allows you to take appointments from your website. Allow your customers to schedule appointments with Booking Bat!

Install
=======

[](#install)

**Create Project**

Use composer to install the project

```
composer create-project --stability="dev" bookingbat/application

```

**Install Database**

Copy `database-config.dist.ini` to `database-config.ini` and edit in your appropriate database credentials. Then run `install.sql`

**Email queue**

The application sends emails for appointment confirmations &amp; reminders. These are added to a queue which is then batched. To batch the queue hit the URL `/email/send`. You may wish to add a cron job to batch out the email queue at predefined intervals.

**Run Tests**

To run the unit tests simply run

```
./test

```

Ensure xdebug is enabled for your CLI webserver. With xdebug present, ZF2 redirects do not run if a PHP warning was generated earlier. Without xdebug they do work. Therefore there may be a test failure in Travis CI (which uses xdebug) that you don't see locally, if you don't do this:

```
php --server=localhost:8000 --docroot="public" &
echo '
