Sundial POS – E-commerce & Retail Software | Vibe96

E-commerce & Retail

Sundial POS

Source code included

Browser-based point of sale for retail shops, built in plain PHP 8 with MySQL/MariaDB,

Built by Faisal Updated 12 Nov 2026 63,284 lines of code

Open live demo Built withClaude Code

About this software

About Sundial POS

Sundial POS is a framework-free PHP 8 application using mysqli, jQuery and Bootstrap 4, with every write routed through a single ajax.php controller. It covers barcode billing (Code-128), colour and size variant stock, dues and held bills, vendor purchases, salesman reports and profit and loss. A setup wizard creates the tables and the first Admin login, and three roles (Admin, Manager, Saler/cashier) are enforced through a route permission table. It runs on a shop PC (XAMPP), a VPS, shared hosting or Docker (docker-compose.yml with Apache/PHP 8.2 and MariaDB 10.11). The package ships with CLI smoke and billing tests, deployment and role docs, and a commercial single-shop licence.

Category: E-commerce & RetailStack: None: plain PHP with mysqli, no framework and no third-party packages · MySQL 8 / MariaDB 10.4+Built with: Claude Code Licence: Single-site, full source

Why Sundial POS

What makes it better
than the alternatives

  1. 01

    Colour × size stock grid

    Enter a product once, tick colours and sizes, type quantities, and every variant gets its own 9-digit barcode with a movement log.

  2. 02

    Server-side security basics

    CSRF token on every write, bound-parameter DB helpers, bcrypt, per-username login lockout and a role check on every action.

  3. 03

    Record ownership for cashiers

    A Saler sees only the bills, payments, held bills and petty cash their own login created.

  4. 04

    Profit tracking with cost at sale

    Profit & Loss uses the cost price saved at the time of sale, plus salesman-wise sales, dues and gross profit.

  5. 05

    Zero third-party PHP dependencies

    No framework, no npm, no build step (composer.lock locks no packages), so it is simple to host and audit.

Billing (Take Orders)

  • Product tiles by category and scan-to-add Code-128 barcodes
  • Discount by amount or percentage
  • Payment method per sale and printed receipt
  • Server-side recompute of totals and stock deduction/restore (covered by billing_test.php)

Held Bills & Dues

  • One-click Hold to park a bill and resume later
  • Pay-later and part-paid bills with customer name and phone
  • Due collection and due ageing

Products & Stock

  • Colour × size variant entry with per-variant barcodes
  • Live stock with movement log
  • Barcode sticker printing by category
  • Category and product image uploads

Vendors

  • Purchases that add stock and set cost price
  • Vendor payments and dues
  • Returns to vendor that reduce due or refund
  • Admin-only access

Reports & Accounts

  • Salesman-wise sales
  • dues and gross profit
  • Sales report with date-range filter and grouping
  • Profit & Loss (Admin only)
  • Cash & Bank book and petty cash

Users, Roles & Audit

  • Admin
  • Manager and Saler roles
  • User management restricted to Admin
  • Audit log
  • Manager/Admin can unlock locked accounts early

Setup & Administration

  • First-run setup wizard that writes config and creates the Admin
  • Settings and payment method management
  • Database backup and import
  • Configurable session timeout and lockout via .env

Deployment

  • XAMPP
  • VPS
  • shared host or Docker with docker-compose
  • Production mode refuses DB root user or empty password
  • HowToSetup
  • deployment and roles documentation

Quality report

Manually reviewed

75/ 100

Automated audit score

✓ Approved by our review team

Listed after manual review.
Audit run: 6 Nov 2026
Reviewed by Vibe96 staff, Dubai.

Security75
Code structure82
Docs & completeness68
Dependency health72
Build & deploy72
Reviewer notes (6 minor)

Small improvements the developer has been told about. None of them stop the software from working.

Versions & updates

1.0.0
First release12 Nov 2026✓ Reviewed & audited

No updates yet. New versions appear here with a changelog.
Buyers receive updates free for 1 year.

Quality report

What you get

  • </>Full source codeThe complete audited source, delivered as a download from your account. No obfuscation.
  • ▤DocumentationSetup guide, architecture notes, CLAUDE.md and AGENTS.md.
  • ↻One year of updatesEvery new version the builder publishes, free for 12 months.
  • ♧30 days of supportInstallation and defect support through Vibe96 tickets.
$160Single-site licence Details