PHPackages                             highsolutions/google-keywords - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [CLI &amp; Console](/categories/cli)
4. /
5. highsolutions/google-keywords

ActiveLibrary[CLI &amp; Console](/categories/cli)

highsolutions/google-keywords
=============================

A Laravel package for synchronizing with Google Search Console to get visitors' search keywords

1.2.0(5y ago)111774MITPHPPHP &gt;=5.6.4

Since Aug 3Pushed 5y agoCompare

[ Source](https://github.com/highsolutions/laravel-google-keywords)[ Packagist](https://packagist.org/packages/highsolutions/google-keywords)[ RSS](/packages/highsolutions-google-keywords/feed)WikiDiscussions master Synced 4w ago

READMEChangelog (6)Dependencies (2)Versions (7)Used By (0)

Laravel Google Keywords
=======================

[](#laravel-google-keywords)

A Laravel package for synchronizing with Google Search Console to get visitors' search keywords.

[![Laravel-Poster by HighSolutions](https://raw.githubusercontent.com/highsolutions/laravel-google-keywords/master/intro.jpg)](https://raw.githubusercontent.com/highsolutions/laravel-google-keywords/master/intro.jpg)

Installation
------------

[](#installation)

Add the following line to the `require` section of your Laravel webapp's `composer.json` file:

```
    "require": {
        "HighSolutions/GoogleKeywords": "1.*"
    }
```

Run `composer update` to install the package.

This package uses Laravel 5.5 Package Auto-Discovery. For previous versions of Laravel, you need to update `config/app.php` by adding an entry for the service provider:

```
'providers' => [
    // ...
    HighSolutions\GoogleKeywords\GoogleKeywordsServiceProvider::class,
];
```

Next, publish all package resources:

```
    php artisan vendor:publish --provider="HighSolutions\GoogleKeywords\GoogleKeywordsServiceProvider"
```

This will add to your project:

```
- migration - database table for storing keywords
- configuration - package configurations

```

Remember to launch migration:

```
    php artisan migrate
```

Next step is to add cron task via Scheduler (`app\Console\Kernel.php`):

```
    protected function schedule(Schedule $schedule)
    {
    	// ...
        $schedule->command('keywords:fetch')->daily();
    }
```

Configuration
-------------

[](#configuration)

Setting nameDescriptionDefault valuewebsites.\*.urlURL of website (with protocol)''websites.\*.credentialsJSON credentials file on serverstorage\_path('app/google-search-credentials.json')Websites are defined in configuration as:

```
