Download the PHP package gcalendar/holiday without Composer
On this page you can find all versions of the php package gcalendar/holiday. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download gcalendar/holiday
More information about gcalendar/holiday
Files in gcalendar/holiday
Download gcalendar/holiday
More information about gcalendar/holiday
Files in gcalendar/holiday
Please rate this library. Is it a good library?
Informations about the package holiday
google_calendar
This library for laravel to get events in google calendar
Spefication :
- php ^7.0
- laravel ^5
- php-curl
Environment :
How to use :
in Controller/Route add this line at the same function you call :
Function you can call :
Holiday::get((\Illuminate\Http\Request)->all())
Notes :
- Please make sure this (\Illuminate\Http\Request)->all() to get request data
Option for get function (Use this option before get funtion) :
Holiday::maxResult(10)
Notes :
- This for max result of event from google calendar
Holiday::group('year')
Notes :
- This for group in array format (list : ['year', 'month', 'day', 'y', 'm', 'd'])
Notes :
-
To get environment :
- Go to : https://developers.google.com/calendar/quickstart/php
- Click "Enable the Google Calendar API"
- To get environment "GOOGLE_CALENDAR_ID" :
- Go to : https://developers.google.com/calendar/v3/reference/calendarList/list
- Insert all what you want in "Try this API" sidebar
- Scroll Down and Execute
All versions of holiday with dependencies
PHP Build Version
Package Version
The package gcalendar/holiday contains the following files
Loading the files please wait ....