PHPackages                             phpone/yii2-apollo - 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. phpone/yii2-apollo

ActiveYii2-extension[API Development](/categories/api)

phpone/yii2-apollo
==================

yii2-apollo client

0.0.1(6y ago)114MITPHPPHP &gt;=7.0.0

Since Aug 14Pushed 6y ago1 watchersCompare

[ Source](https://github.com/nobody05/yii2-apollo)[ Packagist](https://packagist.org/packages/phpone/yii2-apollo)[ RSS](/packages/phpone-yii2-apollo/feed)WikiDiscussions master Synced today

READMEChangelogDependencies (2)Versions (2)Used By (0)

yii2-apollo client
------------------

[](#yii2-apollo-client)

### Instruction

[](#instruction)

- install

```
composer require phpone/yii2-apollo
```

- change .env file

```
APP_ID=1
CLUSTER=default
APOLLO_NAMESPACES="application,hogwarts.common_snape_config"
APOLLO_COMMON_NAMESPACE="hogwarts.common_snape_config"
APOLLO_CONFIG_SERVER=127.0.0.1
```

- add configuration in console.php &amp; web.php

```
[
    'aliases' => [
        '@storagePath' => '@app/storage',
        '@apolloPath' => '@storagePath/apollo'
    ]
];
```

- add configuration in console.php

```
[
    'controllerMap' => [
        'apollo.start-agent' => [
            'class' => 'Wby\ApolloYii\commands\ApolloClientController',
            'namespaces' => explode(',', getenv('APOLLO_NAMESPACES', 'application')),
            'cluster' => getenv('APOLLO_CLUSTER', 'default'),
            'save_dir' => '@apolloPath',
            'config_server' => getenv('APOLLO_CONFIG_SERVER', 'http://192.168.100.184:8090'),
            'app_id' => getenv('APP_ID'),
            'timeout_interval' => 70
        ]
    ]
];

```

### use

[](#use)

- exec ./yii apollo.start-agent , if you want to keep the script run in daemon can see
- how get config

```
$namespace = 'application';
$key = 'host';
$host = Apollo::connect($namespace)->get($key);
```

###  Health Score

21

—

LowBetter than 19% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity7

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity43

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

Unknown

Total

1

Last Release

2461d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/570779d44e0341e6c338759362c311245f3b981d8b41b70e4b6c3ef723d79572?d=identicon)[nobody1990](/maintainers/nobody1990)

---

Top Contributors

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

### Embed Badge

![Health badge](/badges/phpone-yii2-apollo/health.svg)

```
[![Health](https://phpackages.com/badges/phpone-yii2-apollo/health.svg)](https://phpackages.com/packages/phpone-yii2-apollo)
```

###  Alternatives

[dotzero/yii2-amocrm

Расширение для Yii Framework 2 реализующее клиент для работы с API amoCRM

1639.7k](/packages/dotzero-yii2-amocrm)[conquer/services

Yii2 soap wsdl web services

1632.5k](/packages/conquer-services)[skeeks/yii2-google-api

Component for work with google api based on google/apiclient

1243.1k1](/packages/skeeks-yii2-google-api)[apexwire/yii2-restclient

Tools to use API as ActiveRecord for Yii2

143.5k](/packages/apexwire-yii2-restclient)

PHPackages © 2026

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