This document defines how this project is maintained, upgraded, and secured.
- PHP 8.2+ (backend)
- MySQL/MariaDB (database)
- Tailwind CSS + Alpine.js (frontend)
- No external API dependencies
- Never commit
.env,config.phpwith real credentials, or database dumps - All user input must be sanitized (see
security.php) - CSRF tokens required on all POST forms
- Session-based auth, passwords hashed with
password_hash()
- Create new page in
pages/ - Add route to
$allowedPagesinindex.php - Add menu item in sidebar nav
- Update database schema in
setup.phpif needed - Run
php -lon all modified files before committing
- GitHub Actions runs PHP lint on every push
- Secrets scanning on every push
- No automated deployment (manual FTP/cPanel deploy)
- Issues: https://github.com/dicksonmaina/poultry-farm-system/issues
- Docs: See
README.md