PHPackages                             umimood/dearapi - 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. umimood/dearapi

ActiveLibrary

umimood/dearapi
===============

PHP Library for dear systems API v2 https://dearinventory.docs.apiary.io

v1.0.2(6y ago)94.6k11MITPHPPHP ^7.1CI failing

Since May 27Pushed 4y ago2 watchersCompare

[ Source](https://github.com/UmiMood/dear-api)[ Packagist](https://packagist.org/packages/umimood/dearapi)[ RSS](/packages/umimood-dearapi/feed)WikiDiscussions master Synced today

READMEChangelogDependencies (2)Versions (5)Used By (0)

dear-api
========

[](#dear-api)

[![Build Status](https://camo.githubusercontent.com/517329a08734d8fb140b5ba254b81d1a7300663d9f08c350d500ddc286feca47/68747470733a2f2f7472617669732d63692e636f6d2f556d694d6f6f642f646561722d6170692e7376673f746f6b656e3d344366757843757a7673356931325a756773415a266272616e63683d6d6173746572)](https://travis-ci.com/UmiMood/dear-api)[![Scrutinizer Code Quality](https://camo.githubusercontent.com/dd209b5bc2aa91b36f5a2a5e1c8a296324fd640d136aa339e884ba8457c4540e/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f556d694d6f6f642f646561722d6170692f6261646765732f7175616c6974792d73636f72652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/UmiMood/dear-api/?branch=master)PHP Library for [dear systems](https://dearinventory.docs.apiary.io) API v2.

Requirements
------------

[](#requirements)

- PHP 7.1+
- guzzlehttp/guzzle 6.3+
- ext-json extension

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

[](#installation)

```
composer require umimood/dearapi
```

Otherwise just download the package and add it to the autoloader.

API Documentation
-----------------

[](#api-documentation)

[docs](https://dearinventory.docs.apiary.io)

Usage
-----

[](#usage)

Create a Dear instance.

```
$dear = UmiMood\Dear\Dear::create("DEAR-ACCOUNT_ID", "DEAR-APPLICATION-KEY");
```

Get data from API

```
$products = $dear->product()->get([]);
$accounts = $dear->account()->get([]);
$me = $dear->me()->get([]);
```

Push a new record to the API

```
$response = $dear->product()->create($params); // see docs for available parameters
```

Update an existing record

```
$response = $dear->product()->update($guid, $params); // see docs for available parameters
```

Delete a record

```
$response = $dear->product()->delete($guid, []);
```

Links
-----

[](#links)

- [License](./LICENSE)

###  Health Score

32

—

LowBetter than 74% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity28

Limited adoption so far

Community12

Small or concentrated contributor base

Maturity57

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.

###  Release Activity

Cadence

Every ~61 days

Total

4

Last Release

2308d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/36285fac6bd74b2dc78d0bdd7c733e822b998edc032f062c45fafd4cdaa4c148?d=identicon)[umair.mahmood22@gmail.com](/maintainers/umair.mahmood22@gmail.com)

---

Top Contributors

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

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/umimood-dearapi/health.svg)

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

PHPackages © 2026

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