Wrap or high level class for curls.

- is it any class that allows you to call, for example, the post (url, params) method without creating low-level code, for example curl_init and others?

+3
source share
4 answers

Some options:

  • HTTP (PECL) / requires libcurl
  • HTTP (PEAR) / does not use cURL, but fsockopen
  • Zend_HTTP / has several adapters, incl. Curl
+2
source
+1
source

I used cURL wrapper . This is OO and supports most (all?) Of the standard twisting methods.

0
source

Source: https://habr.com/ru/post/1772432/


All Articles