Skip to content

Latest commit

 

History

History
27 lines (18 loc) · 901 Bytes

installation.rst

File metadata and controls

27 lines (18 loc) · 901 Bytes

Installation

To install Site API first add it as a dependency to your project:

composer require netgen/ibexa-site-api

Once Site API is installed, activate the bundle in config/bundles.php file by adding it to the returned array, together with other required bundles:

<?php

return [
    //...

    Netgen\Bundle\IbexaSearchExtraBundle\IbexaSiteApiBundle\NetgenIbexaSiteApiBundle::class => ['all' => true],
    Netgen\Bundle\IbexaSearchExtraBundle\NetgenIbexaSearchExtraBundle::class => ['all' => true],
}

And that's it. Once you finish the installation you will be able to use Site API services as you would normally do in a Symfony application. However, at this point Site API is not yet fully enabled. That is done per siteaccess, see Configuration </reference/configuration> page to learn more.