Skip to content

@stefangabos stefangabos released this Sep 29, 2020

  • the get method now allows passing of query strings in a nicer way
  • fixed bug where when passing an associative array as an extra argument to any of the main methods, it would be incorrectly passed forward to the callback function
  • fixed bug where not all the formats for URLs described in the documentation were actually supported
  • documentation overhaul
Assets 2

@stefangabos stefangabos released this May 8, 2019 · 47 commits to master since this release

  • custom options can now be set for each individual request when processing multiple requests at once; see this issue for the initial request and see the documentation for the $urls argument in the documentation for the get() method (or any other method where multiple URLs can be specified)
  • removed from source code comments and documentation all references to the deprecated create_function function
  • improved documentation for the ssl() method and how to easily get a CA certificates bundle to enable communication over HTTPS
  • all examples were updated and were made functional again
Assets 2

@stefangabos stefangabos released this Nov 28, 2017 · 92 commits to master since this release

  • fixed bug where downloading dynamically generated files (like download.php?foo=bar...) would result in each subsequent file overwriting the previous one;
  • additionally, the downloaded files' name is now available in $result->info['downloaded_filename']; see the documentation for more info
Assets 2

@stefangabos stefangabos released this May 22, 2017 · 96 commits to master since this release

  • fixed bug when having pauses between batches of requests
  • fixed bug with script stopping after first request if the "threads" property was set to 1; thanks to @sbosshardt
  • fixed broken file uploads when making POST and PUT requests
  • fixed warning that would be shown when POST-ing/PUT-ing raw data; thanks Sebastian Popa
  • fixed bug where the header method would only accept an array of URLs or would trigger an error otherwise
  • minor source code tweaks
  • unnecessary files are no more included when downloading from GitHub or via Composer
  • documentation is now available in the repository and on GitHub
  • the home of the library is now exclusively on GitHub
Assets 2

@stefangabos stefangabos released this Feb 11, 2016 · 126 commits to master since this release

  • minimum required PHP version is now 5.3.0 instead of 5.0.3
  • fixed a bug where the library would not download files having query strings or hashtags, and triggered warnings instead; thanks Fshamri
  • fixed a bug which broke the ftp_download method
  • fixed an issue where SSL certificate checking (CURLOPT_SSL_VERIFYPEER) was disabled by default; now it is enabled by default; thanks Daniel Stenberg
  • added delete and put methods for making DELETE and PUT requests
  • added scrap method for quickly making a single get request without the need of a callback function; thanks Alexey Dorokhov
  • if caching is enabled but the cache folder doesn't exist, the library will now try and create it before triggering an error; thanks Alexey Dorokhov
  • removed unused argument for the cookies method; thanks Székely Dániel
  • updated existing examples and added a new one for scrapping a page
  • losts of cleanup in the documentation
Assets 2

@stefangabos stefangabos released this Jan 11, 2016 · 148 commits to master since this release

  • fixed a bug with http_authentication method not working
  • fixed handling of edge case HTTP authentication
  • fixed a warning message when setting the callback function as a method of a class, but the method was not available
  • fixed bug with additional arguments not being passed to the get method
  • updated the "post" method so that now arbitrary strings can also be POST-ed (instead of key => value pair only); useful for POST-ing JSON; thanks Julian Zel
  • added possibility to unset previously set credentials for HTTP authentication
  • POST parameters are now in the response as an additional "post" entry in the response array, both as string and as an array (only for POST requests)
  • improved debug messages
Assets 2

@stefangabos stefangabos released this Feb 3, 2015 · 161 commits to master since this release

  • Fixed a bug where setting any value to the "pause_interval" property would result in no requests being processed
Assets 2

@stefangabos stefangabos released this Feb 2, 2015 · 163 commits to master since this release

  • changed how the "post" method receives its arguments; this breaks compatibility with previous versions!
  • fixed a bug where making mixed calls to the library's method would get you into trouble as options set by one method were not being unset by another
  • all types of requests can now be cached, not just get and header request
  • URLs can now also be processed in batches with pause in between; helpful for relieving stress on servers, if you are processing hundreds or more requests
  • any type of requests can now be processed at once, using the newly added queue method
  • the library now also sets default value for the CURLOPT_ENCODING option to "gzip,deflate"
  • improved documentation
Assets 2

@stefangabos stefangabos released this Nov 12, 2014 · 178 commits to master since this release

  • fixed an issues in composer.json due to which the class was not registered for autoloading after installation, and the library now explicitly requires lib-curl; thanks to Igor Denisenko
  • fixed some documentation issues; thanks to Igor Denisenko
Assets 2

@stefangabos stefangabos released this Nov 11, 2014 · 180 commits to master since this release

  • fixed an issue that appeared since PHP 5.3.0 where, because of how htmlentities has changed since that version, the body of a fetched page would be an empty string the output would contain invalid code unit sequences within the given encoding (utf-8 in our case);
Assets 2
You can’t perform that action at this time.