shineunited/silexcommon

Silex common classes

1.0.0 2016-04-29 15:54 UTC

This package is auto-updated.

Last update: 2024-11-15 01:53:22 UTC


README

Installation

The recommended way to install is through Composer.

Install Composer

$ curl -sS https://getcomposer.org/installer | php

Require Silex Common

$ composer require shineunited/silexcommon

Usage

<?php

include('../vendor/autoload.php');

use ShineUnited\Silex\Common\Application;

$app = new Application();

// configure application

$app->run();

Service Providers

  • Silex\Provider\DoctrineServiceProvider
  • Silex\Provider\MonologServiceProvider
  • Silex\Provider\SwiftmailerServiceProvider
  • Silex\Provider\TranslationServiceProvider
  • Silex\Provider\TwigServiceProvider
  • Silex\Provider\UrlGeneratorServiceProvider
  • Silex\Provider\ValidatorServiceProvider

Application Traits

  • Silex\Application\MonologTrait
  • Silex\Application\SwiftmailerTrait
  • Silex\Application\TranslationTrait
  • Silex\Application\TwigTrait
  • Silex\Application\UrlGeneratorTrait