Download the PHP package ubl/booking without Composer

On this page you can find all versions of the php package ubl/booking. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package booking

ubl/booking

Manage bookings of rooms for typo3 frontend users

This extension was created out of the need to manage bookings for group study rooms available to students and patrons of leipzig university library.

Anonymous website visitors get an overview of rooms and occupation in a specific period of time, managable in the typo3-backend.

Logged in users additionally can book timeslots of rooms according to the defined maximum of bookings per day and location.

Requirements

We have not tested it with higher versions but the codebase should be sufficient.

Usage

This extension provides a plugin which has to be assign to the designated page.

Create a Location

Add a New content element->Plugins->General Plugin. Under Tab Plugin choose Booking for Rooms.

Configuration

After switching back to the Tab Plugin you have several options to specify:

On the tab Behaviour one has to specify the Record Storage Page where rooms, bookings, opening hours and closing days will be stored.

If not overridden as described in the Advanced Customization-Section all opening hours and closing days created here count for all rooms created here.

Create a Room

To create a room go to the page that you specified as Record Storage Page in the Configuration-Section earlier, Create a new Record and choose Rooms

You have to provide at least a Room name.

Enable Stylesheets

To enable the default CSS stylesheets that come with the extension one has to include them into the root template. Go to Web->Template, select Info/Modify in the Dropdown-box and click on Edit the whole template record. Select the tab Includes, add Booking CSS Styles (booking) from Available Items to Selected Items and click Save. You have now added the extension's stylesheet to the page and enabled icon font styles.

define Closing Days

Closing days are useful for bank holidays for example.

To create a closing day go to the page that you specified as Record Storage Page in the Configuration-Section earlier, Create a new Record and choose Closing Day

You have to provide at least a Closing day name and a Date. The days are shown as non-bookable in week overview and its not possible to create bookings from the frontend on these days. However there is no validation on bookings one creates from backend but they are not shown in frontend either.

define Opening Hours

By default all hours of all days a week are bookable. With opening hours one can define the opening hours of a day.

To create opening hours for a day go to the page that you specified as Record Storage Page in the Configuration-Section earlier, Create a new Record and choose Opening Hours

Select the day of week you want to specify he opening hours for and then select the hours of duty.

If you select no hours at all the day is closed for bookings entirely. Like this one can create weekly closed days i.e. sunday.

Advanced Customization

By default closing days and opening hours count for all rooms. However if you want to define different rules for different rooms you can create a new Record Storage Page and specify it for the designated room(s).

Just open the already created room-record and register newly created Record Storage Page under Opening times storage pages.

You even can register multiple pages if you want to make use of the inheritance principle. The rule is, what comes first counts. For example if you define opening hours for monday on two pages the opening hours of the page that is listed first are taken.

Closing days are inherited as well. However overriding makes no sense here.

To get a better overview of bookings made for a room you also can specify a storage page for a rooms bookings.

To do so register the designated storage page under Booking storage page and you are good to go. Future bookings are stored under that page, but bookings from the plugin's storage page are taken in account as well so you dont have to worry about old bookings.

Cleanup old Bookings

There is a cleanup-command which can be used with typo3's commandline interface or the scheduler to clean up old bookings. Be aware that plugin configured looking back weeks are not respected here. You specify the count of weeks to keep from now on.

Go to Scheduler->Add Task


All versions of booking with dependencies

PHP Build Version
Package Version
Requires php Version >=7.4.0
typo3/cms Version ^8.7 || ^9.5
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package ubl/booking contains the following files

Loading the files please wait ....