PHPackages                             hprose/hprose-php - 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. hprose/hprose-php

ActiveLibrary[API Development](/categories/api)

hprose/hprose-php
=================

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.

2335PHP

Since Oct 23Pushed 10y ago1 watchersCompare

[ Source](https://github.com/xielingwang/hprose-php)[ Packagist](https://packagist.org/packages/hprose/hprose-php)[ RSS](/packages/hprose-hprose-php/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependenciesVersions (1)Used By (0)

Hprose for PHP
==============

[](#hprose-for-php)

[![Join the chat at https://gitter.im/hprose/hprose-php](https://camo.githubusercontent.com/2dd4d0f228a76b3dd73355d3fb9101cd32fb849421b528669a9a7bbec7d5a25a/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4749545445522d6a6f696e253230636861742d677265656e2e737667)](https://gitter.im/hprose/hprose-php?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)[![Packagist](https://camo.githubusercontent.com/671a34ec0fa343b8bb7c529a2b0d338e3d683e40b9c3badc64b0e62703129909/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6870726f73652f6870726f73652e737667)](https://packagist.org/packages/hprose/hprose)[![Packagist Download](https://camo.githubusercontent.com/d84c7728f41ca33b4b5c7c67fe2c28e3638d16ab72a92b18e0e9619a2cbcdd1e/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f646d2f6870726f73652f6870726f73652e737667)](https://packagist.org/packages/hprose/hprose)[![License](https://camo.githubusercontent.com/ba7d5838c693e35060487eb0e0e6694f3e024bd00687d5f8ff88647d916e23a8/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f6c2f6870726f73652f6870726f73652e737667)](https://packagist.org/packages/hprose/hprose)

> ---

- **[Introduction](#introduction)**
- **[Usage](#usage)**
    - **[Server](#server)**
    - **[Client](#client)**
    - **[Exception Handling](#exception-handling)**

> ---

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.

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

[](#installation)

### Download Source Code

[](#download-source-code)

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

### install by `composer`

[](#install-by-composer)

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

Usage
-----

[](#usage)

### Server

[](#server)

Hprose for PHP is very easy to use. You can create a hprose server like this:

```
