laravel-google-contacts maintained by swapneal-dev
Description
fetch google contact in your project
Author
Last update
2023/09/28 08:12
(dev-main)
Downloads
73
Fetch contacts from Google Contacts Using Google People API
Installation
Install using composer
composer require swapneal-dev/laravel-google-contacts
You must publish the configuration with this command:
php artisan vendor:publish --provider="SwapnealDev\GoogleContact\GoogleContactServiceProvider"
- Setup oauth config in
google-contact.php - Run migration
- add your access key to
google_access_tokencolumn in users table. - add calendar id to
google_calender_idcolumn in users table. - add trait to user model
SwapnealDev\GoogleContact\traits\HasGoogleToken
I have created an example project for google contacts to know implementation of this package.
https://github.com/swapneal-dev/google-calender-and-contacts
Now you are good to go.