Sundial POS – E-commerce & Retail Software | Vibe96

E-commerce & Retail

Sundial POS

Source code included

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

Built by Faisal Updated 27 Nov 2026 24,212 lines of code

Open live demo Built withClaude Code

About this software

About Sundial POS

Sundial POS is a single PHP web application (no framework, no mobile app, no external API) for small retail shops such as clothing, boutiques, shoes, bags and cosmetics. It covers barcode billing, colour and size stock variants, customer dues, held bills, vendor purchasing and returns, a cash book, salesman reports and profit and loss. Sales can be taken while the server is unreachable: a service worker and IndexedDB keep them, then send them to the server when it is back. It runs on XAMPP, a VPS, shared hosting or Docker, with a setup wizard, and the package ships its own test suite and recorded check results (112 tests on MariaDB 10.11 and MySQL 8.0). Full source is included with a single-site licence.

Category: E-commerce & RetailStack: None (plain PHP, no framework) · MariaDB 10.4+ or MySQL 8.0+Built with: Claude Code Licence: Single-site, full source

Why Sundial POS

What makes it better
than the alternatives

  1. 01

    Offline billing

    Sales are kept in the browser (IndexedDB) with a provisional receipt while the server is down and synced later; the recorded test shows a sale sent twice produces one bill.

  2. 02

    Colour × size stock

    Products carry colour and size variants, unique barcodes and SKUs, and barcode label printing (Code 128) is built in.

  3. 03

    Layered access control

    Every write goes through one ajax.php route with CSRF check, POST-only, login and a per-action permission map, with Saler, Manager and Admin roles and own-record versus others' ownership checks.

  4. 04

    Login hardening and audit

    Bcrypt passwords, lockout per user and computer, an audit log of sensitive actions, upload content checks and security headers.

  5. 05

    Documented and tested release

    Ships a schema with 24 tables and 26 foreign keys, versioned migrations, backup/restore, Docker files and recorded checks including a 229-case route guard test and 26-case offline test.

Billing (Take Orders)

  • Barcode-based billing screen
  • Hold and resume bills
  • Pay window and invoice/receipt popup
  • Price-override approval by an approver password
  • Offline sales queue with sync to the server

Catalog & Inventory

  • Products and categories with images
  • Colour × size variants
  • Stock entry and stock adjustment
  • Inventory view and product overview
  • Barcode label printing

Sales & Dues

  • Orders list
  • unpaid orders and order view
  • Add payment to a bill
  • Due collection and due report
  • Sales report
  • Profit and loss report

Vendors & Purchasing

  • Vendor records and history
  • Purchase entry with purchase invoice
  • Vendor payments
  • Vendor returns with print
  • Vendor purchase and product reports

Cash

  • Cash book
  • Petty cash
  • Configurable payment methods

Salesmen

  • Salesman management
  • Salesman-wise reports

Administration

  • User management with role-based permissions
  • Site settings and branding (shop name
  • logo
  • colours
  • currency)
  • Audit log viewer
  • Database backup
  • export and import
  • Background image management

Setup & Operations

  • Setup wizard that creates tables
  • shop and first Admin
  • Numbered schema migrations run via migrate_cli.php
  • CLI backup script
  • Docker Compose with MariaDB 10.11 and PHP 8.3 Apache image
  • One-click demo mode with Admin
  • Manager and Cashier logins

Quality report

Manually reviewed

87/ 100

Automated audit score

✓ Passed the audit

Passed the audit and a manual review.
Audit run: 21 Nov 2026
Reviewed by Vibe96 staff, Dubai.

Security88
Code structure78
Docs & completeness92
Dependency health90
Build & deploy88
Reviewer notes (2 minor)

Authz design looks solid, but most guard files were not visible so it cannot be fully verified; parameterized sql helpers and strong schema evidence, but most sql files were not visible to audit. None of these stop the software from working; the developer has been told and improvements come in a future update.

Versions & updates

1.0.0
First release27 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.
$100Single-site licence Details
Vibe Studio Vibe Coding Platform

Build websites, mobile apps & business software.

  • .NET + SQL Server
  • Laravel + MySQL
  • Next.js + PostgreSQL
  • React Native
Build your software using AI
Nova, the Vibe Studio AI developer, with the Studio editor
Get it live

Your software. Your own domain.

$5/month

8-core CPU24 GB RAM
Shared high-performance servers
yourcompany.comLive
Make it live