Weave Code
Weaver
Helps Laravel developers discover, compare, and choose open-source packages. See popularity, security, maintainers, and scores at a glance to make better decisions.
Feedback
Share your thoughts, report bugs, or suggest improvements.
Subject
Message
Laravel Google Authenticate

Laravel Google Authenticate Laravel Package

statikbe/laravel-google-authenticate

Add Google sign-in to your Laravel app with minimal setup. This package handles the OAuth flow, user creation and authentication, so you can offer "Sign in with Google" without writing boilerplate. Simple to configure and integrate.

View on GitHub
Deep Wiki
Context7

Google Authentication in Laravel

Frequently asked questions about Laravel Google Authenticate
How do I add Google sign-in to a Laravel app with statikbe/laravel-google-authenticate?
Install the package with Composer and configure your Google OAuth client credentials and redirect URI. The package provides the Google authentication flow so your app can offer a Sign in with Google option without writing OAuth boilerplate. Follow the repository README for the exact routes, configuration, and user model integration for your version.
What does statikbe/laravel-google-authenticate actually handle?
It handles the Google OAuth flow, including the callback and the creation and authentication of users. That means you can add Google sign-in with minimal setup instead of building the redirect, callback, and login logic yourself. You still need to configure Google credentials and integrate it with your app's user model as documented.
How do I install and configure statikbe/laravel-google-authenticate?
Require the package via Composer, then publish and adjust any package configuration as described in the README. Add your Google OAuth client ID, client secret, and authorized redirect URI, and make sure your user model and database are ready for the package's user creation flow. Exact environment variable names and migration steps depend on the package version, so use the repository instructions.
Which Laravel versions does this package support?
The supported Laravel and PHP versions are defined in the package's composer.json and README. Check those constraints before installing, especially if you are on an older Laravel release or upgrading to a new major version. The package is intended for Laravel applications, but the exact compatibility range should come from the repository.
Do I need Google Cloud OAuth credentials to use this package?
Yes, you need a Google Cloud project with an OAuth client configured for your application. Set the authorized redirect URI to match the package's callback route in your Laravel app and provide the client ID and secret through configuration. Without those credentials the Google sign-in flow cannot complete.
How does the package create and authenticate users from Google?
The package handles the OAuth callback and uses the returned Google account information to create or resolve a local user and authenticate them. You should review how it maps Google data to your users table and whether it creates users automatically or relies on existing accounts. The README is the source of truth for the exact user flow in your installed version.
Can I test Google authentication in Laravel without a real Google login?
You can test the integration by mocking the Google OAuth response or simulating the callback in your Laravel feature tests. Keep the package's routes and configuration in mind so the test exercises the same flow your users will hit. Check the README and package source for any test helpers or recommended approach.
Is statikbe/laravel-google-authenticate safe to use in production?
It can be used in production when configured carefully with HTTPS, secure storage of Google client credentials, and a correctly restricted redirect URI. Review how the package matches Google accounts to local users and add your application's normal authorization and account-linking rules. Keep the package and its dependencies updated and monitor the repository for releases and security fixes.
What are alternatives to this package for Google login in Laravel?
Laravel Socialite is the common alternative and supports Google through its Google provider, with many teams adding Socialite providers for extra services. You can also implement the OAuth flow manually or use a broader authentication package. This package is a focused option when you want Google sign-in with minimal setup.
How actively is statikbe/laravel-google-authenticate maintained?
Maintenance activity should be checked on the GitHub repository by reviewing recent commits, releases, and open issues. Also confirm the composer.json constraints match your Laravel and PHP versions before adopting it. If the package is not actively maintained, consider Laravel Socialite or a maintained OAuth package as a fallback.
Weaver

How can I help you explore Laravel packages today?

Conversation history is not saved when not logged in.
Prompt
Add packages to context
No packages found.
3mdikram/worldmoneywords
snowsoft/config
itmosoft/laravel-subscriptions
larva/laravel-ai-qwen
diephp/sequences
users-au/socialite-provider
twidpay/twid-logger
mrnewport/laravel-plaid
mrnewport/laravel-repo
mrnewport/laravel-docsign
mrnewport/laravel-stow
mrnewport/laravel-flow
mrnewport/laravel-priceable
mrnewport/laravel-nestedterms
fredmeng/laravel-apidoc-generator
itstructure/laravel-multilingual-tools
pdustdar/elasticsearch
markupai/php-sdk
rlacerda83/lumem-microservice-shipment
uni-method/symfony-lib