PHPackages                             nicklaros/pos-ws-server - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. nicklaros/pos-ws-server

ActiveApplication

nicklaros/pos-ws-server
=======================

Websocket backend server for POS

6010PHP

Since Nov 4Pushed 11y ago2 watchersCompare

[ Source](https://github.com/nicklaros/POS-ws-server)[ Packagist](https://packagist.org/packages/nicklaros/pos-ws-server)[ RSS](/packages/nicklaros-pos-ws-server/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependenciesVersions (2)Used By (0)

POS-ws-server
=============

[](#pos-ws-server)

Websocket backend server for Next Gen POS

Demo
----

[](#demo)

site =

user = admin

pass = admin

Requirements
------------

[](#requirements)

- [`Composer`](https://getcomposer.org/)
- [`Memcache`](http://memcached.org/)
- [`Zero MQ`](http://zeromq.org/)
- Httpd server (nginx, apache atau lainnya)
- MariaDB atau MySql
- PHP 5.4 +
- [`Propel ORM`](http://propelorm.org/) \[Optional\]

Frontend Repository
-------------------

[](#frontend-repository)

[`POS - Next Generation Point Of Sale Application`](https://github.com/nicklaros/POS)

Setting Up Project
==================

[](#setting-up-project)

- Clone or fork POS-ws-server to your computer
- Use `composer update` command in POS-ws-server root directory to tell composer to gather required dependencies for you

Running the Server
==================

[](#running-the-server)

Go to POS-ws-server root directory and use the following command

```
$ php bin/server.php
```

Database Scheme
===============

[](#database-scheme)

[Click here to view database scheme](https://github.com/nicklaros/POS-ws-server/blob/master/schema.xml)

Important Information
=====================

[](#important-information)

- By default, POS will try to connect websocket at `ws://pos.localhost:8080`, so that means you have to set your POS development address to `http://pos.localhost` and make sure `port 8080`is open. Edit these two file if you want to change default setting

    - Frontend: `POS/app/fn/Util.js` on `line 19`

        ```
        Ext.ws.Main = POS.fn.WebSocket.create('ws://pos.localhost:8080/POS/Mains');
        ```
    - Backend: `POS-ws-server/bin/server.php` on `line 20`

        ```
        $app = new App('pos.localhost', 8080);
        ```

    Important to note that the address and port on each file above must be identical or the connection will fail!
- Default MySql database configuration:

    - host: "localhost"
    - database: "pos"
    - user: "root"
    - password: "sqlpass"

    Edit these two file if you want to change default setting

    - Frontend: `POS/remote/propel-config.php`
    - Backend: `POS-ws-server/propel-config.php`

###  Health Score

22

—

LowBetter than 22% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity9

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity43

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

### Community

Maintainers

![](https://www.gravatar.com/avatar/0701f06b1f3c84f046930004ada52b06b270c825be3fb294e00fb3f8c0b91f9b?d=identicon)[nicklaros](/maintainers/nicklaros)

---

Top Contributors

[![nicklaros](https://avatars.githubusercontent.com/u/2937466?v=4)](https://github.com/nicklaros "nicklaros (54 commits)")

### Embed Badge

![Health badge](/badges/nicklaros-pos-ws-server/health.svg)

```
[![Health](https://phpackages.com/badges/nicklaros-pos-ws-server/health.svg)](https://phpackages.com/packages/nicklaros-pos-ws-server)
```

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
