Ana Sayfa / Kod ve Scriptler / BiteBox - Restaurant Ordering System PHP

BiteBox - Restaurant Ordering System PHP

Herkese açık menü, sepet, mutfak ekranı, sipariş durumu ve PayPal ödemesiyle restoran siparişi alın.

  • Yayın tarihi10 Kasım 2026
  • Nerede çalışırPHP 8.2, PHP 8.3, PHP 8.4
  • VeritabanıMySQL 8.0, SQLite 3.x
  • Paket içeriği.php, .css, .json, .svg, .sql, .md, .yml/.yaml, composer.json, Dockerfile, JavaScript .js
  • Son güncelleme14 Kasım 2026
  • Canlı demoVar
BiteBox - Restaurant Ordering System PHP

Overview

Restaurant ordering with a public menu, cart, kitchen display, order status and PayPal checkout. BiteBox is a complete, self-hosted restaurant Ordering System in plain PHP 8.2 — no framework, no Composer runtime dependencies and no build step. Upload the files, run the browser installer, choose SQLite or MySQL, and you are live in minutes.

> Online ordering with a kitchen display: server-priced carts, idempotent > submissions and a one-way order state machine. Self-hosted PHP 8.2+.

What's inside

  • Menu — Categories, items, per-item modifier groups with price deltas and max selections
  • Cart — The form posts item ids and quantities only; prices are recomputed server-side
  • Checkout — Pickup or delivery, zone-based fee and minimum order
  • Orders — BB-YYMMDD-XXXXXX reference plus a 128-bit customer token
  • Kitchen — Rail ordered oldest first, colour-coded by age, one button per allowed transition
  • Availability — Items can be sold out without deleting them

Why BiteBox

  • Kitchen display board with an explicit order state machine (placed → accepted → preparing → ready → completed) and thermal print fallback.
  • Menu with modifiers, per-item availability windows, pickup/delivery zones and minimum order — priced correctly server-side.
  • Idempotent order submission (client token), cash-on-delivery plus a pluggable gateway interface.

Built to last

  • No framework and no runtime Composer packages — the ZIP is the whole application.
  • SQLite for a zero-config install and MySQL/MariaDB for production, from one migration pair.
  • 15 automated tests covering the money, state-machine, uniqueness and permission rules.
  • English and Chinese interface, dark mode, WCAG AA focus states, usable down to 360 px.
  • CSRF on every POST, prepared statements only, output escaped at the template.

Requirements

  • PHP 8.2 or newer with PDO (pdo_sqlite or pdo_mysql), mbstring, json, openssl and fileinfo.
  • Apache with mod_rewrite or Nginx; document root pointed at public/.
  • SQLite 3 (bundled with PHP) or MySQL 8 / MariaDB 10.4+.
  • Write access to the application root and storage/.

Quick start: upload the ZIP, point the document root at public/, open /install/ and follow the four steps. Docker users can run docker compose up -d --build instead and open the same installer.

Features

• Menu — Categories, items, per-item modifier groups with price deltas and max selections • Cart — The form posts item ids and quantities only; prices are recomputed server-side • Checkout — Pickup or delivery, zone-based fee and minimum order • Orders — BB-YYMMDD-XXXXXX reference plus a 128-bit customer token • Kitchen — Rail ordered oldest first, colour-coded by age, one button per allowed transition • Availability — Items can be sold out without deleting them • Self-hosted PHP 8.2 application with no framework and no runtime Composer dependencies • SQLite and MySQL/MariaDB support from one migration pair, with a four-step browser installer • 13 database tables, 14 routes and 15 automated tests • English and Chinese interface, dark mode, WCAG AA focus states, mobile down to 360 px • CSRF protection, prepared statements and escaped output throughout

Requirements

• PHP 8.2 or newer (tested on 8.2, 8.3 and 8.4) • PDO with pdo_sqlite or pdo_mysql • mbstring, json, openssl and fileinfo extensions • Apache with mod_rewrite, or Nginx with a front-controller rule • SQLite 3, or MySQL 8.0 / MariaDB 10.4 and newer • Write access to the application root and storage/ directory • A modern browser; no Node.js, Composer or build tools required