2017 © Pedro PelĆ”ez
 

symfony-bundle rd-station-bundle

This bundle of symfony2

image

baconmanager/rd-station-bundle

This bundle of symfony2

  • Thursday, February 4, 2016
  • by adanfm
  • Repository
  • 3 Watchers
  • 1 Stars
  • 637 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 1 Versions
  • 15 % Grown

The README.md

BaconRDStationBundle

Codacy Badge Latest Stable Version License SensioLabsInsight, (*1)

Este bundle Ć© responsĆ”vel por gerar a integraĆ§Ć£o com a API do RD Station, (*2)

InstalaĆ§Ć£o

Para instalar o bundle basta rodar o seguinte comando abaixo:, (*3)

$ composer require baconmanager/rd-station-bundles

Agora adicione os seguintes bundles no arquivo AppKernel.php:, (*4)

<?php
// app/AppKernel.php
public function registerBundles()
{
    // ...
    new Bacon\Bundle\CoreBundle\BaconRDStationBundle(),
    // ...
}

No arquivo app/config/config.yml adicione as seguintes configuraƧƵes:, (*5)

bacon_rd_station:
    api:
        private_token: ...
        token: ...

Utilizando a api

Cadastrando e alterando um lead

<?php
// src/AppBundle/Controller/DefaultController.php
public function rdStationAction()
{
    $api = $this->container->get('bacon_rd_station.api');

    $return = $api->api('conversions','POST',array(
        'email' => 'teste@gmail.com',
        'nome'  => 'Lead'
    ));
}

The Versions

04/02 2016

dev-master

9999999-dev

This bundle of symfony2

  Sources   Download

MIT

The Requires

 

by Adan Felipe Medeiros

api rd station resultados digitais