Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/b00gizm/silex-boilerplate
Your starting point for developing awesome we apps with Silex and HTML5 Boilerplate
https://github.com/b00gizm/silex-boilerplate
Last synced: 3 days ago
JSON representation
Your starting point for developing awesome we apps with Silex and HTML5 Boilerplate
- Host: GitHub
- URL: https://github.com/b00gizm/silex-boilerplate
- Owner: b00giZm
- License: mit
- Created: 2011-09-12T21:37:09.000Z (about 13 years ago)
- Default Branch: master
- Last Pushed: 2011-09-25T18:23:35.000Z (about 13 years ago)
- Last Synced: 2023-03-10T22:42:05.387Z (over 1 year ago)
- Language: JavaScript
- Homepage:
- Size: 239 KB
- Stars: 12
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
Silex Boilerplate
=================Your starting point for developing awesome web apps with the [Silex
Framework](http://silex.sensiolabs.org/) and [HTML5 Boilerplate](http://html5boilerplate.com/). It's almost vanilla Silex with no additional extensions loaded. Over the time I'll try to add more branches with rather advanced configurations. Help is appreciated, so fork and send me a PR :)Installation:
-------------Clone this repository in a directory that is accessible by your web server
$ git clone https://github.com/b00giZm/silex-boilerplate && cd silex-boilerplate
$ git submodule update --init --recursiveConfigure a virtual host. See `vhost.conf.dist` for an example
NameVirtualHost *:80
ServerName silex-boilerplate.dev
DocumentRoot "/path/to/silex-boilerplate/web"
DirectoryIndex index.php
AllowOverride All
Allow from All
Fire up your browser and navigate to the URL you configured in your vhost config
![Screenshot](https://img.skitch.com/20110913-k8e3a7km7shd4q4bmtikqr63xb.jpg)
Configuration
-------------All configuration is done in `src/bootstrap.php`. The the file's contents for some example configurations. If you want to add your own services and/or register your own extensions, don't forget to register the appropriate namespaces inside `src/autoload.php`.
Do awesome stuff
----------------Your application logic lives inside `src/app.php`. So fire up your editor and create something awesome :)
More info
---------
* [Silex Homepage](http://silex.sensiolabs.org)
* [Silex at Github](https://github.com/fabpot/Silex)
* [HTML5 Boilerplate](http://html5boilerplate.com)
* [Why you should use Silex](http://codenugget.org/5-reasons-why-silex-is-king-of-all-php-micro)