Skip to content

alfianchii/php-mvc-framework

Repository files navigation

PHP MVC Framework

Basic of MVC's concept.

Noting, the only purpose of this framework is pure educational to give you all some knowledges. It's not recommended to use this framework on any of your production websites.

The core package: here


Usage

Download the latest release of core package from the core releases page. Open the core folder and explore the source code.

Installation

  • Clone the repository git clone https://github.com/alfianchii/php-mvc-framework
  • Create database scheme. For example, create a database which named phpmvc_project
  • In the project root folder, create .env which is based from .env.example file and adjust database parameters (including scheme name)
  • Install packages using Composer. For example run composer install
  • From the project root folder, migrate the migrations by executing php migrations.php
  • Go to public folder
  • Run server with php -S localhost:8080 command and open http://localhost:8080 in your favourite browser

About

The basic of MVC's concept.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published