PHPackages                             xpmotors/namor-php-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. [API Development](/categories/api)
4. /
5. xpmotors/namor-php-client

ActiveLibrary[API Development](/categories/api)

xpmotors/namor-php-client
=========================

namor client for php

v0.1.3(7y ago)113MITPHPPHP ~7.0

Since Jul 6Pushed 7y agoCompare

[ Source](https://github.com/xpmotors/namor-php-client)[ Packagist](https://packagist.org/packages/xpmotors/namor-php-client)[ Docs](https://github.com/xpmotors/namor-php-client)[ RSS](/packages/xpmotors-namor-php-client/feed)WikiDiscussions develop Synced yesterday

READMEChangelog (1)DependenciesVersions (7)Used By (0)

Namor的PHP客户端
============

[](#namor的php客户端)

install
-------

[](#install)

php version &gt;= 7.0

```
$ composer require xpmotors/namor-php-client
```

php version &gt;= 5.4 , &lt;7.0

```
$ composer require xpmotors/namor-php-client --ignore-platform-reqs
```

Features
--------

[](#features)

- 支持namor配置变更的实时获取
- 支持拉取配置后自定义的回调处理

Usage
-----

[](#usage)

客户端以cli的方式后台启动执行，支持namor配置的适时获取，并将配置保存在指定的目录供应用程序读取解析

### 客户端示例代码

[](#客户端示例代码)

```
#!/usr/bin/env php
