Download the PHP package mage2kishan/module-mage-pos without Composer

On this page you can find all versions of the php package mage2kishan/module-mage-pos. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package module-mage-pos

Panth MagePos — Free Open-Source Point of Sale (POS) for Magento 2 | Hyvä + Luma

Magento 2.4.x PHP 8.1 - 8.4 Packagist Hyva Compatible Luma Compatible

Panth MagePos is a free, open-source (MIT-licensed) point of sale extension for Magento 2 (Adobe Commerce and Magento Open Source). It adds a standalone, touch-friendly POS terminal at /pos that is fully theme-independent — pixel-identical on Hyvä, Luma, or any custom theme. It sells your real Magento catalog (all product types, including configurable, grouped, bundle, and custom options) at server-accurate Magento prices, supports cashier roles with PIN unlock, register sessions with X/Z reports, barcode scanning, split payments, 80 mm receipts, refunds, full offline mode with order sync, and a drag-and-drop customizable layout — and every POS sale is a real Magento order.

Panth MagePos turns any Magento 2 store into a retail counter without SaaS subscriptions, middleware, or product sync jobs. The terminal talks directly to your live catalog, customers, inventory (MSI-aware), and order pipeline — every sale lands instantly in sales_order as a normal order with native invoices, tax, credit memos, and reporting. Admins manage registers, POS users, roles, payment methods, quick keys, and reports from a dedicated backend section, and the native Sales Order grid gains POS register and cashier columns.

It is 100% free and open source under the MIT license — no paid tiers, no locked features, no license keys. Contributions, bug reports, and feature requests are welcome.


Table of Contents


Why Panth MagePos

Most Magento POS solutions are SaaS bridges: a separate cloud product, a separate product database, monthly fees, and a sync job that breaks at 2 a.m. before your busiest Saturday. Panth MagePos is native and free — the terminal runs inside your Magento installation, sells your real catalog at your real prices, and every sale lands instantly as a normal Magento order.


Screenshots

Cashier login Workspace — light "Paper" theme
Workspace — dark "Ink Console" theme Configurable product option selection
Cart with line items and totals Quick keys
Drag-and-drop layout editor Same terminal running on Luma

Key Features

🖥️ Standalone Theme-Independent POS Terminal

🔐 Cashier Authentication, PIN Lock & Roles

🧾 Register Sessions & Cash Management (X / Z Reports)

📦 Catalog, Barcode Scanning & Quick Keys

🧩 All Product Types with Server-Accurate Magento Pricing

Panth MagePos sells every Magento product type, not just simples:

Selected options are shown in the cart and on the receipt, so cashiers and customers always see exactly what was sold.

Pricing is server-accurate: every cart is a real Magento quote, so catalog price rules, cart price rules, coupon codes, tier prices, customer group prices, special prices, and tax are all honored exactly as on your storefront. All money math happens server-side — the terminal only displays.

🛒 Cart: Multi-Cart Tabs, Hold/Retrieve, Discounts & Custom Lines

💳 Payments — Cash, Offline, Online & Split

🧾 Receipts: 80 mm Print, Email, Reprint

↩️ Refunds & Returns

📴 Offline Mode

🎨 Fully Customizable UI: Drag, Resize, Themes

🗂️ Full Admin Backend

🛡️ Engineering Quality


Compatibility

Requirement Versions Supported
Magento Open Source (CE) 2.4.x (2.4.4 – 2.4.8)
Adobe Commerce (EE) 2.4.x (2.4.4 – 2.4.8)
Adobe Commerce Cloud 2.4.x
PHP 8.1, 8.2, 8.3, 8.4
MySQL / MariaDB 8.0+ / 10.4+
Hyvä Theme All versions (terminal is theme-independent)
Luma Theme Native support
Any custom theme Yes — the terminal renders outside the theme layout
MSI (Multi-Source Inventory) Fully supported, with non-MSI fallback
Required dependency mage2kishan/module-core (installed automatically by Composer)

Recommended hardware: any tablet or desktop with a modern browser (Chrome / Edge / Safari), an optional USB/Bluetooth keyboard-wedge barcode scanner, and any browser-printable receipt printer (80 mm thermal recommended). No proprietary hardware required.


Installation

Composer (Recommended)

The required dependency mage2kishan/module-core is installed automatically by Composer.

Verify Installation

Then open the terminal at:

and the admin backend at Admin → Point of Sale (MagePos).


Getting Started

A first sale at Acme Store in five minutes:

  1. Activate the seeded POS admin user. For security the module never ships a working login — the seeded admin POS user is created disabled with unrecoverable random password/PIN hashes. Go to Admin → Point of Sale (MagePos) → POS Users, edit admin, set a strong password and a PIN, and switch Status to Enabled.
  2. Create your registers and cashiers. Add a register per till under Registers (e.g. "Front Counter", code front, bound to a store view). Create one POS user per cashier under POS Users and assign them the Cashier role (10% discount cap, no refunds) — never share logins.
  3. Open the terminal. On the till device, browse to https://example.com/pos, log in as the cashier, pick the register, and open a session with the opening float (e.g. 200.00).
  4. Ring a sale. Scan a barcode, tap a quick key, or search example-product — configurable/bundle/grouped products open an option picker. Attach a customer for group pricing, or sell as guest.
  5. Take payment. Hit Charge, choose Cash (change is calculated automatically), an offline method like Card, an online payment link with QR, or split across several methods.
  6. Hand over the receipt. Print to the 80 mm thermal printer, email it (e.g. to [email protected]), or reprint later.

The sale appears immediately under Admin → Sales → Orders with POS register and cashier columns. For the full cashier walkthrough see USER_GUIDE.md.


Configuration

All settings live under Stores → Configuration → Panth → Point of Sale (MagePos):

Section Highlights
General Enable module, idle-lock minutes (default 5), default register
Catalog Barcode attribute (default sku), search page size, show out-of-stock, offline catalog limit (default 2000)
Customer Guest email (e.g. [email protected]), default customer group
Custom Product Placeholder SKU (pos-custom-sale), default tax class
Checkout Order note prefix, auto-invoice offline payments, require open session
Receipt Logo, header/footer (per-register overrides), tax breakdown, auto-email
Offline Enable offline mode
Session Auto-close hours (default 24)

Registers, POS users, roles, payment methods, and quick keys are managed in their own admin grids under the Point of Sale (MagePos) menu — not in system configuration.


Roles & Permissions

Each POS role defines (all enforced server-side):

Permission Controls
max_discount_percent Ceiling for every discount/override path (0–100)
can_price_override Direct line-price editing
can_refund Order search + credit memo refunds
can_open_close Opening/closing register sessions
can_cash_inout Cash in / cash out movements
can_custom_product Ad-hoc custom sale lines
can_edit_layout Layout editor access
can_view_reports X report / session reports in the terminal

Seeded roles: Administrator (everything, 100%) and Cashier (10% cap, no refunds, no overrides) — duplicate and adjust to fit your floor. If a cashier with a 10% cap tries a 15% discount, the server rejects it regardless of what the UI sends.


Extending Payments (Developers)

Wire a real gateway behind any online method by implementing Panth\MagePos\Api\PaymentProcessorInterface:

Register it in your module's etc/di.xml:

Repository interfaces (Panth\MagePos\Api\*RepositoryInterface) are available for every POS entity (registers, sessions, users, roles, payment methods, orders, quick keys, holds, preferences) for programmatic access.


FAQ

Is this Magento POS free?

Yes. Panth MagePos is completely free and open source under the MIT license. There are no paid tiers, license keys, per-register fees, or locked features. You can use, modify, and redistribute it, including commercially.

Does it work with Hyvä?

Yes — and with Luma, and with any custom theme. The terminal is a standalone single-page app rendered outside the theme layout, so it is pixel-identical on every theme. No jQuery, no mage/*, no Tailwind dependency.

Is every POS sale a real Magento order?

Yes. Sales go through Magento's native quote → order pipeline, so invoices, credit memos, tax calculation, stock deduction, and all reporting/ERP integrations work unchanged. POS metadata (register, cashier, receipt number, payment split) is stored alongside, and the Sales Order grid shows POS register and cashier columns.

Does it support configurable, bundle, and grouped products?

Yes — all Magento product types are supported: simple, configurable (variant picker), grouped (per-product quantities), bundle (full option selection with live price recalculation), and products with custom options. The selected options are shown in the cart and printed on the receipt.

How are discounts and price rules calculated?

Server-side, by Magento itself. Every POS cart is a real Magento quote, so catalog price rules, cart price rules, coupon codes, tier prices, customer group prices, special prices, and tax are honored exactly as on your storefront. POS-specific discounts (cart %, line %, fixed, price override) are applied on top and capped by the cashier's role limit — enforced on the server, never trusted to the browser.

Can it work offline?

Yes. With offline mode enabled, the terminal caches a catalog snapshot in IndexedDB and keeps searching and selling (cash and offline payment methods) when the network drops. Completed sales queue locally and sync automatically on reconnect, deduplicated by a client UUID so an order can never be created twice.

Does it handle split payments?

Yes. Any number of payment methods can be combined on one sale — for example half cash and half card. Cash rows may exceed the remaining balance (the difference becomes change); all other rows must sum exactly to the total. Every payment row is stored per order and printed on the receipt.

Is it touch-screen friendly?

Yes. The terminal is touch-first: large targets (44 px minimum), numeric keypads for quantities, prices, and tendered amounts, and a tablet-landscape-primary layout that remains responsive down to phones.

Does it support barcode scanning?

Yes, two ways: keyboard-wedge USB/Bluetooth scanners work with zero setup, and camera scanning is available where the browser supports the BarcodeDetector API. The barcode attribute is configurable (default sku).

Can cashiers have different permissions?

Yes — that is exactly what roles are for. Each role carries a maximum discount percentage plus yes/no flags for refunds, price overrides, session open/close, cash in/out, custom products, layout editing, and reports. All checks are enforced server-side.

How do refunds work?

Search the order by increment ID or email (or browse recent POS orders), select items and quantities, and the refund total is computed server-side with the same math as a Magento credit memo — so discounts and tax are exact. Choose the refund payment split, optionally restock (MSI-aware), give a reason, and a real credit memo is created together with the matching cash-drawer movement.

What hardware do I need?

Any tablet or desktop with a modern browser (Chrome, Edge, Safari). Receipts print through the normal browser print dialog, so any printer works — an 80 mm thermal printer is recommended. Barcode scanners are optional. No proprietary or vendor-locked hardware is required.

Does it work with MSI (Multi-Source Inventory)?

Yes. Product salability and salable quantities are resolved per stock via MSI, composite products use type-correct salability, and refund restock returns quantity to the correct source. When MSI is disabled, the module falls back to legacy stock handling automatically.

Can I run multiple registers or multiple stores?

Yes. Create one register per till, each bound to a store view. Quick keys can be global or per register, receipt header/footer can be overridden per register, and sessions, cash, and reports are tracked per register.

Are there default login credentials?

No — by design. The seeded admin POS user is created disabled with random, unrecoverable password/PIN hashes, so a fresh installation cannot be logged into by anyone. You set your own password/PIN and enable the account in the admin panel before first use.

Can I take integrated card payments?

Out of the box, use an offline method ("Card") with a required reference field — the cashier charges your existing card terminal and records the approval code. For integrated processing, implement PaymentProcessorInterface (see Extending Payments) or use an online payment-link/QR method.


Contributing

Panth MagePos is community-friendly. Contributions of all kinds are welcome:


Author & Credits

Built and maintained by Kishan Savaliyakishansavaliya.com — a Top Rated Plus Magento developer on Upwork with 10+ years of eCommerce experience, and Panth Infotech, a Magento 2 development agency specialising in high-quality, security-focused extensions and themes for Hyvä and Luma storefronts.

Channel Link
Website kishansavaliya.com
GitHub github.com/mage2sk/module-mage-pos
Packagist packagist.org/packages/mage2kishan/module-mage-pos
Email [email protected]
Upwork (Top Rated Plus) Hire Kishan Savaliya
Upwork Agency Panth Infotech

Need custom POS hardware integrations, payment gateway processors, Hyvä theme development, or Magento performance work? Get a free quote — reply within 24 hours.


License

Panth MagePos is open-source software licensed under the MIT License.

Copyright (c) Kishan Savaliya (Panth Infotech). You are free to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the software, subject to the MIT license terms.


SEO Keywords: magento 2 pos, magento 2 point of sale, magento point of sale extension, magento pos open source, free magento 2 pos, magento 2 pos extension mit, magento 2 pos system, panth magepos, magento 2 cash register, magento 2 retail pos, magento 2 pos terminal, magento 2 in-store sales, magento 2 barcode pos, magento 2 barcode scanner, magento 2 quick keys pos, magento 2 register session, magento 2 x report, magento 2 z report, magento 2 cash management, magento 2 cash drawer, magento 2 pos discount, magento 2 price override, magento 2 split payment, magento 2 split tender, magento 2 pos cash payment, magento 2 pos card payment, magento 2 payment link qr, magento 2 custom sale line, magento 2 pos refund, magento 2 pos credit memo, magento 2 pos receipt, magento 2 80mm receipt, magento 2 thermal printer receipt, magento 2 email receipt, magento 2 offline pos, magento 2 pos offline mode, magento 2 indexeddb pos, magento 2 pos order sync, magento 2 pos hold cart, magento 2 multi cart pos, magento 2 pos pin lock, magento 2 cashier roles, magento 2 pos permissions, magento 2 pos reports, magento 2 pos layout editor, magento 2 touch pos, magento 2 tablet pos, magento 2 configurable product pos, magento 2 bundle product pos, magento 2 msi pos, hyva pos, hyva point of sale, luma pos, magento 2.4.8 pos, magento 2.4.7 pos, php 8.4 pos, mage2kishan, mage2sk, kishan savaliya pos, panth infotech extension, magento 2 omnichannel, magento 2 brick and mortar, adobe commerce pos, free pos for magento


All versions of module-mage-pos with dependencies

PHP Build Version
Package Version
Requires php Version ~8.1.0||~8.2.0||~8.3.0||~8.4.0
magento/framework Version ^103.0
magento/module-sales Version ^103.0
magento/module-quote Version ^101.2
magento/module-catalog Version ^104.0
magento/module-customer Version ^103.0
magento/module-payment Version ^100.4
magento/module-backend Version ^102.0
magento/module-ui Version ^101.2
mage2kishan/module-core Version ^1.0
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package mage2kishan/module-mage-pos contains the following files

Loading the files please wait ...