mivodev/radius
Composer 安装命令:
composer require mivodev/radius
包简介
A pure PHP RADIUS protocol client (UDP) for Mivo Enterprise. Framework-Agnostic.
README 文档
README
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-socketsenabled
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!"; }
统计信息
- 总下载量: 189
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 1
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2026-05-27
