{"id":15188326,"url":"https://github.com/alimranahmed/easyhttp","last_synced_at":"2025-10-02T03:30:36.176Z","repository":{"id":56945706,"uuid":"132213306","full_name":"alimranahmed/EasyHttp","owner":"alimranahmed","description":"A Laravel HTTP-client to make HTTP request easier and log requests and responses","archived":true,"fork":false,"pushed_at":"2019-05-29T13:35:55.000Z","size":35,"stargazers_count":22,"open_issues_count":1,"forks_count":1,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-01-21T09:35:52.388Z","etag":null,"topics":["composer","curlphp","guzzlehttp","http-client","laravel","laravel5","php7"],"latest_commit_sha":null,"homepage":"https://packagist.org/packages/alimranahmed/easyhttp","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/alimranahmed.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2018-05-05T04:04:03.000Z","updated_at":"2024-11-06T14:42:58.000Z","dependencies_parsed_at":"2022-08-21T07:20:21.163Z","dependency_job_id":null,"html_url":"https://github.com/alimranahmed/EasyHttp","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/alimranahmed/EasyHttp","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alimranahmed%2FEasyHttp","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alimranahmed%2FEasyHttp/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alimranahmed%2FEasyHttp/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alimranahmed%2FEasyHttp/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/alimranahmed","download_url":"https://codeload.github.com/alimranahmed/EasyHttp/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alimranahmed%2FEasyHttp/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":277950332,"owners_count":25904480,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-10-02T02:00:08.890Z","response_time":67,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["composer","curlphp","guzzlehttp","http-client","laravel","laravel5","php7"],"created_at":"2024-09-27T19:03:34.708Z","updated_at":"2025-10-02T03:30:35.912Z","avatar_url":"https://github.com/alimranahmed.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# EasyHttp\nMake Http request easily and log the request and response in Laravel's default log(/storage/logs). \n\nThis Laravel 5 HTTP-client package to make HTTP request easier. It's a wrap on Guzzle HTTP client and cURL that simplify the common \nrequests. We can use Guzzle or cURL whatever we want on run time of this package.\n\n## Installation \nRun the following command in your terminal while you are at the root of your project directory: \n\n```\ncomposer require alimranahmed/easyhttp\n```\n\nThat's all!\n\n## Usages\n\nBy default all the request is made using Guzzle. \n\n```php\n\u003c?php\n//For GET request\n$response = Http::get('www.example.com/get');\n \n//For POST Request\n$data = ['key' =\u003e 'value'];\n$headers = ['Content-Type' =\u003e 'application/json'];\n$response = Http::post('www.example.com/post', $data, $headers);\n \n//For PUT request\n$data = ['key' =\u003e 'value'];\n$headers = ['Content-Type' =\u003e 'application/json'];\n$response = Http::put('www.example.com/put', $data, $headers);\n \n//For DELETE request\n$response = Http::delete('www.example.com/delete');\n \n//To Retrieve the response status, header and body\n$response-\u003egetStatusCode(); //for status code\n$response-\u003egetHeaders(); //for headers\n$response-\u003econtents; //for body\n```\n\nTo make any request using cURL we can simply use the `using()` method as below:\n \n```php\n\u003c?php\nHttp::using('curl')-\u003eget('www.example.com/get');\n```\n\n## License\nThis package is licensed under [Apache License, Version 2.0](http://www.apache.org/licenses/LICENSE-2.0)\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falimranahmed%2Feasyhttp","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Falimranahmed%2Feasyhttp","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falimranahmed%2Feasyhttp/lists"}