TIPOFF / seo

Laravel Package for tracking SEO keywords
MIT License
1 stars 0 forks source link

Omnia/feature/50 implement registry pattern #62

Closed devjk1 closed 3 years ago

devjk1 commented 3 years ago

50

Can resolve providers like this

/** @var ProviderRegistry $registry */
$registry = app(ProviderRegistry::class)

$registry->getProvider('serp-api')->search('escape room florida');
$registry->getProvider('ahrefs')->search('escape room florida');
$registry->getProvider('moz')->search('escape room florida');