-
Install the package via composer
-
Add the following entry to the array of service providers found in app/config/app.php :
'Sairiz\Infusionsoft\InfusionsoftServiceProvider',
-
Publish the config file to your app/config/ directory by running the following from command line in your project root :
php artisan config:publish sairiz/infusionsoft
-
Setup your Infusionsoft application name and api key at app/config/packages/sairiz/infusionsoft/config.php
Call any method using Facade alias (Fuse)
Example :
Fuse::loadCon(1);
Fuse::dsQuery('Contact',100,0,['Id' => %],['Id','FirstName']);