I’ve never used it, but checked the docs and saw this:
Please note that this library is only intended to work in a CLI environment (not embedded in a web-script and run by your webserver) and will likely require some form of multi-processing (either pcntl_fork() or entirely separate processes and some knowledge of how multi-processing works on your and your hosting providers operating systems). See below for more details.
It might be a good idea to ask on the project’s mailing list rather than on these forums, since the library is not owned by Twitter.