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?' Last month we released the .NET SDK, where it joined Ruby in our growing collection of API libraries. But there was still something missing for the PHP developers in the community. So we’re delighted to announce that our shiny new PHP SDK has now joined the family!
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?’
Last month we released the .NET SDK, where it joined Ruby in our growing collection of API libraries. But there was still something missing for the PHP developers in the community.
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
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.
There are also Sample Apps and Tutorials for using Cronofy, and we’re working on adding more to the list. And of course, there are the full Cronofy API docs too.
$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 support@cronofy.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!
To save you scrolling back up, here’s the link to the PHP code library again: