Skip to content

Latest commit

 

History

History
31 lines (22 loc) · 561 Bytes

installation.md

File metadata and controls

31 lines (22 loc) · 561 Bytes

Bundle installation

Require the bundle as a dependency.

$ composer require freshheads/multi-site-bundle

Enable it in your application Kernel.

<?php
// config/bundles.php
return [
    //...
    FH\Bundle\MultiSiteBundle\FHMultiSiteBundle::class => ['all' => true],
];

Minimal configuration

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.