PHPackages                             jonathrg/send - 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. jonathrg/send

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

jonathrg/send
=============

A single function, send(), which performs one HTTP request.

v1.0.1(8y ago)1162MITPHPPHP ^5.6CI passing

Since Jun 18Pushed 5y ago1 watchersCompare

[ Source](https://github.com/jonathangjertsen/Send)[ Packagist](https://packagist.org/packages/jonathrg/send)[ RSS](/packages/jonathrg-send/feed)WikiDiscussions master Synced 3d ago

READMEChangelogDependenciesVersions (4)Used By (0)

Send provides a single function, send(), which performs one HTTP request.

Install
-------

[](#install)

```
composer require jonathrg/send

```

Usage
-----

[](#usage)

Provide `send()` with an array defining your request to perform that request. The result is returned as a string.

Here is the simplest possible use-case, which retrieves the example.org frontpage and prints it. You can test this by serving the repo and going to Send/examples/example.php on localhost.

```
