Skip to content
This repository has been archived by the owner on Dec 19, 2018. It is now read-only.

fmoutawe/silex-skeleton

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Silex Skeleton

This small repository provide a cool skeleton for Silex. This document contains information about it.

What's inside?

The Silex Skeleton is configured with the following service providers:

  • FormServiceProvider - provides a service for building forms in your application with the Symfony2 Form component.
  • ValidatorServiceProvider - Provides a service for validating data. It is most useful when used with the FormServiceProvider, but can also be used standalone.
  • ServiceControllerServiceProvider - As your Silex application grows, you may wish to begin organizing your controllers in a more formal fashion. Silex can use controller classes out of the box, but with a bit of work, your controllers can be created as services, giving you the full power of dependency injection and lazy loading.
  • TranslationServiceProvider - provides a service for translating your application into different languages.
  • TwigServiceProvider - Provides integration with the Twig template engine.
  • UrlGeneratorServiceProvider - Provides a service for generating URLs for named routes.
  • ConfigServiceProvider - Provides a service for include configuration file with php, json, yaml or toml format.
  • WebProfilerServiceProvider - Enable the Symfony web debug toolbar and the Symfony profiler in your Silex application when developing.

Read the Providers documentation for more details about Silex Service Providers.

Locale

This skeleton is design to be multilingual. Default language is "english" but you can easily modify it in the config file. To add ressources, please modify app.php file.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published