Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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.
- Host: GitHub
- URL: https://github.com/wilfredpine/pigleth
- Owner: wilfredpine
- License: mit
- Created: 2021-12-08T05:01:48.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2024-04-05T02:45:51.000Z (10 months ago)
- Last Synced: 2024-11-15T10:32:58.160Z (3 months ago)
- Topics: inventory-management-system, object-oriented-programming, oop, pdo, pdo-mysql, php, web
- Language: JavaScript
- Homepage:
- Size: 4.63 MB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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)```