Skip to content

prateekbhujel/mvc

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

82 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Simple PHP MVC Framework

Overview

This is a straightforward Model-View-Controller (MVC) framework for PHP, created for educational purposes to help you grasp essential concepts of object-oriented programming and MVC architecture.

Features

  • Login and Signup: User authentication with login and signup functionality.
  • Model Errors: Handling model validation and displaying errors to users.
  • Pagination Styles: Stylish pagination for effective data presentation.
  • Input Validation: Data input is thoroughly validated for security.
  • Unique Columns: Supports unique database columns to prevent duplicates.
  • Configuration: Centralized database function configuration.
  • Command Line Tools: Includes a set of handy command-line tools.
  • Migration Features: Database migration management with 'up,' 'down,' 'create,' 'rollback,' and 'refresh' commands.

Requirements

  • Web server environment (e.g., XAMPP)
  • MySQL database
  • PHP version 8.0 and above

Installation

  1. Clone this repository to your local or web server.
  2. Configure your web server (e.g., Apache) to host the application.
  3. Set up a MySQL database and update the configuration file with your database settings.
  4. Run database migrations to create necessary tables.
  5. Access the application through your web browser.

Usage

Use this framework as a foundation to build PHP web applications using MVC architecture. Customize and extend it according to your project's requirements.

Contributors

  • Pratik Bhujel - Lead Developer