Laravel 5 service provider for Insightly CRM API
ggdx/laravel-insightly is a Laravel package for laravel 5 service provider for insightly crm api.
It currently has 5 GitHub stars and 205 downloads on Packagist (latest version 1.0.3.10).
Install it with composer require ggdx/laravel-insightly.
Discover more Laravel packages by ggdx
or browse all Laravel packages to compare alternatives.
Last updated
composer require ggdx/laravel-insightly
Add the provider:
'providers' => [
GGDX\LaravelInsightly\InsightlyServiceProvider::class,
]
Add the facade:
'aliases' => [
'Insightly' => GGDX\LaravelInsightly\InsightlyFacade::class,
]
Generate the config file:
php artisan vendor:publish
If using version control, add INSIGHTLY_KEY=your_key to the .env or add your key directly to config/insightly.php
use Insightly;
and then
Insightly::getContacts();
... or if you prefer dependency injection ...
use Insightly;
private $insightly;
public function __construct(Insightly $insightly)
{
$this->insightly = $insightly;
}
and then in some method
$this->insightly->getContacts();