sulu-standard
sulu-standard copied to clipboard
RFC: Unversioned bundle includes
It would be beneficial to be able to register bundles only on a local installation, and not to have them in the versioned AbstractKernel
class.
This is relevant for the DeveloperBundle
which we do not (at least currently) want to include in the standard edition.
I propose that we conditionally include a file, e.g. bundles.local.php
which returns adds bundles to the kernel. This file would be ignored in `.gitignore.
<?php
// bundles.local.php
return array(
new Sulu\Bundle\DeveloperBundle()
);
This file will be included if it exists from the AbstractKernel.
/cc @danrot @chirimoya @wachterjohannes @alexander-schranz
Sounds good to me.
https://github.com/sulu-io/sulu-standard/issues/621