How moneermax/ahl-el-kheir-charity-management-system works
Ahl El Kheir is a procedural PHP charity-management system for staff workflows spanning beneficiaries, sponsorships, finance, HR and administration. The visible entry workflow is login followed by role-based dashboard routing; domain areas then provide operational and reporting capabilities. Shared runtime layers include session/authentication helpers and PDO database access. Most domain files were not excerpted, so the graph preserves the major areas shown in the tree but omits unverified calls between them; edges are limited to relationships visible in excerpts or the source index.
Main entry points: index.php Login and routing · lib.php Accounting · reports/index.php Reports · users/index.php User administration
Components 19
Entry and shared runtime
- Login and routing
index.php - Session and access
config/session.php - Application helpers
config/functions.php - PDO database
config/database.php - Role dashboards
Beneficiary operations
- Families
modules/families/index.php - Sponsors
modules/sponsors/index.php - Sponsorships
modules/sponsorships/index.php
Finance and projects
- Transactions
modules/transactions/index.php - Accounting
modules/accounting/lib.php - Projects
modules/projects/index.php
People and oversight
- Human resources
modules/hr/lib_attendance_policy.php - User administration
modules/users/index.php - Reports
modules/reports/index.php - Global search
modules/search/index.php - Messaging
modules/messages/index.php - Notifications
modules/notifications/index.php - System administration
modules/system/database.php
Other components
- Staff user
Connections 8
- Staff user → Login and routing: signs in
index.php - Login and routing → Session and access: starts session
index.php - Login and routing → PDO database: authenticates with
index.php - Login and routing → Application helpers: loads helpers
index.php - Login and routing → Role dashboards: routes by role
index.php - User administration → Human resources: provisions employee
modules/users/index.php - Accounting → Accounting: uses accounting helpers
modules/accounting/lib.php - Reports → Reports: loads registry
modules/reports/index.php