tigron / ident
Rough implementation of an RFC1413 (IDENT) client
Installs: 37
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 5
Forks: 0
Open Issues: 0
pkg:composer/tigron/ident
This package is auto-updated.
Last update: 2025-09-29 01:53:05 UTC
README
Description
This package currently implements a client for the RFC1413 (IDENT) protocol. I don't currently have plans to add a server, but making one would be trivial.
Installation
Install this package via composer:
composer require tigron/ident
Usage
Very simple:
$ident = new Tigron\Ident\IdentClient();
echo $ident->getUser();
echo $ident->getOsType();
Optionally, you can
The constructor accepts some options as well:
$ident = new Tigron\Ident\IdentClient($remote_address, $remote_port, $local_port, $ident_port, $timeout);
Some setters are provided, for your convenience:
$ident->setRemoteAddress($remote_address);
$ident->setRemotePort($remote_port);
$ident->setLocalPort($local_port);
$ident->setIdentPort($ident_port);
$ident->setTimeout($timeout);