PHPackages                             funnydevjsc/google-client-laravel-integrate - 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. funnydevjsc/google-client-laravel-integrate

ActiveLibrary

funnydevjsc/google-client-laravel-integrate
===========================================

Laravel package for Google Client wrapper

1.0.1(4mo ago)0150↓100%2MITPHPPHP ^8.1|^8.2|^8.3|^8.4

Since Jan 27Pushed 4mo agoCompare

[ Source](https://github.com/funnydevjsc/google-client-laravel-integrate)[ Packagist](https://packagist.org/packages/funnydevjsc/google-client-laravel-integrate)[ Docs](https://github.com/funnydevjsc/google-client-laravel-integrate)[ RSS](/packages/funnydevjsc-google-client-laravel-integrate/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (2)Dependencies (5)Versions (3)Used By (2)

Google Client Laravel
=====================

[](#google-client-laravel)

The free Laravel package to help you wrap your Google Client

Use Cases
---------

[](#use-cases)

- Wrap your Google Client as an SDK to use it easier

Features
--------

[](#features)

- Dynamic Google Service credentials from config/google-service.php
- Easy to init and use your Google Service with a simple line code

Know issues
-----------

[](#know-issues)

- This package uses the latest official SDK, libraries and methods from Google then it might be large (around 30mb for dependency package google/apiclient) for shared hosting.
- Please consider your server's environment before using this package.
- However, we still recommend that you follow the latest writing style for Google libraries to ensure safety, compliance, CI/CD and most importantly if you are using services

Requirements
------------

[](#requirements)

- **PHP**: 8.1 or higher
- **Laravel** 9.0 or higher

Quick Start
-----------

[](#quick-start)

If you prefer to install this package into your own Laravel application, please follow the installation steps below

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

[](#installation)

#### Step 1. Install a Laravel project if you don't have one already

[](#step-1-install-a-laravel-project-if-you-dont-have-one-already)

#### Step 2. Require the current package using composer:

[](#step-2-require-the-current-package-using-composer)

```
composer require funnydevjsc/google-client-laravel-integrate
```

#### Step 3. Publish the controller file and config file

[](#step-3-publish-the-controller-file-and-config-file)

```
php artisan vendor:publish --provider="FunnyDev\GoogleClient\GoogleClientServiceProvider" --tag="funnydev-google-client"
```

If publishing files fails, please create corresponding files at the path `config/google-service.php` from this package.

#### Step 4. Create a Google Service credentials:

[](#step-4-create-a-google-service-credentials)

- Go to [https://console.cloud.google.com/iam-admin/serviceaccounts?hl=en&amp;project=your\_google\_project\_id](https://console.cloud.google.com/iam-admin/serviceaccounts?hl=en&project=your_google_project_id) to create a Google Service account.
- Go to [https://console.cloud.google.com/iam-admin/serviceaccounts/details/your\_google\_service\_account\_id/keys?hl=en&amp;project=your\_google\_project\_id](https://console.cloud.google.com/iam-admin/serviceaccounts/details/your_google_service_account_id/keys?hl=en&project=your_google_project_id) to create a JSON private key file like this:

[![](screenshots/google-service-account-sample.png)](screenshots/google-service-account-sample.png)

- Then download it to your computer as `application_default_credentials.json` and move it to the storage\_path of Laravel project but don't forget to ignore it from git to secure your project.

#### Step 5. Update the various config settings in the published config file:

[](#step-5-update-the-various-config-settings-in-the-published-config-file)

- After publishing the package assets a configuration file will be located at `config/google-service.php`.
- Please use your Google Service credentials values from `application_default_credentials.json` to fill into `config/google-service.php` file.

Testing
-------

[](#testing)

Create a folder

```
use FunnyDev\GoogleClient\GoogleClientSdk;

class TestGoogleClient
{
    /**
     * Handle the event.
     * @throws \Exception
     */
    public function handle(): void
    {
        $googleClient = new GoogleClientSdk();
        $googleService = $googleClient->instance();
        $googleService->addScope(...);
    }
}
```

Feedback
--------

[](#feedback)

Respect us in the [Laravel Việt Nam](https://www.facebook.com/groups/167363136987053)

Contributing
------------

[](#contributing)

Please see [CONTRIBUTING](CONTRIBUTING.md) for details.

### Security

[](#security)

If you discover any security related issues, please email  or use the issue tracker.

Credits
-------

[](#credits)

- [Funny Dev., Jsc](https://github.com/funnydevjsc)
- [All Contributors](../../contributors)

License
-------

[](#license)

The MIT License (MIT). Please see [License File](LICENSE.md) for more information.

###  Health Score

41

—

FairBetter than 88% of packages

Maintenance78

Regular maintenance activity

Popularity12

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity56

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~321 days

Total

2

Last Release

146d ago

PHP version history (2 changes)1.0.0PHP ^8.1

1.0.1PHP ^8.1|^8.2|^8.3|^8.4

### Community

Maintainers

![](https://www.gravatar.com/avatar/ddb914505b68528e0f47a1a0c04b7e3bbe59d9849546c7d44654faf5294b0293?d=identicon)[funnydevjsc](/maintainers/funnydevjsc)

---

Top Contributors

[![fdteam-deanie](https://avatars.githubusercontent.com/u/146782529?v=4)](https://github.com/fdteam-deanie "fdteam-deanie (2 commits)")

---

Tags

clientlaravelgooglepackagegclient

### Embed Badge

![Health badge](/badges/funnydevjsc-google-client-laravel-integrate/health.svg)

```
[![Health](https://phpackages.com/badges/funnydevjsc-google-client-laravel-integrate/health.svg)](https://phpackages.com/packages/funnydevjsc-google-client-laravel-integrate)
```

###  Alternatives

[mookofe/tail

RabbitMQ and PHP client for Laravel and Lumen that allows you to add and listen queues messages just simple

5552.5k](/packages/mookofe-tail)[gemini-api-php/laravel

Gemini API client for Laravel

8915.7k](/packages/gemini-api-php-laravel)[schulzefelix/laravel-search-console

A Laravel package to retrieve data from Google Search Console

5037.8k1](/packages/schulzefelix-laravel-search-console)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
