PHPackages                             dktw/google-api-bundle - 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. dktw/google-api-bundle

ActiveSymfony-bundle[API Development](/categories/api)

dktw/google-api-bundle
======================

Google API Client Symfony Bundle

03161PHP

Since Mar 17Pushed 4y agoCompare

[ Source](https://github.com/kanojiyadhaval/google-api-bundle)[ Packagist](https://packagist.org/packages/dktw/google-api-bundle)[ RSS](/packages/dktw-google-api-bundle/feed)WikiDiscussions main Synced 1mo ago

READMEChangelogDependenciesVersions (1)Used By (0)

Google API Client Symfony BUndle
================================

[](#google-api-client-symfony-bundle)

This project provides a simple symfony bundle to provide a configurable [Google API Client](https://github.com/googleapis/google-api-php-client) as symfony service.

Usage
-----

[](#usage)

### Installation

[](#installation)

Include this project in your Composer installation.

```
composer require double-star-systems/google-api-bundle
```

### Configuration

[](#configuration)

The module will work without singificant configuration. At minimum, you must atleast create the google api `credentials.json`. This can either be placed in the default location of `config/google_api_bundle/credentials.json` or in a custom location, which will need to be configured in the application.

The following custom configuration can be added to your application.

```
# config/packages/google_api.yaml

google_api:
    scopes:
        - https://www.googleapis.com/auth/drive
    credentials_file: `path/to/your/credentials.json`
    token_file: `path/to/your/tokens.json`
    application_name: 'Your Awesome App Name!'
```

### Using the Service

[](#using-the-service)

To use the serivce in your app, you can simply use the standard google api class within your project, and have a fully configured base api client isntance.

```
use Google\Client;

class ExampleController extends AbstractController
{
    #[Route('/example, 'example')]
    public function example(Client $client)
    {
        // use the $client instance as normal.
    }
}
```

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

[](#requirements)

This project is cofigured to be compatible with Symfony 4+ and the Google PHP API Client library 2.0.

Support
-------

[](#support)

This project is developed by [Double Star Systems](//doublestarsystems.com/). For questions about project support or to report bugs, please [open an issue on GitHub](https://github.com/Double-Star-Systems/google-api-bundle/issues)

###  Health Score

18

—

LowBetter than 8% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity13

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity26

Early-stage or recently created project

 Bus Factor1

Top contributor holds 66.7% 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.

### Community

Maintainers

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

---

Top Contributors

[![kanojiyadhaval](https://avatars.githubusercontent.com/u/18523845?v=4)](https://github.com/kanojiyadhaval "kanojiyadhaval (4 commits)")[![richgerdes](https://avatars.githubusercontent.com/u/1626100?v=4)](https://github.com/richgerdes "richgerdes (2 commits)")

### Embed Badge

![Health badge](/badges/dktw-google-api-bundle/health.svg)

```
[![Health](https://phpackages.com/badges/dktw-google-api-bundle/health.svg)](https://phpackages.com/packages/dktw-google-api-bundle)
```

###  Alternatives

[stripe/stripe-php

Stripe PHP Library

4.0k143.3M480](/packages/stripe-stripe-php)[twilio/sdk

A PHP wrapper for Twilio's API

1.6k92.9M272](/packages/twilio-sdk)[knplabs/github-api

GitHub API v3 client

2.2k15.8M187](/packages/knplabs-github-api)[facebook/php-business-sdk

PHP SDK for Facebook Business

90121.9M34](/packages/facebook-php-business-sdk)[meilisearch/meilisearch-php

PHP wrapper for the Meilisearch API

73813.7M114](/packages/meilisearch-meilisearch-php)[google/gax

Google API Core for PHP

263103.1M454](/packages/google-gax)

PHPackages © 2026

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