swapneal-dev / laravel-google-contacts
There is no license information available for the latest version (0.1) of this package.
fetch google contact in your project
0.1
2023-02-18 13:22 UTC
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.