Skip to content

trierweilerroby/php-mvc-basic

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Basic PHP MVC demo

This repository demonstrates how the MVC design pattern can be implemented using PHP.

It contains a docker configuration with:

  • NGINX webserver
  • PHP FastCGI Process Manager with PDO MySQL support
  • MariaDB (GPL MySQL fork)
  • PHPMyAdmin

Installation

  1. Install Docker Desktop on Windows or Mac, or Docker Engine on Linux.
  2. Clone the project

Usage

In a terminal, run:

docker-compose up

NGINX will now serve files in the app/public folder. Visit localhost in your browser to check. PHPMyAdmin is accessible on localhost:8080

If you want to stop the containers, press Ctrl+C. Or run:

docker-compose down

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • PHP 94.3%
  • Hack 5.1%
  • Other 0.6%