Osclass Themes and Osclass Plugins

Rezervomat: How We Built a Booking SaaS on Osclass

How rezervomat.eu takes bookings for barbers, clinics, courts, restaurants and guesthouses in seven languages on the Osclass core, what we added in plugins and what went into the public core.
Case Studies & Real Implementations
1. December 2026
14 min read
32 views
Rezervomat: How We Built a Booking SaaS on Osclass

Most people know Osclass as a classifieds script: someone posts an ad, someone else finds it and gets in touch. We wanted to see how far the same core goes when the "ad" is something else. So we built Rezervomat, an online booking system for small businesses, on the Osclass core you can download today. It runs on rezervomat.eu, takes bookings for barbers, clinics, sports courts, restaurants and guesthouses, and runs its whole website in seven languages.

Short answer: yes, Osclass works well beyond classifieds when your main object fits the shape of a listing. In Rezervomat every business branch is an Osclass listing and every owner is an Osclass user. One theme and eleven plugins add the booking engine, the calendar, reminders and payments. We did not fork the core: the few hooks we were missing went into the public Osclass core, so every Osclass site gets them.

Rezervomat is our own product. OsclassPoint maintains the Osclass core, and OsclassPoint and Rezervomat are run by the same company, AB profitrade, s.r.o., so we know both sides from the inside. This article shows how the Osclass parts map to a booking product, what we built ourselves, what the core needed and what we would tell anyone planning a non-classifieds project on Osclass. Server setup, admin paths and security settings are left out on purpose.

What is Rezervomat?

Rezervomat is an online booking system for small businesses that work by appointment, by the table or by the night: barbers, hair and beauty salons, physiotherapists, trainers, sports courts, restaurants, guesthouses and dozens of other trades. A customer opens the business's booking page, picks a service, a time and, if they like, a staff member, and books in about 30 seconds without creating an account.

The owner gets a calendar for the whole team, email and SMS reminders, customer records and QR code payments that go straight to the business's own bank account, with no commission on bookings. Rezervomat sells to businesses in Slovakia, Czechia, Poland, Hungary and Germany. Its website and help pages exist in English, Slovak, Czech, Polish, Hungarian, German and Ukrainian.

The quickest way to see it is the demo page. Pick a sample business, book as a customer, then open the owner's panel of the same business and find your booking in the calendar. No sign-up is needed.

Rezervomat booking form of a sample barbershop: the business page is an Osclass listing with services, free times and opening hours

Why build a booking system on a classifieds script?

Because a bookable business looks a lot like a listing. A business page needs a title and a description in several languages, a category, an address with a map, an owner with an account, a clean URL, a place in the sitemap, view statistics, moderation and a way to report abuse. Osclass already does all of that. It also brings user accounts, routes for custom pages, plugin hooks, a cron, email templates, an activity log and a back office with sortable lists.

What Osclass does not have is everything about time: services with durations, staff working hours, free slots, bookings, reminders, payments and subscriptions. That part we wrote ourselves, and it took most of the work.

A few other reasons decided it for us:

  • The core is small and readable. Plain PHP and MySQL, no framework to learn first. When something behaves oddly, you open the file and read it.
  • It runs on ordinary PHP hosting. No containers, queues or extra services are required to start.
  • The license fits a commercial service. Osclass is free under the Apache License 2.0, which allows building a paid product on top of it.
  • It is maintained. The core gets regular releases for new PHP versions and security fixes. The Osclass 8.4 update closed a core flaw, and when PHP2Shell hit PHP itself, we published what Osclass site owners had to update.

How do Osclass parts map to a booking system?

Almost every Osclass concept found a job in Rezervomat. The table shows the main pairs.

Osclass core Rezervomat
Listing (item) A branch: the booking page of one business location, with its services, staff, opening hours and booking form
Category Business type: Services, Restaurants or Accommodation. It decides the booking model (appointments, tables or stays)
Listing description per language Branch texts in each language the owner fills in
User Owner and team members. Customers book without an account
Permalinks and listing URL Short branch addresses such as /en/r/hreben-barbershop, without a listing ID
Routes and hooks The owner panel, the booking form, the booking engine
Cron and email templates Reminders, owner summaries, cleanup jobs
Activity log The history of each booking: who changed what and when
Reports Contact messages and reports about a business or a review
Listing statistics Page views in the owner's stats

Diagram: Osclass listing, category, user, routes, cron and log mapped to Rezervomat branch, business type, owner, panel, reminders and booking history

Categories are the clearest example. Rezervomat has exactly three Osclass categories and no subcategories: Services, Restaurants and Accommodation. The category decides whether the branch takes appointments, tables or stays by the night, and it changes the wording in the panel. A seller's own groups of services, like "Haircuts" or "Beard", are not Osclass categories. They belong to one branch, so they live in plugin tables.

Users follow the same logic. Only sellers (owners and their team members) need an Osclass account. A customer books as a guest. They can create an account later to see their past bookings, but the booking form never asks for one.

What did we build on top of Osclass?

One theme and eleven plugins. Every plugin folder starts with rzm_, so the plugins never clash with other plugins on the site.

  • Reservation: the booking engine (free times for appointments, tables and stays), the public booking form, the owner panel with calendar, bookings, customers, services, team and stats, and the widget for the business's own website.
  • Utility: languages, markets and currencies, plan limits, the activity log format, the bot check on public forms and one connector for every AI call (used for the quick setup from a short text about the business).
  • SMS service: SMS reminders paid from prepaid credit.
  • User manager: team members, roles and permissions per branch.
  • Account: optional customer accounts.
  • Content manager: feature, industry and comparison pages with FAQ and structured data.
  • Docs and Docs agent: the help center with search, and an assistant on the help pages.
  • Notification: messages from the platform to its users.
  • PWA: installing the panel to the home screen and web push.
  • Preview: business previews for sales outreach, used in the back office only.

We also reused three OsclassPoint plugins instead of writing our own: Sitemap PRO for the sitemaps, the Blog and News plugin for the Rezervomat blog and Google Login for "Continue with Google". Where they lacked something, such as filters to pick the languages of each branch in the sitemap, we added generic filters to the plugins themselves, not to a private copy.

How the plugins plug into Osclass

Nothing here is special. It is the same plugin API any Osclass developer uses, just more of it:

  • Routes. Every panel screen is a route registered with osc_add_route(). With the user menu flag on, Osclass itself makes sure the visitor is logged in.
  • Listing hooks. posted_item, edited_item and delete_item keep the booking data in step with the listing. When a branch is deleted, its future bookings are cancelled and customers get an email.
  • User hooks. user_register_completed and after_login attach pending team invitations to the right account.
  • Cron. Reminders run on cron_minutely. A system cron that calls the Osclass cron with the minutely type runs them every minute. Hourly and daily jobs handle cleanup, owner summaries and currency rates.
  • Theme overrides. osc_render_file() looks for a view in the theme before the plugin, so each plugin ships a working screen and the theme can restyle any of them.
// Owner panel: Osclass asks for login because user_menu is true
osc_add_route('my-calendar', 'panel/([0-9]+)/calendar/?', 'panel/{branchId}/calendar/', osc_plugin_folder(__FILE__) . 'user/calendar.php', true);

// Keep plugin data in step with the listing (the branch)
osc_add_hook('edited_item', 'my_branch_edited');
osc_add_hook('delete_item', 'my_branch_deleted');

// Reminders: runs every minute with a system cron of type minutely
osc_add_hook('cron_minutely', 'my_send_reminders');

Rezervomat owner panel built with Osclass routes: day calendar with bookings per barber

We also switched off what a booking site does not use. Osclass search, alerts, listing comments, the listing contact form, public user profiles and RSS all answer 404 Not Found. They do not redirect to the home page: a page that does not exist should say so, both to people and to search engines.

What did the Osclass core need?

Less than we expected. We had one rule: never patch the core inside the project. When a hook or setting was missing, we added a generic one to the public Osclass core, off by default or with no change in behavior, and Rezervomat uses it like any other plugin would. These changes are part of the upcoming Osclass 8.4.1:

  • Mail queue. Emails can wait in a queue and go out in small batches from the cron, so a slow mail server never holds up a visitor. Off by default.
  • Minutely cron interval as a setting, for sites with a real server cron.
  • Clean listing URLs from plugins. Plugins can add their own keyword to the listing URL pattern (for example a stored slug) and change listing URLs with a filter. That is how a branch lives at /en/r/hreben-barbershop without an ID.
  • Own address for public profiles, such as /u/name, separate from the account screens.
  • Minimum password length as a setting, plus a filter for plugins with their own password rules.
  • Reports for plugins: a report_created action and a helper that creates a report with the same emails as the core form.
  • An index on the activity log for fast object history.
  • Back-office search that finds settings down to a single field. Plugins add their own settings through the admin_search_map filter.
  • "Do not send any email (staging site)" switch for test copies of a site.
  • Listing view statistics without jQuery, for lightweight themes.

If you run a classifieds site, you get all of this too. A booking product pushed the core forward for every Osclass site, which is the whole point of keeping changes generic.

How fast is it, and how does it scale?

We measured the server response of twelve English pages on rezervomat.eu on 24 November 2026, from Slovakia, with the page cache switched off. Time to first byte was between 0.22 and 0.43 seconds, for full pages with structured data and FAQ. The stack is PHP 8.6, MySQL 8.4 and an APCu object cache. The Osclass core itself still runs on PHP 7.4 and newer, so these changes did not raise its requirements.

Speed at launch is the easy part. We wrote the code for millions of bookings from day one, with the same rules the core follows:

  • every query on a growing table uses an index, and the booking and availability queries are checked with EXPLAIN
  • no query inside a loop over rows, no unbounded SELECT
  • back-office lists are paged on the server, like the core data tables
  • cleanup and backfill jobs run from the cron in small chunks with a time limit
  • no remote calls while a page is being built
  • static analysis (PHPStan) on PHP 8.5 and 8.6 must pass before any upload, and the site keeps no PHP warnings

If you want to know which parts of an Osclass site slow down first as data grows, our article on how many listings a classifieds script can handle goes through them one by one. Most of it applies to bookings as well.

How does one Osclass site serve seven languages and almost 4,000 pages?

With the core language settings and a lot of content. Every URL carries the language code (/en/, /de/, /pl/ and so on), every page has hreflang links to its other language versions, and Sitemap PRO lists each branch only in the languages its owner has filled in. A Polish customer sees Polish, a German customer sees German, on the same branch and the same Osclass install.

The same Rezervomat booking page on a phone in Slovak, Polish and German, served from one Osclass install

On top of the branches there are marketing and help pages: close to 300 industry pages, more than 30 feature pages and about 180 help articles, each in every language. The sitemap held about 3,900 URLs on 24 November 2026. Plan names, prices and limits inside those texts are placeholders replaced from the plan settings, so a price change never means editing hundreds of articles.

The pages carry FAQ and organization markup, and the site publishes an llms.txt file so AI assistants describe the product from its own pages. We covered why that matters for marketplaces in our guide to AI bots and AI traffic.

How is it kept secure and reliable?

The Osclass core gives a good base: security tokens on forms, filtering of user input and a database layer that escapes values. Rezervomat adds its own layer on top. Every form that changes data checks the token, public forms have a bot check and rate limits, and every action lands in the core activity log with personal data masked. Customer data is stored and processed in the EU.

The process matters as much as the code. Every change goes to a staging copy with test data first, where email is switched off with the new core switch. Only after it passes there does it go to production, and nothing with debug code in it gets uploaded. We do not publish our server setup, admin paths or security configuration, and we would advise you not to publish yours either.

What we would tell you before you build a non-classifieds project on Osclass

  1. Start with the mapping. Write down what your listing is, what your category is and who your users are. If your main object cannot be a listing, Osclass may not be the right base, and that is fine.
  2. Keep your own data in your own tables. A few extra columns on the listing tables are fine: core upgrades do not remove columns they do not know. Everything else (bookings, schedules, payments) belongs to your plugin.
  3. Never edit the core. If a hook is missing, propose a generic one for the public core. Your site stays upgradable and other sites benefit.
  4. Switch off what you do not use and let those pages answer 404, so nobody lands on a half-working feature.
  5. Let the theme own the look. Plugins ship working default views, the theme overrides them.
  6. Plan the cron early. Reminders and cleanups need a real system cron, not visitor-triggered runs.
  7. Budget for what Osclass does not do. In our case availability, payments, subscriptions and invoices were most of the work. Osclass saved us everything around them.
  8. Put the language in the URL from day one. Adding languages later is easy; changing URLs later is not.

What else could you build on Osclass this way?

Anything where the main object is a public page that people find, compare and act on. Rezervomat alone already covers car rental by the day, classes with a set number of places, guided trips with fixed departures and courts booked by the hour, all as Osclass listings with different booking models. The same approach fits rentals of equipment or rooms, local service directories with booking, job boards and event listings.

It fits less well when the product is not built around a public page, for example an internal tool or a chat app. There a framework built for that job will serve you better.

Try it, then build your own

Open the Rezervomat demo and book a haircut at a sample barbershop, then look at the same booking from the owner's side. If you want to read more about why the product exists, the Rezervomat team wrote about it in why we are building Rezervomat.

For your own project, download Osclass, read the Osclass documentation and pick the plugins you need from OsclassPoint. Start with the mapping table above. If your idea fits it, most of the platform is already written.

Frequently asked questions

Question: Can Osclass be used for something other than classifieds?

Answer: Yes. Osclass is a PHP and MySQL platform for listings, users and pages that you extend with plugins and a theme. Rezervomat uses it as the base of an online booking system, where each business branch is an Osclass listing.

Question: Is Rezervomat available as an Osclass plugin?

Answer: No. Rezervomat is a hosted service at rezervomat.eu for businesses that take bookings, and its plugins are not sold separately. The core hooks it needed are part of Osclass 8.4.1, and the plugins it reuses (Sitemap PRO, Blog and Google Login) are available on OsclassPoint.

Question: Did Rezervomat modify the Osclass core?

Answer: Not in a private copy. Every missing hook or setting was added to the public Osclass core in a generic form, off by default or with no change in behavior. Rezervomat itself is one theme and eleven plugins.

Question: Which Osclass and PHP versions does Rezervomat run on?

Answer: Osclass 8.4.1 on PHP 8.6 and MySQL 8.4. Osclass 8.4.1 still runs on PHP 7.4 and newer, so the changes made for Rezervomat do not raise the requirements for other sites.

Question: How long did it take to build Rezervomat on Osclass?

Answer: The main build phase ran from 19 October to 19 November 2026. Osclass already covered accounts, listings, languages, URLs, emails and the back office, so the time went into bookings, the owner panel, payments and content.

Question: How do I build a booking or rental site on Osclass?

Answer: Treat each bookable business, room or vehicle as a listing, keep times and bookings in your own plugin tables, and add routes for the booking form and the owner panel. Use the core cron for reminders and cleanup, and leave the core untouched so upgrades stay simple.

About the Author

My passion is building classifieds marketplaces, automating workflows, and turning messy data into useful products. From PHP, HTML, CSS, and JavaScript to Python, crawlers, imports, and SEO, I enjoy solving technical challenges and sharing lessons learned from real-world projects. Most ideas start with a problem, a cup of coffee, and a curiosity to see how far automation can go.
Osclass, PHP, JavaScript, CSS, Python
58 posts Publishing since 04/2018

Shopping cart
Support tickets Downloads Reviews Orders & Invoices Payments
Dashboard My profile Change password Download user data
Logout