Changes in PHP client >= 3.1.0

We just released versions 3.1.0 and 3.1.1 of the PHP client with lots of fixes to stability and performance, many new features, and an inevitable break with the 3.0.x API (we promise to do those as little as possible!).

Check out the release notes on Github:

Records are now returned as an array with the following keys (‘key’,‘meta’,‘bins’). Basically, what was the 3.0.x record (an array of bin names => bin values) is now wrapped under ‘bins’. This is consistent with the way the other clients behave, and saves on needing to explicitly make a getMetadata() call for the record.

Another change to note is that the client now contains both the PHP extension source (src/aerospike) and other libraries written in PHP, such as the one providing Large Data Type support (src/LDT).

Finally, the PHP client is now available through Composer, and hosted on Packagist at aerospike/aerospike-client-php.