Let the owners of your LaraClassifier site rent out by the night or by the day: holiday homes, rooms, cars, boats and equipment, with an availability calendar on each listing.
Availability Calendar
Visitors see the free dates on the listing, pick their stay and get the price at once.
Request or Instant Booking
The owner accepts each request, or lets reservations be confirmed at once.
Three Payment Modes
No online payment, a booking fee paid online, or the full payment with owner payouts.
Calendar Sync
iCalendar export and import, to keep Airbnb, Booking.com and other calendars in line.
How It Works
A listing becomes bookable when its owner turns reservations on. The price of a night or a day is the listing’s own price, so searches, sorting, listing cards and the API show it like any other price. The owner then adds their rules and extra prices and manages their calendar from My account.
A reservation holds its dates from the moment it is made. Two guests can never take the same dates, whether they book at the same second or through another site whose calendar is imported.
Requirements
- LaraClassifier v19.2.0 or later (this add-on is not available for JobClass)
- PHP 8.3+
- MySQL 8.0+
- The Laravel scheduler (cron): it expires unanswered requests, sends reminders and reads the other calendars
- For online payments: at least one payment gateway add-on (the offline payment method is not offered)
Installation
Step 1: Upload the add-on
Go to Admin panel → Extensions → Add-ons, click Upload add-on and drop the add-on's .zip file into the upload area (50 MB maximum).
The archive is extracted into extensions/addons/booking/ and Booking & Reservations appears in the list, deactivated.
extensions/addons/booking/ over FTP or SSH: its addon.json file must sit directly inside that folder.
Then open Admin panel → Extensions → Add-ons. The page scans extensions/addons/ every time it loads, so the add-on is listed straight away (the Sync button runs the same scan on demand).
Step 2: Activate the add-on
Click Activate on the Booking & Reservations card. It is a paid add-on, so a dialog asks for its purchase code, which is verified before anything else happens: an invalid code is rejected in the dialog and nothing is changed.
Once the code is accepted, activation runs in one pass: it creates the add-on's database tables (its migrations), registers its permissions, runs its seeders and publishes its public assets. Reload the page to see its new entry in the Add-ons section of the admin sidebar.
Step 3: Configure
Open Admin panel → Booking from the Add-ons section of the sidebar and set the add-on up: see Configuration.
Purchase Code (License Key)
Booking & Reservations is sold as a separate product, so it has its own purchase code (license key), distinct from the purchase code of the main application and from the one of every other add-on. You are asked for it when you activate Booking & Reservations in Admin panel → Extensions → Add-ons.
Our products are sold on three platforms. The way you receive a purchase code depends on where you bought the product.
| Platform / Marketplace | How you get the purchase code | Where to find it again |
|---|---|---|
| bedigit.com Store In-site purchase (Shop) |
Generated automatically when the order is paid, then sent by email, either in its own license email, or inside the order confirmation email. | My Account → My Licenses on bedigit.com |
| Gumroad | Created as soon as Gumroad notifies us of the sale, then sent in a separate email, in addition to the Gumroad receipt. | The license email, your Gumroad Library, and My Account → My Licenses on bedigit.com |
| Envato Market CodeCanyon |
Issued by Envato, not by us, and never sent by email: you download it yourself from your Envato account. | Envato account → Downloads → License certificate & purchase code |
1. bedigit.com Store (in-site purchase)
- As soon as the order’s payment status becomes Paid, a license key is generated automatically for every licensed item in the order (one key per purchased unit: buying 3 units gives 3 distinct keys).
- It is emailed to the address used on the order, either in a dedicated license email or inside the order confirmation email. Check your inbox and your spam / junk folder.
- The key stays available in your account under My Account → My Licenses. Keys are masked in the list; open the license detail page to reveal and copy the full key, see the domains it is activated on, and deactivate a domain to free an activation slot.
- The matching invoice is under My Account → My Orders.
2. Gumroad
- A Gumroad purchase produces two separate emails: the Gumroad receipt (sent by Gumroad, giving access to the files) and a license key email (sent by bedigit.com) that contains your purchase code.
- The license key email is generated as soon as Gumroad notifies us of the sale, so it normally arrives within seconds of the payment. Here too, check your inbox and your spam / junk folder.
- When the Gumroad product uses Gumroad’s own license-key feature, the same key also appears in your Gumroad receipt and under Library → your purchase on gumroad.com.
- Use the same email address on bedigit.com as on Gumroad: your keys are then linked to your account automatically and listed under My Account → My Licenses, even if you register after the purchase. You can also add a Gumroad key manually from My Account → My Gumroad Licenses.
3. Envato Market (CodeCanyon)
- Envato purchase codes are issued and delivered by Envato Market, never emailed by us, so there is nothing to look for in your spam folder: you retrieve the code from your Envato account.
- Log in to your Envato / CodeCanyon account, open the Downloads page, find the item, and choose License certificate & purchase code from the Download dropdown. The code is written in that certificate.
- An Envato purchase code looks like
12345678-90ab-cdef-1234-567890abcdef(8-4-4-4-12 characters). It never changes, and renewing item support does not issue a new one. - Official Envato article: Where Is My Purchase Code?
Configuration
Go to Admin panel → Booking → Settings.
General
| Setting | Default | Description |
|---|---|---|
| Open reservations | On | Turning this off stops new reservations. The ones already made follow their course. |
| Badge on the listing cards | On | Shows “Per night” or “Per day” on the cards of the bookable listings. |
| Categories | Every category | Where owners can take reservations, subcategories included. |
| Default price | By the night | What the forms suggest. Owners choose for each listing. |
| Allow instant booking | On | Owners can confirm reservations without answering each request. |
| Time to answer a request (hours) | 48 | After that, a request nobody answered expires and its dates are free again. |
| Calendars open for (days) | 365 | How far ahead a listing can be booked, at most. |
| Reminder before the stay (days) | 2 | 0 = no reminder. |
Payment and Cancellation
| Setting | Default | Description |
|---|---|---|
| Payment mode | No online payment | See Payment Modes. |
| Fee of the website (%) | 10 | Share of the total of a reservation: the booking fee, or your commission on a full payment. |
| Minimum fee | 0 | In the currency of the listing. |
| Time to pay (hours) | 24 | Once a reservation is accepted, the dates are held this long for the guest to pay. |
| Release the owner’s money (days) | 1 | Full payment only: days after the first day of the stay before the owner can withdraw. |
| Minimum withdrawal | 50 | Full payment only. |
| Free cancellation until (days before) | 2 | A guest who cancels in time is refunded in full. |
| Refund after that (%) | 0 | Share refunded to a guest who cancels later. |
The Payout methods tab (bank transfer, PayPal, Mobile Money, each with its transfer fee and note) is only used with the full payment.
Making a Listing Bookable
Logged-in owners turn on Accept reservations in the posting form and choose By the night (a place to stay: the departure day is free for the next guest) or By the day (a vehicle or equipment: the first and the last day are both used). The listing needs a price.
Everything else is on the listing’s own page, My listings → Booking & calendar: number of identical units, shortest and longest reservation, days of notice, how far ahead the calendar is open, arrival and departure times, maximum number of guests, instant booking, rules for the guests, and the dates the owner closes.
Prices
- Each night or day costs the price of the listing, or the weekend price when the owner set one (Friday and Saturday nights; Saturdays and Sundays for a price by the day).
- A weekly discount applies from 7 nights or days, a monthly discount from 28.
- An additional fee (cleaning, delivery…) is charged once per reservation.
The amounts of a reservation are frozen when it is made: a later change of price does not touch it.
Reservations
Guests must be logged in, and owners cannot book their own listing. A request waits for the owner, who accepts or declines it from My account → Reservations. With instant booking there is no waiting. When something is paid online, an accepted reservation waits for the payment, and is confirmed once it is paid. Contact details are shared when the reservation is confirmed.
A request nobody answered, and an accepted reservation nobody paid, expire and free their dates. A payment that arrives just after the deadline is honoured when the dates are still free; otherwise it is listed as a refund to make.
Payment Modes
- No online payment: the site puts guest and owner in touch. They settle the payment between themselves.
- Booking fee online: to confirm, the guest pays your fee on the site (a share of the total). The rest is paid to the owner directly. You have nothing to pay out.
- Full payment online: the guest pays everything on the site. You keep your commission, and the owner’s share goes to their balance, available once the stay has started.
Payments go through the payment gateways installed on the site. A reservation keeps the mode and the rates it was made with.
Cancellation and Refunds
Guest and owner can both cancel until the first day. What the guest paid online is refunded in full when the owner or an administrator cancels, or when the guest cancels before the free cancellation deadline. After it, the guest gets back the share you set.
Owner Payouts
With the full payment, owners follow their balance in My account → Payouts, save how they want to be paid (their account is stored encrypted) and ask for a withdrawal. You send the money outside the site and mark the request as paid, or reject it, in Admin panel → Booking → Payouts.
Calendar Sync
Each bookable listing has a private iCalendar link to give to other sites (“import a calendar”). It lists the dates that are taken, without any name. Owners can also add the calendar links of other sites (five per listing): their busy dates are closed here, and read again every hour.
The links are fetched by your server, so only public http or https addresses are accepted. When a calendar cannot be read, the dates it closed before stay closed and the owner sees the error.
Reservations List
Admin panel → Booking lists every reservation, with filters by status, payment and date, and a shortcut to the refunds to make. The page of a reservation shows its amounts and lets you cancel it with a reason, record a refund, or record a payment received outside the gateways.
Permissions
admin.booking.view: see the reservations and the payoutsadmin.booking.edit: cancel, record payments and refunds, process payouts, change the settings
Notifications
Reservations covers the emails to guests and owners: request, payment to make, confirmation, refusal, cancellation, expiry, refund and reminder. Booking alerts covers the emails to administrators: refunds to make and payout requests. Each email has a preview in Settings → Notifications.
CLI & Scheduling
php artisan booking:process expires the requests and payments that ran out of time, closes the stays that are over, releases the owners’ money, sends the reminders and reads the calendars of other sites. The add-on schedules it every ten minutes. --no-sync skips the calendars.
Custom Themes
The themes shipped for LaraClassifier are ready. A custom theme needs these four includes: the posting form, the listing sidebar, the listing cards and the action menu of “My listings”.
@includeWhen(addon_active('booking') && view()->exists('booking::form.booking'), 'booking::form.booking', ['listing' => $listing ?? null, 'listingInput' => $listingInput ?? null])
@includeWhen(addon_active('booking') && view()->exists('booking::listing.widget'), 'booking::listing.widget', ['listing' => $listing])
@includeWhen(addon_active('booking') && view()->exists('booking::badge'), 'booking::badge', ['id' => data_get($listing, 'id')])
@includeWhen(addon_active('booking') && view()->exists('booking::account.actions'), 'booking::account.actions', ['listing' => $listing])
Invoices
With the Billing & Invoicing add-on, what a guest pays on the site is invoiced automatically: the booking fee by your company, the full payment by your company or by the owner.
Translations
The add-on ships in 18 languages: Arabic, Bengali, Chinese, English, French, Georgian, German, Hebrew, Hindi, Italian, Japanese, Portuguese, Romanian, Russian, Spanish, Thai, Turkish and Ukrainian. Its strings are in extensions/addons/booking/resources/lang/<locale>/messages.php. A language without a file falls back to English.
Updating
An update only replaces the add-on's files. Its database tables and data, its settings, its activation state and its recorded purchase code are all kept, so do not deactivate or remove the add-on before updating it. Back up your database first all the same.
Method 1: Upload the new version (recommended)
- Download the latest
.zipfile of the add-on. - Go to Admin panel → Extensions → Add-ons and click Upload add-on.
- Drop the
.zipfile into the upload area. - Because Booking & Reservations is already installed, a prompt shows the installed version and the new one. Click Replace: the
extensions/addons/booking/folder is swapped for the new files. Cancelling the prompt discards the upload.
Method 2: Replace the files by hand
- Over FTP or SSH, delete the
extensions/addons/booking/folder and upload the new one in its place. Replace the whole folder rather than copying over it, so files dropped by the new version do not linger. - Open Admin panel → Extensions → Add-ons: the page re-reads
addon.jsonand the card shows the new version number.
After the files are replaced
New database tables or columns. When a new version adds some, create them by running php artisan migrate --force over SSH, or without SSH by clicking Deactivate then Activate on the add-on's card: activation runs every pending migration (and asks for the purchase code again). Your data is not touched either way.
If your installation caches its configuration or routes (php artisan config:cache, route:cache), run php artisan optimize:clear after the update.
Uninstallation
Switching an add-on off without losing anything is a deactivation: go to Admin panel → Extensions → Add-ons, click Deactivate on the Booking & Reservations card and confirm.
- The add-on is no longer loaded: its routes, views, admin sidebar entry and front-end pages stop answering.
- Its database tables and all the data they hold are kept, and its files stay under
extensions/addons/booking/. Nothing is deleted. - Its permissions and its recorded purchase code stay in the database. Only Remove deletes them.
- Deactivation is refused while another active add-on depends on this one: deactivate that add-on first.
Click Activate on the same card to switch it back on. As for a first activation, the purchase code is asked for and verified again; then any pending migrations run, the assets are republished, and the add-on picks up exactly where it left off.
Removing
Removing is permanent and destroys the add-on's data. The Remove button only appears on a deactivated add-on, so removal is always two steps:
- Deactivate Booking & Reservations (see Uninstallation).
- Click Remove on its card and confirm the prompt.
The admin panel then, in one pass:
- runs the add-on's uninstall hook, which deletes the add-on's settings;
- revokes the permissions declared in its
addon.json; - rolls back its migrations (this drops its database tables and every row they hold) and purges its entries from the
migrationstable, so a later reinstall migrates from scratch; - deletes its published assets:
public/addons/booking/,public/vendor/booking/andstorage/app/public/addons/booking/; - deletes the add-on directory
extensions/addons/booking/; - deletes its row in the
addonstable (the recorded purchase code goes with it) and clears the application cache.
The listings themselves are not changed: they keep their price and simply stop being bookable. The reservations, the calendars and the balances of the owners are deleted with the add-on: pay out what you owe before removing it.
Removal is refused, with an explanatory message and before anything is destroyed, when the add-on is still active, when another active add-on depends on it, or when the web server (PHP) user cannot delete extensions/addons/booking/. In that last case, give that user write permission on the directory and on its parent, then try again.
Deleting the folder over FTP or SSH is not equivalent: the add-on is only switched off, and its tables, its entries in the migrations table and its addons row are all left behind. Use Remove in the admin panel instead.
Troubleshooting
The calendar does not appear on a listing
- Reservations must be on for the listing (Booking & calendar), the listing needs a price, and its category must be one of the categories open to reservations.
- A custom theme must contain the includes listed in Custom Themes.
Requests never expire, reminders are not sent
- Check that the cron entry for
php artisan schedule:runexists, and runphp artisan booking:processby hand.
No payment method on the payment page
- Activate a payment gateway add-on available in the country of the visitor. The offline payment method is not offered for reservations.
A calendar of another site is not read
- The link must be the public
httpslink of an iCalendar file (.ics). The error returned by the other site is shown next to the calendar.
Booking & Reservations v1.0.0 · LaraClassifier Add-on · by BeDigit