1. Go to this page and download the library: Download havenstd06/laravel-jellyfin 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/ */
havenstd06 / laravel-jellyfin example snippets
return [
'server_url' => env('JELLYFIN_SERVER_URL', ''), // Jellyfin Server URL (ex: https://[IP address]:8096 or https://domain.com)
'token' => env('JELLYFIN_TOKEN', ''),
'application' => env('JELLYFIN_APPLICATION', 'Laravel Jellyfin / v1.0'), // Jellyfin application name
'version' => env('JELLYFIN_VERSION', '10.8.8'), // (Jellyfin application version number)
'validate_ssl' => env('JELLYFIN_VALIDATE_SSL', true), // Validate SSL when creating api client.
];
use Havenstd06\LaravelJellyfin\Services\Jellyfin as JellyfinClient;
$provider = new JellyfinClient;