PHPackages                             phpbu/google-drive-utility - 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. [Authentication &amp; Authorization](/categories/authentication)
4. /
5. phpbu/google-drive-utility

ActiveScript[Authentication &amp; Authorization](/categories/authentication)

phpbu/google-drive-utility
==========================

phpbu Google Drive utility.

0.9.0(8y ago)31331MITPHPPHP &gt;=7.0.0

Since Jun 24Pushed 5y ago1 watchersCompare

[ Source](https://github.com/sebastianfeldmann/phpbu-google-drive)[ Packagist](https://packagist.org/packages/phpbu/google-drive-utility)[ Docs](http://phpbu.de/)[ RSS](/packages/phpbu-google-drive-utility/feed)WikiDiscussions master Synced 2w ago

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

PHPBU Google Drive utility
==========================

[](#phpbu-google-drive-utility)

With this CLI script you can create a Google Drive access token file that is required by PHPBU to sync your files to Google Drive.

Also it lists the names and IDs of your Google Drive files and directories. The ID of the directory where you want to store your backups is needed for your PHPBU configuration.

All you need is a Google API client JSON credential file that you can easily generate online in your Google account settings.

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

[](#installation)

There are two ways to install the PHPBU Google Drive utility.

### Composer

[](#composer)

```
composer require phpbu/google-drive-utility
vendor/bin/phpbu-gdu

```

### git

[](#git)

```
git clone https://github.com/sebastianfeldmann/phpbu-google-drive.git
cd phpbu-google-drive
./phpbu-gdu

```

Usage
-----

[](#usage)

```
phpbu-gdu [client_secret.json] [client_access.json]

```

The first argument is the path to your local `client_secret.json` that you have generated in your Google account settings. If you do not provide the argument it defaults to `./client_secret.json`.

The second argument is the path where the access token should be stored. If not provided it defaults to `./client_access.json`.

###  Health Score

25

—

LowBetter than 36% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity14

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity48

Maturing project, gaining track record

 Bus Factor1

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

Unknown

Total

1

Last Release

2928d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/13055952?v=4)[phpbu](/maintainers/phpbu)[@phpbu](https://github.com/phpbu)

---

Top Contributors

[![sebastianfeldmann](https://avatars.githubusercontent.com/u/9250358?v=4)](https://github.com/sebastianfeldmann "sebastianfeldmann (6 commits)")[![AxelPAL](https://avatars.githubusercontent.com/u/3734332?v=4)](https://github.com/AxelPAL "AxelPAL (1 commits)")[![petecooper](https://avatars.githubusercontent.com/u/226578?v=4)](https://github.com/petecooper "petecooper (1 commits)")

---

Tags

googleAuthenticationdrive

### Embed Badge

![Health badge](/badges/phpbu-google-drive-utility/health.svg)

```
[![Health](https://phpackages.com/badges/phpbu-google-drive-utility/health.svg)](https://phpackages.com/packages/phpbu-google-drive-utility)
```

###  Alternatives

[google/auth

Google Auth Library for PHP

1.4k286.7M205](/packages/google-auth)[hwi/oauth-bundle

Support for authenticating users using both OAuth1.0a and OAuth2 in Symfony.

2.4k22.0M76](/packages/hwi-oauth-bundle)[hybridauth/hybridauth

PHP Social Authentication Library

3.4k8.8M104](/packages/hybridauth-hybridauth)[league/oauth2-google

Google OAuth 2.0 Client Provider for The PHP League OAuth2-Client

42222.6M157](/packages/league-oauth2-google)[kreait/firebase-tokens

A library to work with Firebase tokens

23943.8M18](/packages/kreait-firebase-tokens)[opauth/opauth

Multi-provider authentication framework for PHP

1.6k793.0k60](/packages/opauth-opauth)

PHPackages © 2026

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