easyweek / easyweek-booking
EasyWeek Booking - Online appointment booking for TYPO3: a floating Book now button on every page and a content element with the EasyWeek booking form.
Package info
github.com/easyweek/typo3-booking-extension
Type:typo3-cms-extension
pkg:composer/easyweek/easyweek-booking
Requires
- php: ^8.2
- typo3/cms-backend: ^13.4 || ^14.3
- typo3/cms-core: ^13.4 || ^14.3
- typo3/cms-fluid: ^13.4 || ^14.3
- typo3/cms-frontend: ^13.4 || ^14.3
Requires (Dev)
- phpstan/phpstan: ^2.1
- typo3/coding-standards: ^0.8
Suggests
None
Provides
None
Conflicts
None
Replaces
None
README
TYPO3 extension that adds EasyWeek online appointment booking to your site: a floating "Book now" button on every page, a booking form inside any page, a full booking page, and booking links. Clients book a service, a specialist and a free time without leaving your site.
- TYPO3 Extension Repository: extensions.typo3.org/extension/easyweek_booking
- Extension key:
easyweek_booking, Composer packageeasyweek/easyweek-booking - Manual: the Documentation folder of this repository
- Widget reference: Booking widget for developers
- Other ways to add the widget: easyweek/widget-example-integration
Install
- Install the extension:
composer require easyweek/easyweek-booking. In a TYPO3 without Composer, install EasyWeek Booking (easyweek_booking) in the Extension Manager. - Add the site set EasyWeek Booking to your site: edit the site, field "Sets for this Site". Or add
easyweek/bookingtodependenciesinconfig/sites/<your-site>/config.yaml. - Copy your booking link from your EasyWeek account: Integrations and Apps › Booking Widget. It looks like
https://booking.easyweek.io/your-company. - Paste it into the setting Booking link of the site settings and save. TYPO3 14: module Sites, "Edit site settings". TYPO3 13: Site Management › Settings.
The floating "Book now" button now shows in the corner of every page of that site. A click opens the booking form on top of the page.
The same in config/sites/<your-site>/settings.yaml:
easyweekBooking: url: 'https://booking.easyweek.io/your-company'
Settings
All settings are site settings of the set easyweek/booking, category "EasyWeek Booking".
| Setting | Key | Default | What it does |
|---|---|---|---|
| Booking link | easyweekBooking.url |
empty | Your EasyWeek booking link, required. It must start with https:// |
| Floating button | easyweekBooking.floatingButton |
on | Show the booking button in the corner of every page |
| Button text | easyweekBooking.buttonText |
Book now | The label of the button |
| Show the text next to the icon | easyweekBooking.showText |
on | Off shows the round icon only |
| Button position | easyweekBooking.position |
right |
right for bottom right, left for bottom left |
| Button colour | easyweekBooking.buttonBackground |
empty | A hex colour such as #58B44B; empty keeps the EasyWeek green |
An empty booking link switches the extension off. An invalid value is never replaced by a default: the page gets no widget and the TYPO3 log gets an entry that names the setting.
Content element "EasyWeek booking form"
Add it in the page module: new content element, tab "Form elements".
| Show as | Shows |
|---|---|
| Booking form inside the page | The booking form in a frame of the width and height you set (550 x 600 by default) |
| Booking form over the full height of the screen | The booking form as a separate booking page |
| Link that opens the booking form | A link with your text that opens the booking form on top of the page |
The field Booking link of the content element takes any booking link format: a location, a service, a specialist, a gift card, a membership. Leave it empty to use the booking link of the site.
Any element of your own templates with the class easyweek-booking-button opens the booking form too, for example a menu item.
To change the markup, copy Resources/Private/Templates/BookingForm.html and add your folder to tt_content.easyweekbooking_form.templateRootPaths.
Content Security Policy
When the TYPO3 feature security.frontend.enforceContentSecurityPolicy is on, the extension allows the host of your booking link in script-src and frame-src through the TYPO3 CSP API, and the start script of the widget carries the nonce of the page. The widget styles itself with a <style> element that it adds to the page. A policy without 'unsafe-inline' for style elements blocks it, so allow it in config/sites/<your-site>/csp.yaml if your site enforces the policy:
mutations: - mode: extend directive: style-src-elem sources: - "'self'" - "'unsafe-inline'"
Requirements
TYPO3 13.4 LTS or 14.3 LTS, PHP 8.2 or newer, a site with site sets, an EasyWeek account (online booking is part of every plan, the free one included). Tested on TYPO3 14.3.12 and TYPO3 13.4.40 with PHP 8.4.28.
Privacy
The extension stores only its settings and the fields of its content element. The booking form and widget.js load from EasyWeek, the host of your booking link. When the address of a page carries campaign parameters (UTM tags, gclid), the widget script keeps them in the local storage of the visitor's browser under the key ew_tracking and passes them to the booking form, so that you see where a booking came from. Terms and policies: easyweek.io/business/terms-and-policies, privacy: easyweek.io/business/privacy.
About EasyWeek
EasyWeek is online booking and business management software for service businesses: beauty salons, barbershops, nail and lash studios, massage and spa, clinics, fitness and yoga studios, schools and rentals. More than 50,000 users run their bookings, clients, payments and reminders in it. All features: github.com/easyweek and easyweek.io/business/features. Support: support.easyweek.io.
More from EasyWeek on GitHub
- easyweek/widget-example-integration: every way to install the widget, with a live demo
- easyweek/wordpress-booking-plugin: WordPress plugin with a shortcode and a floating button
- easyweek/booking-widget-react: React and Next.js
- easyweek/easyweek-mcp: connect EasyWeek to Claude, ChatGPT and Cursor
- easyweek/agent-skills: skills for Claude Code, Cursor and Codex
License
GPL-2.0-or-later, like TYPO3 itself. Copyright EasyWeek GmbH. EasyWeek is a registered trademark of EasyWeek GmbH.