PHPackages                             yisus-vault/google-facade - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. yisus-vault/google-facade

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

yisus-vault/google-facade
=========================

A beginner-friendly Google facade for PHP.

v0.1.0(4w ago)02MITPHP

Since May 12Pushed 4w agoCompare

[ Source](https://github.com/yisus-vault/google-facade)[ Packagist](https://packagist.org/packages/yisus-vault/google-facade)[ RSS](/packages/yisus-vault-google-facade/feed)WikiDiscussions master Synced 1w ago

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

Google Facade (Beginner Friendly)
=================================

[](#google--facade-beginner-friendly)

Easily connect and interact with the Google API using PHP. This package wraps the complex `google/apiclient` into simple, intuitive commands, supporting both object-oriented and Laravel-style static calls.

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

[](#installation)

```
composer require yisus-vault/google-facade
```

Usage
-----

[](#usage)

### 1. Setup (One-time)

[](#1-setup-one-time)

Initialize the client once at the start of your application (e.g., in a ServiceProvider or config file).

```
use Yisus\GoogleFacade\Auth\ClientManager;

ClientManager::create([
    'auth_type' => 'service_account',
    'credentials' => __DIR__ . '/credentials.json'
]);
```

### 2. Use it Anywhere (Laravel-style Static Call)

[](#2-use-it-anywhere-laravel-style-static-call)

Once initialized, you can call `Drive` methods statically from anywhere in your code.

```
use Yisus\GoogleFacade\Facades\Drive;

// Upload
$fileId = Drive::uploadFile('path/to/local/file.jpg', 'My Image.jpg');

// List
$files = Drive::listFolder('root');

// Download
Drive::downloadFile('file_id', 'local.jpg');
```

### 3. Standard Object-Oriented Usage

[](#3-standard-object-oriented-usage)

If you prefer instances or need multiple clients:

```
use Yisus\GoogleFacade\Auth\ClientManager;
use Yisus\GoogleFacade\Drive\DriveFacade;

$client = ClientManager::create([...]);
$drive = new DriveFacade($client);

$drive->uploadFile(...);
```

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

[](#contributing)

This project is part of the [Yisus Vault](https://github.com/yisus-vault) ecosystem.

###  Health Score

32

—

LowBetter than 70% of packages

Maintenance94

Actively maintained with recent releases

Popularity3

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity23

Early-stage or recently created project

 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

Unknown

Total

1

Last Release

29d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/e1b6bc88a1a053deb8637f4c4aaca051eb2b61db02c501dc8c9dfc00251d5776?d=identicon)[yisus-vault](/maintainers/yisus-vault)

---

Top Contributors

[![YiSuSNHH](https://avatars.githubusercontent.com/u/101743939?v=4)](https://github.com/YiSuSNHH "YiSuSNHH (1 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/yisus-vault-google-facade/health.svg)

```
[![Health](https://phpackages.com/badges/yisus-vault-google-facade/health.svg)](https://phpackages.com/packages/yisus-vault-google-facade)
```

###  Alternatives

[spatie/laravel-google-calendar

Manage events on a Google Calendar

1.4k1.7M21](/packages/spatie-laravel-google-calendar)[aimeos/laravel-analytics-bridge

Unified analytics bridge for Laravel

1412.0k7](/packages/aimeos-laravel-analytics-bridge)

PHPackages © 2026

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