PHPackages                             yidas/google-api-sample - 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. yidas/google-api-sample

ActiveProject[API Development](/categories/api)

yidas/google-api-sample
=======================

Google API Client Libraries with Google service samples for PHP

0.1.0(7y ago)017MITPHPPHP &gt;=5.4.0

Since Jun 13Pushed 7y ago1 watchersCompare

[ Source](https://github.com/yidas/php-google-api-sample)[ Packagist](https://packagist.org/packages/yidas/google-api-sample)[ Docs](https://github.com/yidas/google-api-sample)[ RSS](/packages/yidas-google-api-sample/feed)WikiDiscussions master Synced 4d ago

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

Google API Client PHP Sample
============================

[](#google-api-client-php-sample)

Google API Client Libraries with Google service samples for PHP

[![Latest Stable Version](https://camo.githubusercontent.com/6b0614004fb83c4b363e881bd70bca69aa66b4eece40b8462901bef393030042/68747470733a2f2f706f7365722e707567782e6f72672f79696461732f676f6f676c652d6170692d73616d706c652f762f737461626c653f666f726d61743d666c61742d737175617265)](https://packagist.org/packages/yidas/google-api-sample)[![Latest Unstable Version](https://camo.githubusercontent.com/b9dace539a048c9478ec587fb01755ad7686d765ed81e01131806ffab5b3cf41/68747470733a2f2f706f7365722e707567782e6f72672f79696461732f676f6f676c652d6170692d73616d706c652f762f756e737461626c653f666f726d61743d666c61742d737175617265)](https://packagist.org/packages/yidas/google-api-sample)[![License](https://camo.githubusercontent.com/543d95d053ec2a66a8f4f71b8401287ab20e4d4c5f2c532052005b8c81367bf4/68747470733a2f2f706f7365722e707567782e6f72672f79696461732f676f6f676c652d6170692d73616d706c652f6c6963656e73653f666f726d61743d666c61742d737175617265)](https://packagist.org/packages/yidas/google-api-sample)

---

INSTALLATION
------------

[](#installation)

### 1. Download the Project

[](#1-download-the-project)

Composer download:

```
composer create-project --prefer-dist yidas/google-api-sample
```

> You could download by git clone or by zip file alternatively.

### 2. Google API Credential

[](#2-google-api-credential)

In [Google API Console](https://console.developers.google.com), you need to set a credential including pointing web root URL to **Authorized redirect URIs** likes `http://{thisPackage}/www/callback.php`, and then enable APIs such as Google+ API, Calendar API and Drive API in Library.

Then download the credential JSON file then rename and place it to `{thisPackage}/files/client_secret.json`.

---

LIBRARIES INCLUSION
-------------------

[](#libraries-inclusion)

- **User Component**
- **Google Calendar API Component**

---

GOOGLE SERVICES DEMONSTRATION
-----------------------------

[](#google-services-demonstration)

- **Google Plus**
    For getting Google User information.
- **Calendar**
- **Drive**

---

ADDITIONS
---------

[](#additions)

### Guzzle SSL Verify Problem

[](#guzzle-ssl-verify-problem)

If you are using Windows as service server, you may deal with [SSL certificate problem](https://github.com/guzzle/guzzle/issues/394).

This problem could be solved by modifing `vendor/google/apiclient/src/Google/Client.php`:

```
// For windows PHP cURL
$options['verify'] = false;
```

### This app isn’t verified Problem

[](#this-app-isnt-verified-problem)

[Google – OAuth Client Verification](https://developers.google.com/apps-script/guides/client-verification)

###  Health Score

22

—

LowBetter than 22% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity47

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

2894d ago

### Community

Maintainers

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

---

Top Contributors

[![yidas](https://avatars.githubusercontent.com/u/12604195?v=4)](https://github.com/yidas "yidas (20 commits)")

---

Tags

google-apigoogle-calendargoogle-drivephpgoogle apiphp-sdkgoogle clientGoogle Services

### Embed Badge

![Health badge](/badges/yidas-google-api-sample/health.svg)

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

###  Alternatives

[skagarwal/google-places-api

Google Places Api

1913.0M8](/packages/skagarwal-google-places-api)[deepseek-php/deepseek-php-client

deepseek PHP client is a robust and community-driven PHP client library for seamless integration with the Deepseek API, offering efficient access to advanced AI and data processing capabilities.

47073.9k5](/packages/deepseek-php-deepseek-php-client)[happyr/google-api-bundle

A Symfony2 Wrapper for the Google APIs Client Library for PHP

48196.1k](/packages/happyr-google-api-bundle)[tomshaw/google-api

A Laravel Google API Client.

591.5k](/packages/tomshaw-google-api)[x-fran/g-trends

Google Trends API for PHP

11955.6k](/packages/x-fran-g-trends)[signnow/api-php-sdk

Library to communicate with SignNow API

11138.0k](/packages/signnow-api-php-sdk)

PHPackages © 2026

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