PHPackages                             wildsurfer/infusionsoft-sync - 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. wildsurfer/infusionsoft-sync

ActiveLibrary

wildsurfer/infusionsoft-sync
============================

v0.2.1(11y ago)42511MITPHP

Since Sep 2Pushed 11y ago1 watchersCompare

[ Source](https://github.com/wildsurfer/infusionsoft-sync)[ Packagist](https://packagist.org/packages/wildsurfer/infusionsoft-sync)[ RSS](/packages/wildsurfer-infusionsoft-sync/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependencies (2)Versions (4)Used By (1)

Infusionsoft sync
=================

[](#infusionsoft-sync)

Use this library to add two-way syncing between your application and [Infusionsoft CRM](help.infusionsoft.com/developers/api-basics).

Features
========

[](#features)

- Configure field names
- Using custom field names if necessary
- Configure tag names
- Optimized to work with big data sets

How it works
============

[](#how-it-works)

This library realizes 2 methods to help to sync your application with Infusionsoft API: `pull()` and `push()`

`pull()` goes to remote API, fetches all contacts and returns them to you. You can then use this data to sync it with your application storage

`push()` will allow you to put your local users to remote. This method is smart enought to update contacts if they're already present at Infusionsoft and to skip if nothing was changed.

Under the hood there is a `pull()` method call inside the `push()` method. This is done to minify amount of API calls and to speed-up the process on big data sets. However when you push one contact `pull()` is skipped to prevent redundancy.

Examples
========

[](#examples)

To get list of contacts from Infusionsoft API

```
