cesarv/silex-skeleton

v1.0.0 2015-04-01 16:37 UTC

This package is not auto-updated.

Last update: 2024-04-27 15:31:23 UTC


README

Boilerplate code to kick start your Silex project.

I like Silex because it's minimal. You don't have a lot of extra junk that you're app doesn't use. I also like Laravel, but my biggest compliant with it is that you have a bunch of additional files/directories for features you may never use.

Enter this skeleton. Inspired by Laravel, yet simple enough to give you only what you need while leaving room for any necessary growth in the future.

Features

Vagrant

Comes with a simple development environment thanks to scotchbox. If you're not familiar with Vagrant, I recommend visiting vagrantup.com. Once everything is installed, simply run

vagrant up

from CLI and you now have a fully functional development environment at http://192.168.33.22/

Views

Again, I'm a big fan of KISS - Keep It Simple Stupid.

I don't see the need of a heavy template engine when PHP has native templating abilities. This skeleton comes prepackaged with cesarv/views, but it's pretty easy to change the view provider if need be.

Happy coding!