PHPackages                             sumaia/google-onetap-login - 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. sumaia/google-onetap-login

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

sumaia/google-onetap-login
==========================

A Laravel package for seamless Google One Tap authentication integration

v1.0.0(7mo ago)43MITBladePHP ^8.1|^8.2|^8.3

Since Oct 7Pushed 7mo agoCompare

[ Source](https://github.com/sumaiazaman/laravel-google-login)[ Packagist](https://packagist.org/packages/sumaia/google-onetap-login)[ RSS](/packages/sumaia-google-onetap-login/feed)WikiDiscussions main Synced 1mo ago

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

Google One Tap Login for Laravel
================================

[](#google-one-tap-login-for-laravel)

This repository contains the development workspace for the **sumaia/google-onetap-login** Laravel package.

Package Overview
----------------

[](#package-overview)

The `sumaia/google-onetap-login` package provides seamless Google One Tap authentication integration for Laravel applications. It allows users to sign in with their Google account using Google's One Tap sign-in feature.

Package Installation
--------------------

[](#package-installation)

To use this package in your Laravel application, install it via Composer:

```
composer require sumaia/google-onetap-login
```

Quick Setup Guide
-----------------

[](#quick-setup-guide)

### 1. Install the Package

[](#1-install-the-package)

```
composer require sumaia/google-onetap-login
```

### 2. Publish Configuration and Views

[](#2-publish-configuration-and-views)

```
# Publish configuration file
php artisan vendor:publish --tag=google-onetap-config

# Publish views (optional - for customization)
php artisan vendor:publish --tag=google-onetap-views
```

### 3. Run Migration

[](#3-run-migration)

```
php artisan migrate
```

### 4. Configure Google OAuth

[](#4-configure-google-oauth)

1. Go to [Google Cloud Console](https://console.cloud.google.com/)
2. Create a new project or select existing one
3. Enable Google+ API
4. Create OAuth 2.0 credentials
5. Add your domain to authorized origins

### 5. Update Environment Variables

[](#5-update-environment-variables)

Add to your `.env` file:

```
GOOGLE_CLIENT_ID=your-google-client-id
GOOGLE_CLIENT_SECRET=your-google-client-secret
```

### 6. Update Configuration

[](#6-update-configuration)

Edit `config/google-onetap.php`:

```
return [
    'client_id' => env('GOOGLE_CLIENT_ID'),
    'client_secret' => env('GOOGLE_CLIENT_SECRET'),
    // ... other configurations
];
```

Usage
-----

[](#usage)

Once installed, the package automatically registers these routes:

- `GET /login` - Login page with Google One Tap
- `POST /auth/google/callback` - Google authentication callback
- `GET /dashboard` - Protected dashboard (requires authentication)
- `POST /logout` - Logout functionality

Visit `/login` to see the Google One Tap authentication in action.

Package Development
-------------------

[](#package-development)

This repository serves as the development workspace. The actual package is located in:

```
packages/sumaia/google-onetap-login/

```

### Development Setup

[](#development-setup)

```
# Clone this repository
git clone
cd google-onetap-login

# Install dependencies
composer install

# Run package tests
cd packages/sumaia/google-onetap-login
composer install
vendor/bin/phpunit
```

Documentation
-------------

[](#documentation)

For detailed documentation, configuration options, and customization guides, see the package's README file: [packages/sumaia/google-onetap-login/README.md](packages/sumaia/google-onetap-login/README.md)

License
-------

[](#license)

This package is open-sourced software licensed under the [MIT license](https://opensource.org/licenses/MIT).

###  Health Score

34

—

LowBetter than 77% of packages

Maintenance64

Regular maintenance activity

Popularity7

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity50

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

217d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/7ed7912541ac3d0d53d33b3c33c7fcf42f7178c48a779da33984cbd49d6ee18a?d=identicon)[sumaia161](/maintainers/sumaia161)

---

Top Contributors

[![sumaiazaman](https://avatars.githubusercontent.com/u/45918347?v=4)](https://github.com/sumaiazaman "sumaiazaman (8 commits)")

---

Tags

laravelgooglepackageAuthenticationoauthloginone-tap

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/sumaia-google-onetap-login/health.svg)

```
[![Health](https://phpackages.com/badges/sumaia-google-onetap-login/health.svg)](https://phpackages.com/packages/sumaia-google-onetap-login)
```

###  Alternatives

[auth0/login

Auth0 Laravel SDK. Straight-forward and tested methods for implementing authentication, and accessing Auth0's Management API endpoints.

2745.0M3](/packages/auth0-login)[vinelab/social-auth

101.3k1](/packages/vinelab-social-auth)

PHPackages © 2026

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