PHPackages                             biohazard/amocrm-api-laravel - 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. biohazard/amocrm-api-laravel

ActiveLibrary[API Development](/categories/api)

biohazard/amocrm-api-laravel
============================

AmoCRM api for Laravel 10

0.0.8(3y ago)031MITPHP

Since Mar 4Pushed 3y ago1 watchersCompare

[ Source](https://github.com/biohazardhome/amocrm-api-laravel)[ Packagist](https://packagist.org/packages/biohazard/amocrm-api-laravel)[ RSS](/packages/biohazard-amocrm-api-laravel/feed)WikiDiscussions master Synced today

READMEChangelogDependencies (1)Versions (8)Used By (0)

AmoCRM API Laravel 10
=====================

[](#amocrm-api-laravel-10)

AmoCRM api for laravel 10

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

[](#installation)

```
$ composer require biohazard/amocrm-api-laravel
$ php artisan vendor:publish --tag=amocrm-api - Create file config/amocrm-api.php

```

.env

```
AMOCRM_ID="e717af4f-171c-475a-a4c7-d2f6f726c3a6"
AMOCRM_SECRET="chlQrrh7YUfgaQ0JuKoJBcBsgt1UdiiQZEAEH0U0dUF8pRPSJ1CXOr7dLLU8fvcr"
AMOCRM_REDIRECT_URI="http://f0783886.xsph.ru/index.php"
AMOCRM_SUBDOMAIN="stalkernikko.amocrm.ru"
AMOCRM_MIDDLEWARE_REDIRECT="amocrm-api.get-token"

```

Example Controller

```
...
use Biohazard\AmoCRMApi\AmoCRMApiClient;
use League\OAuth2\Client\Token\AccessToken;
use AmoCRM\Models\AccountModel;
use AmoCRM\Exceptions\AmoCRMApiException;
...
class Account extends Controller
{

    public function index(AmoCRMApiClient $amocrm, AccessToken $accessToken) {
        try {
            $account = $amocrm->account()->getCurrent(AccountModel::getAvailableWith());
            dump($account);
        } catch (AmoCRMApiException $e) {
            echo $e->getMessage();
        }
   }
}

```

Middleware add file `app/Http/Kernel.php`

```
protected $middlewareAliases = [
    ...
    'amocrm-api' => \Biohazard\AmoCRMApi\Middleware\AmoCRMApi::class,
]

```

Route

```
Route::get('/account/', 'App\Http\Controllers\Account@index')
    ->middleware('amocrm-api')
    ->name('account');

```

###  Health Score

20

—

LowBetter than 13% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity7

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity40

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 ~1 days

Total

7

Last Release

1213d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/55890475?v=4)[magnetic](/maintainers/magnetic)[@magnetic](https://github.com/magnetic)

---

Top Contributors

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

---

Tags

amocrmamocrm-apiamocrm-phpapilaravelphpapicrmamoCRMamocrm apiamocrm api laravelamocrm laravel

### Embed Badge

![Health badge](/badges/biohazard-amocrm-api-laravel/health.svg)

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

PHPackages © 2026

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