Weave Code
Weaver
Helps Laravel developers discover, compare, and choose open-source packages. See popularity, security, maintainers, and scores at a glance to make better decisions.
Feedback
Share your thoughts, report bugs, or suggest improvements.
Subject
Message

Calendar Laravel Package

endroid/calendar

Endroid Calendar is a PHP library for building and rendering calendars with events and customizable date output. It provides a flexible foundation for adding calendar functionality to Laravel and PHP applications.

View on GitHub
Deep Wiki
Context7

PHP Library for building, reading and writing calendars

Frequently asked questions about Calendar
How do I install endroid/calendar in a Laravel app?
Install it with composer require endroid/calendar. The package is a framework-agnostic PHP library, so it does not register a service provider, facade, or config file. After installation, bind it behind your own interface and inject the adapter where needed.
Does endroid/calendar include a Laravel service provider or facade?
No. endroid/calendar has no Laravel coupling and ships no service provider, facade, or publishable configuration. In Laravel you should create a CalendarWriter or CalendarReader contract in your domain layer and write an adapter that delegates to the package. Keep the package classes confined to that adapter namespace.
Which PHP versions and Laravel versions does endroid/calendar support?
The package is pure PHP, but you must verify its composer.json constraint against your runtime before committing. The technical evaluation targets Laravel 10 or 11 on PHP 8.1 and later, and it explicitly asks whether PHP 8.2 and 8.3 are supported and tested. Check the PHP matrix and CI coverage during a short spike.
Can endroid/calendar produce ICS files that import into Google Calendar and Outlook?
That is the right acceptance test, but you should not assume it from unit tests alone. Generate sample output and import it into Google Calendar, Outlook, and Apple Calendar. Also run it through an RFC 5545 validator and check line folding, escaping, and UTF-8 handling.
Does endroid/calendar expand recurring events such as RRULE, RDATE, and EXDATE?
The available documentation does not answer this, so treat it as an open technical risk. Calendar libraries historically serialize recurrence rules correctly but break on expansion with infinite loops or memory blowups. During a spike, test open-ended rules and confirm whether expansion is supported or only serialization.
How does endroid/calendar handle timezones and daylight saving time?
Timezone correctness is a specific risk to probe before adoption. Check whether it emits VTIMEZONE, how it models DST transitions, and whether it uses DateTimeImmutable or a mutable date type. If your app uses Carbon, add a translation layer at the adapter boundary rather than passing Carbon into the library.
Is endroid/calendar safe for production use?
The package has a single maintainer, very few stars, and no dependents, so the bus factor and production footprint are real concerns. The high opportunity score reflects market whitespace, not quality validation. Before committing, inspect release cadence, CI, and whether it depends on other endroid packages that compound the risk.
How should I integrate endroid/calendar into a Laravel codebase?
Define an application-level contract such as CalendarWriter or CalendarReader in your domain layer. Implement an adapter that delegates to endroid/calendar and bind it in a dedicated service provider. Keep package types out of controllers, jobs, and models so the vendor API does not leak.
What are the alternatives to endroid/calendar for Laravel calendar features?
Common alternatives include eluceo/ical, sabre/vobject, or hand-rolled ICS generation, depending on whether you need reading, writing, or recurrence. For a Laravel app, the safer approach is to define your own calendar contract first and implement it with both the legacy solution and endroid/calendar. Select via a configuration flag so you can roll back.
How can I test endroid/calendar output reliably?
Unit tests are not enough for calendar interoperability. Import generated files into Google Calendar and Outlook, and run an RFC 5545 validator for folding, escaping, and UTF-8. Also test untrusted inbound ICS parsing if you ever read third-party feeds.
Weaver

How can I help you explore Laravel packages today?

Conversation history is not saved when not logged in.
Prompt
Add packages to context
No packages found.
skyraptor/chatter
edlugz/sasapay
abbasudo/artisan-route
mirvan/ippanel
ignibyte/aic-framework
glavweb/data-schema-bundle
glavweb/datagrid-bundle
tacticmedia/scim-server
uni-method/frame
neika-ai/sdk
adachsoft/php-code-style
pharaonic/laravel-notification-dependencies
beautinow/translug
dev-brainiac/bot-cloaked
octoberrain/html
octoberrain/extension
octoberrain/exception
octoberrain/contracts
adachsoft/api-version-bundle
cgv/localized-resource