Plughub POS – PHP Mobile Point of Sale System

Description
Plughub POS System is a fast, mobile-first Point of Sale web application built with PHP (8.1+) and PostgreSQL. It’s designed for real-world retail workflows and works great on phones and tablets—ideal for small shops, groceries, kiosks, restaurants, and multi-branch businesses.
With multi-tenant support, you can manage multiple stores/branches from a single installation. Admins can switch the active tenant, control access by role, and manage users without needing separate deployments for each location.
Demo Credentials:
User: admin
Password: Admin123!
Features
Key Features
- Mobile-first UI (optimized for phones and tablets)
- Multi-tenant system (multiple stores/branches in one app)
- Role-based access control: Admin, Manager, Cashier, Readonly
- Complete POS checkout workflow:
- Cart and totals calculation
- Discounts
- Multiple payment methods
- Receipt/transaction handling
- Change calculation
- Inventory management:
- Products and categories
- Stock adjustments
- Stock movement logging
- Cost/stock tracking
- Sales History:
- Paid orders tracking
- Receipt/transaction lookup
- Reports dashboard:
- Sales and performance summaries
Included Modules
- Login and session-based authentication
- Point of Sale (cart, totals, payments)
- Inventory (products, categories, stock adjustments)
- Sales History (paid orders, receipt/transaction search)
- Reports (summary reporting)
- Tenant Configuration (multi-tenant management)
- User Management (create/manage users by role)
Requirements
Technical Requirements
- PHP 8.1+
- PHP extensions: PDO and pdo_pgsql enabled
- PostgreSQL 13+ (14+ recommended)
- Web server: Apache or Nginx
- Server configuration:
- Document root must point to public/
- Rewrite/route requests to router.php
- Environment configuration via .env file
- Database setup access to run psql scripts (or any PostgreSQL client to import the provided SQL)
User (Business) Requirements
- At least one store/tenant (branch) to operate in the system
- Defined user roles and staff accounts (Admin/Manager/Cashier/Readonly)
- Product catalog setup (products + categories)
- Inventory/stock process (initial stock entry and ongoing adjustments)
- POS workflow readiness:
- Ability to process sales (cart, discounts, payments)
- Receipt/transaction tracking requirement for audits/returns
- Reporting needs (sales/performance summaries)
- Operational/security practices:
- Keep .env and scripts/ not publicly accessible (only expose public/)
- Regular database backups, especially before updates
Instructions
Developer Instructions (Install & Deploy)
- Upload & set web root
- Upload the project to your server.
- Set your web server document root to public/.
- Ensure all requests rewrite to router.php (Apache/Nginx rewrite rule).
- Configure environment
- Copy .env.example to .env
- Update at least: database host, database name, username, password, timezone.
- Create/initialize the PostgreSQL database
- Option A (create role + DB + schema):
- create_db.psql
- Option B (apply schema to an existing DB):
- schema.sql
- Option A (create role + DB + schema):
- Verify installation
- Open the app URL in your browser and go to the login page.
- Check health endpoint: /api/health
- Security notes
- Do not expose .env or scripts/ publicly; only public/ should be accessible.
- Back up your PostgreSQL database before updates.
Regular User Instructions (How to Use the POS)
- Sign in
- Open the system in your browser and log in with your provided username/password.
- (Demo) Username: admin / Password: Admin123!
- Select your store/tenant (if enabled)
- If you have access, switch to the correct store/branch (tenant) before working.
- Set up basics (first-time use)
- Add product categories.
- Add products (name, price, cost, stock info as required).
- Enter starting stock or perform a stock adjustment if needed.
- Make a sale (POS)
- Open Point of Sale.
- Add items to the cart.
- Apply discounts if needed.
- Choose payment method, enter amount received, confirm to complete sale.
- View/print receipt or use the receipt/transaction reference.
- Manage inventory
- Update products when prices change.
- Use stock adjustments to correct stock levels.
- Review stock movement logs when investigating discrepancies.
- Review sales & receipts
- Open Sales History to search paid orders and look up receipts/transactions.
- Reports
- Open Reports to view sales summaries and performance dashboards.
- User roles (what you can access)
- Admin: full access + tenants + users
- Manager: operations, inventory, reporting (depending on setup)
- Cashier: POS and sales lookup
- Readonly: view-only access (reports/history)
| Author | mikeangelofranco |
|---|---|
| Category | Scripts & Code / PHP Scripts / POS |
| Price | $59 |
| Extended License | $177 |
| Likes | 1 |
| First Release | Dec 28, 2025 |
| Last Update | Dec 28, 2025 |
| Files included | .php, .css, .html, JavaScript .js |
Categories
Tags
External listing. code.market does not sell this product and does not process payment for it. Pricing, payment, delivery, licensing, refunds, and support are handled by the third-party merchant on its own website. We may earn an affiliate commission from a referral. Details.
Products of the Week.
Submit🥇
Free LinkedIn Likes From Real Members | LinkedInLikes
Get free LinkedIn likes on your posts from real members who react by hand. No password needed: you only share a link.
Website · 12,847 views · 46 clicksWebsite · Week 49 · 12,847 views · 46 clicks
🥈
Free Medium Claps From Real Writers | MediumPlace
Free Medium claps on your stories from verified accounts of real writers, each given by hand. No bots, no Medium password, nothing to pay. Paste a link.
Website · 7,964 views · 10 clicksWebsite · Week 49 · 7,964 views · 10 clicks
🥉
Free GitHub Stars From Real Developers | GitWow
Get free GitHub stars on your repository from real developers who star by hand. No token or password, and it's free.
Website · 15,624 views · 28 clicksWebsite · Week 49 · 15,624 views · 28 clicks
#4
Free Substack Likes From Real Writers | StackRooms
Free Substack likes on your posts and Notes from verified accounts of real writers, given by hand. Free to ask, free to receive. Just share a link.
Website · 7,784 views · 2 clicksWebsite · Week 49 · 7,784 views · 2 clicks
#5
Free Twitter Likes From Real People | SupaTwitter
Free Twitter likes on your tweets from verified accounts of real people, each given by hand. No bots, no Twitter password, nothing to pay. Paste a link.
Website · 7,679 views · 4 clicksWebsite · Week 49 · 7,679 views · 4 clicks
#6
Free X Likes From Real People, Given by Hand | XFast
Free X likes on your posts from verified accounts of real people, each one given by hand. No bots, no X password, no conditions. Paste a link to start.
Website · 7,591 views · 0 clicksWebsite · Week 49 · 7,591 views · 0 clicks