codebird-php 3.1.0 “Drighlington” is released

  • February 15, 2016
  • Avatar for jublojublo

Welcome to codebird-php 3.1 “Drighlington”.

This new release enables you to easily connect your code to the Twitter REST API, Collections API, Streaming API, TON (Object Nest) API and Twitter Ads API — all from one PHP library.

Please note:

Codebird requires PHP 5.5 or newer. With PHP 5.3 reaching its end of life back in August 2014 and PHP 7 released in December 2015, this step ensures that Codebird can take advantage of all new and current PHP features without carrying on deprecated ones. With the release of Codebird 3.0, Codebird 2.7 has reached its end of life.

What’s new in Codebird “Drighlington”?

  • Remember: Codebird 3.0+ requires PHP 5.5 or newer.
  • Codebird now supports connecting through a SOCKS or other non-HTTP proxy. Take a look at the README file to get the details on how to configure your code to make use of this new feature.
  • We added support to some brand new Twitter API methods, like…
    • POST statuses/unretweet/:id in the REST API
    • GET insights/keywords/search in the Ads API

Other than that, we’ve also fixed some odd stuff:

  • Your code can now properly detect when a remote media that Codebird tried to download failed. Just catch the Exception thrown in this case.
  • By feedback from users, we took another try to finally fix JSON_BIGINT_AS_STRING warnings that appear for some configurations and systems, like Ubuntu 14.04.

Behind the name

Jublo calls its milestone codenames after places in lovely Yorkshire, England.
Drighlington is a village and civil parish in the City of Leeds metropolitan district, West Yorkshire, England. Historically part of the West Riding of Yorkshire, the Roman road from York to Chester ran through the village and its mark may be seen in the more or less straight run from Birkenshaw to Drighlington traffic lights.

Reporting issues

If you encounter any problems, please report them in the issue tracker at GitHub.

Details & download

Find the complete changelog, all details and step-by-step instructions for the Codebird features in the CHANGELOG and the extensive README file that comes with codebird-php. The README is also available on

In a hurry? To download this version: