Skip to content
simple php MVC framework
PHP Hack
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
app
view
.htaccess
LICENSE
README.md
autoload.php
bootstrap.php
composer.json
index.php

README.md

TheLastCodeBender PHP MVC Application without libraries or frameworks

This project is a personal project created by Suleiman A. Mamman AKA TheLastCodeBender to learn the advance fundamentals of programming and modern web development from scratch using PHP 7.2 and MySQL.

The main goals of the project are to learn and implement the full concept of Model View Controller(MVC), Object-Oriented Programming(OOP), routing, security, authentication, modern web development practices, and finally conbine them all together to function like a Robust Web Application.

The MVC contains two folders inside the app folder (Controller, model) and a view folder in the main directory.

The autoload file load all the classes in each of the app folder automatically, while the index.php file send a route request to the Routecontroller to handle.

The Routecontroller handle the Navigation between the pages just like laravel routes.

The model folder has two file in it, the DbConnection.php file allows you to set your database connection, while the user.php model class extends DbConnection model class.

You are free to create as many controllers and models as you want, please See license.txt for full license information.

Installation

  • Clone or download this repository to your project Dir
  • Exract the files to your project Dir
  • On your server (Xamp or Wamp etc)
  • Open your browser and navigate to your project Dir. Example- localhost/project Dir

License

The TheLastCodeBender PHP MVC Framework is open-sourced software licensed under the GNU license. See license.txt for full license information.

You can’t perform that action at this time.