How nicoooo-23/apartment-visitor-logger works
AVL is a PHP apartment visitor logging and administration application. Security staff use the visitor workflow to record visits, while administrators authenticate to manage apartments and tenants, review visitor history, and maintain accounts. The dashboard reports occupied apartments and checked-in visitors. The sampled source confirms the database schema and dashboard queries, and apartment management reads and writes tenant/apartment records; other workflow connections are inferred from the README and filenames, so those links are limited to the documented feature boundaries.
Main entry points: db.php Visitor Records · visitor.php Visitor Entry · apartment.php Apartment Management · index.php Home Dashboard
Components 19
Visitor Logging
- Visitor Entry
AVL/visitor.php - Visitor Processing
AVL/process_visitor.php
Administration
- Admin Login
AVL/admin/admin_login.php - Admin Authentication
AVL/admin/process_admin.php - Logout
AVL/admin/logout.php - Apartment Management
AVL/admin/apartment.php - Account Management
AVL/admin/account.php - Account Processing
AVL/admin/process_account.php - Initial Setup
AVL/admin/setup.php - Setup Processing
AVL/admin/process_setup.php
Dashboard And History
- Dashboard
AVL/admin/admin_dashboard.php - Visitor History
AVL/admin/visitor_history.php - Home Dashboard
AVL/index.php
Application Data
- Database Connection And Schema
AVL/includes/db.php - Apartments And Tenants
AVL/includes/db.php - Visitor Records
AVL/includes/db.php - Admin Accounts
AVL/includes/db.php
Other components
- Security Staff
- Administrator
Connections 25
- Security Staff → Visitor Entry: opens
- Visitor Entry → Visitor Processing: submits visit
- Visitor Processing → Visitor Records: records visit
- Visitor Entry → Apartments And Tenants: selects apartment
- Administrator → Admin Login: opens
- Admin Login → Admin Authentication: submits credentials
- Admin Authentication → Admin Accounts: checks account
- Administrator → Apartment Management: manages units
- Apartment Management → Apartments And Tenants: reads and updates
- Apartment Management → Visitor Records: checks visit records
- Administrator → Account Management: maintains account
- Account Management → Account Processing: submits changes
- Account Processing → Admin Accounts: updates account
- Administrator → Dashboard: views
- Dashboard → Apartments And Tenants: counts occupied
- Dashboard → Visitor Records: counts checked in
- Administrator → Visitor History: reviews visits
- Visitor History → Visitor Records: reads history
- Home Dashboard → Apartments And Tenants: counts occupied
- Home Dashboard → Visitor Records: counts checked in
- Administrator → Initial Setup: opens setup
- Initial Setup → Setup Processing: submits setup
- Visitor Entry → Database Connection And Schema: loads connection
- Apartment Management → Database Connection And Schema: loads connection
- Home Dashboard → Database Connection And Schema: loads connection