jkrusy/music-streaming-link-analyzer

There is no license information available for the latest version (0.1.0) of this package.

Get the streaming provider from the streaming link

Installs: 12

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 1

Forks: 0

Open Issues: 0

pkg:composer/jkrusy/music-streaming-link-analyzer

0.1.0 2023-03-13 17:45 UTC

This package is auto-updated.

Last update: 2025-10-13 23:10:52 UTC


README

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