Online Inventory Management Software – V2 – PHP

Online Inventory Management Software will help you to manage your product stock in manageable way. This system is a second version and more advance than previous. This system is built on CodeIgniter with proper management of users, groups, brand, stores, product, orders and reports. You can create as many users as you want and assigned them with required modules. The system features are listed below section. In addition, We will also teach you how to install the system successfully.

This system can be also used for small business. It is free web based inventory management software. This system is based on the store inventory system. The products are controlled by the store.

System Features

  • Admin
  • email:
  • password: password

System Features

  • Manage Users
    • Add new user detail
    • View, Update, and remove user information
  • Manage Groups
    • Add new group information
    • View, Update, and remove group information
  • Manage Brands
    • Add new brand data
    • View, Update, and remove brand information
  • Manage Category
    • Add new category information
    • View, Update, and remove category information
  • Manage Stores
    • Add new store information
    • View, Update, and remove stores information
  • Manage Attributes
    • Add new attribute information
    • View, Update, and remove attributes information
  • Manage Products
    • Add new product information
    • View, Update, and remove products information
  • Manage Orders
    • Add new order information
    • View, Update, and remove orders information
  • Reports
    • View total amount of sales represented on the graphical chart based on yearly.
  • Company
    • Update the company information
    • That includes company name, address, phone, message, vat charge, service charge and more..
  • Profile
    • View the logged in user information
  • Setting
    • View, and Update logged in user information

Installation guidelines

First download the source code and database from the link that I had been provided at below section. Please download them it’s free to download.

After you have downloaded the source code. If you don’t MySQL or XAMPP (Windows), MAMP (MacOS) on your operating system then please download them.

Now, create the database named as stock, and import database script which has been provided to you.

So If your database is installed successfully copy the downloaded source code into the htdocs file which is located in MAMP or XAMPP directory.

After you have copied the file into that folder go to the stock/application/config/config.php. There you will see site_url which is global array. Change that localhost:8888 into your suitable port no. For example if you have localhost:8080 then changed it into that port no.

$config['base_url'] = 'http://localhost:8888/stock';

Go to the applications >> config >> database.php file and check if the created database name matches. As well as, If you have different database user’s username and password on your system then you will need to change the username and password.


$db['default'] = array(
	'dsn'	=> '',
	'hostname' => 'localhost',
	'username' => 'root',
	'password' => 'root',
	'database' => 'stock',
	'dbdriver' => 'mysqli',
	'dbprefix' => '',
	'pconnect' => FALSE,
	'db_debug' => (ENVIRONMENT !== 'production'),
	'cache_on' => FALSE,
	'cachedir' => '',
	'char_set' => 'utf8',
	'dbcollat' => 'utf8_general_ci',
	'swap_pre' => '',
	'encrypt' => FALSE,
	'compress' => FALSE,
	'stricton' => FALSE,
	'failover' => array(),
	'save_queries' => TRUE

This is a final step, After you have successfully installed and configure the main file. Open the chrome browser and type localhost:8888 or any port no that your apache server supports. After that the page should redirect you to the login page. Please enter the credential that has been provided at above page section.

I hope this helps you alot. Thank you

For Source Code:

For Database :

System Features

Installation guidelines

28 thoughts on “Online Inventory Management Software – V2 – PHP

  1. i cant run stock system

    404 Page Not Found
    The page you requested was not found
    i changed the port
    to 80 even i remove the port but still not running
    $config[‘base_url’] = ‘http://localhost/stock/’;

  2. I am going to use this system but the problem is i want to change service charge value and vat charge value.Can anyone please help me

    1. I can’t go to the dashboard.. First it was localhost/stock, then when I pressed sign in, then showing
      404 Page Not Found

      The page you requested was not found.

  3. I thank you for the free Share.i am unable to reach dashbord when logging in i AM redirected to 404 error page and the adress Link Points towards auth/ can i overcome this issue? Thank you

  4. can I use this to my shared host server? please help me and send me guide how to use it. I have linux shared server in

  5. I can’t go to the dashboard.. First it was localhost/stock, then when I pressed sign in, then showing
    404 Page Not Found

    The page you requested was not found.

  6. To correct the 404 error,
    try replacing
    RewriteRule ^(.*)$ index.php/$1 [L,QSA]
    RewriteRule ^(.*)$ index.php?/$1 [L,QSA]
    in .htaccess file.

    It worked for me.

  7. Hi All,


    Those having 404 Page Not Found issues, attention … follow the details below:

    Find the section and change AllowOverride None to AllowOverride All

    AllowOverride All

    Save and exit.

    Now restart Apache to put the change into effect:
    sudo systemctl restart httpd

    This should solve your issues.


  8. please help me.
    this is the error.
    how can i solve it?

    A PHP Error was encountered

    Severity: Warning

    Message: mysqli::real_connect(): (HY000/1045): Access denied for user ‘kawsar’@’localhost’ (using password: YES)

    Filename: mysqli/mysqli_driver.php

    Line Number: 201


    File: C:\xampp\htdocs\stock\application\core\MY_Controller.php
    Line: 7
    Function: __construct

    File: C:\xampp\htdocs\stock\application\core\MY_Controller.php
    Line: 17
    Function: __construct

    File: C:\xampp\htdocs\stock\application\controllers\Auth.php
    Line: 10
    Function: __construct

    File: C:\xampp\htdocs\stock\index.php
    Line: 315
    Function: require_once

    A Database Error Occurred

    Unable to connect to your database server using the provided settings.

    Filename: C:/xampp/htdocs/stock/system/database/DB_driver.php

    Line Number: 436

  9. my .htaccess in application folder doesnot contain this RewriteRule ^(.*)$ index.php/$1 [L,QSA].
    what to do?

  10. Hello sir please how can i fix this error message, i have change the config file

    $config[‘base_url’] = ‘http://localhost:8888/stock/’;

    to $config[‘base_url’] = ‘http://localhost:80/stock/’;

    but this is the error message:
    Internal Server Error
    the server encountered an internal error or misconfiguration and was unable to complete your request

    404 Page Not Found
    The page you requested was not found
    i changed the port
    to 80 even i remove the port but still not running
    $config[‘base_url’] = ‘http://localhost/stock/’;

  11. Hi Sir,

    What is the exact XAMPP version will work for this project? It’s failing to run with version XAMPP 7.2.3 / PHP 7.2.3.

  12. Hello dear developer,

    The system works fine, but the password of user, I can not change it. After Save nothing to change. In the Password input the characters is not hidden!

  13. Hey bro tnxx for code … but i have some problem … do any one have solution for this ?

    Fatal error: Can’t use method return value in write context in C:\xampp\htdocs\stock\application\core\MY_Controller.php on line 20

    Fatal error: Class declarations may not be nested in C:\xampp\htdocs\stock\system\core\Exceptions.php on line 49

  14. hi sir
    i have change what need but doesn’t access the file ,browser has show this error….please help this solution.
    You don’t have permission to access the requested object. It is either read-protected or not readable by the server.

    If you think this is a server error, please contact the webmaster.

    Error 403
    Apache/2.4.23 (Win32) OpenSSL/1.0.2h PHP/5.6.24″”””

  15. Hello
    sir I do every thing you said ..
    but when I login see 404 Page Not Found where is the problem
    please help any suggestion for this solution.


Leave a Reply

Your email address will not be published. Required fields are marked *