transmission-php
transmission-php copied to clipboard
Broken if "kriswallsmith/buzz" > 0.16.1
It seems there are some changes in Buzz API(https://github.com/kriswallsmith/Buzz) since 0.17. That's why transmission-php is broken now. It fails with message about missing class Buzz\Message\Request now. But everything is fine in versions 0.16.x. Let's make restriction up to this version.
Also because of curl send method which is deprecated in buzz package client class, setClient prompts an deprecated error.
a backwards-compatible quick-fix is to simply give the connecting host address to Client in the constructor,
eg:
$auth = new Client("example.org");
instead of
$auth = new Client();
Made changes to use version 0.15.2 of buzz dependency. Here's the forked repo