PHPackages                             cti/ics - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. cti/ics

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

cti/ics
=======

ics management

0.4(11y ago)028PHPPHP &gt;=5.3.0

Since Mar 13Pushed 10y ago23 watchersCompare

[ Source](https://github.com/lolaent/ics)[ Packagist](https://packagist.org/packages/cti/ics)[ RSS](/packages/cti-ics/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (4)Dependencies (3)Versions (6)Used By (0)

Manage .ics files
=================

[](#manage-ics-files)

[![Build Status](https://camo.githubusercontent.com/b1375575b9ecac17507d9d062c889c1f074e8105488284c5982c00b81ddd0f84/68747470733a2f2f7472617669732d63692e6f72672f6c6f6c61656e742f6963732e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/lolaent/ics)[![Code Climate](https://camo.githubusercontent.com/b7e5a3ad1cce5fc4732f38ac8f10f7d41e3a848e1feb55ce7b3d0f5a8f43d05d/68747470733a2f2f636f6465636c696d6174652e636f6d2f6769746875622f6c6f6c61656e742f6963732f6261646765732f6770612e737667)](https://codeclimate.com/github/lolaent/ics)

Aim of current library is to allow easy manipulation of `.ics` files.

Install
-------

[](#install)

### Using Composer

[](#using-composer)

Add

```
  "cti/ics": "0.1"

```

to the `"require"` section of your `composer.json` file.

Usage
-----

[](#usage)

### Named calendar, with timezone, and two events

[](#named-calendar-with-timezone-and-two-events)

```
// initialise calendar
$calendar = new Calendar('Automated Test', 'Europe/London');

// add events to it
$calendar->add(new Event\Interval('2015-03-13 10:05:00', '2015-03-13 10:19:59', 'Daily scrum'));
$calendar->add(new Event\Interval('2015-03-13 10:30:00', '2015-03-13 10:49:59', 'Weekly project review'));
```

### Saving to file

[](#saving-to-file)

```
$path = '/tmp/generated.ics';
$generator = new Generator(new FileOutput($path));
$generator->calendar($calendar)->getOutput()->getAll();
```

### Output to string

[](#output-to-string)

```
// grab the output in a string for later usage
$generator = new Generator(new StringOutput());
$output = $generator->calendar($calendar)->getOutput()->getAll();
```

###  Health Score

25

—

LowBetter than 37% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity7

Limited adoption so far

Community13

Small or concentrated contributor base

Maturity52

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 90.6% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~12 days

Total

4

Last Release

4047d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/cf9e0ccde7c60741ca17e7417f07fffcebfa52abf722e1bffc66a086bee12232?d=identicon)[gbtekkie](/maintainers/gbtekkie)

---

Top Contributors

[![georgiana-gligor](https://avatars.githubusercontent.com/u/1164711?v=4)](https://github.com/georgiana-gligor "georgiana-gligor (29 commits)")[![alexcos](https://avatars.githubusercontent.com/u/5645828?v=4)](https://github.com/alexcos "alexcos (3 commits)")

---

Tags

icsicalcalendarRFC 5545

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/cti-ics/health.svg)

```
[![Health](https://phpackages.com/badges/cti-ics/health.svg)](https://phpackages.com/packages/cti-ics)
```

###  Alternatives

[eluceo/ical

The eluceo/iCal package offers an abstraction layer for creating iCalendars. You can easily create iCal files by using PHP objects instead of typing your \*.ics file by hand. The output will follow RFC 5545 as best as possible.

1.2k17.5M47](/packages/eluceo-ical)[spatie/icalendar-generator

Build calendars in the iCalendar format

6787.4M9](/packages/spatie-icalendar-generator)[jsvrcek/ics

abstraction layer for creating multi-byte safe RFC 5545 compliant .ics files

2191.9M9](/packages/jsvrcek-ics)[kigkonsult/icalcreator

iCalcreator is the PHP implementation of rfc2445/rfc5545 and rfc updates, management of calendar information

2462.6M16](/packages/kigkonsult-icalcreator)[jsvrcek/ics-bundle

This bundle provides a dependency injection wrapper for the JsvrcekICS iCal library

11150.6k](/packages/jsvrcek-ics-bundle)[welp/ical-bundle

Symfony Bundle to manage .ics iCal file (creating and eventually reading)

10114.3k](/packages/welp-ical-bundle)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
