The Rental Management System is a comprehensive web-based application designed to streamline rental property management for landlords and tenants in Kenya. The system integrates M-Pesa payment gateway to facilitate automated rent collection, payment verification, maintenance request management, and real-time notifications.
Rental Management System - README
Project Overview
A web-based rental management system with M-Pesa payment integration for landlords and tenants in Kenya.
Quick Installation
Requirements
XAMPP (PHP 7.4+, MySQL 5.7+)
Web browser (Chrome/Firefox)
Installation Steps
Install XAMPP from apachefriends.org
Copy project to C:\xampp\htdocs\rental_system\
Start XAMPP - Apache and MySQL services
Create database via phpMyAdmin:
Name: rental_system
Import database - Import database.sql file
Configure - Update config.php if needed:
php
define('DB_USER', 'root');
define('DB_PASS', '');
define('DB_NAME', 'rental_system');
Create uploads folder in project root
Access application at
localhost
Default Login Credentials
Role Email Password
Landlord admin@rentals.com password
Tenant Register or create via landlord -
Key Features
Landlord
✅ Manage properties (add/edit/delete)
✅ Manage tenants
✅ Verify M-Pesa payments
✅ Process rental applications
✅ Track maintenance requests
✅ View payment reports
Tenant
✅ Browse properties
✅ Apply for properties
✅ Pay rent via M-Pesa
✅ View payment history
✅ Submit maintenance requests
Folder Structure
text
rental_system/
├── config.php # Configuration
├── database.sql # Database schema
├── header.php # Navigation
├── footer.php # Footer
├── index.php # Homepage
├── login.php # Login
├── register.php # Registration
├── dashboard.php # Landlord dashboard
├── tenant-dashboard.php # Tenant dashboard
├── manage-properties.php
├── properties.php
├── tenants.php
├── payments.php
├── verify-payments.php
├── make-payment.php
├── payment-history.php
├── applications.php
├── maintenance.php
├── profile.php
└── uploads/ # Image uploads
Common Issues & Solutions
Problem Solution
Database connection error Check MySQL is running in XAMPP
White screen Enable error reporting in config.php
Image upload fails Create uploads folder with write permis …