VanillaSaaS Bookings · blueprint 1.0.0

A finished booking app to sell to your first client.

A public booking page, a diary, a client list and reminder emails, in plain PHP on top of VanillaSaaS Core. Deploy a copy for a tutor, a physio or a driving instructor, put their name on it, and invoice for it. No Composer, no npm, no build step.

£49 · see what you get The three hard parts

The public booking page: a service chosen, a strip of seven days and the free times on the selected day.

Who it's for

You can build. You've finished a bootcamp, a college course or a degree, or taught yourself, and the junior jobs aren't answering. The other route to income is a local business that needs something built, and that conversation stalls on one question: "what have you made?" A to-do app from a tutorial doesn't answer it.

This does. Open it on your phone in front of a piano teacher: here is your booking page, here is your diary, here is the reminder your students get the day before. It's a product they already understand, because they've booked a haircut online.

Then the job is a day, not a month. Change the name and the colours, enter their services and hours, put it on their domain. What you invoice for is a working booking system, and £49 of it was this.

You'll also be able to explain it. Every file says why it's written the way it is, so when the client asks "what happens if two people book the same time?", you have the answer and you know where it lives in the code.

It's the wrong purchase in two cases. If you want to launch one website that hundreds of businesses sign up to and pay monthly, it has no billing and no admin area. And if your client is a salon with five stylists or needs to take deposits, it doesn't do either. The full list of limits is on this page, before the price.

What's in it

Public booking page

One link per account. A client picks a service, a day and a free time, and enters a name and email. Works with JavaScript off. Minimum notice, booking window and slot spacing are settings.

Services

Name, length and price, with a switch to hide one from the booking page. An appointment keeps the price it was booked at when the service changes later.

Opening hours and days off

Hours per weekday and date ranges that are closed. Times stay correct across clock changes.

Emails

Confirmation to the client, a notice to the owner, cancellation to both, and a reminder 24 hours before from one cron line. Plain text, through Core's mail drivers.

View or cancel, no account

Each confirmation carries a signed link. The client can see the booking and cancel it up to a cut-off you set. The freed time goes straight back on the booking page.

Diary, calendar, clients

A week view, upcoming and past lists, manual bookings with an overlap warning, a client list that fills itself from online bookings.

CSV export

Clients and appointments, with cells made safe against spreadsheet formula injection.

Everything in Core

Accounts, sessions, password reset, rate limits, CSRF protection, strict Content-Security-Policy, SQLite or MySQL. Core's files are untouched, so Core updates still apply.

Written to be changed

Six files of plain functions, 13 page scripts, two database scripts per driver. Every file starts by explaining why it's written the way it is.

The week calendar: seven columns, each listing that day's appointments with time, client and service.

The three parts that are hard to get right

Most of a booking app is forms and lists, and an AI will write those for you in an afternoon. Three parts decide whether it survives a real business using it, and they're the parts that look finished when they aren't. On a first client job, these are the ones that lose you the client.

Two people, one slot, the same second
The obvious code checks "is 10:00 free?" and then saves. Two requests arriving together both check before either saves, and both succeed. Here, each booking first takes a lock on the owner's row, so the second request waits, re-checks and is told the time has gone. Tested with 8 simultaneous requests for each of 20 slots on MariaDB: 20 appointments saved, none doubled. With that one line removed, the same test saved 38 and double-booked 10 of the 20.
A cancel link that can't be forged
Clients have no password, so the link in their email is the proof. It carries the appointment number and a signature made with a secret key kept outside the database. Change the number and the signature fails. Cancelling is a form submission with a token, so a mail scanner that opens every link can't cancel anything.
Which times are free
Opening hours are local times; appointments are stored in UTC. Each slot is converted individually, so 09:00 is still 09:00 the week the clocks change. The list is worked out twice: once to draw the page and again inside the transaction that saves the booking, because the time in the address bar is a stranger's request and not a fact.

The same care goes into the smaller things: the public form can't be used to email strangers, a booking made with an existing client's email can't overwrite that client's details, and two overlapping cron runs send one reminder, not two. The README names each one and where it lives.

It has passed 112 end-to-end checks on SQLite and on MariaDB, on top of Core's own 57.

The free example and the blueprint

Core's Booking Tracker example is free and stays free. It's a private diary: the owner types every appointment in. It's the one to read and learn from. The blueprint is the one to sell, because what a business pays for is its customers booking themselves.

Booking Tracker (free)Bookings blueprint
Clients and appointments, typed in by the ownerYesYes
Dashboard figuresYesYes
Public booking pageNoYes
Services, opening hours, days offNoYes
Protection against double bookingNoYes
Confirmation and reminder emailsNoYes
Client cancel linkNoYes
Week calendar, CSV exportNoYes
LicenceMITCommercial, one developer

Already built on the free example? The first database script is the same file, so your clients and appointments carry over. The blueprint's changelog has the steps.

What it doesn't do

Read this list before the price. Each item is something you'd otherwise find out in week three.

No payments or deposits
Prices are shown and recorded, not collected.
One person per account
No staff, rooms or "any available stylist". It fits a client who works alone: a tutor, a physio, a dog groomer.
Not a SaaS you charge subscriptions for
One install will hold many accounts, but there's no billing, no plans and no admin area. It's built to be deployed once per client.
One block of hours per day
A lunch break is an appointment in the diary. No recurring appointments and no buffer time between bookings.
No calendar sync, no SMS
Nothing is pushed to Google or Apple calendars. Reminders are email only.
One timezone
Clients see the owner's local times. Right for in-person work; wrong for an online coach with clients abroad.
Cancel, not reschedule
A client cancels and books again. When the owner moves a booking, no email is sent, and the edit page says so.
No embedding
The booking page can't sit in an iframe on another site. You link to it.

Each is a contained piece of work on top of what's here. When a client asks for one, that's your second invoice.

The source, or the source already live

The code is the same either way. The second option is for a first job, when you've never put an app live and the client is waiting.

The blueprint

£49

One payment, one developer, any number of client jobs

  • The full source: every page, table and email in the list above
  • VanillaSaaS Core included, so there is nothing else to download
  • Deploy it for as many clients as you like, and charge what you like
  • Sample data included, so there's something to demo on day one
  • Every 1.x update

On sale soon

With hosting and setup

+£99

Your first deployment, done for you

  • Installed on UK hosting, on your client's domain or yours, with HTTPS
  • MySQL database created, production settings on, private folders checked
  • Email sending set up and tested from your domain
  • The reminder job scheduled, every 15 minutes
  • 12 months of hosting included, then £60 a year
  • Live within 2 working days of you sending your domain details

On sale soon

One-off payments. Refund policy · Blueprint licence in plain English

What "hosting and setup" covers, and what it doesn't

Going live is six jobs: hosting, a database, production settings, HTTPS, email that doesn't land in spam, and the scheduled job that sends reminders. Courses rarely teach any of them. Each is ten minutes if you've done it before and an evening if you haven't. Email is the one that goes wrong quietly: the app works, confirmations go to spam, and the first you hear of it is your client telling you a customer didn't turn up.

With this option I do all six on UK hosting, on your client's domain or yours, and send you the address, your sign-in and a control panel login. You point one DNS record at the server; the email tells you which. You can read how each piece was set up and do the next one yourself. It's live within 2 working days of you sending the domain details, or it's refunded.

It's the install, not ongoing work. It doesn't include changes to the code, design work, or support after hand-over beyond putting right anything in the setup that doesn't work. The first 12 months of hosting are included; after that it's £60 a year, or you move the app to any host you like. It's your code and your database, and the README covers moving it.

Questions

Can I charge a client for an app built from this?

Yes, that's what it's for. One purchase covers you, one developer, for any number of client jobs, with no royalties and no need to tell the client what it's built on. The client can run and change the copy you hand over. What you can't do is resell or publish the blueprint itself as source code: no public repositories, starter kits or course materials.

What do I charge for it?

That's your decision, and it should be priced on what the client gets, not on what this cost you. The usual shape for a small business is a setup fee for the working system on their domain, then a yearly fee for hosting and keeping it running. The yearly fee is the part worth having: three clients on it is income that arrives without a new sale.

Can I show it in my portfolio?

A live copy, yes: deploy it under your own name, fill it with the sample data that's included, and link to it. The source, no. It has to stay in a private repository, so it can't be the public GitHub project on your CV. Core and its free example can be.

Do I need to buy or download Core separately?

No. Core is in the download, at the version the blueprint was tested on. Core stays under the MIT licence; the blueprint's own files are under the commercial one. Both licence files are in the folder.

What does it need to run?

PHP 8.1 or newer with PDO, and either SQLite (no setup) or MySQL 5.7+ / MariaDB 10.3+. Apache works as shipped; Nginx needs the web root pointed at /public. For reminders, the host must allow one scheduled job (cron), which every mainstream shared host does.

Can I run it as one site that many businesses sign up to?

Technically yes: every account gets its own services, hours, clients and booking link, and every query is limited to the signed-in account. Commercially no: there's no way to charge those businesses, no admin area to manage them, and one timezone for the whole install. Deploy a copy per client. Billing is what Pro is for, and Pro isn't out yet.

Why not ask an AI to write a booking system?

You can, and the forms and lists will be fine. Ask it whether two simultaneous requests can book the same slot and it will usually say no, because the code checks first. That check is the bug. With your own project that's a lesson; with a client's customers it's your name. The value here is the parts that were tested by trying to break them, with the result written down.

Is there support?

A bug in the blueprint: email it and the fix goes into the next release for everyone. Help with your own changes isn't included. For a written review of what you've built on top, there's the Pre-launch Review.

What if it doesn't run on my host?

If it won't run on a setup that meets the requirements above and that can't be fixed within 14 days of you reporting it, you get a full refund. The refund policy has the detail.