P4PHP

Introduction

P4PHP, the PHP interface to the Perforce API, enables you to write PHP code that interacts with a Perforce server. P4PHP enables your PHP scripts to:

  • Get Perforce data and forms in arrays.

  • Edit Perforce forms by modifying arrays.

  • Provide exception-based error handling and optionally ignore warnings.

  • Issue multiple commands on a single connection (performs better than spawning single commands and parsing the results).

The most recent release of P4PHP is 2013.1.