Skip to content

A simple PHP MVC starter project. Get rid of some useless boileplate code for creating your router, setting up your htaccess, choosing the appropriate folder strucutre and directly go in your application developpement

Notifications You must be signed in to change notification settings

robLittiere/PHP_MVC_Starter-pack

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Simple MVC starter for any PHP based project

Installation

  1. If you decide to pull the repo at the root of your www/ please modify config variables located at config/config.php
  2. Else you can pull the repo to a subdirectory, for developement I used a subdirectory so www/starter_mvc will already work
  3. IF you didn't pull the vendor folder : you will need to install one package, if you aren't used to composer, please refer to composer documentation for a quick project setup (https://getcomposer.org/download/)
  4. To install dependancies, please simply use in order :
composer install
composer dump-autoload

Thank you for using this php starter app 😄

Setup

  1. You can use a local server such as Wamp or Mamp or any server installation you want
  2. Pull the repo in the www/ directory of your local server
  3. Follow the address of your repo. For example, if your repo is in www/starter_mvc/, the URL should be http://127.0.0.1/starter_mvc

About

A simple PHP MVC starter project. Get rid of some useless boileplate code for creating your router, setting up your htaccess, choosing the appropriate folder strucutre and directly go in your application developpement

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published