A booking module where each service chooses its shape: day or night stays with pooled inventory, fixed time slots, or free-form durations, all in one bookings table. It has public booking pages with guest booking, optional approval, waitlists and confirmation emails with .ics attachments. Payment collection is not wired yet; prices and totals are computed and stored on each booking.
Use it when
- You take reservations for rooms, appointments or facility time on your own site
- You need one install to handle both hotel-style stays and hourly appointments
What it gives you
- Availability rules: weekly windows, date overrides, block-outs, buffers, minimum notice
- Public pages /bookings and /book/:slug, guest self-service via /bookings/manage/:token
- Embeddable booking widget LiveView
- Named units, 5-minute slot holds and providers that cannot be double-booked across services
- Confirmation, approval, cancellation and reminder emails; waitlist
- Admin: Reservations, Services and Settings under /admin/bookings
Bookings news
-
Bookings 0.2.0: Rate-limited booking forms and more reliable availability for Phoenix
Booking module for Elixir Phoenix: rate-limited public booking forms, correct availability rules, capped stays and no double bookings from stale pages.
-
Bookings 0.1.6: An Edit service link on the public booking page
Bookings 0.1.6 for Elixir Phoenix adds an Edit service link on the public booking page for managers, a clearer admin trail and steadier booking pages.
-
Bookings 0.1.5: Create and change bookings without emailing the customer
Bookings 0.1.5 for Elixir Phoenix adds notify: false, so imports and phone bookings can be created, approved or cancelled without emailing the customer.
-
Bookings 0.1.4: Booking pages work with Languages turned on
Bookings 0.1.4 for Elixir Phoenix fixes public booking pages that returned 404 when Languages was on, including the guest's manage link.
-
Bookings 0.1.3: Booking times follow the site's time zone correctly
Bookings 0.1.3 for Elixir Phoenix stores timed bookings at the right instant across daylight saving changes and records each booking's time zone.
Install
1
Add to mix.exs
{:phoenix_kit_bookings, "~> 0.2"}
2 Fetch it and run its migrations
$ mix deps.get && mix phoenix_kit.update
3
Switch it on in /admin/modules
- Package
- phoenix_kit_bookings
- Releases
-
- 0.2.0
- 0.1.6
- 0.1.5
- Admin
-
/admin/bookings - Links
- HexDocs ↗ GitHub ↗ Changelog ↗
Related modules
What it needs, what builds on it, and its neighbours in Commerce.
Billing
Orders, invoices, subscriptions and payments via Stripe, PayPal, Razorpay, EveryPay
No other modules needed
Catalogue
Product catalogues with manufacturers, suppliers, categories, items and pricing
Needs AI, Entities
E-commerce
Products, categories, cart, checkout and shipping, paid through Billing
Needs Billing
Manufacturing
A machines reference book with machine types and a dashboard
Needs Comments, Entities, Locations
Referrals
Referral codes with limits, usage tracking and signup integration
No other modules needed
Warehouse
Stock per item and location, with receipts, issues, transfers and stocktakes
Needs Billing, AI, Catalogue, Comments, Locations