Skip to content

PHP MVC Boilerplate for those who don't want to use a standard framework

Notifications You must be signed in to change notification settings

ErikvdVen/php-mvc-boilerplate

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PHP MVC Boilerplate

Installation

First execute below commands

git clone https://github.com/ErikvdVen/php-mvc-boilerplate.git
cd php-mvc-boilerplate
composer install
bower install

Setup Database

First create a database and update the database credentials in app/service.php

Create Schema

Execute below command inside the project folder

php vendor/bin/doctrine orm:schema-tool:create

That's all folks

Important: Make sure the Document Root is set to the public folder before you navigate to your Mamp/Wamp server, e.g. http://php-mvc.local:8888

If you haven't installed Mamp/Wamp server, you might want to use PHP's built-in web server using the following command:

php -S localhost:8888 -t public

About

PHP MVC Boilerplate for those who don't want to use a standard framework

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published