2017 © Pedro Peláez
 

library booker

Booking System with Google Material Design Components and VueJs

image

twentysix/booker

Booking System with Google Material Design Components and VueJs

  • Wednesday, October 26, 2016
  • by banksy89
  • Repository
  • 1 Watchers
  • 0 Stars
  • 2 Installations
  • JavaScript
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 1 Versions
  • 0 % Grown

The README.md

Booker Package

The Booking Extension for Twenty Six Digital restaurant clients Content Management Systems., (*1)

Getting Started

composer require twentysix/booker, (*2)

Ensure the autoload is set in composer.json:, (*3)

"autoload": {
    "classmap": [
        "database"
    ],
    "psr-4": {
        "App\\": "app/",
        "Twentysix\\Booker\\": "vendor/twentysix/booker/src"
    }
},

The run composer dump-autoload to sync up the files., (*4)

Next you will need to publish the package and it's core files into the project:, (*5)

php artisan vendor:publish, (*6)

This will copy the views over to resources/backend/booker - so then these can be made accessible through includes etc., (*7)

All public assets associated will also be copied over e.g JS and any Styles relating., (*8)

Manual Configuration

Scripts

The vue components that are run on certain pages will need to be included into the backend/layout/default.blade.php footer just after the X-CRSF-TKEN is set to the Vue Header., (*9)

@include('backend.booker.includes.scripts'), (*10)

Views

If for whatever reason the view files are changed location, you must change the view_path variable in config/booker.php to the new path. (Remember, if you need to publish any new changes from the package, they will need to be copied over to your desired path)., (*11)

To include the booking navigation link with the number of bookings, the booking-nav include will need to be included within the backend.layout.header view where there will be a pre-defined comment., (*12)

@include('backend.booker.includes.booking-nav'), (*13)

The Versions

26/10 2016

dev-master

9999999-dev

Booking System with Google Material Design Components and VueJs

  Sources   Download

MIT

The Requires

  • php >=5.4.0

 

The Development Requires

by Twenty Six Digital Ltd