a) Download the bundle
In the project directory:
composer require hengebytes/webservice-core-async-bundleb) Enable the bundle
// in config/bundles.php
return [
// ...
Hengebytes\WebserviceCoreAsyncBundle\HBWebserviceCoreAsyncBundle::class => ['all' => true],
];c) Create configuration file. OPTIONAL
# config/packages/hb_webservice_core_async.yaml
hb_webservice_core_async:
# Available options: 'symfony_params', 'settings_bundle', 'foo.bar.service_name'
# If 'symfony_params' is used, the bundle will look for the parameters in the symfony param bag
# If 'settings_bundle' is used, the bundle will look for the parameters in the hengebytes/settings-bundle
# If 'foo.bar.service_name' is used, the bundle will look for the parameters in the service 'foo.bar.service_name' should implement Hengebytes\WebserviceCoreAsyncBundle\Provider\ParamsProviderInterface
params_provider: ~ # default is null
# by default the bundle will not use any cache
cache:
# default is false if no parent is set
enabled: false
logs:
# default is false if no parent is set
enabled: false- To use the Settings Bundle, you need to install the
hengebytes/setting-bundlepackage. You can do this by running the following command:
composer require hengebytes/setting-bundle- To use the Cache feature, you need to install the
symfony/cachepackage. You can do this by running the following command:
composer require symfony/cache- To use the Logs feature, you need to install the
symfony/monolog-bundlepackage. You can do this by running the following command:
composer require symfony/monolog-bundle- To use response filtering or modifying, you need to install the
hengebytes/response-filter-bundlepackage. You can do this by running the following command:
composer require hengebytes/response-filter-bundle