PHPackages                             xyqweb/rpc - 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. xyqweb/rpc

ActiveLibrary

xyqweb/rpc
==========

rpc request

0.1.9.10(3y ago)0197Apache-2.0PHPPHP &gt;=7.1.0

Since Mar 28Pushed 3y ago1 watchersCompare

[ Source](https://github.com/xyqweb/rpc)[ Packagist](https://packagist.org/packages/xyqweb/rpc)[ RSS](/packages/xyqweb-rpc/feed)WikiDiscussions master Synced 4d ago

READMEChangelog (10)DependenciesVersions (19)Used By (0)

RPC SDK for php
===============

[](#rpc-sdk-for-php)

---

[![Latest Stable Version](https://camo.githubusercontent.com/34b114c764edc293314267a40c7a313adb94a923e088547a0eac4d207035e082/68747470733a2f2f7061636b61676973742e6f72672f7061636b616765732f7879717765622f727063)](https://packagist.org/packages/xyqweb/rpc)

### Run environment

[](#run-environment)

- PHP 7.1+.

### Install RPC PHP SDK

[](#install-rpc-php-sdk)

```
composer require xyqweb/rpc

```

- If you use the ***composer*** to manage project dependencies, run the following command in your project's root directory:

    ```
      composer require xyqweb/rpc

    ```

    You can also declare the dependency on Log SDK for PHP in the `composer.json` file.

    ```
      "require": {
          "xyqweb/rpc": "~0.1"
      }

    ```

    Then run `composer install` to install the dependency. After the Composer Dependency Manager is installed, import the dependency in your PHP code:

    ```
      require_once __DIR__ . '/vendor/autoload.php';

    ```

Quick use
---------

[](#quick-use)

### Initialize an LogClient

[](#initialize-an-logclient)

#### Load in normal mode

[](#load-in-normal-mode)

```
