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

SEO PHP Library to fetch search requests from Google and Co.

1.0.5 2019-02-11 23:52 UTC

README

SEO Command and PHP Library to check your position for a specified keyword and more...

Installation

composer require arkadiusjonczek/seo

Basic Usage

<?php

use SEO\Google;
use SEO\Google\SearchCriteria;

$country  = 'de';
$language = 'de';
$searchCriteria = new SearchCriteria('hello world');

$google = new Google($country, $language);
$search = $google->search($searchCriteria);

$searchResult = $search->getResult();

print_r($searchResult);

CLI Usage

./seo position dortmund www.dortmund.de
Array
(
    [2] => Array
        (
            [title] => dortmund.de - Startseite
            [desc] => Offizielles Stadtportal mit Informationen zu Politik, Wirtschaft, Kultur, Tourismus und Bürgerservice.
            [url] => http://www.dortmund.de/
        )

)

Supported Search Engines

  • Google