Weave Code
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

Google Api Bundle Laravel Package

beyerz/google-api-bundle

View on GitHub
Deep Wiki
Context7

Minimum PHP Version

GoogleApiBundle

Easy Integration for Symfony2 projects requiring Google PHP SDK

Installation

Composer

composer require beyerz/google-api-bundle

Application Kernel

Add BeyerzGoogleApiBundle to the registerBundles() method of your application kernel:

public function registerBundles()
{
    return array(
        new Beyerz\GoogleApiBundle\BeyerzGoogleApiBundle(),
    );
}

Config

Enable loading of the OGP service and setting default values by adding the following to the application's config.yml file:

A Base and facebook library are currently supported, but you can add as many libraries with as many default values that you like

#BeyerzGoogleApiBundle
beyerz_google_api:
  application_name: 'Sample Application Name'
  credentials_manager: 'Beyerz\GoogleApiBundle\Manager\CredentialsManager'
  client_secret_path: '/Resources/client_secret.json'
  scopes:
    - 'https://www.googleapis.com/auth/gmail.readonly'
    - 'https://www.googleapis.com/auth/gmail.send'
    - 'https://www.googleapis.com/auth/plus.login'
    - 'https://www.googleapis.com/auth/contacts'
    - 'https://www.googleapis.com/auth/contacts.readonly'
    - 'https://www.googleapis.com/auth/plus.login'
    - 'https://www.googleapis.com/auth/plus.me'
    - 'https://www.googleapis.com/auth/userinfo.email'
    - 'https://www.googleapis.com/auth/userinfo.profile'
  services:
    gmail:
      access_type: "offline"
    plus:
      access_type: "offline"
    people:
      access_type: "offline"
    oauth2:
      access_type: "offline"

Documentation

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.
babenkoivan/elastic-client
innmind/static-analysis
innmind/coding-standard
datacore/hub-sdk
alengo/sulu-http-cache-bundle
develia/commons
cuci/prototurk-sdk
cuci/prototurk-sdk-symfony
develia/geo-bundle
dreamzy/livewire-charts
touchestate-sdk/php-sdk
22h/doctrine-garbage-collection-bundle
imbo/imbo-coding-standard
visualbuilder/filament-lottie
servicioslineaonce/starter-kit
atomcoder/laravel-reorderable
irajul/filament-shadcn-theme
agtp/agtp-php
agtp/mod-php
centraldesktop/protobuf-php