ggdx/laravel-insightly
LaravelInsightly
Getting started
Composer
composer require ggdx/laravel-insightly
Laravel
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
Example:
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();
More info
Related Packages
zephia/laravel-pilot
This package is a wrapper of Pilot CRM API Client PHP Class for Laravel Framewor...
568
0
dwij/laraadmin
LaraAdmin is a Open source Laravel Admin Panel / CMS which can be used as Admin...
68,771
1,583