minhajul/contact-exporter
Composer 安装命令:
composer require minhajul/contact-exporter
包简介
contact-exporter
README 文档
README
If you want to get user's contacts attached with gmail, this package will save your time a lot.
Installation
You can install the package via composer:
composer require minhajul/contact-exporter
You can publish and run the config file by running the below command:
php artisan vendor:publish --provider="Minhajul\ContactExporter\ContactExporterServiceProvider" --tag="config"
Usage
use Illuminate\Support\Facades\Route; use Minhajul\ContactExporter\ContactExporter; Route::get('your-url', function () { // This will redirect you to the gmail callback url return ContactExporter::initiate('google'); }); Route::get('your-gmail-callback-url', function () { // This below code will return you the array of contacts you have saved in your gmail return ContactExporter::getContacts('google'); });
Contributing
Please see CONTRIBUTING for details.
Security Vulnerabilities
Please review our security policy on how to report security vulnerabilities.
Credits
License
The MIT License (MIT). Please see License File for more information.
统计信息
- 总下载量: 10
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 2
- 点击次数: 1
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2021-02-12