Writing Tags
Once you have an Mp3 instance you can use it to update your files with new tags.
$mp3->setArtist("Protest The Hero");
$mp3->setAlbum("Kezia");
$mp3->setYear(2005);
$mp3->setTrackNumber(1);
$mp3->setTitle("No Stars Over Bethlehem");
$mp3->save();
All of the set methods return the current instance, so you can chain them together, like so:
$tagger
->open("/var/music/song.mp3")
->setArtist("Me")
->setAlbum("Unreleased")
->setYear(2017)
->setTrackNumber(0)
->setTitle("New Song")
->save();