How ayush-vyas/password-manager works
This is a PHP password manager: users authenticate, reach a dashboard, and manage saved website credentials, with import/export and OTP password recovery also advertised. The dashboard excerpt confirms session gating, reads vault rows, and routes to credential actions. The README describes encrypted storage and MySQL, but the database configuration and several implementation details are absent from the tree or excerpts, so those internals are not inferred. The bundled PHPMailer library supports the shown recovery-email flow; its broader transport internals are represented only where source excerpts establish them.
Main entry points: dashboard.php Vault dashboard · forgot.php Recovery mailer · PHPMailer.php Message composer · login.php Login
Components 18
Access and recovery
- Login
login.php - Registration
register.php - Logout
logout.php - OTP recovery
forgot.php - OTP verification
verify_otp.php
Credential management
- Vault dashboard
dashboard.php - Add credential
add.php - View credential
view.php - Edit credential
edit.php - Delete credential
delete.php - Import credentials
import.php - Export credentials
export.php - MySQL vault
Mail delivery
- Recovery mailer
forgot.php
PHPMailer runtime
- Message composer
PHPMailer-master/src/PHPMailer.php - SMTP transport
PHPMailer-master/src/SMTP.php - Mail exceptions
PHPMailer-master/src/Exception.php
Other components
- User
Connections 20
- User → Login: signs in
README.md - User → Registration: registers
README.md - User → Vault dashboard: manages vault
README.md - Vault dashboard → Login: redirects unauthenticated
dashboard.php - User → OTP recovery: requests reset
README.md - OTP recovery → Recovery mailer: sends OTP
forgot.php - User → OTP verification: submits OTP
- User → Logout: logs out
README.md - Vault dashboard → MySQL vault: reads vault rows
dashboard.php - Vault dashboard → Add credential: links to add
dashboard.php - Vault dashboard → Import credentials: links to import
dashboard.php - Vault dashboard → Export credentials: links to export
dashboard.php - Vault dashboard → View credential: links to view
dashboard.php - Vault dashboard → Edit credential: links to edit
dashboard.php - Vault dashboard → Delete credential: links to delete
dashboard.php - Vault dashboard → MySQL vault: lists credentials
README.md - Recovery mailer → Message composer: creates and sends
forgot.php - Message composer → SMTP transport: uses transport
PHPMailer-master/src/PHPMailer.php - Recovery mailer → Mail exceptions: catches errors
forgot.php - Message composer → Mail exceptions: throws errors
PHPMailer-master/src/PHPMailer.php