0

I want to use the bugzilla webservice APIs in PHP. The issue seems to be the XML-RPC client. I have gone through similar questions, but dont want to install the whole Zend framework only for the client. Is there a way to separate out the Zend XML-RPC client or can you suggest some other client that you have used?

I am trying with the IXR_Library client but having issues there. Can post the code if anyone is interested in that. Let me know if you want any more details.

pinaki
  • 5,393
  • 2
  • 24
  • 32

1 Answers1

1

As I know, you need only Zend\XmlRpc folder and Zend\Exception.php from Zend package for this. There are no other dependencies.

Dmytro Zavalkin
  • 5,265
  • 1
  • 30
  • 34
  • actually not. i tried taking it out and it depends on the Http/Client.php as well. – pinaki May 24 '11 at 10:28
  • So, copy them too. What is the problem with it? – Dmytro Zavalkin May 24 '11 at 10:33
  • the problem is that i end up copying the whole Zend/* folder meeting one after other dependencies. This seems bulky and unnecessary to me to get only the client functionality. – pinaki May 24 '11 at 11:24
  • Nice suggestion this one. I tried it but it doesnt seem to be supporting cookies which seem to be required for bugzilla functioning. I got it working using Zend APIs though, but the size of the Zend folder is 30 MB :)... Still looking for alternatives. – pinaki May 25 '11 at 08:23
  • cleaned up the zend folder and got it working with around 630KB of dependencies. I can live with that for now and since it was what the answer suggested, accepting it as the right one. – pinaki May 25 '11 at 10:54