File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11{
2- "name" : " aracoool/dhttp" ,
3- "description" : " Simple and lightweight HTTP client based cURL" ,
4- "keywords" : [" http client" , " curl" ],
5- "type" : " library" ,
6- "license" : " Apache-2.0" ,
7- "authors" : [
8- {
9- "name" : " Askar Fuzaylov" ,
10- "email" : " tkdforever@gmail.com"
11- }
12- ],
13- "require" : {
14- "php" : " >=5.4.0" ,
15- "lib-curl" : " *"
16- },
17- "suggest" : {
18- "ext-curl" : " *"
19- },
20- "autoload" : {
21- "psr-4" : {"dHttp\\ " : " dHttp/" }
2+ "name" : " aracoool/dhttp" ,
3+ "description" : " Simple and lightweight HTTP client based cURL" ,
4+ "keywords" : [
5+ " http client" ,
6+ " curl"
7+ ],
8+ "type" : " library" ,
9+ "license" : " Apache-2.0" ,
10+ "authors" : [
11+ {
12+ "name" : " Askar Fuzaylov" ,
13+ "email" : " tkdforever@gmail.com"
2214 }
15+ ],
16+ "require" : {
17+ "php" : " >=5.4.0" ,
18+ "ext-curl" : " *"
19+ },
20+ "require-dev" : {
21+ "ext-curl" : " *" ,
22+ "phpunit/phpunit" : " ~4.0"
23+ },
24+ "autoload" : {
25+ "psr-4" : {
26+ "dHttp\\ " : " src/"
27+ }
28+ }
2329}
Original file line number Diff line number Diff line change 44 * Example to use library
55 */
66
7- include_once ('dHttp /Client.php ' );
8- include_once ('dHttp /Response.php ' );
7+ include_once ('src /Client.php ' );
8+ include_once ('src /Response.php ' );
99
1010$ http = new dHttp \Client ('http://website.com ' , [
1111 CURLOPT_USERAGENT => 'Mozilla/5.0 (Windows NT 5.1; rv:5.0.1) Gecko/20100101 Firefox/5.0.1 ' ,
File renamed without changes.
File renamed without changes.
You can’t perform that action at this time.
0 commit comments