Skip to content
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.
PHP TSQL JavaScript CSS Shell HTML
Branch: master
Clone or download
Type Name Latest commit message Commit time
Failed to load latest commit information.
.github Update Apr 6, 2018
application Fix warning when opening attribute edit form Aug 11, 2019
bin Try to fix php file copy (#1458) Aug 22, 2017
database docker-compose for nginx reverse proxy and letsencrypt certbot Jun 16, 2019
design Add item attributes functionality (#68) Oct 15, 2018
docker Fix .env issue and add logs as volume Jun 16, 2019
public Remove spurious system_info.php file (security) Jun 15, 2019
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 Disable .gitattributes ident (#2324) Feb 2, 2019
.gitignore docker-compose for nginx reverse proxy and letsencrypt certbot Jun 16, 2019
.htaccess Ignore apache rewrite rule for let's encrypt challenge renewal Feb 1, 2019
.travis.yml Send back to bintray (#2464) Jul 4, 2019
Dockerfile Upgrade PHP to 7.3 Jun 16, 2019 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 minimum supported PHP version Nov 16, 2018
LICENSE Update LICENSE Jun 26, 2019 Update gitter URL link (point to new ospos room) Dec 6, 2018
UPGRADE.txt Preparing 3.2.0 release Dec 24, 2017
WHATS_NEW.txt Release 3.2.3 Jun 13, 2018
bower.json Update to Bootswatch and Bootstrap 3.4.0 Jan 7, 2019
composer.json Bump minimum PHP version in composer Nov 16, 2018
composer.lock Update composer libraries and License file Jun 15, 2019
deployment.json fix typo in url in bintray config May 5, 2019 Update and docker-compose.test Jun 16, 2019
docker-compose.test.yml Update and docker-compose.test Jun 16, 2019
docker-compose.yml Fix .env issue and add logs as volume Jun 16, 2019
import_customers.csv new discount on sales Aug 31, 2018
package.json Update composer libraries and License file Jun 15, 2019
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.6, 7.0, 7.1, 7.2)
  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.
You can’t perform that action at this time.