PHPackages                             dmamontov/amo-restapi - 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. [HTTP &amp; Networking](/categories/http)
4. /
5. dmamontov/amo-restapi

AbandonedArchivedLibrary[HTTP &amp; Networking](/categories/http)

dmamontov/amo-restapi
=====================

PHPClient to work with through AmoCRM Rest API.

1.0.3(10y ago)82716[1 PRs](https://github.com/dmamontov/amo-restapi/pulls)BSD-3-ClausePHPPHP &gt;=5.3.0

Since May 10Pushed 10y ago1 watchersCompare

[ Source](https://github.com/dmamontov/amo-restapi)[ Packagist](https://packagist.org/packages/dmamontov/amo-restapi)[ Docs](http://www.slobel.ru/)[ RSS](/packages/dmamontov-amo-restapi/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependenciesVersions (4)Used By (0)

[![Latest Stable Version](https://camo.githubusercontent.com/ab1bfe0b2d43279d706798222015f38da6eed2a71e573881f4938003782bed81/68747470733a2f2f706f7365722e707567782e6f72672f646d616d6f6e746f762f616d6f2d726573746170692f762f737461626c652e737667)](https://packagist.org/packages/dmamontov/amo-restapi)[![License](https://camo.githubusercontent.com/23578a6b017d13376d8d5630ec16d5d4177a3917bfb250f374044c08c43c18df/68747470733a2f2f706f7365722e707567782e6f72672f646d616d6f6e746f762f616d6f2d726573746170692f6c6963656e73652e737667)](https://packagist.org/packages/dmamontov/amo-restapi)[![Total Downloads](https://camo.githubusercontent.com/3d63af702407938720eca3f24fcc11e04e9f1233d57bc783ca108722c2472aa7/68747470733a2f2f706f7365722e707567782e6f72672f646d616d6f6e746f762f616d6f2d726573746170692f646f776e6c6f6164732e737667)](https://packagist.org/packages/dmamontov/amo-restapi)

AmoCRM API Client
=================

[](#amocrm-api-client)

This class can Manage accounts of AmoCRM using its REST API.

It can obtain an authorization token for a given account, so it can send HTTP requests to the [AmoCRM Rest API](https://developers.amocrm.ru/rest_api/) in order to perform several types of operations.

Currently it can the current accounts, set and get contacts, contact links, leads, companies, tasks, notes and fields.

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

[](#requirements)

- PHP version &gt;5.0
- curl

Available methods
-----------------

[](#available-methods)

- `getAccounts`
- `setContacts`, `getContactsList`, `getContactsLinks`
- `setLeads`, `getLeadsList`
- `setCompany`, `getCompanyList`
- `setTasks`, `getTasksList`
- `setNotes`, `getNotesList`
- `setFields`

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

[](#installation)

1. Install [composer](https://getcomposer.org/download/)
2. Follow in the project folder:

```
composer require dmamontov/amo-restapi ~1.0.3
```

In config `composer.json` your project will be added to the library `dmamontov/amo-restapi`, who settled in the folder `vendor/`. In the absence of a config file or folder with vendors they will be created.

If before your project is not used `composer`, connect the startup file vendors. To do this, enter the code in the project:

```
require 'path/to/vendor/autoload.php';
```

Examples of use
---------------

[](#examples-of-use)

### Getting information about the leads

[](#getting-information-about-the-leads)

```
$amo = new AmoRestApi($subDomain, $login, $key);
$order = $amo->getLeadsList(1, 0, 2556);
```

### Creating a contacts

[](#creating-a-contacts)

```
$amo = new AmoRestApi($subDomain, $login, $key);
$contacts['add'] = array(
    'name' => 'Test',
    'request_id' => '2555',
    'date_create' => time()
);
$result = $amo->setContacts($contacts);
```

###  Health Score

31

—

LowBetter than 68% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity20

Limited adoption so far

Community15

Small or concentrated contributor base

Maturity60

Established project with proven stability

 Bus Factor1

Top contributor holds 61.5% 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 ~99 days

Total

3

Last Release

3828d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/5955726?v=4)[Dmitry Mamontov](/maintainers/dmamontov)[@dmamontov](https://github.com/dmamontov)

---

Top Contributors

[![dmamontov](https://avatars.githubusercontent.com/u/5955726?v=4)](https://github.com/dmamontov "dmamontov (16 commits)")[![sprightly](https://avatars.githubusercontent.com/u/8336903?v=4)](https://github.com/sprightly "sprightly (7 commits)")[![chuprik](https://avatars.githubusercontent.com/u/802946?v=4)](https://github.com/chuprik "chuprik (1 commits)")[![dakiesse](https://avatars.githubusercontent.com/u/5033716?v=4)](https://github.com/dakiesse "dakiesse (1 commits)")[![jh9aea](https://avatars.githubusercontent.com/u/3061197?v=4)](https://github.com/jh9aea "jh9aea (1 commits)")

---

Tags

apiclientrestcrmamoCRM

### Embed Badge

![Health badge](/badges/dmamontov-amo-restapi/health.svg)

```
[![Health](https://phpackages.com/badges/dmamontov-amo-restapi/health.svg)](https://phpackages.com/packages/dmamontov-amo-restapi)
```

###  Alternatives

[cristianpontes/zoho-crm-client-php

Provides a clean readable PHP API to the Zoho Rest API

5554.0k](/packages/cristianpontes-zoho-crm-client-php)[serpapi/google-search-results-php

Get Google, Bing, Baidu, Ebay, Yahoo, Yandex, Home depot, Naver, Apple, Duckduckgo, Youtube search results via SerpApi.com

69114.3k](/packages/serpapi-google-search-results-php)[artesaos/laravel-linkedin

Linkedin API integration for Laravel and Lumen 5

5666.5k](/packages/artesaos-laravel-linkedin)[ismaeltoe/osms

PHP library wrapper of the Orange SMS API.

4540.0k](/packages/ismaeltoe-osms)[romanpitak/dotmailer-api-v2-client

Client library for the dotMailer v2 (REST) API.

21101.0k2](/packages/romanpitak-dotmailer-api-v2-client)[jsor/hal-client

A lightweight client for consuming and manipulating Hypertext Application Language (HAL) resources.

2425.9k1](/packages/jsor-hal-client)

PHPackages © 2026

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