PHPackages                             justyork/laravel-google-auth - 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. justyork/laravel-google-auth

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

justyork/laravel-google-auth
============================

Google authorisation for laravel

04[2 PRs](https://github.com/justyork/laravel-google-auth/pulls)PHP

Since Jul 3Pushed 2y ago1 watchersCompare

[ Source](https://github.com/justyork/laravel-google-auth)[ Packagist](https://packagist.org/packages/justyork/laravel-google-auth)[ RSS](/packages/justyork-laravel-google-auth/feed)WikiDiscussions main Synced 3d ago

READMEChangelogDependenciesVersions (3)Used By (0)

[![](https://camo.githubusercontent.com/2bedf63f24cda7efab02da955dc11fb7ef8a060e2f26b73c33a7aac84529b8a3/68747470733a2f2f6769746875622d6164732e73332e65752d63656e7472616c2d312e616d617a6f6e6177732e636f6d2f737570706f72742d756b7261696e652e7376673f743d31)](https://supportukrainenow.org)

Google authorisation for laravel
================================

[](#google-authorisation-for-laravel)

[![Latest Version on Packagist](https://camo.githubusercontent.com/d6a17295ac85a31bdada973e98254cc64817c74f6f6ccf3a574d298d9061ac78/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6a757374796f726b2f6c61726176656c2d676f6f676c652d617574682e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/justyork/laravel-google-auth)[![GitHub Tests Action Status](https://camo.githubusercontent.com/d6682c4f37d5ea7c6508b70de777be6ca49f1d34edae5cf7dbfca9101b0092b4/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f776f726b666c6f772f7374617475732f6a757374796f726b2f6c61726176656c2d676f6f676c652d617574682f72756e2d74657374733f6c6162656c3d7465737473)](https://github.com/justyork/laravel-google-auth/actions?query=workflow%3Arun-tests+branch%3Amain)[![GitHub Code Style Action Status](https://camo.githubusercontent.com/8b47542e66545b8eff4e7a25ec2524fa54bbcbe8d5c6883e10580a7f18b427e7/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f776f726b666c6f772f7374617475732f6a757374796f726b2f6c61726176656c2d676f6f676c652d617574682f436865636b253230262532306669782532307374796c696e673f6c6162656c3d636f64652532307374796c65)](https://github.com/justyork/laravel-google-auth/actions?query=workflow%3A%22Check+%26+fix+styling%22+branch%3Amain)[![Total Downloads](https://camo.githubusercontent.com/f6e4d562b0d2bbe9fe5442b43de9e8e749f115406d32b06018ca988060ef5041/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f6a757374796f726b2f6c61726176656c2d676f6f676c652d617574682e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/justyork/laravel-google-auth)

This is where your description should go. Limit it to a paragraph or two. Consider adding a small example.

Support us
----------

[](#support-us)

[![](https://camo.githubusercontent.com/90de04253d8f6260806f2b25ecf04b92eeb327f141eb6e2e418518690958dc94/68747470733a2f2f6769746875622d6164732e73332e65752d63656e7472616c2d312e616d617a6f6e6177732e636f6d2f6c61726176656c2d676f6f676c652d617574682e6a70673f743d31)](https://spatie.be/github-ad-click/laravel-google-auth)

We invest a lot of resources into creating [best in class open source packages](https://spatie.be/open-source). You can support us by [buying one of our paid products](https://spatie.be/open-source/support-us).

We highly appreciate you sending us a postcard from your hometown, mentioning which of our package(s) you are using. You'll find our address on [our contact page](https://spatie.be/about-us). We publish all received postcards on [our virtual postcard wall](https://spatie.be/open-source/postcards).

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

[](#installation)

You can install the package via composer:

```
composer require justyork/laravel-google-auth
```

You can publish and run the migrations with:

```
php artisan vendor:publish --tag="laravel-google-auth-migrations"
php artisan migrate
```

You can publish the config file with:

```
php artisan vendor:publish --tag="laravel-google-auth-config"
```

This is the contents of the published config file:

```
return [
];
```

Optionally, you can publish the views using

```
php artisan vendor:publish --tag="laravel-google-auth-views"
```

Usage
-----

[](#usage)

```
$laravelGoogleAuth = new JustYork\LaravelGoogleAuth();
echo $laravelGoogleAuth->echoPhrase('Hello, JustYork!');
```

Testing
-------

[](#testing)

```
composer test
```

Changelog
---------

[](#changelog)

Please see [CHANGELOG](CHANGELOG.md) for more information on what has changed recently.

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

[](#contributing)

Please see [CONTRIBUTING](https://github.com/spatie/.github/blob/main/CONTRIBUTING.md) for details.

Security Vulnerabilities
------------------------

[](#security-vulnerabilities)

Please review [our security policy](../../security/policy) on how to report security vulnerabilities.

Credits
-------

[](#credits)

- [york](https://github.com/justyork)
- [All Contributors](../../contributors)

License
-------

[](#license)

The MIT License (MIT). Please see [License File](LICENSE.md) for more information.

###  Health Score

15

—

LowBetter than 3% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity3

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity25

Early-stage or recently created project

 Bus Factor2

2 contributors hold 50%+ of commits

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.

### Community

Maintainers

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

---

Top Contributors

[![dependabot[bot]](https://avatars.githubusercontent.com/in/29110?v=4)](https://github.com/dependabot[bot] "dependabot[bot] (8 commits)")[![github-actions[bot]](https://avatars.githubusercontent.com/in/15368?v=4)](https://github.com/github-actions[bot] "github-actions[bot] (8 commits)")[![justyork](https://avatars.githubusercontent.com/u/3800517?v=4)](https://github.com/justyork "justyork (3 commits)")

### Embed Badge

![Health badge](/badges/justyork-laravel-google-auth/health.svg)

```
[![Health](https://phpackages.com/badges/justyork-laravel-google-auth/health.svg)](https://phpackages.com/packages/justyork-laravel-google-auth)
```

###  Alternatives

[namshi/jose

JSON Object Signing and Encryption library for PHP.

1.8k99.6M101](/packages/namshi-jose)[league/oauth1-client

OAuth 1.0 Client Library

99698.8M106](/packages/league-oauth1-client)[bezhansalleh/filament-shield

Filament support for `spatie/laravel-permission`.

2.8k2.9M88](/packages/bezhansalleh-filament-shield)[gesdinet/jwt-refresh-token-bundle

Implements a refresh token system over Json Web Tokens in Symfony

70516.4M35](/packages/gesdinet-jwt-refresh-token-bundle)[league/oauth2-google

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

41721.2M118](/packages/league-oauth2-google)[illuminate/auth

The Illuminate Auth package.

9327.3M1.0k](/packages/illuminate-auth)

PHPackages © 2026

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