PHPackages                             onoffice/api-client-cli - 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. [CLI &amp; Console](/categories/cli)
4. /
5. onoffice/api-client-cli

ActiveProject[CLI &amp; Console](/categories/cli)

onoffice/api-client-cli
=======================

CLI based client for onOffice API

v1.0.0(5y ago)061MITPHPPHP ^7.2.0

Since Feb 23Pushed 5y ago2 watchersCompare

[ Source](https://github.com/onOfficeGmbH/api-client-cli)[ Packagist](https://packagist.org/packages/onoffice/api-client-cli)[ RSS](/packages/onoffice-api-client-cli/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (1)Dependencies (2)Versions (2)Used By (0)

onOffice-api-tester
===================

[](#onoffice-api-tester)

test-suite for onOffice API

**Table of Contents**

- [Requirements](#requirements)
- [Installation](#installation)
- [ooapi.ini](#ooapiini)
- [Command-Line-Version](#Command-Line-Version)
- [ooapitest.php](#ooapitestphp)

Requirements
============

[](#requirements)

- PHP &gt;= 7.2
- Linux / OSX

Installation
============

[](#installation)

```
$ git clone
$ composer install #dev-mode
$ composer install --no-dev #op-mode
```

ooapi.ini
=========

[](#ooapiini)

To avoid unnecessary code configuration, this library provides a configuration file.

In the `config/ooapi.ini` the onOffice-API-URL configured.

Command-Line
------------

[](#command-line)

#### bin/ooapitest.php

[](#binooapitestphp)

This library can be used via console.

`$ php bin/ooapitest.php -f /path-to-file-with-json -t token -s secret`

`$ php bin/ooapitest.php -j '{json-string}' -t token -s secret`

The `json-string` MUST be the complete action-tag, example:

```
 {"actionid":"urn:onoffice-de-ns:smart:2.5:smartml:action:read","resourceid":"resource-id","resourcetype":"estate","identifier":"","timestamp":1589567897,"hmac":"88462bce11c5c47fb738dba64a36ba00","parameters":{"data":["Id", "kaufpreis", "lage"]}}
```

Have a look at the [official API documentation](https://apidoc.onoffice.de/)for more information.

###  Health Score

22

—

LowBetter than 22% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity5

Limited adoption so far

Community12

Small or concentrated contributor base

Maturity47

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 70% 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

Unknown

Total

1

Last Release

1909d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/e3241ea646d5298776a417a7e552e7bec0d3dd81ada4be370f8f0b91cd2d09b3?d=identicon)[legionth](/maintainers/legionth)

![](https://www.gravatar.com/avatar/99f8d752ac0fdc14297c80aef23da411d926ec5cac249da6b090b99d62594ef3?d=identicon)[jayay](/maintainers/jayay)

---

Top Contributors

[![legionth](https://avatars.githubusercontent.com/u/1578709?v=4)](https://github.com/legionth "legionth (7 commits)")[![dkaisers](https://avatars.githubusercontent.com/u/929028?v=4)](https://github.com/dkaisers "dkaisers (3 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/onoffice-api-client-cli/health.svg)

```
[![Health](https://phpackages.com/badges/onoffice-api-client-cli/health.svg)](https://phpackages.com/packages/onoffice-api-client-cli)
```

###  Alternatives

[nunomaduro/phpinsights

Instant PHP quality checks from your console.

5.6k10.8M426](/packages/nunomaduro-phpinsights)[spiral/roadrunner-cli

RoadRunner: Command Line Interface

298.9M33](/packages/spiral-roadrunner-cli)[mahocommerce/maho

Free and open source ecommerce platform, created in 2024 on the M1 platform, PHP 8.3+

1322.1k12](/packages/mahocommerce-maho)[typo3/tailor

A CLI tool to make TYPO3 extension handling easier

32111.5k58](/packages/typo3-tailor)

PHPackages © 2026

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