christophwurst/id3parser
最新稳定版本:v0.1.4
Composer 安装命令:
composer require christophwurst/id3parser
包简介
An ID3 parser
README 文档
README
This is a pure ID3 parser based upon getID3. It supports the following ID3 versions inside MP3 files:
- ID3v1 (v1.0 & v1.1)
- ID3v2 (v2.2, v2.3 & v2.4)
Usage
<?php require_once __DIR__ . '/vendor/autoload.php'; $analyzer = new \ID3Parser\ID3Parser(); $tags = $analyzer->analyze('/tmp/myfile.mp3'));
Why should I use this package over getID3 directly?
getID3 has evolved to a state where it is having a lot of other features such as parsing a ton of other file formats and for some of it, it is even invoking external programs on the server. For example it is nowadays even supporting SVG files.
Such a big parsing library can easily be haunted by security related bugs as for example CVE-2014-2053 and some other vulnerabilities have proven. This library takes the ID3 parsing code from getID3 and strips all other functions.
In cases where reading the ID3v2 tags is sufficient this library is likely to be a more secure approach, if you need any of the advanced features of getID3 however you're likely to be unhappy with this library.
统计信息
- 总下载量: 728.28k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 1
- 点击次数: 1
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: GPL-3.0-or-later
- 更新时间: 2019-04-05