shineunited / silexcommon
Silex common classes
1.0.0
2016-04-29 15:54 UTC
Requires
- php: >=5.4.0
- monolog/monolog: ^1.18
- silex/silex: ^1.3
- swiftmailer/swiftmailer: ^5.4
- symfony/translation: ~2.4,<3.0
- symfony/twig-bridge: ~2.4,<3.0
- symfony/validator: ~2.4,<3.0
- twig/twig: ^1.24
Requires (Dev)
- phpunit/phpunit: ^4.8
- symfony/browser-kit: ~2.4,<3.0
- symfony/css-selector: ~2.4,<3.0
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