Download the PHP package makinuk/icalendar without Composer
On this page you can find all versions of the php package makinuk/icalendar. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download makinuk/icalendar
More information about makinuk/icalendar
Files in makinuk/icalendar
Package icalendar
Short Description Generate RFC 5545 iCalendar (.ics) files in PHP: events, to-dos, alarms, recurring events and meeting invitations.
License MIT
Homepage https://github.com/makinuk/icalendar
Informations about the package icalendar
makinuk/icalendar
Generate standards-compliant iCalendar (.ics) files in PHP: events, to-dos, reminders,
recurring events, calendar feeds and meeting invitations that work in Outlook, Google Calendar
and Apple Calendar.
- RFC 5545 compliant output: CRLF line endings, text escaping, UTF-8-safe line folding, UTC dates
- Fluent, typed API: enums instead of magic strings, validation with clear error messages
- Zero dependencies: only PHP 8.2+
- Extensible: add any X- or IANA property, or new component types
Installation
| Version | PHP | Status |
|---|---|---|
| 3.x | ≥ 8.2 | Active development |
| 2.x | ≥ 7.4 | No longer maintained |
Upgrading from 2.x? Read the Rector set migrates most of your code automatically.
Quick start
Dates accept a DateTimeInterface, any string DateTimeImmutable understands ('2026-10-01 14:00',
'+1 day', '2026-10-01 14:00 Europe/Istanbul') or a Unix timestamp.
What can I build with it?
| Use case | Example |
|---|---|
| "Add to calendar" button for bookings, orders or webinars | 01-simple-event.php |
| Meeting invitations with Accept / Decline in the e-mail client | 02-meeting-invitation.php |
| Recurring events: stand-ups, courses, shifts | 03-recurring-events.php |
| Holidays, multi-day conferences and task lists | 04-all-day-and-todos.php |
Subscribable calendar feeds (webcal://) |
05-calendar-feed.php |
A few more examples
Meeting invitation
Recurring event
All-day event and to-do
Documentation
Full documentation lives in the docs/ folder:
- Getting started
- recurrence
- Meeting invitations by e-mail
- Framework integration: Laravel, Symfony, plain PHP, feeds
- Extending the library
- RFC 5545 support matrix and roadmap
Contributing
Contributions are very welcome, from bug reports to new components. The roadmap lists good first issues. Please read code of conduct.
Security issues: see SECURITY.md.
License
MIT. See LICENSE.