Open Source Point of Sale is a web based point of sale system written in PHP language. It uses MySQL (or MariaDB) as the data storage back-end and has a simple user interface. Deployed to a Cloud it can be defined as a SaaS (Software as as Service) type of solution.
The latest version 3.0.0 is a complete overhaul of the original software. It's now based on Bootswatch/Bootstrap 3.x using theme Flatly as default, and still uses CodeIgniter 3.x as framework.
The UI has a fresh look'n'feel with improved functionality and security.
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 be chased up.
If you like the project, and you are making money out of it on a daily basis, then consider buying me a coffee so I can keep adding features.
PHP version 5.5 or newer is recommended but PHP 7.x is not fully supported yet. MySQL 5.5 or 5.6 are fine but MySQL 5.7 is not supported yet.
Since OSPOS 3.0.0 is a version under development, please make sure you always run the latest 2.4_to_3.0.sql database upgrade script. Please DO NOT post issues if you have not done that before running OSPOS 3.0. Please also make sure you have updated all the files from latest master.
Bug reports must follow this schema:
- Ospos version string with git commit hash (see ospos footer)
- OS name and version running your Web Server (e.g. Linux Ubuntu 15.0)
- Web Server name and version (e.g. Apache 2.4)
- Database name and version (e.g. =< MySQL 5.6)
- PHP version (e.g. PHP 5.5)
- Language selected in OSPOS (e.g. English, Spanish)
- Any configuration of OSPOS that you changed
- Exact steps to reproduce the issue (test case)
- 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.
A quick option would be to install directly to Digitalocean using their preconfigured LAMP stack. Create a DO account first, add a droplet with preconfigured LAMP and follow the instructions for Local Install below. You will be running a provisioned VPS within minutes.
If you want to run a quick demo of ospos or run it permanently in the cloud, then we suggest using Docker cloud together with the DigitalOcean hosting platform. This way all the configuration is done automatically and the install will just work.
If you choose DigitalOcean through this link, you will get a $10 credit for a first month of uptime on the platform. A full setup will only take about 2 minutes by following steps below.
- Create a Digitalocean account
- Create a docker cloud account
- Login to docker cloud
- Associate your docker cloud account with your previously created digital ocean account under settings
- Create a new node on DigitalOcean through the
Infrastructure > Nodes
tab. Fill in a name (ospos) and choose a region near to you. We recommend to choose a node with minimum 1G RAM for the whole stack - Click
- Othewise create a new stack under
Applications > Stacks
and paste the contents of docker-cloud.yml from the source repository in the text field and hitCreate and deploy
- Find your website url under
Infrastructure > Nodes > <yournode> > Endpoints > web
- Login with default username/password admin/pointofsale
- DNS name for this server can be easily configured in the DigitalOcean control panel
More info on maintaining a docker install can be found on the wiki
- Create/locate a new mysql database to install open source point of sale into
- Execute the file database/database.sql to create the tables needed
- unzip and upload Open Source Point of Sale files to web server
- Copy application/config/database.php.tmpl to application/config/database.php
- Modify application/config/database.php to connect to your database
- Modify application/config/config.php encryption key with your own
- Go to your point of sale install public dir via the browser
- LOGIN using
- username: admin
- password: pointofsale
- Enjoy
- Oops an issue? Please read the FAQ first thing :-)
P.S.: For more info about a local install based on Raspberry PI please read our wiki
From now on ospos can be deployed using Docker on Linux, Mac or Windows. This setup dramatically reduces the number of possible issues as all setup is now done in a Dockerfile. Docker runs natively on mac and linux, but will require more overhead on windows. Please refer to the docker documentation for instructions on how to set it up on your platform.
To build and run the image, issue following commands in a terminal with docker installed
docker-compose build
docker-compose up
-
If a blank page (HTTP status 500) shows after search completion or receipt generation, then double check php5-gd presence in your php installation. On windows check in php.ini whether the lib is installed. On Ubuntu issue
sudo apt-get install php5-gd
. Also have a look at the Dockerfile for a complete list of recommended packages. -
If sales and receiving views don't show properly, please make sure BCMath lib (php-bcmath) is installed. On windows check php.ini and make sure php_bcmath extension is not commented out
-
If the following error is seen in sales module
Message: Class 'NumberFormatter' not found
then you don't havephp5-intl
extension installed. Please check the wiki to resolve this issue on your platform. -
If you are getting the following error
Message: Can't use method return value in write context
that means that you are probably using PHP7 which is not completely supported yet. Check your hosting configuration to verify whether you have a supported PHP version installed -
If you read errors containing messages with Socket word in it, please make sure you have installed PHP Sockets support (e.g. go to PHP.ini and make sure all the needed modules are not commented out. This means php5-gd, php-intl and php-sockets. Restart the web server)
-
If you get various errors at item creation, opening views or reports, or having issues at login please make sure you are not using MySQL5.7 as it's not supported yet
-
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
andif 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.