PHPackages                             pedrotroller/symfony-integration-checker - 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. [Testing &amp; Quality](/categories/testing)
4. /
5. pedrotroller/symfony-integration-checker

ActiveLibrary[Testing &amp; Quality](/categories/testing)

pedrotroller/symfony-integration-checker
========================================

Assert that your bundle integration with symfony is still working.

v3.0.0(6y ago)13.6kMITPHPPHP &gt;=7.2

Since Feb 19Pushed 6y ago1 watchersCompare

[ Source](https://github.com/PedroTroller/SymfonyIntegrationChecker)[ Packagist](https://packagist.org/packages/pedrotroller/symfony-integration-checker)[ RSS](/packages/pedrotroller-symfony-integration-checker/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (1)Dependencies (7)Versions (7)Used By (0)

SYMFONY Integration Checker
===========================

[](#symfony-integration-checker)

Installation
------------

[](#installation)

```
$ composer require pedrotroller/symfony-integration-checker --dev
```

Usage
-----

[](#usage)

You just have to create a `.symfony_checker`. This script should return a callback. This callback will have an instance of `PedroTroller\Symfony\IntegrationChecker\ConfigurableKernel` as parameter.

```
use PedroTroller\Symfony\IntegrationChecker\ConfigurableKernel;

return function (ConfigurableKernel $kernel) {
    // Your configuration
};
```

Launch the checker
------------------

[](#launch-the-checker)

```
$ ./bin/symfony-integration-checker check
```

Available kernel customization
------------------------------

[](#available-kernel-customization)

`$kernel->addBundle(BundleInterface $bundle)`: you can dynamically inject bundles into your kernel.

`$kernel->setConfig(array $config)`: inject a configuration.

`$kernel->setContainerBuilder(ContainerBuilder $container)`: inject your own container.

`$kernel->afterBoot(callable $callable)`: inject a callable. This callable will be executed after the kernel boot.

Example
-------

[](#example)

```
