PHP Classes

Very Fast Curl class: The fastest Curl class

Recommend this page to a friend!
  All requests RSS feed  >  Very Fast Curl class  >  Request new recommendation  >  A request is featured when there is no good recommended package on the site when it is posted. Featured requests  >  No recommendations No recommendations  

Very Fast Curl class

Edit

Picture of Tuner HD by Tuner HD - 9 years ago (2015-06-16)

The fastest Curl class

This request is clear and relevant.
This request is not clear or is not relevant.

+8

I need the fastest curl class.

  • 2 Clarification requests
  • 2. Picture of riccardo castagna by riccardo castagna - 6 years ago (2018-07-09) Reply

    May you please post me some slow cURL process, perhaps, there could probably be something to optimize.

    • 1. Picture of Tuner HD by Tuner HD - 9 years ago (2015-06-19) Reply

      Ex.: Zebra curl class

      Ask clarification

      6 Recommendations

      PHP Curl Class: Send HTTP requests and return responses using Curl

      This package can send HTTP requests and return responses using CURL.

      It can send HTTP requests of different methods to a HTTP server with a given URL.

      The class supports method like GET, POST, PUT, DELETE, DOWNLOAD, OPTIONS, HEAD and TRACE.

      The request responses can be cached in local files in a give directory.

      It also supports setting custom headers and values for specific Curl extension options.
      This recommendation solves the problem.
      This recommendation does not solve the problem.

      +1

      Picture of Josiah Ovye Yahaya by Josiah Ovye Yahaya package author package author Reputation 65 - 5 years ago (2020-01-04) Comment

      This package is very fast as it implements caching mechanisms behind the scene and also, it is very flexible and easy to use.


      Fast PHP CURL Multiple Requests: Retrieve the content of multiple URLs using CURL

      This class can retrieve the content of multiple URLs using CURL.

      It can take an array of URLs and sends HTTP requests to all of them in parallel using the CURL extension multi-request support.

      The class queues the URL of each page to be retrieved one at a time to make it more efficient.
      This recommendation solves the problem.
      This recommendation does not solve the problem.

      +2

      Picture of riccardo castagna by riccardo castagna package author package author Reputation 195 - 6 years ago (2018-08-17) Comment

      Sometime with the url request arrays, when the loop is executed, the curl multi request loses some hits, to work around this problem it is necessary to detach the loop of the array with the url requests in two parts: the start with key number zero and than, all the rest. This class solves this problem and the multi requests are very stables and simultaneous. It is very simple class, easy to use, fast and really light, only 1,05 kb for the main class. During my tests I stressed a lot this class and it never lost a hit. I have also simulated an error by inserting a non-existent url into the array and the function did not stop and went to the next url. FAST, SIMPLE, LIGHT, STABLE AND OBVIOUSLY SIMULTANEOUS.


      Nano REST: Send REST requests to Web servers using Curl

      This package can send REST requests to Web servers using CURL.

      It can compose a HTTP request to be sent using the CURL extension to a given Web server.

      The package can set several types of parameters like the request method, request parameters, request body data, request headers, request content type, etc..
      This recommendation solves the problem.
      This recommendation does not solve the problem.

      +1

      Picture of Sergey Karavay by Sergey Karavay package author package author Reputation 60 - 7 years ago (2018-01-31) Comment

      I can recommend Nano REST. Fats and easy to use.


      MASNathan Curl: Send HTTP requests with the Curl extension

      This package can send HTTP requests with the Curl extension.

      It can send HTTP GET, POST, PUT and DELETE requests taking the request URL as a string and other options in an array parameter.

      Alternatively it can setup a request with calls to define the values of individual options before executing the request.
      This recommendation solves the problem.
      This recommendation does not solve the problem.

      +3

      Picture of Andre Roque Filipe by Andre Roque Filipe package author package author Reputation 40 - 9 years ago (2015-06-19) Comment

      This class is as fast as any other class that uses curl to execute http requests.

      The only plus side, is that this class is easy to use, supports all the request types, such as GET, POST, PUT and DELETE.

      It also supports authentication (login), if the data you want to retrieve requires something like that.

      • 2 Comments
      • 5. Picture of Tuner HD by Tuner HD - 9 years ago (2015-06-19) in reply to comment 4 by Andre Roque Filipe Reply

        I using https Can use this class?

      • 6. Picture of Andre Roque Filipe by Andre Roque Filipe package author package author - 9 years ago (2015-07-30) in reply to comment 5 by Tuner HD Reply

        Yes of course


      Curl Post Master: Send HTTP POST requests with the Curl extension

      This class can send HTTP POST requests with the Curl extension.

      It can take the names and values of parameters and sends a HTTP POST request to a Web server with a given URL.

      The class can configure the HTTP request options send secure and non-secure requests, as well send requests with custom option values. HTTP Basic authentication requests are also optionally supported.
      This recommendation solves the problem.
      This recommendation does not solve the problem.

      +4

      Picture of Anthony Amolochitis by Anthony Amolochitis package author package author Reputation 505 - 9 years ago (2015-06-18) Comment

      I have a Curl post class that is simple to use with single posts. The example to use it is in the class. If you need help using it as well, just hit me up, and I will help.


      PHP Curl Parallel Requests: Send multiple HTTP parallel requests with Curl

      This class can send multiple HTTP parallel requests with the Curl extension.

      It can queue one or more HTTP requests to be send to given URLs and register an object that implements a request sender interface to handle the responses.

      The class calls the registered handler object when the response of queued request is returned.

      The handler receives a response object that can be called to retrieve the response status, response headers and body data.
      This recommendation solves the problem.
      This recommendation does not solve the problem.

      +7

      Picture of Dave Smith by Dave Smith Reputation 7620 - 9 years ago (2015-06-16) Comment

      I would give this one a try. It allows parallel requests which will speed up your curl responses.

      • 3 Comments
      • 1. Picture of Manuel Lemos by Manuel Lemos - 9 years ago (2015-06-16) Reply

        Yes, if the idea is to send requests to many servers, this class takes advantage of the multiple request support to finish a list of remote requests sooner.

        However, if it is to send single requests, I do not think there is a solution faster than others because most of the time PHP will be waiting for the remote server to respond.

      • 2. Picture of Tuner HD by Tuner HD - 9 years ago (2015-06-17) in reply to comment 1 by Manuel Lemos Reply

        What would you recommend for single request?

      • 3. Picture of Manuel Lemos by Manuel Lemos - 9 years ago (2015-06-17) in reply to comment 2 by Tuner HD Reply

        For single requests, there is nothing that can requests go faster on the PHP site because PHP will be most of the time doing nothing but waiting for the responses to be sent or received.

        Maybe if you tell me why you want requests to go faster we can figure if there are some protocol optimizations that can save you some time.


      Recommend package
      : 
      :