A simple PHP MVC Boilerplate
A simple MVC(Model View Controller) Boilerplate application in PHP. You can use this repository for teaching PHP primer and introduction to MVC design pattern., (*1)
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes., (*2)
1)Install Composer PHP package manager [https://getcomposer.org], (*3)
2)Clone this Repository in CLI by running -, (*4)
git clone https://github.com/dev-haykay/MVCBoilerplate.git
, (*5)
Make sure that you put this repository INSIDE any of local server environment (XAMPP/MAMP/WAMP), (*6)
3) Go to config.php
and change the name for the db as well as username and password to access it., (*7)
4) In your command line application, navigate to the folder where the cloned repository exists., (*8)
5) Before starting the app, please run:, (*9)
composer install
, (*10)
6) Now you can open any browser and open up this repo. E.g.
http://localhost/MVCBoilerplate
, (*11)
1) A MySQL based boilerplate. Once installed, it is a basic PHP app with User interface for Logging In and Different pages(About, Contact, Index, User) can be seen., (*12)
2) The Views, Database and Controllers are separately stored in app folder which can be edited as per convenience., (*13)
3) Public Folder has the Static CSS JS content displayed through PHP Server (XAMPP/MAMP/WAMP)., (*14)
Please read CONTRIBUTING.md for details on our code of conduct, and the process for submitting pull requests to us., (*15)
This project is licensed under the MIT License - see the LICENSE.md file for details, (*16)