PHPackages                             thijsw/ics-large - 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. thijsw/ics-large

ActiveLibrary

thijsw/ics-large
================

Generate .ics-files in PHP with a low memory footprint

110PHP

Since May 9Pushed 10y ago1 watchersCompare

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

READMEChangelogDependenciesVersions (1)Used By (0)

ics-large
=========

[](#ics-large)

Generate Calendar .ics-files (iCal) in PHP with a low memory footprint

This project uses [the library written by Justin Svrcek](https://github.com/jasvrcek/ICS).

This library is intended to be used if you're planning to generate large .ics-files for which all the events cannot be stored in-memory. The library fetches the events in batches and prints the resulting entries directly, in order to keep the memory footprint to a minimum.

Usage
-----

[](#usage)

```
use ICS_Large\Model\Calendar;
use ICS_Large\Model\CalendarEventList;
use ICS_Large\CalendarStream;
use Jsvrcek\ICS\CalendarExport;
use Jsvrcek\ICS\Utility\Formatter;

$closure = function($offset, $size) {

  // (build array of CalendarEvent objects)

  return [];
};

$calendar = new Calendar();
$calendar->setEvents(new CalendarEventList($closure));

$export = new CalendarExport(new CalendarStream(), new Formatter());
$export->addCalendar($calendar);
echo $export->getStream();
```

License
-------

[](#license)

The MIT License (MIT)

Copyright (c) 2016 Thijs Wijnmaalen

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

###  Health Score

20

—

LowBetter than 14% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity7

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity41

Maturing project, gaining track record

 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.

### Community

Maintainers

![](https://www.gravatar.com/avatar/0ffc6a16191d5affb218426382ffe3cb9f0a5665cfb296da9ba2eeb5a31333ca?d=identicon)[thijsw](/maintainers/thijsw)

---

Top Contributors

[![thijsw](https://avatars.githubusercontent.com/u/28638?v=4)](https://github.com/thijsw "thijsw (3 commits)")

### Embed Badge

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

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

PHPackages © 2026

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