PHPackages                             gyurobenjamin/closeio-laravel-api - 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. gyurobenjamin/closeio-laravel-api

ActiveLibrary[API Development](/categories/api)

gyurobenjamin/closeio-laravel-api
=================================

Close.io API wrapper for Laravel

v1.0.2(8y ago)41.5k1MITPHPPHP &gt;=5.4.0

Since Aug 29Pushed 7y ago1 watchersCompare

[ Source](https://github.com/gyurobenjamin/closeio-laravel-api)[ Packagist](https://packagist.org/packages/gyurobenjamin/closeio-laravel-api)[ Docs](https://github.com/gyurobenjamin/closeio-laravel-api)[ RSS](/packages/gyurobenjamin-closeio-laravel-api/feed)WikiDiscussions master Synced 3w ago

READMEChangelog (2)Dependencies (2)Versions (4)Used By (0)

closeio-laravel-api
===================

[](#closeio-laravel-api)

Laravel API Client for Close.io

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

[](#installation)

Install via composer - edit your `composer.json` to require the package.

```
composer require gyurobenjamin/closeio-laravel-api

```

Laravel
-------

[](#laravel)

To use in laravel add the following to the `providers` array in your `config/app.php`

```
Gyurobenjamin\CloseioLaravelApi\CloseioClient::class
```

Next add the following to the `aliases` array in your `config/app.php`

```
'CloseioClient' => Gyurobenjamin\CloseioLaravelApi\CloseioClient::class
```

Usage
-----

[](#usage)

#### Leads

[](#leads)

```
$client = new CloseioClient(); // Create a new Closeio Instance.

list($lead, $error) = $client->lead->get($id); // Retrieve a single lead
list($leads, $error) = $client->lead->search($whateverString); // List or search for leads
list($result, $error) = $client->lead->delete($id); // Delete a lead
list($lead, $error) = $client->lead->update($id, $newLead); // Update an existing lead
list($lead, $error) = $client->lead->create($lead); // Create a new lead

```

#### Contacts

[](#contacts)

```
$client = new CloseioClient(); // Create a new Closeio Instance.

list($contact, $error) = $client->contact->get($id); // Retrieve a single contact
list($contacts, $error) = $client->contact->search($whateverString); // List or search for contact
list($result, $error) = $client->contact->delete($id); // Delete a contact
list($contact, $error) = $client->contact->update($id, $newContact); // Update an existing contact
list($contact, $error) = $client->contact->create($contact); // Create a new contact

```

#### Activities

[](#activities)

```
$client = new CloseioClient(); // Create a new Closeio Instance.

list($activity, $error) = $client->activity->get($id); // Retrieve a single activity
list($activities, $error) = $client->activity->search($whateverString); // List or search for activity
list($result, $error) = $client->activity->delete($id); // Delete a activity
list($activity, $error) = $client->activity->update($id, $newActivity); // Update an existing activity
list($activity, $error) = $client->activity->create($activity); // Create a new activity

```

#### Opportunities

[](#opportunities)

```
$client = new CloseioClient(); // Create a new Closeio Instance.

list($opportunity, $error) = $client->opportunity->get($id); // Retrieve a single opportunity
list($opportunities, $error) = $client->opportunity->search($whateverString); // List or search for opportunity
list($result, $error) = $client->opportunity->delete($id); // Delete an opportunity
list($opportunity, $error) = $client->opportunity->update($id, $newOpp); // Update an existing opportunity
list($opportunity, $error) = $client->opportunity->create($opp); // Create a new opportunity

```

#### Tasks

[](#tasks)

```
$client = new CloseioClient(); // Create a new Closeio Instance.

list($task, $error) = $client->task->get($id); // Retrieve a single task
list($tasks, $error) = $client->task->search($whateverString); // List or search for task
list($result, $error) = $client->task->delete($id); // Delete a task
list($task, $error) = $client->task->update($id, $newTask); // Update an existing task
list($task, $error) = $client->task->create($task); // Create a new task

```

#### Users

[](#users)

```
$client = new CloseioClient(); // Create a new Closeio Instance.

list($user, $error) = $client->user->get($id); // Retrieve a single user
list($users, $error) = $client->user->search($whateverString); // List or search for user
list($result, $error) = $client->user->delete($id); // Delete a user
list($user, $error) = $client->user->update($id, $newUser); // Update an existing user
list($user, $error) = $client->user->create($user); // Create a new user

```

#### Organizations

[](#organizations)

```
$client = new CloseioClient(); // Create a new Closeio Instance.

list($org, $error) = $client->organization->get($id); // Retrieve a single organization
list($orgs, $error) = $client->organization->search($whateverString); // List or search for organization
list($result, $error) = $client->organization->delete($id); // Delete a organization
list($org, $error) = $client->organization->update($id, $newOrg); // Update an existing organization
list($org, $error) = $client->organization->create($org); // Create a new organization

```

###  Health Score

30

—

LowBetter than 62% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity20

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity60

Established project with proven stability

 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.

###  Release Activity

Cadence

Every ~0 days

Total

3

Last Release

3232d ago

PHP version history (2 changes)v1.0.0PHP ~5.5|~7.0

v1.0.2PHP &gt;=5.4.0

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/3200573?v=4)[Benjamin Gyuro](/maintainers/gyurobenjamin)[@gyurobenjamin](https://github.com/gyurobenjamin)

---

Top Contributors

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

---

Tags

apilaravelcloseClose.io

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/gyurobenjamin-closeio-laravel-api/health.svg)

```
[![Health](https://phpackages.com/badges/gyurobenjamin-closeio-laravel-api/health.svg)](https://phpackages.com/packages/gyurobenjamin-closeio-laravel-api)
```

###  Alternatives

[joisarjignesh/bigbluebutton

BigBlueButton Server API Library for Laravel

162155.1k1](/packages/joisarjignesh-bigbluebutton)

PHPackages © 2026

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