Download the PHP package nxnx/net-helper without Composer
On this page you can find all versions of the php package nxnx/net-helper. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download nxnx/net-helper
More information about nxnx/net-helper
Files in nxnx/net-helper
Download nxnx/net-helper
More information about nxnx/net-helper
Files in nxnx/net-helper
Vendor nxnx
Package net-helper
Short Description net helper for my specific needs
License BSD-3-Clause
Package net-helper
Short Description net helper for my specific needs
License BSD-3-Clause
Please rate this library. Is it a good library?
Informations about the package net-helper
Net-helper
Net helper for my specific needs
Installation
$ composer require nxnx/net-helper
Usage
require __DIR__ . '/vendor/autoload.php';
try {//for easy handling errors
$net = new NetHelper\Service\Net();
$curl_version = curl_version();
$net->setUserAgent('curl/' . $curl_version['version']); //optional
$page = $net->get('http://localhost/');
$response = $net->post(//$page contains html code of index page
'http://localhost/post', ['content' => $page], ['user' => 'foo', 'password' => 'bar']
);
var_dump($page, $response);
} catch (Exception $e) {
var_dump($e->getMessage());
}
All versions of net-helper with dependencies
PHP Build Version
Package Version
Requires
php Version
>=5.5.0
The package nxnx/net-helper contains the following files
Loading the files please wait ....