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.
All Posts
Edit Post
Detail Post
- Apache setting (.htaccess)
- MySql
- call_user_func_array
- extract
- trim
- compact
- explode
- unset
- class_exists
- method_exists
- array_values
- 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