Skip to content

An online service reservation library for Laravel 5 applications.

License

Notifications You must be signed in to change notification settings

akrz/concierge

 
 

Repository files navigation

Concierge - Laravel 5.x

ABOUT THIS BRANCH

This is a development Work In Progress branch to get a new (and decoupled) booking Library.

Latest Version on Packagist Software License Build Status Test Coverage Code Climate Coverage Status Quality Score Total Downloads

Concierge is a simple reservation library for your Laravel 5 app.

Usage

    $concierge = new Concierge();

    $reservation = [
        'business' => $business,
        'contact'  => $contact,
        'service'  => $service,
        'date'     => '2016-03-26',
        'time'     => '10:30',
        'timezone' => $business->timezone,
        'comments' => 'Hello, Dr.!',
    ];

    $appointment = $concierge->business($business)->takeReservation($reservation);

ADVICE: This package is under development and API may change. Join development!

See the Concierge Unit Tests for more and current examples.

Install

Step 1

Via Composer

$ composer require timegridio/concierge=dev-master

ADVICE: Note that this library is currently under development and API may change.

Step 2

Add the following item to config/app.php

Providers array:

'Timegridio\Concierge\TimegridioConciergeServiceProvider'

or

Timegridio\Concierge\TimegridioConciergeServiceProvider::class

Step 3

Migration

Publish the migration as well as the configuration of notifynder with the following command:

php artisan vendor:publish --provider="Timegridio\Concierge\TimegridioConciergeServiceProvider"

Don't forget to migrate.

Applications using this lib

  • Timegrid: A marketplace for service providers that use online booking.

Change log

Please see CHANGELOG for more information what has changed recently.

Testing

$ composer test

Contributing

Please see CONTRIBUTING and CONDUCT for details.

Security

If you discover any security related issues, please email alariva@timegrid.io instead of using the issue tracker.

Credits

License

The MIT License (MIT). Please see License File for more information.

About

An online service reservation library for Laravel 5 applications.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • PHP 99.7%
  • Shell 0.3%