PHP code example of ansjabar / laravel-azure-calendar
1. Go to this page and download the library: Download ansjabar/laravel-azure-calendar library. Choose the download type require. 2. Extract the ZIP file and open the index.php. 3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
ansjabar / laravel-azure-calendar example snippets
config('app.url').'/azure-calendar/callback' // http://localhost:8000/azure-calendar/callback
(new \AnsJabar\LaravelAzureCalendar\Calendar(
$from, \\ Must be instance of Carbon
$to, \\ Must be instance of Carbon
'Summary of the event'
))->createEvent();
bash
$ php artisan vendor:publish --provider="AnsJabar\LaravelAzureCalendar\CalendarServiceProvider"