sealution/mac-resolver
Composer 安装命令:
composer require sealution/mac-resolver
包简介
Laravel MAC Address detail resolver.
README 文档
README
This PHP package allows you to get the information related to an IEEE OUI assignment from a Laravel application.
The mac-resolver package downloads the OUI mapping information in CSV format from the IEEE website. Then it processes the CSV files and later stores the OUI assignment details in tables in the database.
Install
You can install the package via composer:
composer require sealution/mac-resolver
Then publish the assets with this command:
php artisan mac:install
After publishing the assets (config & migrations), run artisan migrate:
php artisan migrate
Usage
Get MAC Address details
You can use "php artisan mac: details " in the console to get the vendor details as well as the OUI assignment details.
php artisan mac:details <mac-address>
php artisan mac:details 00-15-5D-81-E0-B0
Vendor details
------------- ---------------------------------------------
OUI 00155D
MAC Address 00-15-5D-81-E0-B0
Vendor Microsoft Corporation
Address One Microsoft Way Redmond WA US 98052-8300
Is Private false
------------- ---------------------------------------------
Block details
------------------- -------------------
Registry MA-L
Assignment bits 2^24
Block Size 16,777,216
Lower MAC Address 00:15:5D:00:00:00
Upper MAC Address 00:15:5D:FF:FF:FF
Last Update Unknown
------------------- -------------------
MAC Address details
--------------------- ----------------------------------------
MAC Address 00-15-5D-81-E0-B0
Administration byte UAA (Universally Administered Address)
Group byte Individual address
Virtual Machine true
Is Multicast false
Is Unicast false
Is Valid true
--------------------- ----------------------------------------
Get vendor details
You can use "php artisan mac:vendor " in the console to get the vendor details associated with the OUI assignment.
php artisan mac:vendor <mac-address>
php artisan mac:vendor 00-15-5D-81-E0-B0
------------- -----------------------
OUI 00155D
MAC Address 00-15-5D-81-E0-B0
Vendor Microsoft Corporation
Registry MA-L
------------- -----------------------
Security Vulnerabilities
If you discover any security related issues, please open an issue on the GitHub repository(
Credits
License
The package Ping is open-source package and is licensed under The MIT License (MIT). Please see License File for more information.
sealution/mac-resolver 适用场景与选型建议
sealution/mac-resolver 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 14 次下载、GitHub Stars 达 0, 最近一次更新时间为 2022 年 11 月 03 日, 在 PHP 生态内属于活跃度较高的组件。
我们在过去多个企业项目中使用过 sealution/mac-resolver 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。
基于 sealution/mac-resolver 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
统计信息
- 总下载量: 14
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 15
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2022-11-03