How himani018/asset-management-system works
This PHP/MySQL asset-management application lets users sign up or sign in, then manage their organization’s inventory from a dashboard. The dashboard presents asset status and analytics, supports add/edit/delete operations, filtered reports, profile settings, and PDF downloads. Authentication, asset changes, and account updates use PHP handlers backed by MySQL. The README also describes role-based access and tracking hardware, software, and infrastructure. Some handlers and page wiring were not sampled; those relationships are omitted unless the tree, excerpts, or README supports them.
Main entry points: dashboard.php Asset dashboard · dbh.inc.php MySQL database · login.php Login and signup · loginhandler.inc.php Sign-in handler
Components 15
Identity and access
- Login and signup
login.php - Sign-in handler
includes/loginhandler.inc.php - Signup handler
includes/formhandler.inc.php
Asset inventory
- Asset dashboard
dashboard.php - Add asset
includes/asset_add.php - Update asset
includes/asset_update.php - Delete asset
includes/asset_delete.php
Dashboard and reporting
- Dashboard interactions
dashboard.js - Filtered reports
dashboard.php - Asset analytics
dashboard.php - PDF export
dashboard.php
Account settings
- Profile settings
dashboard.php - Update account
includes/change.php
Other components
- User
- MySQL database
includes/dbh.inc.php
Connections 22
- User → Login and signup: opens
login.php - Login and signup → Sign-in handler: submits sign-in
login.php - Login and signup → Signup handler: submits signup
login.php - Sign-in handler → MySQL database: queries users
includes/loginhandler.inc.php - Signup handler → MySQL database: creates user
includes/formhandler.inc.php - Sign-in handler → Asset dashboard: redirects to
includes/loginhandler.inc.php - Signup handler → Asset dashboard: redirects to
includes/formhandler.inc.php - User → Asset dashboard: manages assets
dashboard.php - Asset dashboard → MySQL database: reads assets
dashboard.php - Asset dashboard → Add asset: submits add
dashboard.php - Asset dashboard → Update asset: submits edit
dashboard.php - Asset dashboard → Delete asset: submits delete
dashboard.php - Add asset → MySQL database: writes assets
- Update asset → MySQL database: updates assets
- Delete asset → MySQL database: deletes assets
includes/asset_delete.php - Asset dashboard → Dashboard interactions: uses interactions
- Dashboard interactions → Filtered reports: filters table
dashboard.js - Asset dashboard → Asset analytics: provides chart counts
dashboard.php - Asset dashboard → PDF export: invokes export
dashboard.php - User → Profile settings: views settings
dashboard.php - Profile settings → Update account: submits changes
- Update account → MySQL database: updates user
includes/change.php