Skip to content

Commit 7f9d52e

Browse files
committed
- changed source path
1 parent 12373aa commit 7f9d52e

4 files changed

Lines changed: 28 additions & 22 deletions

File tree

composer.json

Lines changed: 26 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,29 @@
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
}

example.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@
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.

0 commit comments

Comments
 (0)