PHPackages                             orglinker/external-integration - 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. orglinker/external-integration

ActiveLibrary

orglinker/external-integration
==============================

This library will be working with orglinker api

v1.1(4y ago)06MITPHP

Since Oct 4Pushed 4y ago1 watchersCompare

[ Source](https://github.com/Orglinker/orglinker)[ Packagist](https://packagist.org/packages/orglinker/external-integration)[ RSS](/packages/orglinker-external-integration/feed)WikiDiscussions master Synced 5d ago

READMEChangelog (2)DependenciesVersions (3)Used By (0)

Library for orglinker API. To install an instance of orglinker, go to

Install library `composer require orglinker/external-integration`

First you need to specify the connection parameters.

```
use \Orglinker\Orglinker;

$config = [
    'email' => 'test@orglinker.com',
    'password' => 'adminpassword',
    'domain_name' => 'your.domain.orglinker.com'
];
$orglinker = new Orglinker($config);
```

- GET request

```
$data = [
    'table' => 'contact', //required field
    'page' => '1', //optional field
    'per-page' => '25', //optional field
    'conditions' => '[{"comparator":"=","field":"id","value":"3"}]', //optional field
];
echo $orglinker->getItems($data);
```

Available Comparators: `=, >=,  'contact', //required field
    'objects' => '[{"name_loc":[{"ru":"contact1","en":" contact1"}], "short_name":" contact1"},{"name_loc":[{"ru":" contact2","en":" contact2"}],"short_name":"contact2"}]', //required field
];
echo $orglinker->createItems($data);
```

- PUT request

When updating, be sure to pass id in each object!

```
$data = [
    'table' => 'contact', //required field
    'objects' => '[{"name_loc":[{"ru":"contact1","en":" contact1"}], "short_name":" contact1", "id":"12"},{"name_loc":[{"ru":" contact2","en":" contact2"}],"short_name":"contact2", "id":"13"}]', //required field
];
echo $orglinker->updateItems($data);
```

- DELETE request

```
$data = [
    'table' => 'contact', //required field
    'ids' => '12,13' //required field
];
echo $orglinker->deleteItems($data);
```

Features of working with trees

1. When a POST request is made, pass the parent\_id field to objects `[{"name_loc":[{"ru":"treename","en":" treename "}], "parent_id":"25"}]`
2. When moving (PUT request), be sure to pass the move = 1 parameter. In the object, pass the id and parent\_id (where we move). Example:

```
$data = [
    'table' => 'contract', //required field
    'objects' => '[{"parent_id":"1","id":"25"},{"parent_id":"1","id":"24"}]', //required field
    'move' => '1', //required field
];
echo $orglinker->updateItems($data);
```

###  Health Score

23

—

LowBetter than 27% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity4

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity51

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

Total

2

Last Release

1683d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/6aa65d70de3aba69ae3201d574d0a9df479905847fe721ed13257c792311dc47?d=identicon)[orglinker](/maintainers/orglinker)

---

Top Contributors

[![Orglinker](https://avatars.githubusercontent.com/u/91889475?v=4)](https://github.com/Orglinker "Orglinker (6 commits)")

### Embed Badge

![Health badge](/badges/orglinker-external-integration/health.svg)

```
[![Health](https://phpackages.com/badges/orglinker-external-integration/health.svg)](https://phpackages.com/packages/orglinker-external-integration)
```

PHPackages © 2026

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