Download the PHP package atomescrochus/laravel-musixmatch without Composer
On this page you can find all versions of the php package atomescrochus/laravel-musixmatch. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download atomescrochus/laravel-musixmatch
More information about atomescrochus/laravel-musixmatch
Files in atomescrochus/laravel-musixmatch
Package laravel-musixmatch
Short Description Search the Musixmatch API with cache support
License MIT
Homepage https://github.com/atomescrochus/laravel-musixmatch
Informations about the package laravel-musixmatch
Search the Musixmatch API with cache support
The atomescrochus/laravel-musixmatch
package provide and easy way to search the Musixmatch API from any Laravel >= 5.3 application.
This package is NOT usable in production, and should still be considered a work in progress (contribution welcomed!). It requires PHP >= 7.0
.
Install
You can install this package via composer:
Then you have to install the package' service provider, unless you are running Laravel >=5.5 (it'll use package auto-discovery) :
You will have to publish the configuration files also if you want to change the default value:
You are also required to put the values you can fetch in your Gracenote developer account in your .env files:
Usage
Results
In the example above, what is returned in $results
is an object containing: a collection of results; a count value for the results; raw response data; cache information, and the unformatted query sent to the API.
Tests
This is basically a wrapper around the API. We're assuming the Musixmatch API has been tested, and we won't make duplicated tests.
Change log
Please see CHANGELOG for more information on what has changed recently.
Contributing
Please see CONDUCT for details.
Security
If you discover any security related issues, please email [email protected] instead of using the issue tracker.
Credits
- Jean-Philippe Murray
- All Contributors
License
The MIT License (MIT). Please see License File for more information.