PHP code example of chocoholics / genius

1. Go to this page and download the library: Download chocoholics/genius library. Choose the download type require.

2. Extract the ZIP file and open the index.php.

3. Add this code to the index.php.
    
        
<?php
require_once('vendor/autoload.php');

/* Start to develop here. Best regards https://php-download.com/ */

    

chocoholics / genius example snippets


Chocoholics\Genius\GeniusServiceProvider::class,

'Genius' => Chocoholics\Genius\Facades\Genius::class,

$annotation = Genius::annotation(10225840)->get();

$song = Genius::song(378195)->get();

php artisan vendor:publish --provider="Chocoholics\Genius\GeniusServiceProvider"