Skip to content

khasinski/mod-lang-php

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

PHP language implementation for Vert.x

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Java 74.5%
  • PHP 25.3%
  • HTML 0.2%