SafeNet
Full-stack PHP web app with custom MVC architecture — user authentication, role-based access, and a structured controllers/models/views layout.
PHPCSSJavaScriptMySQL
Role
Full-Stack Developer
Team
Solo
Duration
University project
Category
Web App
Links
Impact
Architecture
Custom MVC
Auth
From scratch
Problem
Building a secure web application from first principles — no framework scaffolding, just raw PHP with proper separation of concerns and auth.
Solution
Implemented a custom MVC framework in PHP with authentication, role-based access control, and a clean separation of controllers, models, and views.
Objectives
- Understand MVC from the ground up without relying on a framework
- Implement authentication and access control manually
Key Features
- Custom PHP MVC architecture (no framework)
- User authentication with session management
- Role-based access control
- Structured controllers, models, and views
Architecture
- Custom PHP router with controller dispatch
- Model layer interacting with MySQL via PDO
- Vanilla JS and CSS on the frontend
Challenges
- Building a router and dispatcher without a framework
- Handling auth state securely across pages
Learnings
- How MVC frameworks abstract routing and dispatch under the hood
- Session-based auth fundamentals