Introducing the PHP SDK for the Cronofy Calendar API
Author: Jérémy Bourhis
7th December 2015
We’ve had a lot of great community feedback for Cronofy (please, keep it coming!) and one of the most common questions is: ‘When are you releasing a PHP code library?’
So we’re delighted to announce that our shiny new PHP SDK has now joined the family!
Take a look here: PHP SDK for the Cronofy Calendar API
Hold it, there are moar docs
If you’re new to Cronofy but looking to get started with easy calendar integration across all the calendar API services, read our Getting Started guide. It’ll help you get up and running in just a few minutes.
PHP code snippets
$cronofy = new Cronofy("clientId", "ClientSecret", "AccessToken", "RefreshToken"); $calendar = $cronofy->list_calendars(); $events = $cronofy->read_events(array('tzid' => 'Etc/UTC')); $params = array( 'calendar_id' => 'calendarID', 'event_id' => 'event_test_12345679', 'summary' => 'test event 2', 'description' => 'some event data here', 'start' => '2015-12-07T09:00:00Z', 'end' => '2015-12-08T10:00:00Z' ); $cronofy->upsert_event($params);
If you have any feedback on our PHP SDK or there’s something you’d like to see us add to it, we want to know! Drop us an email at email@example.com or post it on our feedback portal.
We also love community contributions, so if you’d like to write some code or develop a brand new Cronofy library, please get in touch!
PHP, PHP everywhere
To save you scrolling back up, here’s the link to the PHP code library again: