Open Source Point of Sale is a web based point of sale application written in PHP using CodeIgniter framework. It uses MySQL as the data back end and has a Bootstrap 3 based user interface.
Clone or download
Failed to load latest commit information.
.github Update Apr 6, 2018
application Fix language fallback (#2148) Sep 23, 2018
bin Try to fix php file copy (#1458) Aug 22, 2017
database Migration script fixes Sep 16, 2018
design Add ERD for sales diagram (for wiki page) Jan 29, 2017
public update invoice_email.css typo (#2146) Sep 19, 2018
test merging Jun 10, 2016
.bowerrc Change project layout for composer (#624) Aug 18, 2016
.dockerignore Add database.php to docker image (#1297) Jun 13, 2017
.gitattributes Reorder inlined javascript Aug 28, 2016
.gitignore Update .gitignore, add generated database scripts May 30, 2018
.htaccess Update to #1491 Sep 5, 2017
.travis.yml Remove docker-cloud + stop pushing sqlscript (#2120, #1939) Sep 6, 2018
Dockerfile Update Dockerfile + CI 3.1.8 Apr 5, 2018 Use master docker image for dev environment Oct 19, 2016
Dockerfile.test Make travis build regular dockerFile directly (#616) Jun 15, 2016
Gruntfile.js Add table sticky header (#1610) Dec 2, 2017 Update cloud install instructions Jun 17, 2018
LICENSE update LICENSE Aug 21, 2018 Add credits Sep 5, 2018
UPGRADE.txt Preparing 3.2.0 release Dec 24, 2017
WHATS_NEW.txt Release 3.2.3 Jun 13, 2018
bower.json Discount on Sales Aug 20, 2018
composer.json Remove the "crap" (#1875) Mar 4, 2018
composer.lock Minor fixes Sep 8, 2018
deployment.json Bump version to 3.3.0 for next phase Jun 13, 2018 Bump Mysql version in docker dev container (#630, #591) Feb 1, 2017
docker-compose.test.yml Move init sql to data only container (#616) Jul 7, 2016
docker-compose.yml Add (commented out) phpmyadmin to docker-compose Sep 9, 2018
import_customers.csv new discount on sales Aug 31, 2018
import_items.csv Replace UPC/EAN/ISBN with Barcode label (#1370) Jul 2, 2017
package.json Bump version to 3.3.0 for next phase Jun 13, 2018
robots.txt Add robots.txt directive file to avoid scanning of web bots Aug 6, 2017

Download Build Status Join the chat at devDependency Status GitHub version Translation status


Open Source Point of Sale is a web based point of sale system. The main features are:

  • Stock management (Items and Kits)
  • VAT, customer and multi tiers taxation
  • Sale register with transactions logging
  • Quotation and invoicing
  • Expenses logging
  • Receipt and invoice printing and/or emailing
  • Barcode generation and printing
  • Suppliers and Customers database
  • Multiuser with permission control
  • Reporting on sales, orders, expenses, inventory status
  • Receivings
  • Giftcard
  • Rewards
  • Restaurant tables
  • Messaging (SMS)
  • Multilanguage
  • Selectable Boostrap (Bootswatch) based UI theme
  • Mailchimp integration
  • reCAPTCHA to protect login page from brute force attacks
  • GDPR ready

The software is written in PHP language, it uses MySQL (or MariaDB) as data storage back-end and has a simple but intuitive user interface.

The latest 3.x version is a complete overhaul of the original software. It is now based on Bootstrap 3 using Bootswatch themes, and still uses CodeIgniter 3 as framework. It also has improved functionality and security.

Deployed to a Cloud it's a SaaS (Software as a Service) solution.


A demo version of the latest master version can be found on our Demo server. This is a containerized install which will be reinitialized when new functionality is added to the code repository.

LOGIN using

  • username: admin
  • password: pointofsale


Please refrain from creating issues about installation issues before reading the FAQ and going through existing github issues. We have a build pipeline that checks the sanity of our latest repository commit and in case the application itself is broken then our build will be as well.

This application can be setup in many different ways and we only support the ones described in the INSTALL file linked below.

Read the in our repository.


Open Source Point of Sale is licensed under MIT terms with an important addition:

The footer signature "You are using Open Source Point Of Sale" with version, hash and link to the original distribution of the code MUST BE RETAINED, MUST BE VISIBLE IN EVERY PAGE and CANNOT BE MODIFIED.

Also worth noting:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

For more details please read the file LICENSE.

It's important to understand that althought you are free to use the software the copyright stays and the license agreement applies in all cases. Therefore any actions like:

  • Removing LICENSE and any license files is prohibited
  • Authoring the footer notice replacing it with your own or even worse claiming the copyright is absolutely prohibited
  • Claiming full ownership of the code is prohibited

In short you are free to use the software but you cannot claim any property on it.

Any person or company found breaching the license agreement will have a bunch of monkeys at the door ready to destroy their servers.

Keep the Machine Running

If you like the project, and you are making money out of it in some form, then consider buying us a coffee so we can keep adding features.


Language Translations

To help us with OSPOS translations please use Weblate website here and sign up. After registering you can subscribe to different languages and you will be notified once a new translation is added.

Please also read the wiki page here to find our Translations Guideline.

Only with the help of the community we can keep language translations up to date.

Reporting Bugs

If you are taking a release candidate code please make sure you always run the latest database upgrade script and you took the latest code from master. Please DO NOT post issues if you have not done those step.

Bug reports must follow this schema:

  1. Ospos version string with git commit hash (see ospos footer)
  2. OS name and version running your Web Server (e.g. CentOS 6.9, Ubuntu 16.4, Windows 10)
  3. Web Server name and version (e.g. Apache 2.2, Apache 2.4, Nginx 1.12, Nginx 1.13)
  4. Database name and version (e.g. MySQL 5.5, MySQL 5.6, MySQL 5.7, MariaDB 10.0, MariaDB 10.1, MariaDB 10.2)
  5. PHP version (e.g. 5.5, 5.6, 7.0, 7.1)
  6. Language selected in OSPOS (e.g. English, Spanish)
  7. Any configuration of OSPOS that you changed
  8. Exact steps to reproduce the issue (test case)
  9. Optionally some screenshots to illustrate each step

If above information is not provided in full, your issue will be tagged as pending. If missing information is not provided within a week we will close your issue.


  • If you are seeing the message system folder missing, then you have cloned the source using git and you need to run a build first. Check for instructions or download latest zip file from bintray instead.

  • If at login time you read "The installation is not correct, check your php.ini file.", please check the error_log in public folder to understand what's wrong and make sure you read the To know how to enable error_log, please read the comment in issue 1770.

  • If you installed your OSPOS under a web server subdir, please edit public/.htaccess and go to the lines with comment if in web root and if in subdir comment above line, uncomment below one and replace <OSPOS path> with your path and follow the instruction on the second comment line. If you face more issues please read issue #920 for more help.

  • Apache server configurations are SysAdmin issues and not strictly related to OSPOS. Please make sure you first can show a "hello world" html page before pointing to OSPOS public directory. Make sure .htaccess is correctly configured.

  • If the avatar pictures are not shown in Items or at Item save time you get an error, please make sure your public and subdirs are assigned to the correct owner and the access permission is set to 755.

  • If you install ospos in docker behind a proxy that performs ssloffloading, you can enable the url generated to be https instead of http, by activating the environment variable FORCE_HTTPS = 1.

  • If you have suhosin installed and face an issue with CSRF, please make sure you read issue #1492.


JetBrains Travis CI
IntelliJ IDEA Travis CI
Many thanks to JetBrains for providing a free license of IntelliJ IDEA to kindly support the development of OSPOS Many thanks to Travis CI for providing a free continuous integration service for open source projects.