PHP Classes


Recommend this page to a friend!
  Classes of Juraj Puchký   PHP Search Analytics Utilities   Download  
Role: Documentation
Content type: text/markdown
Description: Documentation
Class: PHP Search Analytics Utilities
Find keywords to optimize pages for search engines
Author: By
Last change: google api testing
remove unused api
Special discount
Special discount
Special discount
Special discount
Special discount
Date: 2 years ago
Size: 3,652 bytes


Class file image Download

Find keyword golden ratio (kgr) to optimize pages for search engines and other utilities for seo in php

my page TOP 10 on Google within 48 hours

Make your page TOP 10 on google in 48 hours

Quick tool which helps you make your page TOP 10 on Google in 48 hours

Main purpose of this library is to automate SEO routine for finding KGR keyword golden ratio. This tool will help you simply on long tail keyword make your page top 10 on google within 48 hours.


git clone
cd search-analytics-utilities
composer install

For google-ads-api suggestions you need activated mmc account and developer key, once you can't have it you can use sample kgr-csv.php with keywords and volumes in csv, which you can obtain from google-ads onr another seo tool as well. Feel free to look into samples folder and checkout

Free keyword golden ratio tool.

For that is needed to find out number of search results on Google and monthly search volume for each keyword idea.


Our library depends on the package "baba/object-cache", which is used for prevent banning on Google.

Simple library to find out

  • long tail keywords by Google Ads API (MMC account + API needed)
  • KGR (keyword golden ratio), you can use against your ideas
  • if you do not have MMC account you can export keywords from keyword planning tool on Google Ads or any other list and use CSV to find out your KGR

Supported engines

  • Google

Supported APIs

  • Google ADS API with MMC account, developer token
  • Collabim API


In folder samples you can find some basic usage of library.

php samples/kgr-csv.php ./samples/keywords.csv ./results.csv ./future.csv

How to use it?

As you can see in samples you have to first make instance of Engine then pass Engine to Analyzer tool, which has an interface to call operation with results. Instance of Engine requires instance of Cache Driver to store results in the cache.


Where get long tail keywords?

in application is also implemented google-ads API keyword planner, for which you must have MMC account with activated developer token. Or export results from keyword planner in ADS to CSV, (keyword;volume) format. If you do not have google-ads-api developer token, you can use collabim ( Wonderful is also keyword-researcher ( and Answer the public (




Juraj Puchký - BABA Tumise s.r.o. <> - SEO optilamizace - Tvorba webových stránek - Tvorba portál? a ecommerce b2b/b2c (eshop?) na zakázku


1.0.0 - first release

1.0.1 - some fixes regarding kgr specification

1.0.2 - future keywords

1.0.3 - better statistics in sample

1.3.6 - tested google ads api suggestions with kgr + samples


&copy; 2021 BABA Tumise s.r.o.

Thanks to

Created with help of Dalibor Jaro? - CEO of Collabim and their webinar about KGR SEO method (,

you can also check SEO trénink ( which is one of the actually most honored SEO course on the Czech market.

Special discount

for Collabim services and products you can use discount coupon AFF-DIS-30, coupon is possible to use only with links mentioned above.