Download the PHP package lindemannrock/craft-formie-booking-slot-field without Composer

On this page you can find all versions of the php package lindemannrock/craft-formie-booking-slot-field. 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 craft-formie-booking-slot-field

Formie Booking Slot Field Plugin

Latest Version Craft CMS Formie PHP

A Craft CMS plugin that provides a flexible booking slot field for Verbb's Formie form builder, with date and time slot selection, automatic slot generation, and real-time capacity tracking.

Requirements

Note: For Craft 4 and Formie 2 support, use the formie-2-craft-4 branch or version 2.x of this plugin.

Features

Flexible Date Configuration

Automatic Time Slot Generation

Capacity Tracking

Display Options

Seamless Integration

Installation

Via Composer

Using DDEV

Via Control Panel

In the Control Panel, go to Settings → Plugins and click "Install" for Formie Booking Slot Field.

Configuration

Plugin Settings

Navigate to Settings → Plugins → Formie Booking Slot Field to configure defaults for all booking fields:

All settings can be overridden per field, or set globally in config/formie-booking-slot-field.php.

Config File

Create config/formie-booking-slot-field.php to override settings:

Example configuration:

See src/config.php for all available options.

Usage

Adding a Booking Slot Field

  1. Open your form in the Formie form builder
  2. Click "Add Field" and select "Booking Slot" from the field types
  3. Configure the field settings across four tabs:

General Tab

Date Selection Mode

Settings Tab

Time Configuration

Capacity Management

Display Options

Appearance Tab

Advanced Tab

Example Configurations

Event Booking (e.g., M Cars Driving Experience)

Doctor Appointments (Rolling Window)

Workshop Series

Handling Cancellations

Option 1: Delete Submission (Simple)

Option 2: Status Tracking (Recommended)

  1. Set up submission statuses in Formie → Settings → Statuses:

    • Add status: "Confirmed"
    • Add status: "Cancelled"
  2. Configure form default status:

    • Form → Settings → Default Status: "Confirmed"
  3. Configure booking field:

    • Settings → Count As Booked Statuses: ✅ Confirmed
  4. To cancel a booking:
    • Find submission in Formie CP
    • Change status: Confirmed → Cancelled
    • Capacity automatically updates
    • Booking record preserved

Templating

In your templates, the booking field is rendered automatically by Formie:

Accessing Booking Data

GraphQL Support

Query booking slot data via GraphQL:

Field Settings Reference

General Settings

Setting Description Options
Date Selection Mode How dates are configured specific, range
Specific Dates Individual dates (specific mode) Table: Date, Label
Start Date First available date (range mode) Date picker
End Date Last available date (range mode) Date picker
Days of Week Available weekdays (range mode) Sun-Sat checkboxes
Blackout Dates Dates to exclude Table: Date

Settings Tab

Setting Description Options
Start Time - Hour Hour when bookings start 00-23
Start Time - Minute Minute when bookings start 00, 15, 30, 45
End Time - Hour Hour when bookings end 00-23
End Time - Minute Minute when bookings end 00, 15, 30, 45
Slot Duration Length of each booking slot 15min-4hours
Max Capacity Per Slot People per slot Number
Show Remaining Capacity Display spots left true/false
Count As Booked Statuses Which statuses count Formie statuses
Date Display Type How dates appear radio, select
Slot Display Type How slots appear radio, select

File Structure

Development

Building Minified Assets

After editing CSS or JavaScript:

The asset bundle automatically uses minified versions in production (when devMode is off).

Support

License

This plugin is licensed under the MIT License. See LICENSE for details.


Developed by LindemannRock

Built for use with Formie by Verbb


All versions of craft-formie-booking-slot-field with dependencies

PHP Build Version
Package Version
Requires php Version ^8.0.2
craftcms/cms Version ^4.0.0
verbb/formie Version ^2.0.0
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 lindemannrock/craft-formie-booking-slot-field contains the following files

Loading the files please wait ...