PHP code example of xyrotech / orin
1. Go to this page and download the library: Download xyrotech/orin 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/ */
xyrotech / orin example snippets
cp vendor/xyrotech/orin/config/orin.php myconfig
php artisan vendor:publish --provider="Xyrotech\OrinServiceProvider" --tag="orin-config"
$config = = new Xyrotech\Orin($config);
$artist = $discog->artist(45);
echo $artist->name;
'Aphex Twin'
$config = = new Xyrotech\Orin($config);
$label = $discog->all_label_releases(1);
var_dump($label->releases); // An array of label releases