Announcing TwitterOAuth 1.0

twitter logo github logo ・1 min read

The TwitterOAuth PHP library, the easiest way to integrate the Twitter API with your app, has hit a long overdue milestone: 1.0.

You can install 1.x with composer now:

composer require abraham/twitteroauth '^1'

1.x will now be maintained in the v1 branch and will only get security and major bug fixes going forward. 1.x will also be the last version to support PHP before 7.2.

Development of 2.0 has started, you can checkout the goals on GitHub:

Version 2.0 goals #686

abraham avatar
abraham commented on Jul 03, 2018

This s a summary of the plans for TwitterOAuth version 2.

Once released, 1.0 will only receive critical bug fixes. It will have it's own branch and master branch will be working towards the goals listed below. If you are interested in implementing any of these, go comment on the particular issue.


  • [ ] Drop support for PHP < 7.1 (#678)
  • [ ] Enable strict_types and type declarations (#679)
  • [ ] Switch to recorded HTTP requests in tests (#671)
  • [ ] Explore switching to guzzle (#680)
  • [ ] File class for handling media files (#681)
  • [ ] Response class for handling responses (#683)
  • [ ] Throw exceptions for non-2XX responses (#682)
  • [ ] Support additional API hosts (#684)
  • [ ] Add better per request configuration (#685)

Under consideration

  • [ ] Streaming support (#295)
  • [ ] Everything else in the issue tracker
twitter logo DISCUSS (4)
markdown guide

Great plans for this second version !
I remember i've developed with this library the project that really makes me love programming two years ago 😍


Thanks! There are a lot of shortcomings I want to fix with 2.0. I'm glad you had a good experience with it before.

Classic DEV Post from Jan 30

Make art, not apps <3

You don't have to build an app. In fact, if you don't need to, then don't.

Abraham Williams profile image
• Sr. developer Bendyworks • WebTech/Angular Google Developer Expert • Google Chrome CAB • Conference speaker • GDG Madison/DevFest WI organizer • He/him