承接 endroid/google-api-bundle 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

endroid/google-api-bundle

最新稳定版本:2.0.1

Composer 安装命令:

composer require endroid/google-api-bundle

包简介

Endroid Google API for Symfony

README 文档

README

By endroid

Latest Stable Version Build Status Total Downloads Monthly Downloads License

This bundle provides easy integration with google/google-api-php-client which allows you to access different Google API's. For more information visit the developer documentation.

knpbundles.com

Installation

Use Composer to install the bundle.

$ composer require endroid/google-api-bundle

Then enable the bundle via the kernel.

<?php
// app/AppKernel.php

public function registerBundles()
{
    $bundles = [
        // ...
        new Endroid\GoogleApiBundle\EndroidGoogleApiBundle(),
    ];
}

Configuration

config.yml

endroid_google_api:
    application_name: <application name>
    api_key: <api key>
        

Usage

After installation and configuration, the Google API client can be used to access the desired API.

$client = $this->get('endroid.google_api_client');
$service = new Google_Service_Translate($client);

$translations = $service->translations->listTranslations('Hello', 'fr');

Versioning

Version numbers follow the MAJOR.MINOR.PATCH scheme. Backwards compatibility breaking changes will be kept to a minimum but be aware that these can occur. Lock your dependencies for production and test your code when upgrading.

License

This bundle is under the MIT license. For the full copyright and license information please view the LICENSE file that was distributed with this source code.

统计信息

  • 总下载量: 2.13k
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 2
  • 点击次数: 1
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 2
  • Watchers: 3
  • Forks: 1
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2015-04-13

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固