PHPackages                             jakedewitt87/php-isdk-php7 - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [API Development](/categories/api)
4. /
5. jakedewitt87/php-isdk-php7

ActiveLibrary[API Development](/categories/api)

jakedewitt87/php-isdk-php7
==========================

The Unofficial Infusionsoft API PHP SDK for PHP 7.

1.0.0(9y ago)0267MITPHPPHP &gt;=5.2.0

Since Oct 21Pushed 9y ago1 watchersCompare

[ Source](https://github.com/jakedewitt/PHP-iSDK-PHP7)[ Packagist](https://packagist.org/packages/jakedewitt87/php-isdk-php7)[ Docs](https://developer.infusionsoft.com)[ RSS](/packages/jakedewitt87-php-isdk-php7/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (1)DependenciesVersions (2)Used By (0)

PHP iSDK
========

[](#php-isdk)

**Note:** This PHP-iSDK is deprecated, and will be removed from Infusionsoft's public github on April, 30 2015. Please use [infusionsoft-php](https://github.com/infusionsoft/infusionsoft-php) instead.

This SDK allows developers to easily use the Infusionsoft API with PHP

Install Instructions
====================

[](#install-instructions)

This SDK requires at least PHP 5.2

1. Clone the repository to your system

- `git clone https://github.com/infusionsoft/PHP-iSDK.git`
- `alternatively you can install using composer`

2. Copy the "src" folder (or its contents) to the folder that will hold the SDK

Configuration
=============

[](#configuration)

There are two ways we can connect to the API.

1. First way is to use the src/conn.cfg.php configuration file

    A. You will need your Application Name and Your API Key

    - `You can find your application name in the url you goto to login. eg. https://YOURAPPNAME.infusionsoft.com`
    - `You can get your API Key by following this article on the User Guide` [http://ug.infusionsoft.com/article/AA-00442/0/How-do-I-enable-the-Infusionsoft-API-and-generate-an-API-Key.html](http://bit.ly/14ewmJH "User Guide")

    B. In src/conn.cfg.php file you will need to replace the following:

    - `connectionName - This can be anything you want`
    - `applicationName - This is just the application name that we got in step 1`
    - `APIKEYGOESHERE - This is the API Key you got in step 1`
2. We can pass in the Application Name and API Key directly into the cfgCon function

    A. You will need your Application Name and Your API Key

    - `You can find your application name in the url you goto to login. eg. https://YOURAPPNAME.infusionsoft.com`
    - `You can get your API Key by following this article on the User Guide` [http://ug.infusionsoft.com/article/AA-00442/0/How-do-I-enable-the-Infusionsoft-API-and-generate-an-API-Key.html](http://bit.ly/14ewmJH "User Guide")

Making Your First API Call
==========================

[](#making-your-first-api-call)

In the script you want to make the API call in you will need to do the following:

1. We need to require the iSDK

- `require_once('src/isdk.php');`

2. Next we need to create an object

- `$app = new iSDK();`

3. Next we need to create the connection

- `$app->cfgCon("connectionName");`OR
- `$app->cfgCon("applicationName", "APIKEYGOESHERE");`

4. Next we will make our first API call using the ContactService.findByEmail method. This method returns contact information by an email address we send

- `$contacts = $app->findByEmail('test@example.com',array('Id', 'FirstName', 'LastName', 'Email'));`
- `This will return a contact's Id, First Name, Last Name, and Email that has the email 'test@example.com'`

5. Finally we want to print the return information to the browser window

- `print_r($contacts);`

How to Use Logging
==================

[](#how-to-use-logging)

As of Version 1.8.3 the iSDK has the ability to log API calls to a CSV. By default logging is disabled.

To enable logging do the following:

1. In the script you want to log the API Calls of add this after you create the object

- `$app->enableLogging(1);    //0 is off  1 is on`

2. (Optional) You can set the location of the CSV. By default the csv is created in the same directory as isdk.php

- `$app->setLog('apilog.csv');  //This is the full path to the file`

Misc Functions
==============

[](#misc-functions)

1. infuDate() - formats your date string for use with the API. Has an optional parameter for doing UK date formats.

- `infuDate('10/26/2013') will return '20131026T06:00:00'`
- `infuDate('10/26/2013','UK') will return '2013-26-10T06:00:00'`

###  Health Score

27

—

LowBetter than 49% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity11

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity58

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Unknown

Total

1

Last Release

3487d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/401829a6aa58f42a4390933485836e43be7b013e5155757ef8f4837502d64bca?d=identicon)[jakedewitt87](/maintainers/jakedewitt87)

---

Top Contributors

[![jakedewitt](https://avatars.githubusercontent.com/u/7635283?v=4)](https://github.com/jakedewitt "jakedewitt (1 commits)")

---

Tags

apiPHP7

### Embed Badge

![Health badge](/badges/jakedewitt87-php-isdk-php7/health.svg)

```
[![Health](https://phpackages.com/badges/jakedewitt87-php-isdk-php7/health.svg)](https://phpackages.com/packages/jakedewitt87-php-isdk-php7)
```

###  Alternatives

[phplicengine/bitly

Bitly API v4

22277.3k](/packages/phplicengine-bitly)[m165437/laravel-blueprint-docs

API Blueprint Renderer for Laravel

22779.0k](/packages/m165437-laravel-blueprint-docs)[jeffreyhyer/bamboohr

PHP SDK for the BambooHR API

1077.3k1](/packages/jeffreyhyer-bamboohr)[jeffreyhyer/alpaca-trade-api-php

PHP SDK for the Alpaca trade API

285.0k](/packages/jeffreyhyer-alpaca-trade-api-php)[barryvanveen/lastfm

Last.fm API client for PHP 7+

254.5k](/packages/barryvanveen-lastfm)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
