getID3() Extention for Yii2
The preferred way to install this extension is through composer.
Either run
php composer.phar require --prefer-dist perminder-klair/yii2-getid3 "*"
or add
"perminder-klair/yii2-getid3": "*"
to the require section of your composer.json
file.
Once the extension is installed, simply use it in your code by :
$getID3 = new Yii2GetID3();
$getID3->getData('./path/file.mp3');```