PHPackages                             dzaki236/secure-google-provider - 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. dzaki236/secure-google-provider

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

dzaki236/secure-google-provider
===============================

Package for solving error login socialite

1.5(12mo ago)016MITPHPPHP ^8.0

Since May 8Pushed 11mo ago1 watchersCompare

[ Source](https://github.com/dzaki236/secure-google-provider)[ Packagist](https://packagist.org/packages/dzaki236/secure-google-provider)[ RSS](/packages/dzaki236-secure-google-provider/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (8)Dependencies (2)Versions (9)Used By (0)

Secure google provider extends socialite package
================================================

[](#secure-google-provider-extends-socialite-package)

Announcement from google ✏️
---------------------------

[](#announcement-from-google-️)

Since 2025 at february google announcement some policy for oAuth certs, even if you used it for production and https scheme, you need 'certs' for more secure in oAuth v2.

Sadly, Socialite package cannot provide to handle some secure certs ASAP.

I got you guys 🙌
----------------

[](#i-got-you-guys-)

Have you got error like `curl error 60: SSL certificate problem: unable to get local issuer certificate (see https:...`??, it means you have to secure your oAuth for google services.

By using this package, you don't have to waste your time, take it easy, i got you..

Installation 📌
--------------

[](#installation-)

Requirement :

- Php^8.0
- Laravel 8+ (even better using laravel 10+)
- Socialite package (Any version with php ^8.0 compatiblity)

### Step Installation 📝

[](#step-installation-)

```
$ composer require dzaki236/secure-google-provider
```

Or you can choose specific version by :

```
$ composer require dzaki236/secure-google-provider:^1.0
```

### So.. How to use?🤔

[](#so-how-to-use)

Well... in your controller or where you put your logic in laravel, you can find or make like this part :

```
Socialite::driver('google')->redirect();
```

Don't forget to add some namespacing at controller or logic file :

```
use Laravel\Socialite\Facades\Socialite;
```

But.. you still got error when you use `google` at parameter on `driver` function, you need to change it, from `google` to `secure-google`.

### By this example :

[](#by-this-example-)

```
Socialite::driver('secure-google')->redirect(); // For redirect, you will redirect to page oAuth by google services
```

To get user info after oAuth login state closed :

```
$social_user = Socialite::driver('secure-google')->user(); // For redirect, you will redirect to page oAuth by google services
```

Aditional Information (Optional Part) 💡
---------------------------------------

[](#aditional-information-optional-part-)

Add this part on your `config/services.php`, and you can forcing verify, you don't need cert for a while oAuth state is process

```
    ....
    'google' => [
        ....
        // Start from this part :
        'verify' => [
            'force' => false
        ],
        // End part
    ],
];
```

Warning⚠️ : Add and edit only `google` part, even you try to add this verify part outside, it won't effect anything.

Credits
-------

[](#credits)

- [Dzaki236](https://github.com/dzaki236)

License
-------

[](#license)

The MIT License (MIT). Please see [License File](https://github.com/dzaki236/secure-google-provider/blob/main/License) for more information.

###  Health Score

30

—

LowBetter than 64% of packages

Maintenance54

Moderate activity, may be stable

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

Every ~0 days

Total

8

Last Release

364d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/91801cf2a4195fe0a7ae2a288db31172114f0c7648f08adff1ae7e1358c8bcf1?d=identicon)[dzaki236](/maintainers/dzaki236)

---

Top Contributors

[![dzaki236](https://avatars.githubusercontent.com/u/61301953?v=4)](https://github.com/dzaki236 "dzaki236 (22 commits)")

### Embed Badge

![Health badge](/badges/dzaki236-secure-google-provider/health.svg)

```
[![Health](https://phpackages.com/badges/dzaki236-secure-google-provider/health.svg)](https://phpackages.com/packages/dzaki236-secure-google-provider)
```

###  Alternatives

[metrogistics/laravel-azure-ad-oauth

Provides single-sign-on ability to Microsoft Azure Active Directory enabled apps.

8679.1k1](/packages/metrogistics-laravel-azure-ad-oauth)[truckersmp/steam-socialite

Laravel Socialite provider for Steam OpenID.

1516.7k](/packages/truckersmp-steam-socialite)[descope/descope-php

Descope SDK for PHP

3814.0k](/packages/descope-descope-php)

PHPackages © 2026

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