typomedia / exeinfo
Windows 二进制属性读取器
1.0.0
2021-12-18 20:14 UTC
Requires
- php: >=7.2
- ext-fileinfo: *
Requires (Dev)
- phpmd/phpmd: ^2.8
- phpunit/phpunit: ^8.5
- squizlabs/php_codesniffer: ^3.6
- symfony/finder: ^5.4
This package is auto-updated.
Last update: 2024-09-19 02:11:00 UTC
README
提供从 Windows 二进制文件(*.exe
,*.dll
)获取文件属性/元数据的库。
单元测试的代码覆盖率达到了 100%!
要求
>= PHP 7.2
依赖项
无
安装
composer require typomedia/exeinfo
使用
use Typomedia\Exeinfo\Exeinfo; $exeinfo = new Exeinfo('php.exe'); print $exeinfo->product; print $exeinfo->company; print $exeinfo->comment; print $exeinfo->copyright; print $exeinfo->description; print $exeinfo->version;
致谢
此库深受 NeuD 在 Stack Overflow 上的答案的启发。