2017 © Pedro Peláez
 

library calendart

Manage remote calendars (google, office 365, ...) through an unified api

image

wisembly/calendart

Manage remote calendars (google, office 365, ...) through an unified api

  • Monday, February 9, 2015
  • by guillaumepotier
  • Repository
  • 0 Watchers
  • 0 Stars
  • 1,584 Installations
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 10 Versions
  • 0 % Grown

The README.md

CalendArt

Interface to handle all your calendars through an unified API, whatever their source are (Google, Office 365, ... etc), as if it was an art. Hell yeah., (*1)

Only google calendar is currently supported !, (*2)

Installation

You have multiple ways to install CalendArt. If you are unsure what to do, go with the archive release., (*3)

Archive Release

  1. Download the most recent release from the release page
  2. Unpack the archive
  3. Move the files somewhere in your project

Development version

  1. Install Git
  2. git clone git://github.com/Wisembly/CalendArt.git

Via Composer

  1. Install composer in your project: curl -s http://getcomposer.org/installer | php
  2. Create a composer.json file (or update it) in your project root:, (*4)


    { "require": { "wisembly/calendArt": "~1.0" } }
  3. Install via composer : php composer.phar install, (*5)

Basic Usage

As there is only Google's adapter, we're going to base these examples on this one. But it should be similar to the others one, as long as they respect the interface provided in this package., (*6)

<?php

use CalendArt\Adapter\Google\GoogleAdapter,
    CalendArt\Adapter\Google\Util\OAuth2Token;

$oauth = new OAuth2Token('your-oauth2-token', 'Bearer', 3600); // You can get a OAuth2 token on google's oauth playground
$adapter = new GoogleAdapter($oauth);

$primary = $adapter->getCalendarApi()->get('primary'); // there is always a "primary" calendar on Google
$event   = $adapter->getEventApi($primary)->getList();

var_dump($primary); // Should dump a Calendar instance, with its hydrated events

Running Tests

$ php composer.phar install --dev
$ bin/phpunit

The Versions

09/02 2015

dev-master

9999999-dev

Manage remote calendars (google, office 365, ...) through an unified api

  Sources   Download

MIT

The Requires

 

The Development Requires

calendar events scheduler schedule agenda

09/02 2015

1.1.2

1.1.2.0

Manage remote calendars (google, office 365, ...) through an unified api

  Sources   Download

MIT

The Requires

 

The Development Requires

calendar events scheduler schedule agenda

09/02 2015

v1.1.1

1.1.1.0

Manage remote calendars (google, office 365, ...) through an unified api

  Sources   Download

MIT

The Requires

 

The Development Requires

calendar events scheduler schedule agenda

09/02 2015

v1.1

1.1.0.0

Manage remote calendars (google, office 365, ...) through an unified api

  Sources   Download

MIT

The Requires

 

The Development Requires

calendar events scheduler schedule agenda

23/01 2015

dev-answer-api

dev-answer-api

Manage remote calendars (google, office 365, ...) through an unified api

  Sources   Download

MIT

The Requires

 

The Development Requires

calendar events scheduler schedule agenda

18/12 2014

v1.0.1

1.0.1.0

Manage remote calendars (google, office 365, ...) through an unified api

  Sources   Download

MIT

The Requires

 

The Development Requires

calendar events scheduler schedule agenda

15/10 2014

v1.0

1.0.0.0

Manage remote calendars (google, office 365, ...) through an unified api

  Sources   Download

MIT

The Requires

 

The Development Requires

calendar events scheduler schedule agenda

11/09 2014

v1.0-rc

1.0.0.0-RC

Manage remote calendars (google, office 365, ...) through an unified api

  Sources   Download

MIT

The Requires

 

The Development Requires

calendar events scheduler schedule agenda

04/09 2014

v1.0-beta.2

1.0.0.0-beta2

Manage remote calendars (google, office 365, ...) through an unified api

  Sources   Download

MIT

The Requires

 

The Development Requires

calendar events scheduler schedule agenda

28/08 2014

v1.0-beta

1.0.0.0-beta

Manage remote calendars (google, office 365, ...) through an unified api

  Sources   Download

MIT

The Requires

 

The Development Requires

calendar events scheduler schedule agenda