Export Letterboxd diary to iCalendar format

This project is maintained by cmbuckley

letterboxd-ics is a package to render a Letterboxd diary in iCalendar format.

Build Status

How to install (standalone)

If you want to use the standalone package, you can do the following:

git clone https://github.com/cmbuckley/letterboxd-ics.git
cd letterboxd-ics
curl -sS https://getcomposer.org/installer | php
php composer.phar install

Once you have the package and its dependencies, you should edit config.json to contain your Letterboxd credentials, and point a Web server at the public folder.

How to install (Packagist)

Alternatively, letterboxd-ics is available on Packagist, so it can be specified as a dependency using Composer:

    "require": {
        "cmbuckley/letterboxd-ics": "~3.0"

How to use

You can specify your own options:

require 'vendor/autoload.php';

$calendar = new Starsquare\Letterboxd\Calendar(array(
    'auth' => array(
        'username' => '[email protected]',
        'password' => 'password',

echo $calendar;

Other configuration options:

Alternatively, you can define your configuration options in a JSON-encoded config file, and pass the file path to the Calendar object. An example is provided in the public folder.