Skip to content

erivello/Silexplate

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

66 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Silexplate

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

Silex works with PHP 5.3.3 or later.

Installation

Installation is very easy, it makes use of Composer.

Install Composer

Run this in your command line:

$ curl -s http://getcomposer.org/installer | php

Or download composer.phar into the project root.

Install Dependencies

All dependencies are stored on composer.json file. Run the following command to install it:

$ php composer.phar install

Configuration

Copy app/config/config.php.dist to app/config/config.php and customize it.

What's inside?

The Silexplate comes pre-configured with the following providers:

  • 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

About

A simple boilerplate for Silex PHP micro-framework

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages