Skip to content

Commit 47777e1

Browse files
package upload
1 parent 402bc3b commit 47777e1

File tree

1,017 files changed

+88418
-1
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

1,017 files changed

+88418
-1
lines changed

README.md

+29-1
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,30 @@
11
# curl-http-request
2-
Custom CRUD http request using CURL with ease
2+
3+
Custom CRUD http request using CURL made with ease
4+
5+
A custom http request developed using PHP
6+
7+
- Programming Language: PHP
8+
- Uses CURL
9+
- No External Package
10+
- Allows for CRUD Operations:
11+
- Methods: (POST, PUT, GET, DELETE)
12+
- Can be modified to allow PATCH and so on...
13+
14+
Requirements:
15+
16+
- PHP >=5.3
17+
- run composer update
18+
19+
Additional Tips:
20+
21+
- Can be modified by developers
22+
- It allows and require modification for sending files
23+
24+
Use Case:
25+
26+
- Examples on how to use: check the requests-samples directory them modify endpoint
27+
- Modify the index file in the root folder with your Variables like: HOST_API URL
28+
- Accepts your API Key, Additional Headers, and also allows to make Authenticated requests with your accessToken
29+
30+
See: GET Request Sample in: requests-samples/index.php

composer.json

+21
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
{
2+
"name": "anudev/curl-http-request",
3+
"description": "php http request made easy with CURL, make your CRUD Operations http request with ease using this httprequest class with headers, token, apikey set",
4+
"license": "MIT",
5+
"autoload": {
6+
"psr-4": {
7+
"AnuDev\\CurlHttpRequest\\": "src/"
8+
}
9+
},
10+
"authors": [
11+
{
12+
"name": "anuthedeveloper Okanlawon Anuoluwapo"
13+
}
14+
],
15+
"require": {
16+
"php": ">=5.3.0"
17+
},
18+
"require-dev": {
19+
"phpunit/phpunit": ">=4.8 <=9"
20+
}
21+
}

0 commit comments

Comments
 (0)