ID3 tags change how?

hii
i am looking for some function like through that i can change my mp3 title tag with my file name automatically after reading file names after reading directory
or is there any class through that i can change my tags easily ?

PHP has a library for this.

is this can change both id3v2 v1 tags ?

Well try it out so you can find out then report back.

well after running this function that said undefined function
did i need manual library installation for this if yes then what is proceeding i don’t get in manual