2017 © Pedro Peláez
 

library id3parser

image

lukasreschke/id3parser

  • Thursday, September 22, 2016
  • by LukasReschke
  • Repository
  • 1 Watchers
  • 2 Stars
  • 102,901 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 3 Forks
  • 1 Open issues
  • 4 Versions
  • 11 % Grown

The README.md

ID3 Parser

This is a pure ID3 parser based upon getID3. It supports the following ID3 versions inside MP3 files:, (*1)

  • 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., (*2)

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., (*3)

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., (*4)

The Versions

22/09 2016

dev-master

9999999-dev https://github.com/LukasReschke/ID3Parser/

  Sources   Download

GPL

The Requires

  • php >=5.4.0

 

php tags codecs

22/09 2016

v0.0.3

0.0.3.0 https://github.com/LukasReschke/ID3Parser/

  Sources   Download

GPL

The Requires

  • php >=5.4.0

 

php tags codecs

27/06 2016

v0.0.2

0.0.2.0 https://github.com/LukasReschke/ID3Parser/

  Sources   Download

GPL

The Requires

  • php >=5.4.0

 

php tags codecs

04/04 2016

v0.0.1

0.0.1.0 https://github.com/LukasReschke/ID3Parser/

  Sources   Download

GPL

The Requires

  • php >=5.4.0

 

php tags codecs