Skip to content

Latest commit

 

History

History
36 lines (25 loc) · 1.08 KB

README.md

File metadata and controls

36 lines (25 loc) · 1.08 KB

Silex MVC Implementation

SensioLabsInsight The point of this repository is to create a simple MVC implementation of Silex

Getting Started

  • Checkout this Repo
  • Install composer (https://getcomposer.org)
  • Run the following command in root of repo composer.phar install
  • Ensure web server is pointing at the /web folder, and not the / folder
  • Enjoy!

Layout

/app/ - Contains all the configuration files for Databases, Twig, Routes, etc.

/src/ - Contains all user generated bundles

/vendor/ - Contains all composer installed bundles

/src/Acme/ - Contains test controllers and Views directory

/web/ - Contains Silex runner and any public facing files (css,js)

Configuration

  • Make sure under /app/app.php the MAIN_BUNDLE constant is set to your main bundle in the src folder. I'll try and fix this in future releases, this is only for Views

To Do

  • Make Models Directory
  • Make Views directory