PHPackages                             cheney70/hprose-swoole - 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. [Framework](/categories/framework)
4. /
5. cheney70/hprose-swoole

ActiveLibrary[Framework](/categories/framework)

cheney70/hprose-swoole
======================

Hprose asynchronous client &amp; standalone server based on swoole

1.0.1(5y ago)012MITPHPPHP &gt;=5.3.0

Since Feb 22Pushed 5y agoCompare

[ Source](https://github.com/cheney70/hprose-swoole)[ Packagist](https://packagist.org/packages/cheney70/hprose-swoole)[ Docs](http://hprose.com/)[ RSS](/packages/cheney70-hprose-swoole/feed)WikiDiscussions master Synced today

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

[![Hprose](https://camo.githubusercontent.com/4b1a10cbb9b02a741f56869c2f11819124c6e607cb127049b9b8c63a3829bc48/687474703a2f2f6870726f73652e636f6d2f62616e6e65722e4032782e706e67 "Hprose")](https://camo.githubusercontent.com/4b1a10cbb9b02a741f56869c2f11819124c6e607cb127049b9b8c63a3829bc48/687474703a2f2f6870726f73652e636f6d2f62616e6e65722e4032782e706e67)

Hprose for Swoole
=================

[](#hprose-for-swoole)

[![Build Status](https://camo.githubusercontent.com/7d2254bfe55026f87bfc647bbfdf91ad90eaa316963ac5ba530ba8e340a95692/68747470733a2f2f7472617669732d63692e6f72672f6870726f73652f6870726f73652d73776f6f6c652e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/hprose/hprose-swoole)[![Supported PHP versions: 5.3 .. 7.1](https://camo.githubusercontent.com/e1674cc5b167cc60561b2b35b4e03626ac0950d6e169c1922811c5e12238df35/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f7068702d352e337e372e312d626c75652e737667)](https://camo.githubusercontent.com/e1674cc5b167cc60561b2b35b4e03626ac0950d6e169c1922811c5e12238df35/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f7068702d352e337e372e312d626c75652e737667)[![Packagist](https://camo.githubusercontent.com/66467ebb1e320dbe7cabc564f16f5c0de908e83cfe56cfc01c1ba27849161db2/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6870726f73652f6870726f73652d73776f6f6c652e737667)](https://packagist.org/packages/hprose/hprose-swoole)[![Packagist Download](https://camo.githubusercontent.com/162dee8fee3daa8079f9186f96de27be0b1b3fd35da16508a34135219c614ba1/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f646d2f6870726f73652f6870726f73652d73776f6f6c652e737667)](https://packagist.org/packages/hprose/hprose-swoole)[![License](https://camo.githubusercontent.com/8ba8798ce2975c47f3be12e19c1f2e42e6d00cc964bcff564e0efb048654e2d7/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f6c2f6870726f73652f6870726f73652d73776f6f6c652e737667)](https://packagist.org/packages/hprose/hprose-swoole)

Introduction
------------

[](#introduction)

*Hprose* is a High Performance Remote Object Service Engine.

It is a modern, lightweight, cross-language, cross-platform, object-oriented, high performance, remote dynamic communication middleware. It is not only easy to use, but powerful. You just need a little time to learn, then you can use it to easily construct cross language cross platform distributed application system.

*Hprose* supports many programming languages, for example:

- AAuto Quicker
- ActionScript
- ASP
- C++
- Dart
- Delphi/Free Pascal
- dotNET(C#, Visual Basic...)
- Golang
- Java
- JavaScript
- Node.js
- Objective-C
- Perl
- PHP
- Python
- Ruby
- ...

Through *Hprose*, You can conveniently and efficiently intercommunicate between those programming languages.

This project is the implementation of Hprose for PHP based on swoole.

More Documents for Hprose 2.0:

Installation
------------

[](#installation)

### Download Source Code

[](#download-source-code)

[Download Link](https://github.com/hprose/hprose-swoole/archive/master.zip)

### install by `composer`

[](#install-by-composer)

```
{
    "require": {
        "cheney70/hprose-swoole": "dev-master"
    }
}
```

Usage
-----

[](#usage)

You need to install [swoole](http://www.swoole.com/) first. The minimum version of [swoole](https://github.com/swoole/swoole-src) been supported is 1.8.8.

You also need to install [hprose-pecl](https://pecl.php.net/package/hprose) 1.6.5+.

### Server

[](#server)

Hprose for PHP is very easy to use.

You can create a standalone hprose http server like this:

`http_server.php`

```
