PHPackages                             djaxho/laravel-infusionsoft-oauth2 - 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. djaxho/laravel-infusionsoft-oauth2

ActiveLibrary[API Development](/categories/api)

djaxho/laravel-infusionsoft-oauth2
==================================

Laravel package to facilitate the use of the Infusionsoft API using OAUTH2

1.1.0(4y ago)24232[1 issues](https://github.com/djaxho/laravel-infusionsoft-oauth2/issues)MITPHPPHP ~5.6|^7.3|^8.0CI failing

Since Jul 5Pushed 4y ago2 watchersCompare

[ Source](https://github.com/djaxho/laravel-infusionsoft-oauth2)[ Packagist](https://packagist.org/packages/djaxho/laravel-infusionsoft-oauth2)[ Docs](https://github.com/djaxho/laravel-infusionsoft-oauth2)[ RSS](/packages/djaxho-laravel-infusionsoft-oauth2/feed)WikiDiscussions master Synced 3d ago

READMEChangelog (1)Dependencies (4)Versions (7)Used By (0)

laravel-infusionsoft-oauth2
===========================

[](#laravel-infusionsoft-oauth2)

[![Latest Version on Packagist](https://camo.githubusercontent.com/88052841c7a3246a19c5e35957efb8d19a61c554a1d6ff90ac42109dffa88ffb/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f646a6178686f2f6c61726176656c2d696e667573696f6e736f66742d6f61757468322e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/djaxho/laravel-infusionsoft-oauth2)[![Software License](https://camo.githubusercontent.com/55c0218c8f8009f06ad4ddae837ddd05301481fcf0dff8e0ed9dadda8780713e/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d627269676874677265656e2e7376673f7374796c653d666c61742d737175617265)](LICENSE.md)[![Build Status](https://camo.githubusercontent.com/13c732058471b65539f131e272b8dc3ec2db4db48812f4d20968816673a5e971/68747470733a2f2f696d672e736869656c64732e696f2f7472617669732f646a6178686f2f6c61726176656c2d696e667573696f6e736f66742d6f61757468322f6d61737465722e7376673f7374796c653d666c61742d737175617265)](https://travis-ci.org/djaxho/laravel-infusionsoft-oauth2)[![Coverage Status](https://camo.githubusercontent.com/9367ca135102328d370bfbd240dd7e4ab692fe9e14bbd9da1f7305234b966f96/68747470733a2f2f696d672e736869656c64732e696f2f7363727574696e697a65722f636f7665726167652f672f646a6178686f2f6c61726176656c2d696e667573696f6e736f66742d6f61757468322e7376673f7374796c653d666c61742d737175617265)](https://scrutinizer-ci.com/g/djaxho/laravel-infusionsoft-oauth2/code-structure)[![Quality Score](https://camo.githubusercontent.com/f4e4254962ecfa03e7637941ab9c2f76bde852cf7b7a24ca480ba4ef5f853c70/68747470733a2f2f696d672e736869656c64732e696f2f7363727574696e697a65722f672f646a6178686f2f6c61726176656c2d696e667573696f6e736f66742d6f61757468322e7376673f7374796c653d666c61742d737175617265)](https://scrutinizer-ci.com/g/djaxho/laravel-infusionsoft-oauth2)[![Total Downloads](https://camo.githubusercontent.com/d481ff8147d5cb758caa4d647be6eef926d53e96370fae550c275f114920e0e8/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f646a6178686f2f6c61726176656c2d696e667573696f6e736f66742d6f61757468322e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/djaxho/laravel-infusionsoft-oauth2)

Laravel package to facilitate the use of the Infusionsoft API using OAUTH2. This packages is quite specific to laravel

Install
-------

[](#install)

Via Composer

```
$ composer require djaxho/laravel-infusionsoft-oauth2
```

Installation
------------

[](#installation)

(These instructions are for an 'alerady set-up' laravel project with a functioning database set up) Add the service provider for laravel by adding the following line to your 'providers' array in the file congig/app.php

```
Djaxho\LaravelInfusionsoftOauth2\LaravelInfusionsoftOauth2ServiceProvider::class,
```

Publish the package files to your project by running:

```
$ php artisan vendor:publish
```

Add the following variable to your .env file or u them in your pdate config/laravel-infusionsoft-oauth2.php file with values obtained from your infusionsoft developer account and for ISDK\_API\_REDIRECT use the uri you are serving your site from (i.e. [www.yoursite.dev](http://www.yoursite.dev))

```
ISDK_API_HOST
ISDK_API_CLIENTID
ISDK_API_CLIENTSECRET
ISDK_API_REDIRECT
```

Run your database migrations (first make sure you have your database info in your .env file or config files so you can successfully connect to the database of your choosing):

```
$ php artisan migrate
```

You may now navigate to your.url/authorize-infusionsoft-api (whichever url you used for ISDK\_API\_REDIRECT) and click 'authorize.' You will then be taken to infusionsoft to authorize your api connection. At the end of this process you will be led back to the your.url/authorize-infusionsoft-api page with a success message and the oauth2 key stored in your database

Usage
-----

[](#usage)

To start using the infusionsoft api after going through the steps above, add this to the top of your php file:

```
use Djaxho\LaravelInfusionsoftOauth2\Infusionsoft;
```

And in the methods of your classes (or in the constructor method) you can leverage laravel's automatic dependency injection to instantiate the infusionsoft api singleton. As an example of something you could do to test your api connection in a controller class:

```
protected $infusionsoft;

public function __construct(Infusionsoft $infusionsoft)
{
    $this->infusionsoft = $infusionsoft;
    var_dump($this->infusionsoft->hasToken());
}
```

Then you can use the infusionsoft api documentation to make api calls. As a simple example, you would use it liek this:

```
$updateField = $this->infusionsoft->data()->update('Contact', $contactId, $updateData);
```

Change log
----------

[](#change-log)

Please see [CHANGELOG](CHANGELOG.md) for more information on what has changed recently.

Security
--------

[](#security)

If you discover any security related issues, please email  instead of using the issue tracker.

Credits
-------

[](#credits)

- [Danny Jackson](https://github.com/djaxho)
- [All Contributors](../../contributors)

License
-------

[](#license)

The MIT License (MIT). Please see [License File](LICENSE.md) for more information.

###  Health Score

31

—

LowBetter than 68% of packages

Maintenance10

Infrequent updates — may be unmaintained

Popularity17

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity72

Established project with proven stability

 Bus Factor1

Top contributor holds 87.5% 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

Every ~298 days

Recently: every ~373 days

Total

6

Last Release

1742d ago

Major Versions

0.1.0 → 1.0.02017-07-10

PHP version history (2 changes)0.0.1PHP ~5.6|~7.0

1.1.0PHP ~5.6|^7.3|^8.0

### Community

Maintainers

![](https://www.gravatar.com/avatar/e4283f714ce18dd926ee5b4bcbfb5234224901a3b1158dd1d24108706b80a3eb?d=identicon)[djaxho](/maintainers/djaxho)

---

Top Contributors

[![djaxho](https://avatars.githubusercontent.com/u/9688456?v=4)](https://github.com/djaxho "djaxho (7 commits)")[![MarkVilludo](https://avatars.githubusercontent.com/u/16302633?v=4)](https://github.com/MarkVilludo "MarkVilludo (1 commits)")

---

Tags

laraveloauth2infusionsoftdjaxholaravel-infusionsoft-oauth2

###  Code Quality

TestsPHPUnit

Code StylePHP\_CodeSniffer

### Embed Badge

![Health badge](/badges/djaxho-laravel-infusionsoft-oauth2/health.svg)

```
[![Health](https://phpackages.com/badges/djaxho-laravel-infusionsoft-oauth2/health.svg)](https://phpackages.com/packages/djaxho-laravel-infusionsoft-oauth2)
```

###  Alternatives

[andreaselia/laravel-api-to-postman

Generate a Postman collection automatically from your Laravel API

1.0k586.2k3](/packages/andreaselia-laravel-api-to-postman)[mollie/laravel-mollie

Mollie API client wrapper for Laravel &amp; Mollie Connect provider for Laravel Socialite

3624.1M28](/packages/mollie-laravel-mollie)[api-ecosystem-for-laravel/dingo-api

A RESTful API package for the Laravel and Lumen frameworks.

3121.5M10](/packages/api-ecosystem-for-laravel-dingo-api)[mll-lab/laravel-graphiql

Easily integrate GraphiQL into your Laravel project

683.2M9](/packages/mll-lab-laravel-graphiql)[kirschbaum-development/laravel-openapi-validator

Automatic OpenAPI validation for Laravel HTTP tests

581.1M5](/packages/kirschbaum-development-laravel-openapi-validator)[surface/laravel-webfinger

A Laravel package to create an ActivityPub webfinger.

113.8k](/packages/surface-laravel-webfinger)

PHPackages © 2026

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