2017 © Pedro Peláez
 

library silexplate

A simple boilerplate for Silex PHP micro-framework based on the Symfony2 Components.

image

erivello/silexplate

A simple boilerplate for Silex PHP micro-framework based on the Symfony2 Components.

  • Sunday, December 30, 2012
  • by erivello
  • Repository
  • 1 Watchers
  • 2 Stars
  • 0 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 2 Versions
  • 0 % Grown

The README.md

Silexplate

A simple boilerplate for Silex PHP micro-framework based on the Symfony2 Components., (*1)

Silex works with PHP 5.3.3 or later., (*2)

Installation

Installation is very easy, it makes use of Composer., (*3)

Install Composer

Run this in your command line:, (*4)

``` bash $ curl -s http://getcomposer.org/installer | php, (*5)


Or [download composer.phar][4] into the project root. ### Install Dependencies All dependencies are stored on `composer.json` file. Run the following command to install it: ``` bash $ php composer.phar install

Configuration

Copy app/config/config.php.dist to app/config/config.php and customize it., (*6)

What's inside?

The Silexplate comes pre-configured with the following providers:, (*7)

  • DoctrineServiceProvider - Adds support for Doctrine DBAL
  • FacebookServiceProvider - Adds support for Facebook PHP SDK
  • FormServiceProvider - Adds functionality for building forms
  • MonologServiceProvider - Add application debug logging
  • HttpCacheServiceProvider - Adds support for storing HTTP cache data
  • SecurityServiceProvider - Adds support for managing authentication and authorization
  • SessionServiceProvider - Adds support for managing sessions
  • SwiftmailerServiceProvider - Adds functionality for sending emails
  • TranslationServiceProvider - Adds functionality for translating into different languages
  • TwigServiceProvider - Adds support for the Twig templating engine
  • UrlGeneratorServiceProvider - Adds functionality for generating URLs for named routes
  • ValidatorServiceProvider - Adds functionality for validating data

The Versions