there is a class for working with curl , how can I not connect the necessary class to work with the methods on Denver? well, how to connect the class? I did not find something in the archive.

  • That is, you did not find Quick start ? - Alexey Shimansky
  • @ Alexey Shimansky is written there of course, but there is no autoload.php file on the archive, I run Examples to Denver and immediately errors. - mega94

1 answer 1

Install Composer (Instructions for Windows )

Run composer require php-curl-class/php-curl-class

You will have a new folder 'vendor' in which your library will be located. Also there is a file autoload.php

Read the rest of the steps after Quick Start and Examples.

  • How to install correctly and then I have an error: Parse error: syntax error, unexpected T_STRING, expecting T_VARIABLE or '$' in Z:\home\curl.tj\www\examples\put.php on line 2
  • Then you get this error? - JILeXanDR
  • before require __DIR__ . '/vendor/autoload.php'; require __DIR__ . '/vendor/autoload.php'; I do this $ composer require php-curl-class/php-curl-class is naturally an error) I just don’t know how to install. - mega94