mivodev/radius

A pure PHP RADIUS protocol client (UDP) for Mivo Enterprise. Framework-Agnostic.

Maintainers

Package info

github.com/mivodev/radius

pkg:composer/mivodev/radius

Statistics

Installs: 2

Dependents: 1

Suggesters: 0

Stars: 0

Open Issues: 0

v0.1.0 2026-05-27 18:56 UTC

This package is auto-updated.

Last update: 2026-05-27 18:56:54 UTC


README

Mivo Radius Core

Mivo Radius Core

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).

Features

  • 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).

Requirements

  • PHP 8.2+
  • ext-sockets enabled

Usage

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!";
}