PHPackages                             vvasystem/o-data - 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. vvasystem/o-data

ActiveLibrary[API Development](/categories/api)

vvasystem/o-data
================

OData Client for PHP

1.0.1(7y ago)42.6k1[2 PRs](https://github.com/vvasystem/o-data/pulls)MITPHPPHP &gt;=7

Since Sep 15Pushed 3y ago1 watchersCompare

[ Source](https://github.com/vvasystem/o-data)[ Packagist](https://packagist.org/packages/vvasystem/o-data)[ RSS](/packages/vvasystem-o-data/feed)WikiDiscussions master Synced 3w ago

READMEChangelog (2)Dependencies (3)Versions (5)Used By (0)

OData API
=========

[](#odata-api)

Package OData is designed to connect to REST API "1C:Enterprise" using the OData protocol.

Install
-------

[](#install)

Via Composer

```
$ composer require vvasystem/o-data
```

Usage
-----

[](#usage)

### 1. Create connection

[](#1-create-connection)

```
 $connection = ConnectionFactory::getInstance('http://localhost/test/odata/standard.odata', 'test', 'test');
```

### 2. Create table

[](#2-create-table)

TestTable.php

```
use OData\Client\Table;

class TestTable extends Table
{
    /**
     * @inheritdoc
     */
    protected $_name = 'Catalog_Склады';

    /**
     * @inheritdoc
     */
    protected $_primary = 'Ref_Key';
}
```

```
 $table = new TestTable(['connection' => $connection]);
```

### 3. Execute query

[](#3-execute-query)

```
 $resultRow = $table->insert([
    'Code'        => 'Test',
    'Discription' => 'Test',
 ]);

 \var_dump($resultRow);
 array(3) {
    ["Ref_Key"]=> string(36) "31b2c19f-e241-11e6-8108-005056a77adb"
    ["Code"]=> string(5) "Test"
    ["Discription"]=> string(5) "Test"
 }

 $resultRow = $table->update([
    'Code'        => 'Test1',
    'Discription' => 'Test1',
 ], '31b2c19f-e241-11e6-8108-005056a77adb');

 $table->delete('31b2c19f-e241-11e6-8108-005056a77adb');

 // For getting count of entries
 $count = $table->count();

 // Running RPC
 $result = $table->call('SelectChanges', [
    'DataExchangePoint' => 'http://localhost/1c/odata/standard.odata/ExchangePlan_Обмен(guid'9d586f0e-afec-11e7-be8e-b888e3a9a739')',
    'MessageNo'         => '123456',
 ]);

```

License
-------

[](#license)

The MIT License (MIT).

###  Health Score

33

—

LowBetter than 72% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity24

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity65

Established project with proven stability

 Bus Factor1

Top contributor holds 88.9% 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 ~28 days

Total

2

Last Release

2809d ago

### Community

Maintainers

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

---

Top Contributors

[![vvasystem](https://avatars.githubusercontent.com/u/3647630?v=4)](https://github.com/vvasystem "vvasystem (8 commits)")[![belov38](https://avatars.githubusercontent.com/u/20417446?v=4)](https://github.com/belov38 "belov38 (1 commits)")

---

Tags

1codataodata-clientphpphpodata1codata-client

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/vvasystem-o-data/health.svg)

```
[![Health](https://phpackages.com/badges/vvasystem-o-data/health.svg)](https://phpackages.com/packages/vvasystem-o-data)
```

###  Alternatives

[tempest/framework

The PHP framework that gets out of your way.

2.2k31.1k12](/packages/tempest-framework)[theodo-group/llphant

LLPhant is a library to help you build Generative AI applications.

1.7k371.6k6](/packages/theodo-group-llphant)[algolia/algoliasearch-client-php

API powering the features of Algolia.

69634.4M144](/packages/algolia-algoliasearch-client-php)[avalara/avataxclient

Client library for Avalara's AvaTax suite of business tax calculation and processing services. Uses the REST v2 API.

528.3M7](/packages/avalara-avataxclient)[tencentcloud/tencentcloud-sdk-php

TencentCloudApi php sdk

3661.2M46](/packages/tencentcloud-tencentcloud-sdk-php)[keboola/storage-api-client

Keboola Storage API PHP Client

10397.4k31](/packages/keboola-storage-api-client)

PHPackages © 2026

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