Hi everyone,
I maintain the Ampache project which uses a MusicBrainz PHP API library for metadata searching, identification and tag updates.
The current MusicBrainz library we were using hasn’t been updated for about 5 years now so I’ve made a fork. The library is pretty important to the project so I’ve updated the older code and released a new version.
Here is a CHANGELOG.md with changes since the fork. The biggest changes are:
Set the base PHP version to 8.2
Ensured all functions and parameters are typed
Set strict_types=1 on all pages
Added php-cs-fixer, rector and phpstan to dev modules and fixed code issues
I just wanted to advertise out to the community as the lib is pretty important to us so I am happy to maintain the repo while I run the Ampache project.
If you can read a bit of rust, you can check out my API bindings for references. It might not be 100% complete yet, but there’s been huge work put into it to find the exact schemas and various enums
You should be able to do everything without importing more than the MusicBrainz class.
Ampache is being updated to 0.5.0 and I’ll be using the integration in the examples and this should provide some decent guides for integrating the library into your projects.
I’ll be working on providing more practical examples as i update Ampache but we’re close to what i would consider feature complete. Now i just need to get all the elements and data properties on each entity.