Skip to content

jkrusy/music-streaming-link-analyzer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

music-streaming-link-analyzer

Analyze streaming links to get the streaming provider.

Installing

Install the package via composer:

composer require jkrusy/music-streaming-link-analyzer

Usage

use JKrusy\MusicStreamingLinkAnalyzer\Analyzer;
use JKrusy\MusicStreamingLinkAnalyzer\Registries\ProviderRegistry;

$registry = new ProviderRegistry();
$registry->load();

// $registry->load('\Your\Own\Namespace');

$analyzer = new Analyzer($registry);
$provider = $analyzer->analyze($url);

Running tests

docker-compose run composer install
docker-compose run php /app/vendor/bin/phpunit /app

About

Analyze streaming links to get the streaming provider

Resources

Stars

Watchers

Forks

Packages

No packages published