PHPackages                             eos/com-view-client - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. eos/com-view-client

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

eos/com-view-client
===================

2.0.2(6y ago)03101MITPHPPHP &gt;=7.2

Since Feb 25Pushed 6y ago5 watchersCompare

[ Source](https://github.com/eosnewmedia/php-com-view-client)[ Packagist](https://packagist.org/packages/eos/com-view-client)[ RSS](/packages/eos-com-view-client/feed)WikiDiscussions master Synced 2d ago

READMEChangelogDependencies (2)Versions (6)Used By (1)

eos/php-com-view-client
=======================

[](#eosphp-com-view-client)

PHP client implementation for ComView-API.

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

[](#installation)

Install this library via composer:

```
composer require eos/com-view-client

```

Configuration
=============

[](#configuration)

This assumes you have implemented the [PSR 17](https://www.php-fig.org/psr/psr-17) and [PSR 18](https://www.php-fig.org/psr/psr-18) interfaces that are passed as dependencies:

```
Psr\Http\Client\ClientInterface;
Psr\Http\Message\RequestFactoryInterface;
Psr\Http\Message\StreamFactoryInterface;
Psr\Http\Message\UriFactoryInterface;

```

Create a new instance of `Eos\ComView\Client\ComViewClient`. This will be the entry point for the application.

```
$client = new Eos\ComView\Client\ComViewClient(
   $baseUrl,
   $psrHttpClient,
   $psrUriFactory,
   $psrRequestFactory,
   $psrStreamFactory
);
```

Usage
=====

[](#usage)

This library provides 2 methods to send view- and command-requests.

### Eos\\ComView\\Client\\ComViewClient::requestView($viewRequest)

[](#eoscomviewclientcomviewclientrequestviewviewrequest)

`Eos\ComView\Client\ComViewClient::requestView($viewRequest)` expects an instance of `Eos\ComView\Client\Model\ViewRequest` and returns an instance of `Eos\ComView\Client\Model\ViewResponse`.

```
$viewRequest = new Eos\ComView\Client\Model\ViewRequest(
   $viewName,      //string
   $headers,    //array
   $parameters,    //array
   $pagination,    //array
   $orderBy        //string|null
);
$response = $client->requestView($viewRequest);
```

### Eos\\ComView\\Client\\ComViewClient::executeCommands($commandRequests)

[](#eoscomviewclientcomviewclientexecutecommandscommandrequests)

`Eos\ComView\Client\ComViewClient::executeCommands($commandRequest)` expects an instances of `Eos\ComView\Client\Model\CommandRequest` and returns an instance of `Eos\ComView\Client\Model\CommandResponse`. The command instances in request and response are the same objects, which will be updated during the execution.

```
$commandRequest = new Eos\ComView\Client\Model\CommandRequest(
      [
          new Eos\ComView\Client\Model\Command(/*...*/),
          new Eos\ComView\Client\Model\Command(/*...*/),
      ],
      $headers // array
);
$response = $client->executeCommands($commandRequest);
```

###  Health Score

28

—

LowBetter than 52% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity12

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity59

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

Total

4

Last Release

2442d ago

Major Versions

1.0.0 → 2.0.02019-07-22

### Community

Maintainers

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

---

Top Contributors

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

### Embed Badge

![Health badge](/badges/eos-com-view-client/health.svg)

```
[![Health](https://phpackages.com/badges/eos-com-view-client/health.svg)](https://phpackages.com/packages/eos-com-view-client)
```

###  Alternatives

[cakephp/cakephp

The CakePHP framework

8.8k19.1M1.7k](/packages/cakephp-cakephp)[tempest/framework

The PHP framework that gets out of your way.

2.2k31.1k12](/packages/tempest-framework)[drupal/core-recommended

Locked core dependencies; require this project INSTEAD OF drupal/core.

6941.5M396](/packages/drupal-core-recommended)[flow-php/flow

PHP ETL - Extract Transform Load - Data processing framework

84735.1k](/packages/flow-php-flow)[civicrm/civicrm-core

Open source constituent relationship management for non-profits, NGOs and advocacy organizations.

751284.3k37](/packages/civicrm-civicrm-core)[chargebee/chargebee-php

ChargeBee API client implementation for PHP

758.3M9](/packages/chargebee-chargebee-php)

PHPackages © 2026

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