双翼机 / yandex-direct-bundle
biplane/yandex-direct与Symfony2的集成
0.1.0
2017-02-27 19:11 UTC
Requires
- biplane/yandex-direct: ~4.0
- symfony/framework-bundle: ~2.8|~3.0
Requires (Dev)
- phpunit/phpunit: ^4.8.26
This package is auto-updated.
Last update: 2024-09-14 08:01:26 UTC
README
此包将biplane-yandex-direct库与Symfony项目集成。
安装
使用 Composer 安装此包
$ composer require biplane/yandex-direct-bundle
将包添加到您的应用程序内核
<?php // app/AppKernel.php public function registerBundles() { $bundles = array( // ... new Biplane\Bundle\YandexDirectBundle\BiplaneYandexDirectBundle(), ); }
完整配置
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'
许可证
此包采用MIT许可证,有关详细信息,请参阅LICENSE文件。