Skip to content

Integration of the biplane/yandex-direct with Symfony2

Notifications You must be signed in to change notification settings

dkop/BiplaneYandexDirectBundle

 
 

Repository files navigation

BiplaneYandexDirectBundle

This bundle integrates the biplane-yandex-direct library with Symfony project.

Installation

Use Composer to install this bundle:

$ composer require biplane/yandex-direct-bundle

Add the bundle in your application kernel:

<?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
        directory:            '%kernel.cache_dir%/api_dumps'
        dump:                 all # One of "all"; "only-fail"

License

This bundle is under the MIT license, see the LICENSE file for details.

About

Integration of the biplane/yandex-direct with Symfony2

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • PHP 100.0%