Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/wilfredpine/pigleth

Livestock Sales & Inventory - A simple web project about Sales & Inventory Management System of Piggery Farm using enhanced object-oriented programming (OOP) approach.
https://github.com/wilfredpine/pigleth

inventory-management-system object-oriented-programming oop pdo pdo-mysql php web

Last synced: 18 days ago
JSON representation

Livestock Sales & Inventory - A simple web project about Sales & Inventory Management System of Piggery Farm using enhanced object-oriented programming (OOP) approach.

Awesome Lists containing this project

README

        

# PHP-OOP-Enhanced

### Sample project
- Pig Sales & Inventory

### PHP Version

PHP 7.0 - PHP 7.4 (recomended)

### How to setup?
- just edit core.php file

```php

/**
* To hide the error when in production
* set to 1 if you're on development - e.g. ini_set('display_errors', 1);
* and 0 in production - e.g. ini_set('display_errors', 0);
*/
ini_set('display_errors', 1);

/**
* Database Information
*/
define('DBHOST','localhost');
define('DBNAME','baboy');
define('DBUSER','root');
define('DBPASS','');
define('CHARSET','utf8');
define('DBPORT',':3306');

/**
* Bas URL
*/
define('BASE_URL','http://localhost/pigs/'); // change it if you use it online (or uploaded to hosting server)

```