Cobra is a PHP-based debt collection and account management system. It provides tools for managing agents, clients, payments, reports, and more, with a focus on administrative workflows and productivity tracking.
- User authentication and session management
- Agent and client management
- Payment and account status tracking
- Bulk operations for payments and account activation
- Productivity and timesheet reporting
- Administrative dashboards and tools
- Responsive and accessible UI using Bootstrap
- Backend: PHP 8.x, PDO (MySQL)
- Frontend: Plain PHP views, Bootstrap 5 (served locally), Flatpickr (for date pickers)
- Testing: PHPUnit
- Other: Composer for dependency management
├── classes/ # PHP classes (business logic, models)
├── css/ # Local CSS assets (Bootstrap, custom styles)
├── js/ # Local JS assets (Bootstrap, Flatpickr, custom scripts)
├── tests/ # PHPUnit test cases
├── views/ # PHP view templates
├── vendor/ # Composer dependencies
├── index.php # Main entry point
├── composer.json # Composer configuration
├── phpunit.xml # PHPUnit configuration
└── ... # Other scripts and resources
- Clone the repository:
git clone <repo-url> cd cobra_rbm
- Install dependencies:
php composer.phar install
- Configure the database:
- Create a MySQL database and user with appropriate privileges.
- Update your environment variables or
ConfigObject.php
for DB credentials.
- Set up local assets:
- Download Bootstrap and Flatpickr and place them in
css/
andjs/
respectively.
- Download Bootstrap and Flatpickr and place them in
- Configure web server:
- Point your web server's document root to this directory.
Run all PHPUnit tests:
php composer.phar vendor/bin/phpunit tests
- Do not expose sensitive files (e.g.,
.env
,composer.lock
) in production. - Use secure passwords and HTTPS in production environments.
© GMBS Consulting 2025. All rights reserved.
For questions or support, contact the project maintainer.