PHP frontend to XMLSERVICE for IBM i development.
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.
ToolkitApi #96 - autoloader check class exists in array Sep 1, 2016
ToolkitTests Corrected reference to undefined variable in CW test Aug 28, 2015
LICENSE.txt Fix IBM i spelling Apr 29, 2016
phpunit.xml Moved phpunit.xml to project root, added psr-4 autoloading for Toolki… Dec 1, 2015

PHP Toolkit for IBM i

Build Status

For production systems please do not use the master branch. Instead use the latest stable release.


The PHP Toolkit for IBM i (Toolkit) is a PHP-based front end to XMLSERVICE that helps programmers call RPG and CL programs along with other native resources from within PHP.

The Toolkit is open source and has been developed with help from Alan Seiden and the community.

Discussion of the Toolkit (usage and how to contribute) happens at the ‘Club Seiden’ forum:

Current Main Features:

  • Ability to call RPG, CL, and COBOL
  • Ability call IBM i native resources such as Spool Files, Data Areas, and System Values
  • Run interactive commands such as ‘wrkactjob’
  • Designed to used a choice of transports including DB2, ODBC , and HTTP
  • Compatibility wrapper to execute Easycom syntax

Planned Features:

  • More and better code samples
  • Run SQL
  • Inline transport (not requiring DB2 connection)
  • Improve usability of the API
  • Optimizations for larger data sets
  • More (to be added to GitHub issues)

XMLSERVICE and the IBM i Toolkit are already shipped with Zend Server. But being open source they can also be downloaded, installed, and upgraded separately.

For more information and examples, please visit the wiki: