Ana Sayfa / Kod ve Scriptler / Dental Clinic - PHP Appointments and Records

Dental Clinic - PHP Appointments and Records

Bu PHP betiğiyle diş randevularını, hasta kayıtlarını, diş şemalarını, tedavi planlarını ve bir hasta portalını yönetin.

  • Yayın tarihi15 Kasım 2026
  • Nerede çalışırPHP 8.3
  • VeritabanıMariaDB 10.x, MariaDB 11.x
  • Paket içeriği.php, .css, .html, .sql, .md, JavaScript .js
  • Son güncelleme15 Kasım 2026
  • Canlı demoVar
Dental Clinic - PHP Appointments and Records

Overview

Dental Clinic Appointments and Patient Records runs the front desk and the patient files of a dental practice: the calendar per dentist, the patients and their tooth chart, treatment plans with a quote, the money and the online bookings - on your own hosting and under your own domain. You pay for the script once. There is no monthly fee to the author, no per-user fee and no patient list sitting on someone else's server. What you do pay for separately is the hosting and the domain name, the same as any other site you run.

It is written in plain PHP with a MariaDB database: no framework, no Composer, no Node, no build step. Upload the files to hosting that meets the requirements below and open the installer: it checks the requirements, asks for the database details and your administrator account, and creates the tables for you. The interface is in English and Turkish (another language is one translated file) and any currency works.

Built to be shown to someone who has never used it

A step-by-step setup page (clinic name and hours, first staff member, service list, first patient, sharing the booking link, the phone) with a progress bar, a closed "What is this screen for?" box on the main screens, a way out of the common errors, a folded menu and touch-a-row on the patient list. The booking link goes out in one tap (ready WhatsApp message, copy button, A4 poster with a QR code). Judge it for yourself - the live demo is a full installation with sample data, resets every hour, and has "Start again with an empty site" and "Bring the sample data back" buttons so you can try the setup from nothing.

New in 1.2.0

  • Patient portal. The patient signs in with a one-time link sent to the e-mail on the card - no password; the link works once, expires in 30 minutes, only its hash is stored, and the page never says whether an address is on file. It shows the coming visits (and cancels one inside the clinic's cancel window), the treatment plans the clinic offered (with an "I accept the plan" button), the last visits and payments and the balance due. It needs the site address saved in Settings and working e-mail; the demo has a "sample" button because it cannot send mail. On by default, one checkbox switches it off.
  • Roles and permissions. The manager switches eight permissions on or off for reception and for the dentist: walk-in queue; customer list and campaigns; payments and the cash register; packages; stock; reports; seeing patient files; writing medical notes, treatments and plans. An area a role has lost disappears from its menu and its pages refuse it.
  • Personal data (GDPR / KVKK). On the customer card the manager can download everything held about it as JSON, or anonymise it: name, phone, e-mail, address, birthday, free text, documents and signatures are removed, the medical notes and the money records stay without a name. It asks for the name to be typed, refuses while the card has upcoming appointments, and cannot be undone. A tool for answering such requests - it does not make a clinic compliant by itself.

What you get

Full source code, the installation wizard, database.sql, HTML documentation with English and Turkish install guides, and sample data that can be removed with one click from the data page.

Support

12 months of author support from the date of purchase, answered within two business days. Ask through the support section on this item's page. Support covers faults in the software and questions about how to use what is in it. It does not cover, and these are quoted separately as paid work: installing the program for you or moving an installation; configuring your server, hosting panel, PHP extensions, DNS, SSL or mail service; third-party software you connect it to; loading your own data; changes to the code or anything built to order; and new features.

Testing notes, said first

  • Phones. No real phone or tablet was used. The phone-width pictures were taken in a desktop browser set to 390 x 844 (Playwright), and the browser tours ran in Chrome, WebKit (the engine of Safari) and Firefox on a desktop - Firefox without device emulation.
  • E-mail delivery (portal sign-in link, notices, reminders) was tested against local traps and the mail code; it was not tried through a real mail provider for this product. Whether a message reaches an inbox depends on your mail setup.
  • SMS: the program can call an SMS provider's HTTPS address that you enter; it was tried only against a local fake server and with no real SMS provider.
  • The public demo (https://dental-en.demo.semihturna.com/) runs 1.2.0 under DirectAdmin shared hosting with SQLite. A MariaDB installation (installer, integration suites) was tested on a local Windows machine (MariaDB 10.4.34 and 11.4.13), not on a hosting account.
  • Oracle MySQL, other PHP versions than 8.3, cPanel and Plesk were not tried.

Features

Appointments

  • Day, week and month calendar; one column per dentist; double bookings are rejected (the check and the write happen in one database transaction).
  • Free-slot picker: choose a person and a service and the panel lists the times that fit; on a conflict the nearest free times are suggested.
  • Move an appointment without losing its package or payment link; repeating appointments (weekly, fortnightly, monthly) where taken dates are skipped and listed.
  • Time off over several days (all day, or the same hours every day) with a list of upcoming time off; blocked hours disappear from the panel and from the booking page. There is no leave-days counter.
  • Booking rules: closed dates and ranges, a gap between appointments, minimum notice, slot length. Walk-in queue. Printable day sheet.
  • Online booking page on your own domain with an optional approval step, a showcase page (services, prices, hours, team) so a clinic need not have another website, a private link per appointment (view, cancel, "Confirm on WhatsApp"), and a "Write on WhatsApp" button.
  • Calendar feed (.ics) per clinic and per staff member. Home-screen web app (PWA) in browsers that support it.

The patient files

  • Patient cards. One contact card can hold several patients (family members); health flags (blood thinner, allergy and so on) show as a one-line warning on the file; allergy, disease and medicine notes.
  • Tooth chart (FDI numbering) for permanent and primary teeth, 13 conditions, and a treatment line tied to a tooth.
  • Treatment plans with a quote: lines from the price list (tooth number, surface, discount, dentist), draft / offered / accepted; only lines marked done are charged to the patient's account; a printable quote.
  • Visit notes and prescription lines with the clinic's own letterhead prescription print; every open, write, change, delete, print and download of a file is written to the access log (400 days; the text of a note is not logged).
  • Recall list: six-month check-ups and "next visit" dates, overdue and coming, one tap to a ready WhatsApp message, an "I called" note; it closes by itself when the patient books.
  • Laboratory orders (work sent out, tooth, shade, due date) and files: X-rays, photos and documents (JPG, PNG, WEBP, PDF, 8 MB), content-checked and served only to a signed-in user with the right. No DICOM or RVG.
  • Consent forms (editable templates) with an on-screen finger or mouse signature and a copy of the signed text. An on-screen signature is not a qualified electronic signature.
  • Payments, account and instalments: balance, cash / card / transfer, instalment plans split to the cent, late instalments, daily cash register and expenses; dentist share in the clinic reports.
  • Clinic reports: treatments done and their amount, payments, new patients, arrivals, dentist share, most-done treatments, patients with a balance, lab work out.
  • Stock with low-stock warnings and a movement history.

Customers, money and messages

  • Customer card: details, birthday, notes, history, balance and total spend; import your list from CSV (preview, bad-row file, all-or-nothing); daily automatic backup, full backup, CSV exports.
  • Payments in cash, card or transfer, partial payments and the balance on the account; one bill per visit with services and products, a discount and a printable receipt; daily cash register and expenses; packages and sessions.
  • Reminders screen with a ready WhatsApp message and an e-mail button; booking e-mails (received, approved, cancelled) and a thank-you e-mail with a review button, over SMTP or the server's mail function.
  • Campaigns to five audiences by batched e-mail or ready WhatsApp links, only to customers who agreed to both consent questions kept per customer (details may be kept; wants messages about offers). A tick on the booking page is stored as an unverified request.
  • Roles: manager, reception and dentist; the clinical user sees only the patients who have an appointment with them or a note of theirs.

For developers

  • Business logic in app/, pages in views/, one entry point; every query that carries user input is a PDO prepared statement; a CSRF token on every POST inside the panel; hashed passwords; output escaping checked on 20 pages for 3 roles.
  • Schema defined in one PHP file; the database updates itself on the first page load after an upgrade.
  • 3,374 unit tests (php tests/run.php), plus demo test suites for this edition 130 checks, the setup-guide suite 127, the permission-view suite 69, the patient-booking suite 172 and the clinic end-to-end suite 873, all on SQLite with PHP 8.3 on a Windows machine. On a real MariaDB (10.4.34 and 11.4.13) the installer-driven integration suite (326 checks) and the clinic integration suite (20 checks) passed, and 65 of the 72 unit-test files run unchanged against it (the other seven use SQLite-only test set-up and are not product code). Before this listing, every menu page, in-page link and form of the live English demo was also walked in a real browser as the manager, as reception and as the clinical user, and the customer booking flow and portal at desktop and phone width; no server error, PHP notice, sideways overflow or Turkish text in the English interface was found (two small wording faults were fixed). The tests are not part of the package you download; they are in the author's repository.
  • Documented source, HTML manual (documentation/index.html), docs/INST

Requirements

  • PHP 8.1 or newer with the pdo_mysql and mbstring extensions. PHP 8.0 cannot run it.
  • MariaDB 10.4 or newer; hosting panels usually list it under "MySQL databases".
  • Working e-mail (the server's mail function or an SMTP mailbox) for the portal sign-in link and any e-mail at all; the rest works without it.
  • Shared hosting with a control panel; no SSH, no Composer, no Node, no build step. The public demo runs under DirectAdmin; cPanel and Plesk have not been tried.
  • Tested on PHP 8.3 and MariaDB 10.4.34 and 11.4.13 (local machine). Other PHP versions and Oracle MySQL have not been tested.