承接 ushahidi/gmail-support 相关项目开发

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

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

ushahidi/gmail-support

Composer 安装命令:

composer require ushahidi/gmail-support

包简介

Support Gmail as Data Provider

README 文档

README

What is this package for?

This gmail support library is a composer package, that extends the ushahidi platform datasource manager, adding Gmail as a data source. It allows the platform to authenticate a gmail account, giving the access to send and receive messages via Gmail Service API instead of the default POP/IMAP.

Installation

You can install the package via composer:

$ composer require ushahidi/gmail-support

The above command will add the package as a dependency in your current project.

Note: In a Ushahidi platform codebase, the package needs to be manually registered. Add the code below to the boostrap/lumen.php file

$app->register(Ushahidi\Gmail\GmailServiceProvider::class);

Usage

Update your config/services.php file by adding your Gmail API credentials.

    'gmail' => [
        'client_id' => env('GMAIL_CLIENT_ID'),
        'client_secret' => env('GMAIL_CLIENT_SECRET'),
        'redirect_uri' => env('GMAIL_REDIRECT_URI','urn:ietf:wg:oauth:2.0:oob'),
    ]

Update your .env file by adding your server key.

GMAIL_CLIENT_ID=
GMAIL_CLIENT_SECRET=
GMAIL_REDIRECT_URI=

Tip: For quick gmail authentication setup run the artisan command

$ php artisan gmail:auth

To make use of this support package for mailing in your laravel app, update your .env and set your mail driver to gmail.

MAIL_DRIVER=gmail

Track the progress of the GMail integration project here

https://github.com/ushahidi/platform/projects/7

统计信息

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

GitHub 信息

  • Stars: 0
  • Watchers: 2
  • Forks: 2
  • 开发语言: PHP

其他信息

  • 授权协议: AGPL-3.0-or-later
  • 更新时间: 2020-08-21

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固