BiplaneYandexDirectBundle
, (*1)
This bundle integrates the biplane-yandex-direct
library with Symfony project., (*2)
Installation
Use Composer to install this bundle:, (*3)
$ composer require biplane/yandex-direct-bundle
Add the bundle in your application kernel:, (*4)
<?php
// app/AppKernel.php
public function registerBundles()
{
$bundles = array(
// ...
new Biplane\Bundle\YandexDirectBundle\BiplaneYandexDirectBundle(),
);
}
Full configuration
biplane_yandex_direct:
# The locale for localize message of errors.
locale: ru # One of "ru"; "en"; "ua"
user:
# The access token for OAuth authorization
access_token: ~ # Required
# The Yandex's login. Required when the master_token is set.
login: ~
# The master token needs for finance operations.
master_token: ~
dump_listener:
enabled: false
dump: all # One of "all"; "only-fail"
dump:
directory: '%kernel.cache_dir%/api_dumps'
License
This bundle is under the MIT license, see the LICENSE file for details., (*5)