PHPackages                             obrio-team/google-api-client - 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. obrio-team/google-api-client

ActiveLibrary

obrio-team/google-api-client
============================

PHP package to manage google-api interactions

0.1.7(2y ago)5673MITPHPPHP ^8.1

Since Apr 23Pushed 2y ago3 watchersCompare

[ Source](https://github.com/OBRIO-Team/google-api-client)[ Packagist](https://packagist.org/packages/obrio-team/google-api-client)[ RSS](/packages/obrio-team-google-api-client/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (10)Dependencies (1)Versions (14)Used By (0)

Google-api-client
=================

[](#google-api-client)

PHP package to manage google-api interactions

Supports:
---------

[](#supports)

- Google Drive API
- Google Spreadsheet API

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

[](#installation)

```
composer require obrio-team/google-api-client

```

Config:
-------

[](#config)

- Provide auth credential configs for native google-apiclient library
- Enable dependency injection. E.g. Symfony config.yaml

```
services:
    ObrioTeam\GoogleApiClient\:
        resource: '../vendor/obrio-team/google-api-client/src'
```

- If you would like to define your custom ItemStatusService` statuses inject delimiter and your custom status extensions. E.g. Symfony config.yaml

```
services:
  ObrioTeam\GoogleApiClient\Service\ItemStatus\GoogleItemStatusService:
    class: ObrioTeam\GoogleApiClient\Service\ItemStatus\GoogleItemStatusService
    arguments:
      - ':' #delimiter
      - [
          '@App\Domain\Statuses\CustomStatusOne' #implementation
      ]
```

Google drive service
--------------------

[](#google-drive-service)

MethodArgumentsOutputDescriptiongetFilestring $fileId, array $optionalParam = \[\]?Google\_Service\_Drive\_DriveFileGet single Google drive file by its ID or null.createFileGoogle\_Service\_Drive\_DriveFile $file, array $optionalParams = \[\]?Google\_Service\_Drive\_DriveFileTry to create file with locally created DriveFile objectupdateFilestring $fileId, Google\_Service\_Drive\_DriveFile $file, array $optionalParams = \[\]?Google\_Service\_Drive\_DriveFileTry to update file with locally created DriveFile objectgetFilteredFileList?string $folderId = null, bool $deepPagination = false, ?GoogleItemRuleStrategyInterface ...$itemRuleStrategiesarrayGet list of files. If set deepPagination=true all files through google pagination will be matched. Also you can perform filtering by various strategiesexportFileContentstring $fileId, string $mimeType = 'text/plain', array $optionalParams = \[\]\\GuzzleHttp\\Psr7\\RequestGet content of GoogleDoc file in desired format by file IDgetNonGoogleDocsFileContentstring $fileId\\GuzzleHttp\\Psr7\\RequestGet contents of non-GoogleDoc file by file IDchangeFileStatusGoogle\_Service\_Drive\_DriveFile $file, ContentStatusAbstract $targetStatus?Google\_Service\_Drive\_DriveFileTry to update file name with status using GoogleItemStatusServiceGoogle spreadsheet service
--------------------------

[](#google-spreadsheet-service)

MethodArgumentsOutputDescriptiongetJustNewValuesstring $spreadsheetId, string $range = ''GoogleSheetValuesResponseGet only updated values as DTO with key=&gt;value arraygetSheetsstring $spreadsheetIdGoogleSheetSheetsResponseGet DTO with list of spreadsheet sheetsgetValuesstring $spreadsheetId, ?string $sheetTitle = null, string $range = ''GoogleSheetValuesResponseGet sheet values as DTO with key=&gt;value array. If no sheetTitle defined - getting values from first sheet in spreadsheet. Specific range can set.updateFieldstring $spreadsheetId, UpdateFieldRequest $updateFieldRequestGoogle\_Service\_Sheets\_UpdateValuesResponseUpdate single cell valueupdateRangestring $spreadsheetId, UpdateRangeRequest $updateRangeRequestGoogle\_Service\_Sheets\_UpdateValuesResponseUpdate range request in specified sheet.addSpreadsheetPagestring $spreadsheetId, AddSpreadsheetPageRequest $addSpreadsheetPageRequestGoogle\_Service\_Sheets\_BatchUpdateSpreadsheetResponseAdd new sheet to the spreadsheet.appendDimensionToSpreadsheetPagestring $spreadsheetId, AppendDimensionToSpreadsheetPageRequest $appendDimensionToSpreadsheetPageRequestGoogle\_Service\_Sheets\_BatchUpdateSpreadsheetResponseAppend colimns or rows to the specific sheet of the spreadsheet.createGoogleSpreadsheetstring $name, ?string $parentFolderId = nullGoogle\_Service\_Sheets\_SpreadsheetCreate new spreadsheet file in defined parent folder.appendRowsstring $spreadsheetId, AppendRowsRequest $appendRowsRequestGoogle\_Service\_Sheets\_AppendValuesResponseAppend one or more rows to the end of table on spreadsheet.### Hints

[](#hints)

To get all mentioned ...Request DTOs use this factories:

```
\ObrioTeam\GoogleApiClient\Factory\GoogleDriveFileFactory::class;
\ObrioTeam\GoogleApiClient\Factory\GoogleSpreadsheetRequestFactory::class;
```

###  Health Score

29

—

LowBetter than 59% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity18

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity58

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 78.6% 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 ~99 days

Recently: every ~110 days

Total

9

Last Release

1055d ago

PHP version history (2 changes)0.0.1PHP ^7.4

0.1.5PHP ^8.1

### Community

Maintainers

![](https://www.gravatar.com/avatar/8c403ca83115775ba1f4d4b208aae7aabc3893d3d8cfe6dc88dbb0a4937081d2?d=identicon)[AlexZodov](/maintainers/AlexZodov)

---

Top Contributors

[![AlexZodov](https://avatars.githubusercontent.com/u/43267025?v=4)](https://github.com/AlexZodov "AlexZodov (11 commits)")[![m-kokhanskyi](https://avatars.githubusercontent.com/u/16020353?v=4)](https://github.com/m-kokhanskyi "m-kokhanskyi (2 commits)")[![dmytro-kovalchuk-tech](https://avatars.githubusercontent.com/u/213042393?v=4)](https://github.com/dmytro-kovalchuk-tech "dmytro-kovalchuk-tech (1 commits)")

### Embed Badge

![Health badge](/badges/obrio-team-google-api-client/health.svg)

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

###  Alternatives

[flow-php/flow

PHP ETL - Extract Transform Load - Data processing framework

81733.7k](/packages/flow-php-flow)[fleetbase/core-api

Core Framework and Resources for Fleetbase API

1225.0k10](/packages/fleetbase-core-api)[chameleon-system/chameleon-base

The Chameleon System core.

1026.5k3](/packages/chameleon-system-chameleon-base)[voidagency/vactory_starter_kit

Vactory is a custom Drupal profile which is developed and released by VOID Agency.

1019.7k](/packages/voidagency-vactory-starter-kit)

PHPackages © 2026

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