Posts tagged github

Updated PHP 5 client for Cloud Servers(tm) by Rackspace.

Just a quick announcement that I updated my PHP 5 client for Cloud Servers(tm) API.

Some of the major fixes include retry limiting for authentication requests, support for updated response codes (especially for server/image requests) and better examples.

Code was also updated to conform to PSR-2 and phpDocumentator 2.

Grab the latest version here: http://alekseykorzun.github.io/rackspace-open-cloud-php/

Integrating Facebook’s Social Plug-ins with Facebook’s PHP SDK (v.3.0)

I made a quick modification to Facebook’s PHP SDK (v.3.0.0) that seamlessly integrates new token format that Facebook’s social plug-ins utilize.

No need to settle for older (v2.2.x) version of SDK or create dirty work arounds in order to retrieve and pass token data to PHP.

Grab it from: https://github.com/AlekseyKorzun/php-sdk

Here is a diff if you just want to patch v.3.x SDK on your own: https://github.com/AlekseyKorzun/php-sdk/commit/dbb230a8acb9ccfa0b6fa90fcd3caecd3b677dac#L0L315

P.S Facebook will be making changes to authentication system for both JS and PHP SDK’s so keep an eye on their GitHub for further updates.

Serializing/unserializing of nested objects with IgBinary resolved

Teddy Grenman has released a proper fix for serialization of nested objects I previously wrote about. You can grab 1.1.2-DEV version (as of right now) that includes the fix here: https://github.com/igbinary/ If you are running FreeBSD, upgrading is simple as:

cd /usr/ports/converters/igbinary
git clone https://github.com/igbinary/igbinary.git
cd igbinary/
phpize && ./configure CFLAGS="-O2 -g" --enable-igbinary 
make
make install
hash -r
Verify that you are running -dev build by running:
php -i |grep -i "igbinary version"
More information could be found here