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.
1 answer
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-classis naturally an error) I just don’t know how to install. - mega94
|