Download the PHP package theofidry/sfcontext-bundle without Composer
On this page you can find all versions of the php package theofidry/sfcontext-bundle. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Please rate this library. Is it a good library?
Informations about the package sfcontext-bundle
SfContextBundle
A dead simple bundle to be able to access the Symfony Container statically.
Install
You can use Composer to install the bundle in your project:
Then, enable the bundle by updating your app/AppKernel.php
file to enable the bundle:
Usage
There are two cases where you might use this bundle:
- If you don't like dependency injection
- For quick & dirty debugging where you can't afford to do a dump
Credits
I got the original idea from Laravel facades although the idea is actually not new and you can find it in the Symfony world as sfContext and which has been ported to Symfony 2.x with sfContextBundle.
All versions of sfcontext-bundle with dependencies
PHP Build Version
Package Version
Requires
symfony/framework-bundle Version
^3.4 || ^4.0 || ^5.0
The package theofidry/sfcontext-bundle contains the following files
Loading the files please wait ....