This symfony bundle allows to quickly register symfony bundles into your app and to configure some of them.
Open a command console, enter your project directory and execute the following command:
~/my-app $ composer require exsyst/quick-install-bundle 0.0.x-devThen add the bundle to your kernel:
// app/AppKernel.php
class AppKernel extends Kernel
{
public function registerBundles()
{
$bundles = array(
// ...
new EXSyst\Bundle\QuickInstallBundle\EXSystQuickInstallBundle(),
);
// ...
}
}And that's all!
This bundle provides a console command:
~/my-app $ bin/console configure FOSRestBundle
Add the bundle "FOS\RestBundle\FOSRestBundle" to your kernel "AppKernel"? [yes]:
FOS\RestBundle\FOSRestBundle has been registered in AppKernel.This bundle can add any bundle to your kernel. For some it can even configure some of their features (you can try that with dunglas/action-bundle).
If you want to change something or have an idea, submit an issue or open a pull request :)