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.
terminal42/code-quality-tools
codifyo/ts-generator-bundle
andydefer/laravel-cluster
testo/fiber
mintobit/jobqueue
a4sex/maintenance-bundle
a4sex/entity-date-update
a4sex/client-identifier
a4sex/base-utilites
a4sex/key-value-storage
a4sex/micro-status
chilldev/dependency-injection-extra
datinglibre/datinglibre-app-api
biberltd/corebundle
bricre/symfony-bundle-test
biberltd/logbundle
dominium/http-adapter-bundle
dominium/google-analytics
a4sex/auto-clean-entity
christhompsontldr/laravel-inky