jrshah/laravel4pipedrive

2,734 2
Install
composer require jrshah/laravel4pipedrive
Latest Version:v0.8
PHP:>=5.3.0
License:MIT
Last Updated:Jan 7, 2015
Links: GitHub  ·  Packagist
Maintainer: jrshah

PipeDrive for Laravel 4

Its client api to access data from pipedrive

Installation

Include laravel4pipedrive as a dependency in composer.json:

"jrshah/laravel4pipedrive": "0.*"

Run composer install to download the dependency.

Add the ServiceProvider to your provider array within app/config/app.php:

'providers' => array(

    'Jrshah\Laravel4pipedrive\Laravel4pipedriveServiceProvider'

)

Finally, publish the configuration files via php artisan config:publish jrshah/laravel4pipedrive.

Configuration

Once you have published the configuration files, you can set your API Token, Url and Version in app/config/packages/jrshah/laravel4pipedrive/config.php:

<?php
return array(
  'api_token' => 'your-pipedrive-token',
  'api_url' => 'api-url-for-pipedrive',
  'api_version' => 'pipedrive-api-version'
);

Usage


// get all deals
PipeDrive::request('GET','deals');

// update a deal
PipeDrive::request('PUT','deals',1,array('title'=>'update the title'));

Related Packages

erirk/paypalpayment

laravel-paypalpayment is simple package help you process direct credit card paym...

0
gabrieloliverio/laravel5-generators

Database metadata-based generators for Laravel 5

1
doctrine/dbal

Powerful PHP database abstraction layer (DBAL) with many features for database s...

628,058,007 9,707
laravel/framework

The Laravel Framework.

576,155,700 34,907
laravel/tinker

Powerful REPL for the Laravel framework.

485,678,092 7,440