A pure PHP RADIUS protocol client for Mivo Enterprise.
This package provides a framework-agnostic implementation to send RADIUS packets (UDP) such as Access-Request, Accounting-Request, Disconnect-Request (PoD), and CoA (Change of Authorization) to a RADIUS Server or a NAS (e.g. Mikrotik RouterOS).
- Pure UDP Socket Client (no PDO / database connections).
- Supports standard RADIUS Authentication and Accounting (RFC 2865, RFC 2866).
- Supports Dynamic Authorization / CoA / PoD (RFC 5176).
- PHP 8.2+
ext-socketsenabled
use Mivo\Radius\RadiusClient;
$client = new RadiusClient('192.168.1.1', 'secret', 3799); // Port 3799 for CoA/PoD
$response = $client->disconnectUser('john_doe');
if ($response) {
echo "User disconnected successfully!";
}
