swapneal-dev / laravel-google-contacts
fetch google contact in your project
Installs: 65
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 1
Open Issues: 0
pkg:composer/swapneal-dev/laravel-google-contacts
Requires
- php: ^8.0
- google/apiclient: ^2.2
- illuminate/support: ^8.0|^9.0
README
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_token
column in users table. - add calendar id to
google_calender_id
column 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.