2017 © Pedro Peláez
 

library getid3

This fork of phansys/GetId3 provides compatibility with PHP 7.0

image

vkr/getid3

This fork of phansys/GetId3 provides compatibility with PHP 7.0

  • Saturday, April 8, 2017
  • by wladislavk
  • Repository
  • 1 Watchers
  • 0 Stars
  • 48 Installations
  • PHP
  • 1 Dependents
  • 0 Suggesters
  • 35 Forks
  • 0 Open issues
  • 13 Versions
  • 2 % Grown

The README.md

GetId3

Build Status, (*1)

This release of GetId3 library updates to PSR-0 CS and makes it Symfony2 installable by deps or composer mechanisms., (*2)

  • [Main site] http://www.getid3.org
  • [Support] http://support.getid3.org/

License

For license info please read Resources/doc/license.txt, (*3)

For commercial license read Resources/doc/license.commercial.txt, (*4)

Installation

(You can choose deps or composer install mechanisms), (*5)

deps

Step 1: Download GetId3

Add following lines to your deps file:, (*6)

[GetId3]
    git=https://github.com/phansys/GetId3.git
    target=/phansys/getid3/GetId3

Now, run the vendors script to download the library:, (*7)

``` bash $ php bin/vendors install, (*8)


##### Step 2: Configure the Autoloader Add the `GetId3` namespace to your autoloader: ``` php <?php // app/autoload.php $loader->registerPrefixes(array( // ... 'GetId3_' => __DIR__.'/../vendor/phansys/getid3/GetId3', ));

[composer] (http://getcomposer.org/)

Step 1: Edit composer.json

Add following lines to your composer.json "require" definitions:, (*9)

``` json "phansys/getid3": "master", (*10)


##### Step 2: Run composer Now, run the composer script to download the library: ``` bash $ php composer.phar install

Quick use example reading audio properties

``` php <?php namespace My\Project;, (*11)

use \GetId3_GetId3 as GetId3;, (*12)

class MyClass { // ... private function MyMethod() { $getId3 = new GetId3(); $getId3->option_md5_data = true; $getId3->option_md5_data_source = true; $getId3->encoding = 'UTF-8';
$mp3File = '/path/to/my/mp3file.mp3';
$audio = $getId3->analyze($mp3File);
if (isset($audio['error'])) { throw new \RuntimeException('Error at reading audio properties with GetId3 : ' . $mp3File); }
$this->setLength(isset($audio['playtime_seconds']) ? $audio['playtime_seconds'] : ''); // var_dump($audio); } } ```, (*13)

The Versions

08/04 2017

2.1.x-dev

2.1.9999999.9999999-dev http://www.getid3.org

This fork of phansys/GetId3 provides compatibility with PHP 7.0

  Sources   Download

GPL

The Requires

  • php ~7.0

 

by Vladislav Kryshtanovskiy

tags metadata getid3

08/04 2017

2.1.3

2.1.3.0 http://www.getid3.org

This fork of phansys/GetId3 provides compatibility with PHP 7.0

  Sources   Download

GPL

The Requires

  • php ~7.0

 

by Vladislav Kryshtanovskiy

tags metadata getid3

08/04 2017

2.1.2

2.1.2.0 http://www.getid3.org

This fork of phansys/GetId3 provides compatibility with PHP 7.0

  Sources   Download

GPL

The Requires

  • php ~7.0

 

by Vladislav Kryshtanovskiy

tags metadata getid3

08/04 2017

2.1.1

2.1.1.0 http://www.getid3.org

This fork of GetId3 library updates to PSR-2 / PSR-4 CS, adds namespaces and makes it installable by composer.

  Sources   Download

GPL

The Requires

  • php ~7.0

 

tags metadata getid3

25/12 2016

dev-php-7.0

dev-php-7.0 http://www.getid3.org

This fork of GetId3 library updates to PSR-2 / PSR-4 CS, adds namespaces and makes it installable by composer.

  Sources   Download

GPL

The Requires

  • php >=5.3

 

tags metadata getid3

28/06 2015

dev-master

9999999-dev http://www.getid3.org

This package integrates the GetId3 library with the Symfony2 project, emulating the PSR-0 CS

  Sources   Download

GPL

tags metadata getid3

26/04 2013

2.0.x-dev

2.0.9999999.9999999-dev http://www.getid3.org

This release of GetId3 library updates to PSR-0 CS, add namespaces and makes it Symfony 2.x installable by deps or composer mechanisms.

  Sources   Download

GPL

tags metadata getid3

04/12 2012

v2.0.0-BETA1

2.0.0.0-beta1 http://www.getid3.org

This release of GetId3 library updates to PSR-0 CS, add namespaces and makes it Symfony 2.x installable by deps or composer mechanisms.

  Sources   Download

GPL

tags metadata getid3

18/10 2012

v1.9.4.x-dev

1.9.4.9999999-dev http://www.getid3.org

This package integrates the GetId3 library with the Symfony2 project, emulating the PSR-0 CS

  Sources   Download

GPL

tags metadata getid3

30/08 2012

v1.9.4-p2

1.9.4.0-patch2 http://www.getid3.org

This package integrates the GetId3 library with the Symfony2 project, emulating the PSR-0 CS

  Sources   Download

GPL

tags metadata getid3

28/08 2012

v1.9.4-p1

1.9.4.0-patch1 http://www.getid3.org

This package integrates the GetId3 library with the Symfony2 project, emulating the PSR-0 CS

  Sources   Download

GPL

tags metadata getid3

23/08 2012

dev-v1.8.5-p1-original

dev-v1.8.5-p1-original http://www.getid3.org

This package integrates the GetId3 library with the Symfony2 project, emulating the PSR-0 CS

  Sources   Download

GPL

tags metadata getid3

15/08 2012

v1.8.5-p1

1.8.5.0-patch1 http://www.getid3.org

This package integrates the GetId3 library with the Symfony2 project, emulating the PSR-0 CS

  Sources   Download

GPL

tags metadata getid3