PHPackages                             mingalevme/illuminate-google - 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. [API Development](/categories/api)
4. /
5. mingalevme/illuminate-google

ActiveLibrary[API Development](/categories/api)

mingalevme/illuminate-google
============================

Provides Google API Library for PHP wrapper for Laravel/Lumen

1.0.0(8y ago)015MITPHPPHP &gt;=5.4.0

Since Oct 6Pushed 3y ago1 watchersCompare

[ Source](https://github.com/mingalevme/illuminate-google)[ Packagist](https://packagist.org/packages/mingalevme/illuminate-google)[ Docs](https://github.com/mingalevme/illuminate-google)[ RSS](/packages/mingalevme-illuminate-google/feed)WikiDiscussions master Synced 2mo ago

READMEChangelogDependencies (7)Versions (2)Used By (0)

illuminate-google
=================

[](#illuminate-google)

Provides Google API Library for PHP wrapper for Laravel/Lumen

Installation
============

[](#installation)

1. `composer require mingalevme/illuminate-google`.
2. Register the service provider `Mingalevme\Illuminate\Google\GoogleServiceProvider`.
3. *(Optionally)* Add alias to your bootstrap file:

```
'Google' => Mingalevme\Illuminate\Google\Facades\Google::class,
```

4. *(Optionally)* For **Laravel** run

```
php artisan vendor:publish --provider="Mingalevme\Illuminate\Google\GoogleServiceProvider" --tag="config"
```

to publish the config file.

5. *(Optionally)* For **Lumen** copy `/vendor/mingalevme/illuminate-google/config/google.php` to `/config/google.php`.
6. **Instead of 4 and/or 5** if you plan to use just one **Google Analytics** (most common case), place JWT-file to `/resources/google-service-account-key.json`, if the service is not **Google Analytics**, setup one in your **.env**:

```
GOOGLE_SERVICE=Google_Service_AndroidPublisher
GOOGLE_SCOPE=https://www.googleapis.com/auth/androidpublisher
```

7. Now you are able to use the library:

```
