Chairly
Salon & barbershop booking software, sold as your own subscription service. Version 1.0.0.
Introduction
Chairly is a complete multi-salon SaaS. You install it once on your server and become the platform owner: hair salons, barbershops, nail studios, beauty salons and spas sign up on your home page, start a free trial, choose one of your plans and pay you every month or year.
Every salon gets its own private panel (calendar, customers, checkout, products, team, reports…), its own booking website made with a drag & drop builder, and an online booking page that shows real free times for each person and service. Salon data is fully separated: a salon can never see or change another salon's data.
Chairly is built with Laravel 12 and plain JavaScript. There is no build step, no Node.js and no external service needed: the web installer sets everything up in about a minute.
Requirements
| Item | Needed |
|---|---|
| PHP | 8.2 or newer, with the extensions pdo, pdo_mysql or pdo_sqlite, mbstring, openssl, tokenizer, xml, ctype, fileinfo, curl. Optional: gd (image sizes), zip (backups). |
| Database | MySQL 5.7+ / MariaDB 10.3+ (recommended for a live platform) or SQLite (no setup at all). |
| Web server | Apache with mod_rewrite, or Nginx. HTTPS is strongly recommended (and required by Stripe and PayPal for live payments). |
| Cron | One cron line for reminders, renewals and deposit holds (see Scheduled tasks). |
The installer checks all of this for you and shows what is missing.
Installation
- Unzip the download. Upload the
chairlyfolder to your server. - Point your domain (document root) to the
chairly/publicfolder. On shared hosting where you cannot change the document root, you can upload the folder content to the domain root: the included.htaccesssends every request topublic/and keeps.env,storageandvendorout of reach. - Make these writable by PHP:
storage/,bootstrap/cache/,database/(for SQLite) and the project folder itself (the installer creates.envwith a unique secret key on the first visit). - For MySQL, create an empty database and a user for it in your hosting panel.
- Open your domain in a browser. The installer starts automatically:
- Requirements — every check must be green.
- Database — SQLite (nothing to fill) or MySQL (host, port, name, user, password). Tick Add demo salons if you want example data to explore; you can delete them later from Platform → Salons.
- Platform — your platform name, the currency of your plans, and your own super-admin account.
- Add the cron line (next section). Done — log in at
/login.
storage/app/installed). To reinstall from zero, delete that file and the database.Nginx example
server {
server_name example.com *.example.com;
root /var/www/chairly/public;
index index.php;
client_max_body_size 20M;
location / { try_files $uri $uri/ /index.php?$query_string; }
location ~ \.php$ {
include fastcgi_params;
fastcgi_param SCRIPT_FILENAME $realpath_root$fastcgi_script_name;
fastcgi_pass unix:/run/php/php8.2-fpm.sock;
}
location ~ /\.(?!well-known) { deny all; }
}
The *.example.com server name is only needed for salon sub-domains.
Scheduled tasks (cron)
Add this single line to your server's crontab (cPanel → Cron Jobs → every minute). Change the path to your installation:
* * * * * cd /path/to/chairly && php artisan schedule:run >> /dev/null 2>&1
It runs:
| Task | When | What it does |
|---|---|---|
chairly:messages | every 5 minutes | Appointment reminders (two reminders per salon, e.g. 24 h and 2 h before), review requests after visits, and releases time slots held for online deposits that were not paid in time. |
chairly:billing | daily at 02:15 | Creates renewal invoices 7 days before the end of each paid period, marks unpaid salons as Payment due, suspends them after the grace period, closes cancelled subscriptions, and emails trial reminders. |
Platform → Settings → Backup shows the exact line for your server and when the cron last ran. You can also run both commands by hand to test them.
First steps after installing
- Platform → Settings → General: name, logo, browser icon, trial length, grace days, default plan, languages, time zone and the currency of your plans.
- Platform → Settings → Mail: SMTP details so salons and customers receive emails. Use Send a test email.
- Platform → Plans: review the three example plans (Starter, Professional, Business). Change prices, limits, features and texts, or add your own.
- Platform → Settings → Billing: Stripe and/or PayPal keys, bank transfer instructions, subscription tax and the company details printed on invoices.
- Platform → Settings → Landing page: titles, testimonials and FAQ of your home page. Legal: your terms and privacy policy.
- Open your home page and sign up as a test salon to see the full journey.
The four areas
| Address | Who | What |
|---|---|---|
/ | Everyone | Your SaaS home page: hero, features, pricing with monthly/yearly switch, testimonials, FAQ, a salon directory (/salons), sign-up, terms and privacy. Available in every enabled language, light and dark. |
/platform | You (super admin) | Dashboard with MRR/ARR, salons, plans, coupons, subscription invoices, revenue reports, activity log and platform settings. |
/app | Salon owner and team | The salon panel: calendar, bookings, checkout, customers, services, team, products, marketing tools, reports, website builder, settings and billing. |
/s/{salon} | The salon's customers | The salon website and booking page (also on a sub-domain or custom domain, see below), the customer's booking page (cancel, reschedule, pay a deposit, add to calendar), reviews, waiting list and customer account. |
Plans, limits & features
Each plan has a monthly and a yearly price, an optional own trial length, a highlighted flag (“Most popular”), translations of its name and description, and:
Limits (empty = unlimited)
Staff members, services, bookings per month and products. A salon that reaches a limit sees a friendly message with an upgrade button; salons cannot move to a smaller plan while they are above its limits.
Features (switch on per plan)
Website builder, point of sale, products & inventory, gift cards, packages & memberships, loyalty points, discount coupons, reviews, waiting list, online deposits & prepayment, SMS & WhatsApp gateway, advanced reports, expenses, custom domain, remove platform branding, data export & backups. Menu items and pages of switched-off features are hidden and their addresses are refused.
Subscriptions & billing
- New salons start on a free trial (Platform → Settings → General, or per plan). During the trial they can use every feature of their plan.
- From Billing, the salon chooses a plan and cycle, can enter a platform coupon, and pays the invoice with Stripe, PayPal or bank transfer. A 100% coupon activates the plan at once.
- Bank transfers: the salon sends its payment reference; you confirm it in Platform → Invoices (Mark as paid).
- Paying extends the salon's period by one month or one year. Changing plan starts a new period.
- Renewal invoices are created and emailed 7 days before the end. After the end the salon is Payment due (still online) and after the grace days it is Suspended: the booking website shows “temporarily unavailable” and the panel only opens the billing page until the invoice is paid.
- Salons can cancel at the end of the paid period (and undo it until then).
- Platform coupons: percent or fixed amount, once or forever (applied to every renewal), maximum uses, expiry date and allowed plans.
- Invoices are numbered (
SUB-00001, prefix in settings), can include tax, and print as a clean A4 invoice with your company details.
Stripe & PayPal
There are two kinds of online payments and each uses its own accounts:
| Payment | Paid to | Keys entered in |
|---|---|---|
| Subscriptions (salon → you) | Your account | Platform → Settings → Billing |
| Booking deposits (customer → salon) | The salon's own account | Salon → Settings → Payments (plan feature Online deposits) |
Stripe
- In the Stripe dashboard, copy the publishable and secret keys (test keys start with
pk_test_/sk_test_). - Developers → Webhooks → Add endpoint. Use the address shown in the settings page —
https://your-domain/webhooks/stripe/platformfor subscriptions,https://your-domain/webhooks/stripe/{salon id}for a salon — and select the eventcheckout.session.completed. - Paste the webhook signing secret (
whsec_…) in the settings.
Payments are confirmed twice: when the customer comes back from Stripe, and by the signed webhook (each event is processed once). The amount and currency are checked every time. Zero-decimal (JPY…) and three-decimal currencies (KWD, BHD, OMR, JOD, TND) are sent in the right units.
PayPal
Create an app in the PayPal developer dashboard, copy the Client ID and Secret, and choose Sandbox or Live. Orders are captured when the customer returns; the captured amount, currency and reference are checked.
.env file.Sub-domains & custom domains
Every salon website works at https://your-domain/s/salon-name with no setup. Two nicer options:
Sub-domains: salon-name.your-domain.com
- Add a wildcard DNS record:
*.your-domain.com→ your server's IP (A record) or your domain (CNAME). - Make your web server answer for
*.your-domain.comwith the samepublicfolder (cPanel: create a wildcard sub-domain pointing to the same folder; Nginx:server_name *.your-domain.com), with a wildcard SSL certificate. - Platform → Settings → General → Base domain for salon sub-domains:
your-domain.com.
Custom domains: www.my-salon.com (plan feature)
- The salon enters its domain in Settings → Domain. The page shows the DNS record to create (A record to your server IP or CNAME to your domain).
- On your server, add the domain as an alias / parked domain of the installation and issue an SSL certificate for it (cPanel “Aliases”, Plesk “Domain aliases”, or Nginx
server_name+ Let's Encrypt).
On its own domain the salon website lives at the root (/book, /about…). Panel, login and payment addresses always redirect to your main domain.
Managing salons
- Salons: search and filter by status and plan, export CSV, create a salon by hand (with or without the starter menu), see usage against plan limits, invoices and activity.
- Change a salon's plan, cycle, period end or status (active, trial, payment due, suspended, cancelled), or create an invoice for it.
- Log in as the salon (impersonation) to help a customer. A banner shows you are signed in as them; the activity log records it; Back to platform returns to your account.
- Dashboard & reports: monthly recurring revenue and ARR, trial conversion, revenue by month, by plan and by payment method, coupon discounts, new and lost salons, bank transfers to check and trials ending soon.
- Activity log: sign-ups, payments, plan changes, impersonations and settings changes.
The salon panel
After sign-up the salon already has a working setup: opening hours, the owner as first team member, a starter service menu for its business type, and a published website with a Home and About page. A checklist on the dashboard guides the next steps.
| Section | Highlights |
|---|---|
| Dashboard | Today's appointments, revenue, chair occupancy, requests to confirm, latest online bookings, birthdays, low stock, setup checklist. |
| Calendar | Day view (one column per person) and week view, drag & drop to move, drag the bottom edge to change the length, click an empty time to book, colour by status/service/person, block time, breaks and days off shaded, filter people, “now” line. Stylists can be limited to their own column. |
| Queue | Big screen for the reception: waiting, in the chair and next customers; walk-ins start with the first free person. |
| Bookings | List with filters, statuses (pending, confirmed, arrived, in service, completed, cancelled, no-show), several services per booking with different people, notes, deposit, history, messages sent. |
| Customers | Profile with visits, spending, notes, allergies & preferences (shown in the calendar), tags, loyalty points, gift cards, packages, no-show count, marketing consent; import/export CSV; segments (new, regulars, lapsed, birthdays this month…); block online booking. |
| Services | Categories, price types (fixed, from, free), options/variants with own duration and price, buffer time after, online booking on/off, deposit per service, who can do it — with a personal price and duration per person. |
| Team & hours | Weekly hours with several shifts per day (lunch breaks), days off and holidays, colours, photos, bio, commission rates, link to a user account. |
| Checkout | See POS & sales. |
| Products | Retail products with barcode, cost, stock, low-stock alerts, stock movements (purchase, count, loss). |
| Expenses | Rent, products, salaries… with categories, included in the profit report. |
| Reports | Revenue, sales by service/product/person, team occupancy, commissions, tips, no-show rate, new vs returning customers, payment methods, expenses and estimated profit; CSV export. |
| Reviews | Collected automatically after visits, 1–5 stars per person; publish or hide; shown on the website. |
| Waiting list | Customers ask for a full day; they are emailed as soon as a time comes free. |
| Team & activity | User accounts with roles, activity log of every important change. |
| Settings | Salon profile, opening hours, booking rules, payments, messages, language & currency, sales & tax, roles, domain, data export. |
Online booking rules
Customers book without an account in four steps: services (several at once, with options) → person or “Anyone” → date & time → details. Only real free times are shown: the engine uses each person's hours, breaks, days off, existing bookings, buffers, the minimum notice and how far ahead booking is open. With several services they are lined up one after the other, possibly with different people.
| Setting (Settings → Booking) | Default |
|---|---|
| Time step between proposed start times | 15 min |
| Minimum notice / booking open up to | 60 min / 60 days |
| Allow “Anyone available”, maximum services per booking | Yes, 4 |
| Confirm automatically (or keep as requests to confirm) | Yes |
| Phone / email required | Phone |
| Customers can cancel or move online up to | 12 h before |
| Deposit: none, per service, or on every booking (percent) | None, 20% |
| Unpaid deposit: time slot held for | 20 min |
| No-shows: deposit required after / online booking blocked after | 2 / 4 |
| Waiting list, customer accounts (sign-in link by email) | On |
Every confirmation contains a private link where the customer can see the booking, add it to Google Calendar / Apple / Outlook (.ics), pay the deposit, move it to another free time or cancel it. The booking page can be embedded on another website with ?embed=1 (the website builder shows the iframe code).
Checkout (POS) & sales
- Fast tiles for services, products, packages and gift cards; barcode search; custom lines; open a booking to check it out with its services.
- Per-line price and person, coupon codes, manual discount (amount or %), tax included or added — discounts are always taken before tax.
- Tips (preset % buttons) assigned to a person.
- Split payments: cash, card, bank transfer, gift card, loyalty points, mobile payment and more; change is calculated for cash only; partial payments with a balance to collect later.
- Receipts in 80 mm or A4 with a QR code, sent by email or WhatsApp; daily cash report (Z report); void a sale with a reason (stock, gift cards, points and package sessions are given back).
Loyalty, gift cards, packages, coupons
- Loyalty: points per unit spent (not on tips), value per point, minimum to redeem; customers pay with points at checkout; manual adjustments with history.
- Gift cards: sold at checkout or created by hand, codes like
GC-XXXX-XXXX, balance history, expiry, printable card, sent by email; customers check their balance on the website. - Packages & memberships: bundles of sessions (e.g. 5 blow-dries) with a price and validity; sessions are used at checkout.
- Coupons: percent or fixed, online and/or at checkout, minimum amount, services, first visit only, uses per customer, total uses, dates.
Email, SMS & WhatsApp
Automatic messages: booking confirmed, booking received (waiting for confirmation), booking moved, booking cancelled, reminder (two can be set), review request, waiting list time free, gift card sent and customer sign-in link. Each salon can edit the subject, email text and SMS text of every message in each of its languages (Settings → Messages); empty means the built-in default. Placeholders:
{customer} {salon} {date} {time} {services} {staff} {reference} {total} {manage_link} {calendar_link} {book_link} {review_link} {address} {phone} {code} {amount} {expires} {message} {login_link}
- Email uses the platform SMTP settings, with the salon name as sender and its reply-to address.
- SMS works with almost any HTTP SMS gateway: URL, GET or POST, the name of the phone and message parameters and extra parameters such as your API key (
key=abc&sender=SALON). Set a platform gateway (Platform → Settings → SMS) or let salons use their own (plan feature). - WhatsApp: every booking and customer has a WhatsApp button that opens a ready-to-send message (no paid API needed).
- Every message is logged (Salon → Messages) with its status.
Website builder
Website → Pages opens the visual builder: drag blocks from the library, edit texts and images in the side panel, see the result live on desktop, tablet and phone, undo/redo, autosaved drafts and one-click publish.
Salon blocks read live data: hero, services & prices menu, team, booking widget, reviews, packages, gift cards, hours & map, contact form. Content blocks: features, steps, stats, testimonials, pricing, FAQ, gallery, before/after slider, video, call to action, text, image & text, spacer. Each block has background, spacing, alignment, anchor and hide on mobile/desktop options. Pages have SEO title, description and share image, and can be translated into each salon language.
Website → Theme: ready palettes, colours, fonts, corner style, button style and illustration set. Website → Menus: header and footer links. Website → Media: image library. A sitemap is generated automatically.
Team roles & permissions
| Permission | Owner | Manager | Reception | Stylist |
|---|---|---|---|---|
| Calendar (own column) | ✓ | ✓ | ✓ | ✓ |
| Calendar of everyone | ✓ | ✓ | ✓ | — |
| Create / move bookings | ✓ | ✓ | ✓ | ✓ |
| Customers, contact details, checkout | ✓ | ✓ | ✓ | — |
| Void sales, services, team, products, marketing, expenses, reports, website | ✓ | ✓ | — | — |
| Settings, users, billing | ✓ | — | — | — |
The owner can change this table for the salon in Settings → Roles. Defaults are in config/chairly.php (permissions).
Languages, RTL & currencies
Language on the first visit. A visitor who has not chosen a language yet sees the website in the main language of their country — Algeria, Morocco, Tunisia, Egypt, the Gulf… in Arabic; France, Belgium, French-speaking Africa… in French; every other country in English — as long as the website offers that language. The country is found, in this order: a CDN header when the server is behind one (CF-IPCountry, X-Country-Code, CloudFront-Viewer-Country); else the visitor's IP address, looked up offline in the included IP database (no external service, no PHP extension, about 0.05 ms per lookup); else (local or private address) the browser's time zone. A language picked with the language switcher always wins and is remembered for a year (cookie). The country lists are in app/Support/LangGuess.php.
IP database. resources/geo/ip-country.bin is compiled from the free “IP to Country Lite” database by DB-IP (CC BY 4.0). Countries change rarely, but you can refresh it every month with php artisan geoip:update (downloads the latest file from db-ip.com), or download dbip-country-lite-YYYY-MM.csv.gz yourself and run php artisan geoip:update --file=dbip-country-lite-YYYY-MM.csv.gz. Behind a reverse proxy, make sure Laravel trusts it so that the visitor's real IP is used.
- Interface in English, French and Arabic (right-to-left layout for Arabic). Each salon chooses its default language and the languages of its website; services, categories, pages and plans can be translated.
- Add a language: copy
lang/fr.jsontolang/xx.json, translate the values (keep words starting with:and{…}as they are), and add it tolanguagesinconfig/chairly.php(and tortl_languagesif it is written right-to-left). - Each salon has its own currency, symbol, position, separators and time zone. Your plans have their own currency.
- Three-decimal currencies (Kuwaiti, Bahraini, Jordanian, Tunisian, Libyan, Iraqi dinar, Omani rial) are stored and calculated exactly — set Decimals to 3.
Backups & updates
- Platform → Settings → Backup downloads a copy of the database (the SQLite file, or a JSON export of every table on MySQL). Uploaded images are in
storage/app: include that folder and amysqldumpin your server backups. - Salons can export their own data (customers, bookings, sales, products… as CSV and JSON files in a zip) when their plan has the feature.
- To update: back up, replace every file except
.envandstorage/, then log in as the platform owner — database updates are applied automatically on your first visit (or runphp artisan migrate --force).
Demo mode
For a public live demo, set CHAIRLY_DEMO=true in .env. Demo mode adds one-click links that sign in and open each back-office directly (/demo/owner, /demo/desk, /demo/stylist, /demo/platform), shown on the login page and in a bar at the top of the home page and salon websites; it uses a payment simulator instead of real gateways, blocks changing platform settings, payment keys, passwords and deleting data, and resets everything every night at 03:00 (php artisan chairly:demo-reset --force). CHAIRLY_DOCS_URL adds a documentation link to the login page.
Demo accounts (password password): admin@chairly.test (platform), owner@chairly.test, desk@chairly.test, stylist@chairly.test (Studio Lumière), barber@chairly.test (French barbershop, EUR), layali@chairly.test (Arabic beauty salon, KWD with 3 decimals), nails@chairly.test (Starter plan, GBP).
Customizing the code
| What | Where |
|---|---|
| Default settings, roles, plan features and limits | config/chairly.php |
| Tenancy (salon separation) | app/Tenancy — every salon model uses the BelongsToSalon trait |
| Free times and booking logic | app/Booking (Availability, SlotFinder, BookingService) |
| Checkout totals and payments | app/Services/SaleService.php, app/Support/Totals.php |
| Subscriptions and renewals | app/Saas/SubscriptionService.php |
| Payment gateways | app/Payments — implement the Gateway interface to add one |
| Message defaults | app/Support/Templates.php |
| Website blocks | app/Cms/Blocks.php and resources/views/site/blocks |
| Starter service menus | app/Saas/StarterCatalog.php |
| Styles and scripts | public/assets — plain CSS and JavaScript, no build step |
| Translations | lang/*.json |
Run the test suite with composer install (development packages) and php artisan test: 75 tests cover tenant isolation, roles, free times, checkout, deposits, subscriptions, gateways and domains.
Troubleshooting / FAQ
A blank page or “500 Server Error”
Check that storage/ and bootstrap/cache/ are writable, then look at storage/logs/laravel-*.log. Temporarily setting APP_DEBUG=true in .env shows the error (switch it back off).
Reminders are not sent / unpaid deposits are not released
The cron line is missing or uses the wrong PHP. Platform → Settings → Backup shows when it last ran. Run php artisan chairly:messages by hand to see the result.
Emails do not arrive
Use Send a test email in Platform → Settings → Mail. Use your host's SMTP server and a sender address on your own domain (with SPF/DKIM).
Stripe payments stay unpaid
Check the webhook address, the event checkout.session.completed and the signing secret; the Stripe dashboard shows each webhook attempt and its response.
A sub-domain shows the platform home page
The salon address in the sub-domain must match the salon's address (Settings → Profile) and the base domain must be set in Platform → Settings → General.
Wrong times in the calendar
Check the salon's time zone (Settings → Language & currency) and the platform time zone.
Credits & licences
Chairly's code, design, icons and illustrations were made for this product. It uses these open-source components, which allow commercial redistribution:
| Component | Licence |
|---|---|
| Laravel framework and its dependencies (Symfony components, etc.) | MIT |
| bacon/bacon-qr-code (QR codes) | BSD-2-Clause |
| dasprid/enum (used by bacon-qr-code) | BSD-2-Clause |
| Fonts: Plus Jakarta Sans, Inter, Poppins, Manrope, Outfit, DM Sans, Fraunces, Playfair Display, DM Serif Display, Cormorant Garamond, Oswald, Cairo — loaded from Google Fonts | SIL Open Font License 1.1 |
“IP to Country Lite” database by DB-IP (resources/geo/ip-country.bin, converted to a binary file) — IP Geolocation by DB-IP | CC BY 4.0 |
The full licence texts of the PHP packages are in vendor/. Demo data (salons, people, reviews, addresses) is invented. No stock photos are included.
Changelog
1.2.6 — October 2026
- Fixed: links that are cards, rows, chips or pictures are no longer underlined (only links inside text are); Arabic headings have taller lines so the dots below the line are never covered.
1.2.5 — October 2026
- Fixed: in Arabic the highlighted words of the home page title lost the dots under some letters (gradient text); they now use the solid brand colour.
1.2.4 — October 2026
- Fixed: the demo reset removed the files the demo data had just created (payment receipts, course documents).
1.2.3 — October 2026
- Fixed: drop-down lists use their own arrow everywhere (the browser arrow showed a grey box on hover on Windows).
1.2.2 — October 2026
- Fixed: on phones a long center name wraps onto a second line with room for Arabic marks.
1.2.1 — October 2026
- Fixed: on phones the website header keeps the full name of the center (languages moved into the menu).
- Fixed: icons in headings, labels and table cells stay on the line of their text; buttons side by side in tables and toolbars are aligned.
1.2.0 — October 2026
- New: the first-visit language uses the visitor's IP address, looked up offline in the included DB-IP database (CC BY 4.0), so it works on the first request;
php artisan geoip:updaterefreshes the data.
1.1.0 — October 2026
- New: on the first visit the website opens in the main language of the visitor's country (Arabic for Algeria, French for France, English for the USA…); a language chosen by the visitor is remembered for a year.
1.0.2 — October 2026
- Fixed: salon defaults written with a dot in
config/chairly.php(for examplelocale.available) were not applied: salon websites now offer every language by default. - Fixed: an “&” in a page title showed as “&”.
1.0.1 — October 2026
- Fixed: “Birthday soon” showed customers whose birthday was months away; the dashboard now lists the next 7 days in order, across the new year.
- Fixed: language links on the home page of an install in a sub-folder (some servers dropped
?lang=).
1.0.0 — October 2026
First release.