Skip to content

Latest commit

 

History

History
37 lines (28 loc) · 1.55 KB

README.md

File metadata and controls

37 lines (28 loc) · 1.55 KB

Vert.x 2.x is deprecated - use instead http://vertx.io

Vert.x PHP

For API documentation and tutorials see the PHP User Manual

This project provides PHP language integration for Vert.x. Since Vert.x runs on the JVM, this module is built on the Java-based Quercus PHP implementation, one which is kept up to date and supports many useful new PHP features. The Vert.x PHP API closely resembles that of the JavaScript module, using shorter method names and closures for event handlers. The API is implemented entirely on top of the Quercus Java API so as to allow more control over interaction with the core Vert.x API.

Installation

Please note that Vert.x PHP is still young and has not yet had an official release. Large strides have been made towards stablizing the API, but a few issues remain with various portions of the module. This project is not recommended for production until an official release has been made some time in the comming weeks.

  • Update langs.properties in your VERTX_HOME/conf directory with:

Vert.x will automatically download and install the PHP language module when running a PHP verticle.

php=io.vertx~lang-php~0.1.0-beta2-SNAPSHOT:io.vertx.lang.php.PhpVerticleFactory
.php=php

Documentation

See the PHP User Manual

Examples

See examples