ansjabar / laravel-google-calendar
Add events to Google Calendar using OAauth
Installs: 5
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 0
pkg:composer/ansjabar/laravel-google-calendar
Requires
- php: ^7.0|^8.0
Requires (Dev)
- ext-curl: *
README
Laravel handler to add events to Google Calendar.
Installation
Require this package with composer.
$ composer require ansjabar/laravel-google-calendar
Integration
$ php artisan vendor:publish --provider="AnsJabar\LaravelGoogleCalendar\CalendarServiceProvider"
Add GOOGLE_CLIENT_ID
, GOOGLE_CLIENT_SECRET
and 'GOOGLE_REDIRECT_BACK
to your .env
file.
Add result of following code to Redirect URL
config('app.url').'/google-calendar/callback' // http://localhost:8000/azure-calendar/callback
Usasge
(new \AnsJabar\LaravelGoogleCalendar\Calendar( $from, \\ Must be instance of Carbon $to, \\ Must be instance of Carbon 'Summary of the event' ))->createEvent();
License
This laravel-teams-logger package is available under the MIT license. See the LICENSE file for more info.