Skip to content

This is a simple implementation of Silex using an MVC structure. I am open to suggestions to improving this repository, please post an issue if you have any comments or questions

License

Notifications You must be signed in to change notification settings

kodemaan/simplesilexmvc

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

This is a simple implementation of Silex using an MVC structure. I am open to suggestions to improving this repository, please post an issue if you have any comments or questions

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published