How kufudemir/apartment-management works
This is a Core PHP apartment and residential-complex management application. Users enter through the role-aware front controller, authenticate, and are sent to admin, accounting, resident, or security screens. From there, the product supports property and resident administration, fee collection and reporting, resident requests and announcements, file and note management, and visitor tracking. The sampled pages show direct PDO access and session-based role checks; several documented capabilities are represented by their existing module paths, but their internal call wiring was not sampled.
Main entry points: login.php Sign in · resident/dashboard.php Resident dashboard · index.php Role router · admin/dashboard.php Admin dashboard
Components 23
Access and sessions
- Role router
index.php - Sign in
auth/login.php - Session and role checks
includes/auth_check.php - PDO connection
config/database.php
Property administration
- Admin dashboard
admin/dashboard.php - Apartment records
modules/apartments/detail.php - User management
modules/users/add.php
Finance and reporting
- Fee management
modules/finance/fees.php - Payment records
modules/finance/payments.php - Bulk payments
accounting/bulk_payment.php - Financial reports
accounting/reports.php
Resident services
- Resident dashboard
resident/dashboard.php - Resident requests
modules/requests/list.php - Announcements
modules/announcements/list.php - File management
modules/files/list.php - Apartment notes
modules/notes/list.php
Building operations
- Security dashboard
security/dashboard.php - Visitor tracking
modules/visitors/list.php - Audit logs
modules/logs/list.php - Fee scheduling
admin/scheduler.php - Monthly fee job
cron/monthly_fees.php
Other components
- User
- MySQL
Connections 26
- User → Role router: opens
- Role router → Sign in: redirects
- Role router → Admin dashboard: routes by role
- Role router → Resident dashboard: routes by role
- Role router → Security dashboard: routes by role
- User → Sign in: submits credentials
- Sign in → MySQL: checks account
- Sign in → Admin dashboard: redirects on success
- Sign in → Resident dashboard: redirects on success
- Sign in → Security dashboard: redirects on success
- Admin dashboard → Session and role checks: checks session and role
- Resident dashboard → Session and role checks: checks session and role
- Security dashboard → Session and role checks: checks session and role
- Session and role checks → PDO connection: loads connection
- PDO connection → MySQL: connects
- Admin dashboard → MySQL: reads dashboard data
- Resident dashboard → MySQL: reads resident data
- Security dashboard → MySQL: updates visitor status
- Apartment records → MySQL: reads apartment and fee data
- User management → MySQL: creates user records
- Fee management → MySQL: creates and reads fees
- Payment records → MySQL: stores payment records
- Financial reports → MySQL: queries financial data
- Resident dashboard → Resident requests: links to requests
- Resident dashboard → Announcements: links to announcements
- Visitor tracking → MySQL: records visitor activity