PHPackages                             finolog\_update/finolog-php - 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. finolog\_update/finolog-php

ActiveLibrary[API Development](/categories/api)

finolog\_update/finolog-php
===========================

PHP bindings to the Finolog API

1.0.2(4y ago)019Apache-2.0PHPPHP &gt;=7.0

Since Sep 9Pushed 4y agoCompare

[ Source](https://github.com/sigaryov/finolog-php)[ Packagist](https://packagist.org/packages/finolog_update/finolog-php)[ RSS](/packages/finolog-update-finolog-php/feed)WikiDiscussions master Synced today

READMEChangelog (1)Dependencies (3)Versions (4)Used By (0)

Finolog-php
===========

[](#finolog-php)

> Official PHP bindings to the Finolog API

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

[](#installation)

```
$ composer require finolog/finolog-php
```

Documentation
-------------

[](#documentation)

[Documentation by Finolog](https://api.finolog.ru/docs "Finolog API")

Usage
-----

[](#usage)

```
use Finolog\Client as Finolog;

$finolog = new Finolog('your api token');

// or

use Finolog\Contractor;

$contractor = new Contractor('your api token');

// or

use Finolog\Client as Finolog;

$finolog = new Finolog('your api token', biz_id);
```

### User

[](#user)

```
// receives information about an authorized user
$finolog->user->get();

// updates the information to an authorized user
$finolog->user->update(['first_name' => 'first name', 'last_name' => 'last name']);
```

### Currency

[](#currency)

```
// get currency
$finolog->currency->all();
```

### Biz

[](#biz)

```
// get information about business
$finolog->biz->get(['biz_id' => 14323]);

// get information about all business
$finolog->biz->all();

// add new business
$finolog->biz->add(['name' => 'business name', 'base_currency_id' => 1]);

// update business information
$finolog->biz->update(['biz_id' => 14323, 'name' => 'new business name'])

// delete business
$finolog->biz->delete(['biz_id' => 14323]);
```

### Company

[](#company)

```
// get information about company
$finolog->company->get(['biz_id' => 2524, 'id' => 423]);

// get information about all company from business
$finolog->company->all(['biz_id' => 3323]);

// add new company
$finolog->company->add(['biz_id', 'name' => 'company name']);

// update company information
$finolog->company->update(['biz_id' => 3545, 'id' => 344, 'name' => 'new company name']);

// delete company
$finolog->company->delete(['biz_id' => 32434, id: 4234]);
```

### Account

[](#account)

```
// get information about account
$finolog->account->get(['biz_id' => 3424, 'id' => 4354]);

// get information about all account
$finolog->account->all(['biz_id' => 34534]);

// add new account
$finolog->account->add([
    'biz_id' => 4234,
    'company_id' => 455,
    'currency_id' => 434,
    'name' => 'account name',
    'initial_balance' => 1000
]);

// update account information
$finolog->account->update(['biz_id' => 5345, 'id' => 4453, 'name' => 'new name']);

// delete account
$finolog->account->delete(['biz_id' => 5345, 'id' => 22]);
```

### Transaction

[](#transaction)

```
// get information about transaction
$finolog->transaction->get(['biz_id' => 4324, 'id' => 1234]);

// get information about all transactions
$finolog->transaction->all(['biz_id' => 234]);

// add new transaction
$finolog->transaction->add(['biz_id' => 333, 'from_id', 'date' => '2018-01-01', 'value' => 1000]);

// update transaction information
$finolog->transaction->update(['biz_id' => 342, 'id' => 424, 'value' => 2000]);

// delete transaction
$finolog->transaction->delete(['biz_id' => 435, 'id' => 4234]);

// split transaction
$finolog->transaction->split([
    'biz_id' => 423,
    'id' => 42354,
    'items' => [
        ['value' => 100],
        ['value' => 200]
    ]
]);

//cancel split transaction
$finolog->transaction->cancel(['biz_id' => 423, 'id' => 4345]);
```

### Category

[](#category)

```
// get information about category
$finolog->category->get(['biz_id' => 4435, 'id' => 5435]);

// get information about all categories
$finolog->category->all(['biz_id' => 435]);

// add new category
$finolog->category->add(['biz_id' => 435, 'name' => 'category name', 'type' => 'in']);

// update category information
$finolog->category->update(['biz_id' => 5345, 'id' => 435, 'name' => 'new category name']);

// delete category
$finolog->category->delete(['biz_id' => 2343, 'id' => 44]);
```

### Project

[](#project)

```
// get information about project
$finolog->project->get(['biz_id' => 2343, 'id' => 44]);

// get information about all projects
$finolog->project->all(['biz_id' => 435]);

// add new project
$finolog->project->add(['biz_id' => 435, 'currency_id' => 3 'name' => 'project name']);

// update project information
$finolog->project->update(['biz_id' => 345, 'id' => 534, 'name' => 'new project name']);

// delete project
$finolog->project->delete(['biz_id' => 2343, 'id' => 44]);
```

### Contractor

[](#contractor)

```
// get information about contractor
$finolog->contractor->get(['biz_id' => 345, 'id' => 5435]);

// get information about all contractors
$finolog->contractor->all(['biz_id' => 5345]);

// add new contractor
$finolog->contractor->add(['biz_id' => 1, 'name' => 'contractor name']);

// update information contractor
$finolog->contractor->update(['biz_id' => 4534, 'id' => 453, 'name' => 'new contractor name']);

// delete contractor
$finolog->contractor->delete(['biz_id' => 345, 'id' => 5435]);
```

### Requisite

[](#requisite)

```
// get information about requisite
$finolog->requisite->get(['biz_id' => 345, 'id' => 5435]);

// get information about all requisites
$finolog->requisite->all(['biz_id' => 5345]);

// add new requisite
$finolog->requisite->add(['biz_id' => 1, 'contractor_id' => 3443 'name' => 'requisite name']);

// update requisite information
$finolog->requisite->update(['biz_id' => 1, 'id' => 3443 'name' => 'new requisite name']);

// delete requisite
$finolog->requisite->delete(['biz_id' => 345, 'id' => 5435]);
```

Examples
--------

[](#examples)

### Example 1

[](#example-1)

```
use Finolog\Client as Finolog;

$finolog = new Finolog('your api token');

$biz = $finolog->biz->all();
$finolog->contractor->add(['biz_id' => $biz[0]->id, name => 'test contractor']);
```

### Example 2

[](#example-2)

```
use Finolog\Client as Finolog;

$finolog = new Finolog('your api token', 5434); // 5434 - biz_id

$finolog->transaction->all(); // without biz_id, becouse biz_id use in a costructor Finolog
$finolog->transaction->all(['biz_id' => 331]); // return transaction which are in business 331, not 5434 !
```

###  Health Score

26

—

LowBetter than 43% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity59

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 50% 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 ~596 days

Total

3

Last Release

1607d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/3d5c30916951b5b818162ef2ff154d72fe7f0de635716c5d9ffb320202ffdc5b?d=identicon)[AlexSigaryov](/maintainers/AlexSigaryov)

---

Top Contributors

[![denlapaev](https://avatars.githubusercontent.com/u/3096564?v=4)](https://github.com/denlapaev "denlapaev (5 commits)")[![sigaryov](https://avatars.githubusercontent.com/u/59250170?v=4)](https://github.com/sigaryov "sigaryov (5 commits)")

---

Tags

apifinologfinolog-php

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/finolog-update-finolog-php/health.svg)

```
[![Health](https://phpackages.com/badges/finolog-update-finolog-php/health.svg)](https://phpackages.com/packages/finolog-update-finolog-php)
```

###  Alternatives

[openai-php/laravel

OpenAI PHP for Laravel is a supercharged PHP API client that allows you to interact with the Open AI API

3.7k7.6M74](/packages/openai-php-laravel)[mailchimp/transactional

458.9M16](/packages/mailchimp-transactional)[get-stream/stream-chat

A PHP client for Stream Chat (https://getstream.io/chat/)

301.8M2](/packages/get-stream-stream-chat)[convertkit/convertkitapi

Kit PHP SDK for the Kit API

2167.1k1](/packages/convertkit-convertkitapi)

PHPackages © 2026

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