PHP code example of guliano / zf-getid3-module

1. Go to this page and download the library: Download guliano/zf-getid3-module library. Choose the download type require.

2. Extract the ZIP file and open the index.php.

3. Add this code to the index.php.
    
        
<?php
require_once('vendor/autoload.php');

/* Start to develop here. Best regards https://php-download.com/ */

    

guliano / zf-getid3-module example snippets


return array(
    /* ... */
    'modules' => array(
        /* ... */
        'ZfGetid3Module',
    ),
    /* ... */
);

/* @var $getid3 \getID3 */
$getid3 = $serviceLocator->get('MediaParser');
$result = $getid3->analyze($pathToFile);
/* do something... */