Seiden PHP+ provides the PHP Toolkit (aka XML Toolkit), a good way to call RPG/CL/COBOL/commands from PHP. Once you’ve set up our repository, you can follow the instructions below.

Installing Toolkit

Install the php-toolkit package from Yum; to do so through the command line:

yum install php-toolkit

Including Toolkit

The Toolkit is on the default include path for Seiden PHP. No additional steps should be needed.

If the Toolkit include path is not in the INI, please add /QOpenSys/pkgs/lib/php/ToolkitApi to it.

If you’re hardcoding paths in require/include statements, or in code-level include path changes, please remove them. The Toolkit is not in the same path as in other PHP distributions, so hardcoding them makes your code non-portable.

Composer users

Nothing has changed for Composer users. You can continue to use the toolkit as you did before.

More about the PHP Toolkit

Additional resources are on our toolkit page.

Got Issues? GET ANSWERS!

Your open source should be trouble-free. If your current open source environment is anything less than perfect, we can help!

(or call 201.447.2437)

Seiden Group Documentation Library

Open Source Environment
ODBC
Apache & Other Web Servers
Seiden PHP+ Setup
NOTE: To gain access to any protected pages, you must first download Seiden PHP+.
PHP (General)
Node.js
Python
QSHONI
VS Code for IBM i