Skip to content
This repository was archived by the owner on Apr 2, 2021. It is now read-only.

Latest commit

 

History

History
52 lines (36 loc) · 986 Bytes

File metadata and controls

52 lines (36 loc) · 986 Bytes

SEO Build Status

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