PHPackages                             srikant-kumar/simple-http-request - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [HTTP &amp; Networking](/categories/http)
4. /
5. srikant-kumar/simple-http-request

ActiveLibrary[HTTP &amp; Networking](/categories/http)

srikant-kumar/simple-http-request
=================================

Use this package for making simple &amp;amp; complex http request

1.3.1(2y ago)0816↓100%MITPHP

Since Jul 4Pushed 2y ago1 watchersCompare

[ Source](https://github.com/srikant-kumar/simple-http-request)[ Packagist](https://packagist.org/packages/srikant-kumar/simple-http-request)[ RSS](/packages/srikant-kumar-simple-http-request/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (4)DependenciesVersions (7)Used By (0)

Simple HTTP Request : PHP
=========================

[](#simple-http-request--php)

The "Simple HTTP Request" class in PHP offers a user-friendly solution for making versatile server-to-server requests without requiring intricate knowledge of the CURL library. This class streamlines the process by providing a range of convenient methods, eliminating the need for directly dealing with CURL.

With this class, developers can effortlessly initiate HTTP requests, regardless of their type, by abstracting away the complexities of CURL. Whether you need to perform GET, POST, PUT, or DELETE requests, this class has you covered. Its intuitive interface empowers developers to communicate with remote servers without delving into the intricate details of the underlying protocol.

By utilizing the "Simple HTTP Request" class, you can focus on the core functionality of your application while leaving the intricacies of HTTP communication to the class itself. This improves code readability, reduces development time, and minimizes potential errors that might arise from manually handling CURL operations.

In summary, the "Simple HTTP Request" class simplifies and enhances the process of sending HTTP requests in PHP, offering a collection of convenience methods that abstract the complexities of CURL. This class is a valuable tool for any developer aiming to streamline server-to-server communication while maintaining a clean and efficient codebase.

How to Use It ?
---------------

[](#how-to-use-it-)

**Method 1 : Direct Usage**

1. Take Pull From : [https://github.com/srikant-kumar/simple-http-request ](https://github.com/srikant-kumar/simple-http-request)
2. Create Folder in your project with **\[FOLDER\_NAME\_YOU\_WANT\]** copy all files into that.
3. Follow the below code for refrence

```
