Require the bundle as a dependency.
$ composer require freshheads/multi-site-bundleEnable it in your application Kernel.
<?php
// config/bundles.php
return [
//...
FH\Bundle\MultiSiteBundle\FHMultiSiteBundle::class => ['all' => true],
];You must implement SiteRepositoryInterface and add it's service id to fh_multi_site config.
# config/packages/fh_multi_site.yaml
fh_multi_site:
repository: ~See the Site documentation for more details.