description |
---|
Install created bundle extension into Ibexa DXP. |
To be able to install the bundle in your [[= product_name_base =]] project, add the repository to the composer.json
:
"repositories": {
"ibexa": {
"type": "composer",
"url": "https://updates.ibexa.co"
},
"acme/currency-exchange-rate":{
"type": "vcs",
"url": "file:///Users/justyna.koralewicz/example-3rd-party-extension"
}
}
On your [[= product_name_base =]] project root run:
composer require acme/currency-exchange-rate:dev-main
!!! note
If your application uses Symfony Flex, the bundle is registered automatically after you install it.
Check whether the bundle is enabled, if not, you must enable it per environment in the config/bundles.php
file:
return [
Symfony\Bundle\FrameworkBundle\FrameworkBundle::class => ['all' => true],
...
Ibexa\Bundle\TestFixtures\IbexaTestFixturesBundle::class => ['all' => true],
ACME\Bundle\CurrencyExchangeRate\ACMECurrencyExchangeRateBundle::class => ['all' => true],
];
Next, clear the cache by runnig the following command:
php bin/console cache:clear
The newly installed bundle should be visible in the Composer tab in Admin -> System information.
Go to Page Builder edit mode. The Currency exchange block should be visible and available in the Elements panel.