PHPackages                             theofidry/sfcontext-bundle - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Debugging &amp; Profiling](/categories/debugging)
4. /
5. theofidry/sfcontext-bundle

AbandonedArchivedSymfony-bundle[Debugging &amp; Profiling](/categories/debugging)

theofidry/sfcontext-bundle
==========================

A context to access statically to the symfony container.

v1.2.0(6y ago)42.2k2[1 issues](https://github.com/theofidry/SfContextBundle/issues)MITPHP

Since Feb 16Pushed 6y ago1 watchersCompare

[ Source](https://github.com/theofidry/SfContextBundle)[ Packagist](https://packagist.org/packages/theofidry/sfcontext-bundle)[ RSS](/packages/theofidry-sfcontext-bundle/feed)WikiDiscussions master Synced 4w ago

READMEChangelog (4)Dependencies (3)Versions (5)Used By (0)

SfContextBundle
===============

[](#sfcontextbundle)

[![Package version](https://camo.githubusercontent.com/f168c3b4e7b981e8163ac217397403b496317cfb5e86fc1b12f29ba07f9f6609/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f767072652f7468656f66696472792f7366636f6e746578742d62756e646c652e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/theofidry/sfcontext-bundle)[![Build Status](https://camo.githubusercontent.com/87e6c448529ab015de1eb68fcfd0ca5a870c1eeb82a6279820c822e502a4d1b2/68747470733a2f2f696d672e736869656c64732e696f2f7472617669732f7468656f66696472792f5366436f6e7465787442756e646c652e7376673f6272616e63683d6d6173746572267374796c653d666c61742d737175617265)](https://travis-ci.org/theofidry/SfContextBundle?branch=master)[![License](https://camo.githubusercontent.com/10e85a5778fe7601504a17ecd18dfa7097f473186b0f947bc10db2d3e4f530e4/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d7265642e7376673f7374796c653d666c61742d737175617265)](LICENSE)

A dead simple bundle to be able to access the [Symfony](http://symfony.com/) Container statically.

Install
-------

[](#install)

You can use [Composer](https://getcomposer.org/) to install the bundle in your project:

```
composer require theofidry/sfcontext-bundle
```

Then, enable the bundle by updating your `app/AppKernel.php` file to enable the bundle:

```
