Giter Club home page Giter Club logo

id3parser's Introduction

ID3 Parser

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.

id3parser's People

Contributors

lukasreschke avatar paulijar avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar

id3parser's Issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.