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.
- Composer PHP package manager [https://getcomposer.org]
- Make sure that you have PHP 8.2 and higher running on your local server environment.
-
Install Composer PHP package manager [https://getcomposer.org]
-
Clone this Repository in CLI by running -
git clone https://github.com/hoshigakikisame/TertibApp.git. Make sure that you put this repository INSIDE any of local server environment (XAMPP/MAMP/WAMP) -
Go to
config.phpand change the name for the db as well as username and password to access it. -
In your command line application, navigate to the folder where the cloned repository exists.
-
Before starting the app, please run:
composer install -
Now you can open any browser and open up this repo. E.g.
http://localhost/TertibApp
-
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.
-
The Views, Database and Controllers are separately stored in app folder which can be edited as per convenience.
-
Public Folder has the Static CSS JS content displayed through PHP Server (XAMPP/MAMP/WAMP).
Please read CONTRIBUTING.md for details on our code of conduct, and the process for submitting pull requests to us.
This project is licensed under the MIT License - see the LICENSE.md file for details