2017 © Pedro PelĂĄez
 

library sensio-framework-extra-service-provider

SensioFrameworkExtraBundle for Silex

image

sergiors/sensio-framework-extra-service-provider

SensioFrameworkExtraBundle for Silex

  • Friday, September 15, 2017
  • by sergiors
  • Repository
  • 2 Watchers
  • 6 Stars
  • 23,631 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 3 Forks
  • 1 Open issues
  • 4 Versions
  • 0 % Grown

The README.md

Sensio Framework Extra Service Provider

Build Status, (*1)

To see the complete documentation, check out SensioFrameworkExtraBundle, (*2)

Install

composer require sergiors/sensio-framework-extra-service-provider "dev-master"
use Sergiors\Silex\Provider\RoutingServiceProvider;
use Sergiors\Silex\Provider\DoctrineCacheServiceProvider;
use Sergiors\Silex\Provider\AnnotationsServiceProvider;
use Sergiors\Silex\Provider\TemplatingServiceProvider;
use Sergiors\Silex\Provider\SensioFrameworkExtraServiceProvider;

$app->register(new RoutingServiceProvider());
$app->register(new DoctrineCacheServiceProvider());
$app->register(new TemplatingServiceProvider());
$app->register(new AnnotationsServiceProvider());
$app->register(new SensioFrameworkExtraServiceProvider());

To use annotation, you should update your autoload.php by adding the following line:, (*3)

Doctrine\Common\Annotations\AnnotationRegistry::registerLoader([$loader, 'loadClass']);

License

MIT, (*4)

The Versions