Skip to content

A simple and effective PHP project with applied MVC design pattern and OOP principle

Notifications You must be signed in to change notification settings

masudncse/simple-php-mvc-oop

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SIMPLE - PHP MVC OOP

Here is very simple sample blog project with PHP OOP using MVC Design Pattern to help for those who is learning PHP and want to know who to how to build project using PHP OOP MVC Design Pattern.

DEMO

All Posts

./public/asset/demo_image/all.png

Edit Post

./public/asset/demo_image/edit.png

Detail Post

./public/asset/demo_image/show.png

Knowleadge

  • Apache setting (.htaccess)
  • MySql

Using PHP functions

  • call_user_func_array
  • extract
  • trim
  • compact
  • explode
  • unset
  • class_exists
  • method_exists
  • array_values

Installation

  • git clone
  • config core/config.php
// Application 
define('APP_URL', 'http://localhost/simple-php-mvc-oop/pubic');

// database
define('DB_HOST', 'localhost');
define('DB_USER', 'root');
define('DB_PASS', '');
define('DB_NAME', 'simple_php_mvc_oop');
  • composer install
  • import db.sql
  • entry point public/index.php

About

A simple and effective PHP project with applied MVC design pattern and OOP principle

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published