mitosis / agilecrm
Library to integrate with AgileCRM
This package's canonical repository appears to be gone and the package has been frozen as a result.
v1.3.0
2016-10-17 09:44 UTC
Requires
- usmanhalalit/get-set-go: 1.*@dev
- zendframework/zend-config: 2.6.*
- zendframework/zend-http: *
Requires (Dev)
- phpdocumentor/phpdocumentor: 2.*
- phpunit/phpunit: ^5.5
This package is auto-updated.
Last update: 2019-10-29 03:35:17 UTC
README
This library is used by Mitosis to consume AgileCRM API.
Sample Usage to get list of contact
#!php
<?php
require_once 'vendor/autoload.php';
use Mitosis\AgileCrm\MitosisAgile;
use Mitosis\AgileCrm\Config;
$config = new Config();
$config->setUsername( 'YOUR_AGILE_USERNAME' );
$config->setPassword( 'YOUR_AGILE_API_KEY' );
$config->setEndpoint( 'YOUR_AGILE_ENDPOINT_API_URL' );
$agile = new MitosisAgile( $config );
$data = $agile->get('contacts');
print_r($data);
?>
Methods
get($request,$params=[])
Request to agileCRM api using get method.
post($request,$json)
Request to agileCRM api using post method.
put($request,$json)
Request to agileCRM api using put method.
delete($request)
Request to agileCRM api using delete method.
Who do I talk to?
- Repo owner or admin