PHPackages                             dywily/gaw - 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. dywily/gaw

ActiveLibrary[API Development](/categories/api)

dywily/gaw
==========

wrap some google api,like gmail api

v1.0.0(3y ago)06MITPHPPHP &gt;=8.1

Since Mar 25Pushed 3y ago1 watchersCompare

[ Source](https://github.com/duan1v/google-api-php-wrap)[ Packagist](https://packagist.org/packages/dywily/gaw)[ RSS](/packages/dywily-gaw/feed)WikiDiscussions master Synced today

READMEChangelog (1)Dependencies (2)Versions (2)Used By (0)

Google-api-php-wrap
===================

[](#google-api-php-wrap)

- A package base from [google/apiclient](https://github.com/googleapis/google-api-php-client)
- Currently only packaging the gmail, you can easily manage syncing email, displaying email, and sending email
- The examples folder in the reference package is used for the basics
- you can see configuration file `config/gaw.php` and overwrite related configuration

Configure OAuth client authorization
------------------------------------

[](#configure-oauth-client-authorization)

- refer: [google api 授权及使用 总结](https://duan1v.com/google_api/)
- You need to move the downloaded credentials file into the configuration {auth\_path}/{credential\_file}

Usage of Examples folder
------------------------

[](#usage-of-examples-folder)

- Enter parent directory of the examples
- Execute

```
php -S localhost:8068
```

- Browser view:

If you use the laravel
----------------------

[](#if-you-use-the-laravel)

- Add the following into `routes/console.php`

```
Artisan::command('dywily:gaw-install', function () {
    $dt = new Dywily\Gaw\Console\InstallCommand();
    $dt->handle();
});
```

- Execute

```
php artisan dywily:gaw-install
```

- Add the following into `providers` of `config/app.php`

```
App\Providers\GmailServiceProvider::class,
```

- Execute and view:

```
php artisan serve --port 8068
```

PS
--

[](#ps)

- Usage of memory when synchronous mail is about using yield to retrieve the mailing list, vs directly return the mailing list [![内存比照](https://camo.githubusercontent.com/f6d2a388451558c956918fd1206e52a01d023b675b0781d369018584face154d/68747470733a2f2f7374617469632e6475616e31762e636f6d2f696d616765732f32303233303331343030313335302e706e67)](https://camo.githubusercontent.com/f6d2a388451558c956918fd1206e52a01d023b675b0781d369018584face154d/68747470733a2f2f7374617469632e6475616e31762e636f6d2f696d616765732f32303233303331343030313335302e706e67)

###  Health Score

23

—

LowBetter than 26% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity4

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity54

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

Unknown

Total

1

Last Release

1196d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/84c568067247ddc28bf5eb14220987b531f3cc5c7c7bf34c9d16546d258d8c70?d=identicon)[TruckCoder](/maintainers/TruckCoder)

---

Top Contributors

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

---

Tags

googleGmail API

### Embed Badge

![Health badge](/badges/dywily-gaw/health.svg)

```
[![Health](https://phpackages.com/badges/dywily-gaw/health.svg)](https://phpackages.com/packages/dywily-gaw)
```

###  Alternatives

[statamic/cms

The Statamic CMS Core Package

4.8k3.6M984](/packages/statamic-cms)[tomshaw/google-api

A Laravel Google API Client.

601.8k](/packages/tomshaw-google-api)

PHPackages © 2026

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