Overview
Plughub POS – PHP Mobile Point of Sale System
Plughub POS is a mobile-first point-of-sale web application built with PHP and PostgreSQL. Its responsive interface is designed for phones and tablets, making it suitable for retail shops, grocery stores, kiosks, restaurants and businesses operating across multiple branches.
The system supports multiple stores or tenants from a single installation. Administrators can switch between stores, manage staff accounts and assign role-based access according to operational needs.
The POS workflow includes a shopping cart, totals calculation, discounts, payment methods, transaction handling, receipts and change calculation. Inventory tools help manage products, categories, stock adjustments and stock movement records.
A sales history module provides access to paid orders and receipt or transaction lookups, while the reporting dashboard summarizes sales and business performance.
Suitable for: Small retailers and multi-branch businesses looking for a browser-based POS and inventory management solution.
The application requires PHP and PostgreSQL hosting. Review the installation instructions and security requirements before deploying it for live transactions.
Features
Mobile-first interface: Designed for use on phones and tablets.
Multi-tenant management: Manage multiple stores or branches from one installation.
Role-based access: Supports Admin, Manager, Cashier and Readonly roles.
POS checkout: Process sales through a cart and totals workflow.
Discounts: Apply discounts during checkout.
Multiple payment methods: Supports the payment workflow provided by the application.
Transaction handling: Record transactions and manage receipt references.
Change calculation: Calculate change during checkout.
Product management: Maintain products and categories.
Inventory control: Adjust stock and track stock movements.
Cost and stock tracking: Record product cost and stock information.
Sales history: Review paid orders and search for receipts or transactions.
Reports dashboard: View sales summaries and performance reports.
Tenant configuration: Manage store or branch settings.
User management: Create and manage staff accounts according to their roles.
Session-based authentication: Sign in using the application's authentication system.
Health endpoint: Check application health through
/api/health.PostgreSQL database: Store application data in PostgreSQL.
Requirements
Technical requirements
PHP 8.1 or newer.
PostgreSQL 13 or newer; PostgreSQL 14+ is recommended.
PHP
PDOextension.PHP
pdo_pgsqlextension.Apache or Nginx web server.
Web document root configured to point to the
public/directory.Rewrite rules configured to route requests through
router.php.Environment configuration using a
.envfile.Access to a PostgreSQL client to run the supplied database scripts.
Installation notes
Upload the application files to your server.
Configure the document root to expose only the
public/directory.Copy
.env.exampleto.envand configure the database connection and timezone.Create and initialize the database using
create_db.psqlor applyschema.sqlto an existing database.Open the application and verify the login page and
/api/healthendpoint.
Operational recommendations
Keep
.envandscripts/inaccessible from the public web.Back up the PostgreSQL database before updates.
Configure store tenants, staff roles, products, categories and starting inventory before processing sales.
Change any default demo credentials before production use.
Other items by this author
| Category | Scripts & Code / PHP Scripts / POS |
| First release | 09 October 2026 |
| Last update | 09 October 2026 |
| Files included | Documentation |
| Tags | Plughub POS , PHP point of sale , mobile POS system , PostgreSQL POS , retail POS software , multi tenant POS , multi store POS , inventory management , stock management system , cashier system , sales history , sales reporting dashboard , product management , store management software , grocery POS , kiosk POS , restaurant POS , receipt management , PHP POS application , branch management |



