PHPackages                             znanylekarz/ical - 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. znanylekarz/ical

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

znanylekarz/ical
================

This package offers PHP-classes to create iCal compatible \*.ics files.

1.0.0(13y ago)2258.8k↓56.4%2PHPPHP &gt;=5.3.0

Since Oct 24Pushed 13y ago5 watchersCompare

[ Source](https://github.com/DocPlanner/iCal)[ Packagist](https://packagist.org/packages/znanylekarz/ical)[ Docs](https://github.com/znanylekarz/iCal)[ RSS](/packages/znanylekarz-ical/feed)WikiDiscussions master Synced yesterday

READMEChangelogDependenciesVersions (3)Used By (0)

eluceo — iCal
=============

[](#eluceo--ical)

This package offers PHP-classes to create iCal compatible \*.ics files.

Usage
-----

[](#usage)

### 1. Create a Calendar object

[](#1-create-a-calendar-object)

```
$vCalendar = new \Eluceo\iCal\Component\Calendar('www.example.com');
```

### 2. Create an Event object

[](#2-create-an-event-object)

```
$vEvent = new \Eluceo\iCal\Component\Event();
```

### 3. Add your information to the Event

[](#3-add-your-information-to-the-event)

```
$vEvent->setDtStart(new \DateTime('2012-12-24'));
$vEvent->setDtEnd(new \DateTime('2012-12-24'));
$vEvent->setNoTime(true);
$vEvent->setSummary('Christmas');
```

### 4. Add Event to Calendar

[](#4-add-event-to-calendar)

```
$vCalendar->addEvent($vEvent);
```

### 5. Set HTTP-headers

[](#5-set-http-headers)

```
header('Content-Type: text/calendar; charset=utf-8');
header('Content-Disposition: attachment; filename="cal.ics"');
```

### 6. Send output

[](#6-send-output)

```
echo $vCalendar->render();
```

###  Health Score

36

—

LowBetter than 79% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity38

Limited adoption so far

Community15

Small or concentrated contributor base

Maturity59

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 75% 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

Unknown

Total

1

Last Release

5000d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/8572223899390b494d1282b615009bc2eea5ef1cd6bfc22f6e6b175034dadfe0?d=identicon)[mlebkowski](/maintainers/mlebkowski)

![](https://www.gravatar.com/avatar/10ae2527ad43745ea12faa6b628461b5eadd38cc4135d7eb534f29a374f9759e?d=identicon)[lukasz.barulski](/maintainers/lukasz.barulski)

---

Top Contributors

[![markuspoerschke](https://avatars.githubusercontent.com/u/1222377?v=4)](https://github.com/markuspoerschke "markuspoerschke (15 commits)")[![mlebkowski](https://avatars.githubusercontent.com/u/848731?v=4)](https://github.com/mlebkowski "mlebkowski (3 commits)")[![sebastian-alfers](https://avatars.githubusercontent.com/u/546816?v=4)](https://github.com/sebastian-alfers "sebastian-alfers (2 commits)")

### Embed Badge

![Health badge](/badges/znanylekarz-ical/health.svg)

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

PHPackages © 2026

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