Table of contents
General info
Minimalistic custom framework created for the learning purposes. Made with the help of two separate tutorials. Visitors are able to register and login, and add posts to the blog page. After login, Dashboard menu will be available which enables users to view all the posts, and do the CRUD operations on their own posts as well to remove the comments.
Features
- Custom Routing
- Controllers
- Views/Layouts
- Models
- Processing of request data
- Validations
- Registration/Login
- Simple Active Record
- Session Flash messages
- Framework reusable/installable core
Updates
Future updates will bring signing in using google twitter or facebook APIs, Migrations, Middleware, Application events etc.
Screenshots
Technologies
Project is created with:
- PHP Version 8.0.2
- Bootstrap v5.1.3.
- Composer
Sources
The Codeholic Build PHP MVC Framework
Code With Dary Complete Login & Register System Using MVC & PDO
Setup
Installation
- Download the archive or clone the project using git
git clone https://github.com/drajin/drFramework.git
- Create database localhost and give it a name of
blogmvc
- Import database to phpMyAdmin (SQL file located in the
root/application/blogmvc.sql
- Run
cd drFramework
- Run
composer install
- Run
cd public
- Start xampp or wamp server
- Start php server by running command
php -S 127.0.0.1:8080
- Open in browser
http://127.0.0.1:8080