PHPackages                             eos/com-view-server - 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. eos/com-view-server

ActiveLibrary[API Development](/categories/api)

eos/com-view-server
===================

2.1.0(6y ago)09802MITPHPPHP &gt;=7.2

Since Feb 25Pushed 6y ago5 watchersCompare

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

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

eos/com-view-server
===================

[](#eoscom-view-server)

PHP server implementation for ComView-API standard.

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

[](#installation)

Install this library via composer:

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

```

Usage
=====

[](#usage)

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

You can define single handlers for `Eos\ComView\Server\View\ViewInterface` and `Eos\ComView\Server\Command\CommandProcessorInterface`or use the registries `Eos\ComView\Server\View\ViewRegistry` and `Eos\ComView\Server\Command\CommandProcessorRegistry` for usage with multiple views and commands.

```
$view = new Eos\ComView\Server\View\ViewRegistry();
$view->add('test', new Your\View());

$commandProcessor = new Eos\ComView\Server\Command\CommandProcessorRegistry();
$commandProcessor->add('test', new Your\Command());

$healthProvider = new Eos\ComView\Server\Health\HealthProviderChain();

$server = new Eos\ComView\Server\ComViewServer($commandProcessor, $view, $healthProvider, $healthProvider);
```

The `ComViewServer` class offers three methods, `view` and `execute` and `health`.

view(string $viewName, array $queryParameters)
----------------------------------------------

[](#viewstring-viewname-array-queryparameters)

The `view` method expects a string with the name of the view and an array containing the query parameters from the uri.

```
$response = $server->view('viewName', $headers, $queryParameters);
```

execute(array $requestBody)
---------------------------

[](#executearray-requestbody)

The `execute` method expects an array of commands (the ComView request body) with their IDs as keys.

```
$response = $server->execute($headers, $requestBody);
```

health()
--------

[](#health)

The `health` method creates an api health response determined by the health providers.

```
$response = $server->health();
```

###  Health Score

29

—

LowBetter than 57% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity14

Limited adoption so far

Community13

Small or concentrated contributor base

Maturity60

Established project with proven stability

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

Total

5

Last Release

2445d ago

Major Versions

1.1.0 → 2.0.02019-06-25

### 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 (2 commits)")

### Embed Badge

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

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

###  Alternatives

[sylius/sylius

E-Commerce platform for PHP, based on Symfony framework.

8.5k5.9M738](/packages/sylius-sylius)[matomo/matomo

Matomo is the leading Free/Libre open analytics platform

21.7k38.9k](/packages/matomo-matomo)[algolia/algoliasearch-client-php

API powering the features of Algolia.

69735.1M159](/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.5M7](/packages/avalara-avataxclient)[keboola/storage-api-client

Keboola Storage API PHP Client

10405.9k40](/packages/keboola-storage-api-client)[flowwow/cloudpayments-php-client

cloudpayments api client

21101.2k](/packages/flowwow-cloudpayments-php-client)

PHPackages © 2026

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