Skip to content

PHP Client for Less Annoying CRM

Notifications You must be signed in to change notification settings

top4dev/lacrm

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

LaCRM

Build Status Coverage Status

A simple PHP Client for Less Annoying CRM.

Installation

composer require bulldog/lacrm

Usage

You will need to install guzzlehttp/guzzle by running composer require guzzlehttp/guzzle if you do not want to write your own adapter. If you do want to write your own adapter, it will need to implement the ClientInterface in this package. If you are not sure what to do, then install Guzzle by running composer require guzzlehttp/guzzle.

Simple Client

<?php

include 'vendor/autoload.php';

// If you installed Guzzle, then this will create and return the Client object
$client = Bulldog\LaCrm\SimpleClient::create('UserCode', 'ApiToken');

$contact = new Bulldog\LaCrm\Endpoints\Contacts\CreateContact;
$contact->FullName = "Levi";
$client->createContact($contact);

Regular Client

About

PHP Client for Less Annoying CRM

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • PHP 100.0%