PHPackages                             jihoun/calendar - 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. jihoun/calendar

ActiveLibrary

jihoun/calendar
===============

Build calendar (.ics) files.

v1.0.0(8y ago)385PHPPHP &gt;=7.1

Since Sep 1Pushed 8y ago2 watchersCompare

[ Source](https://github.com/jihoun/calendar)[ Packagist](https://packagist.org/packages/jihoun/calendar)[ RSS](/packages/jihoun-calendar/feed)WikiDiscussions master Synced 2mo ago

READMEChangelog (7)Dependencies (4)Versions (11)Used By (0)

[![Build Status](https://camo.githubusercontent.com/6fa462972d876a17f8ca06160c2f43b49a6c778c27cca89ee708708864503ddd/68747470733a2f2f7472617669732d63692e6f72672f6a69686f756e2f63616c656e6461722e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/jihoun/calendar) [![Code Climate](https://camo.githubusercontent.com/393b05d3117aa4af275385980cfcdbe257180dfe57224ef8c78657d97c2cbd8b/68747470733a2f2f636f6465636c696d6174652e636f6d2f6769746875622f6a69686f756e2f63616c656e6461722f6261646765732f6770612e737667)](https://codeclimate.com/github/jihoun/calendar)

Build calendar (.ics) file in php
=================================

[](#build-calendar-ics-file-in-php)

This library allows quickly generating ics files in php. Outputs should be compatible with the standard . But currently, not every single bit of the standard is implemented.

Use
---

[](#use)

You can load this library in your project using composer:

```
{
   "require": {
       "jihoun/calendar": "dev-master"
   },
}
```

Then in your code, do the following

```
$event = new \Jihoun\Calendar\Component\Event();
$event
    ->setDateTimeStart(new Property\DateTimeStart(new \DateTime()))
    ->setDateTimeEnd(new Property\DateTimeEnd(new \DateTime()))
    ->setDescription(new Property\Description('Very very lengthy description'))
    ->setLocation(new Property\Location('in the office'))
    ->setOrganizer(new Property\Organizer('john.doe@gmail.com'))
    ->setSummary(new Property\Summary('new test event'));
$cal = new \Jihoun\Calendar\Calendar();
$cal->addComponent($event);
file_put_contents('cal.ics', $cal->toString());
```

Contributions and feedbacks
---------------------------

[](#contributions-and-feedbacks)

Feel free to make me any feedback and/or contribution.

###  Health Score

29

—

LowBetter than 60% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity12

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity64

Established project with proven stability

 Bus Factor1

Top contributor holds 100% 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 ~88 days

Recently: every ~101 days

Total

8

Last Release

2922d ago

Major Versions

v0.1.4 → v1.0.02018-05-13

PHP version history (2 changes)0.0.0PHP &gt;=5.3.3

v1.0.0PHP &gt;=7.1

### Community

Maintainers

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

---

Top Contributors

[![jihoun](https://avatars.githubusercontent.com/u/14889507?v=4)](https://github.com/jihoun "jihoun (63 commits)")

###  Code Quality

TestsPHPUnit

Code StylePHP\_CodeSniffer

### Embed Badge

![Health badge](/badges/jihoun-calendar/health.svg)

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

PHPackages © 2026

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