bluemoehre / flac-php

PHP class for native reading FLAC's metadata
GNU General Public License v2.0
7 stars 2 forks source link

flac.class.php? Missing public methods on src file. #2

Closed legendofporg closed 4 years ago

legendofporg commented 4 years ago

I tried installing it on a Laravel project. It seems i could not get protected variables like duration, etc. I'm pretty sure i could not extend it just as easy.

bluemoehre commented 4 years ago

Could you provide an example? Normally $flac = new Flac('mySong.flac'); $flac->getDuration() should work.

legendofporg commented 4 years ago

When i install it by composer it has only 3 files.

composer.json flac.class.php <--- this has only 203 lines. so most methods are missing. README.md

Running them are undefined.

bluemoehre commented 4 years ago

Yes, if you install via Composer u get the last release version 1.0.2 (24 Feb 2017). That version still uses magic getters.

You can find the matching README for that version here: https://github.com/bluemoehre/flac-php/blob/6fb349851c590ec8ec3636b18166795337355906/README.md

I did not release a newer version since then yet.

legendofporg commented 4 years ago

ohh. nice. thanks.