Skip to content

Latest commit

 

History

History
37 lines (26 loc) · 877 Bytes

README.md

File metadata and controls

37 lines (26 loc) · 877 Bytes

laravel-azure-calendar

Laravel handler to add events to Azure Calendars.

Installation

Require this package with composer.

$ composer require ansjabar/laravel-azure-calendar

Integration

$ php artisan vendor:publish --provider="AnsJabar\LaravelAzureCalendar\CalendarServiceProvider"

Add AZURE_CLIENT_ID, AZURE_CLIENT_SECRET and 'AZURE_REDIRECT_BACK to your .env file.

Add result of following code to Redirect URL

config('app.url').'/azure-calendar/callback' // http://localhost:8000/azure-calendar/callback

Usasge

(new \AnsJabar\LaravelAzureCalendar\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.