PHPackages                             torann/relateiq - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [API Development](/categories/api)
4. /
5. torann/relateiq

AbandonedArchivedLibrary[API Development](/categories/api)

torann/relateiq
===============

RelateIQ API v2 client for Laravel &amp; standalone projects.

079PHP

Since May 29Pushed 8y ago1 watchersCompare

[ Source](https://github.com/Torann/relateiq)[ Packagist](https://packagist.org/packages/torann/relateiq)[ RSS](/packages/torann-relateiq/feed)WikiDiscussions master Synced today

READMEChangelogDependenciesVersions (1)Used By (0)

RelateIQ Client - Beta
======================

[](#relateiq-client---beta)

[![Latest Stable Version](https://camo.githubusercontent.com/6b03f12e0958575eeb37753e1c0f9ba373a3c804bb10157cdb86b5679f0a2f8f/68747470733a2f2f706f7365722e707567782e6f72672f746f72616e6e2f72656c61746569712f762f737461626c652e706e67)](https://packagist.org/packages/torann/relateiq) [![Total Downloads](https://camo.githubusercontent.com/34b0a109420a24645d0f8f0ec171969e731dd647b40097e01d0c72a6e49c34c3/68747470733a2f2f706f7365722e707567782e6f72672f746f72616e6e2f72656c61746569712f646f776e6c6f6164732e706e67)](https://packagist.org/packages/torann/relateiq)

---

Installation
------------

[](#installation)

- [RelateIQ Client on Packagist](https://packagist.org/packages/torann/relateiq)
- [RelateIQ Client on GitHub](https://github.com/torann/relateiq)

To get the latest version of RelateIQ Client simply require it in your `composer.json` file.

```
"torann/relateiq": "dev-master"

```

You'll then need to run `composer install` to download it and have the autoloader updated.

Laravel Setup
-------------

[](#laravel-setup)

Once RelateIQ Client is installed you need to register the service provider with the application. Open up `app/config/app.php` and find the `providers` key.

```
'Torann\RelateIQ\ServiceProvider'
```

> There is no need to add the Facade, the package will add it for you.

### Add RelateIQ to the Services Config

[](#add-relateiq-to-the-services-config)

Open up `app/config/services.php` and add `relateiq`.

```
'relateiq' => array(
	'key'    => '66cfba7f741d645a488c0b21ebFAKE',
	'secret' => 'effd5216acac6314219ALSOFAKE',
),
```

RelateIQ Client Instance
------------------------

[](#relateiq-client-instance)

```
$riq = new RelateIQ('66cfba7f741d645a488c0b21ebFAKE', 'effd5216acac6314219ALSOFAKE');
$contact = $riq->getContact('741d645a488c0b21eb');
```

For Laravel simple use the facade `RelateIQ`.

```
$contact = new RelateIQ::getContact('741d645a488c0b21eb');
```

Methods
-------

[](#methods)

### Create a Contact `newContact(:properties)`

[](#create-a-contact-newcontactproperties)

A POST request which creates a new Contact object and returns the created Contact with its new unique ID.

**Parameters:**

- `:properties` Attributes that are comprised of a contact object in RelateIQ. The following attributes are supported through the API:
    - name
    - email **(Required)**
    - phone
    - address
    - company
    - title
    - twitter

**Example**

```
$contact = RelateIQ::newContact(array(
    'name'    => 'John Doe',
    'email'   => 'john.doe@mail.box',
    'phone'   => '555-4454',
    'address' => '22 Hill Ave',
    'company' => 'Box Maker, Inc.',
    'title'   => 'Lead Taper',
    'twitter' => '@John4Boxes'
));
```

### Get a Single Contact `getContact(:id)`

[](#get-a-single-contact-getcontactid)

A GET request which pulls a specific Contact by ID, Email or Phone Number

**Parameters:**

- `:id` The identifier for the Contact to be fetched.

**Example**

```
$contact = new RelateIQ::getContact('741d645a488c0b21eb');
```

### Get All Contacts `getContacts()`

[](#get-all-contacts-getcontacts)

A GET request which fetches a paginated collection of all Contacts in your Organization.

**Example**

```
$contacts = new RelateIQ::getContacts();
```

### Update a Contact

[](#update-a-contact)

A PUT request which updates the details of a specific Contact.

**Example**

```
$contact = new RelateIQ::getContact('741d645a488c0b21eb');
$contact->name = 'Sally Doe';
$contact->save();
```

Change Log
----------

[](#change-log)

#### v0.1.0

[](#v010)

- First release

###  Health Score

21

—

LowBetter than 18% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity9

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity41

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/1406755?v=4)[Daniel Stainback](/maintainers/torann)[@Torann](https://github.com/Torann)

---

Top Contributors

[![Torann](https://avatars.githubusercontent.com/u/1406755?v=4)](https://github.com/Torann "Torann (4 commits)")

### Embed Badge

![Health badge](/badges/torann-relateiq/health.svg)

```
[![Health](https://phpackages.com/badges/torann-relateiq/health.svg)](https://phpackages.com/packages/torann-relateiq)
```

###  Alternatives

[exsyst/swagger

A php library to manipulate Swagger specifications

35916.4M7](/packages/exsyst-swagger)[hubspot/api-client

Hubspot API client

24016.2M20](/packages/hubspot-api-client)[pocketmine/bedrock-protocol

An implementation of the Minecraft: Bedrock Edition protocol in PHP

172445.0k15](/packages/pocketmine-bedrock-protocol)[botman/driver-telegram

Telegram driver for BotMan

93459.5k6](/packages/botman-driver-telegram)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
