WebCalendar

About WebCalendar

WebCalendar is a PHP-based calendar application that can be configured as a single-user calendar, a multi-user calendar for groups of users, or as an event calendar viewable by visitors. MySQL/MariaDB, SQLite3, PostgreSQL, Oracle, DB2, Interbase, MS SQL Server, or ODBC is required. The version 1.9.X releases are still a little rough around the edges since these include an overhaul of the UI to use Bootstrap and jQuery and a complete rewrite of the web-based installer.

WebCalendar can be setup in a variety of ways, such as…

  • A schedule management system for a single person
  • A schedule management system for a group of people, allowing one or more assistants to manage the calendar of another user
  • An events schedule that anyone can view, allowing visitors to submit new events
  • A calendar server that can be viewed with iCalendar-compliant calendar applications like Mozilla Sunbird, Apple iCal or GNOME Evolution or RSS-enabled applications like Firefox, Thunderbird, RSSOwl, FeedDemon, or BlogExpress.

Overview of Features

  • Multi-user support
  • 30 supported languages: Basque, Bulgarian, Chinese-Big5, Chinese-GB2312, Czech, Danish, Dutch, English-US, Estonian, Finnish, French, Galician, German, Greek, Holo-Big5, Hungarian, Icelandic, Italian, Japanese, Korean, Norwegian, Polish, Portuguese_BR, Portuguese, Romanian, Russian, Spanish, Swedish, Turkish, Welsh (see current list of translations here)
  • Web-based installer
  • Auto-detect user’s language preference from browser settings
  • View calendars by day, week, month or year
  • View another user’s calendar
  • View one or more users’ calendar via layers on top of your own calendar
  • Add/Edit/Delete users
  • Add/Edit/Delete events
  • Repeating events including support for overriding or deleting (exceptions)
  • Configurable custom event fields
  • User-configurable preferences for colors, 12/24 time format, Sun/Mon week start
  • Checks for scheduling conflicts
  • Email reminders for upcoming events
  • Email notifications for new/updated/deleted events
  • Export events to iCalendar
  • Import from iCalendar/ics format
  • Optional general access (no login required) to allow calendar to be viewed by people without a login (useful for event calendars)
  • Users can make their calendar available publicly to anyone with an iCalendar-compliant calendar program (such as Apple’s iCal, Mozilla Calendar or Sunbird)
  • Publishing of free/busy schedules (part of the iCalendar standard)
  • RSS support that puts a user’s calendar into RSS
  • Subscribe to “remote” calendars (hosted elsewhere on the net) in either iCalendar or hCalendar formats (WebCalendar 1.1+)
  • User authentication: Web-based, HTTP, LDAP or NIS

System Requirements

  • PHP 8 or later
  • PHP support and access to one of the following databases:
    • SQLite
    • MySQL/MariaDB
    • Oracle
    • Postgres
    • IBM DB2
  • Access to cron for Linux/Unix systems (to send out reminders)

Development Cost

The following metrics from Ohloh show how much it would have cost to commercially develop WebCalendar.

  • Codebase Size: 138,588 lines
  • Estimated Effort: 34 person-years
  • Estimated Cost: $1,884,469
  • (As of 11 August 2024)

Donations

If you’d like to help support the costs of developing, maintaining and supporting WebCalendar, please consider donating.

Developer Resources

License

WebCalendar is available under the GNU General Public License, version 2.

For more information on this license:

Documentation

Most Recent Changes

Below are the most recent source code commits to github on the master branch.

  • add composer.lock sync to bump script and compile test
    by craigk5n on February 27, 2026 at 5:12 pm

    add composer.lock sync to bump script and compile test bump_version.sh now runs `composer update –lock` after updating composer.json so the lock file stays in sync automatically. compile_test.sh now checks for composer.lock drift and returns a nonzero exit code when errors are found (was always exit 0 before).

  • bump version to v1.9.15 and fix bump_version.sh to cover WizardState.php
    by craigk5n on February 27, 2026 at 5:07 pm

    bump version to v1.9.15 and fix bump_version.sh to cover WizardState.php Version bump across all 17 source files. Also adds the missing wizard/WizardState.php fallback version to bump_version.sh and updates the script’s header comment to document all files it touches.

  • fix: initialize undefined vars in edit_entry_handler to fix redirect
    by craigk5n on February 27, 2026 at 2:15 am

    fix: initialize undefined vars in edit_entry_handler to fix redirect PHP warnings from undefined $dberror and $old_percent variables were outputting text before header(‘Location: …’), causing the redirect to silently fail (200 instead of 302). Added ob_start() as a safety net for any remaining edge cases.

  • feat: re-enable event creation in post-install smoke tests
    by craigk5n on February 27, 2026 at 1:21 am

    feat: re-enable event creation in post-install smoke tests Now that default webcal_config is populated on fresh install, the edit_entry.php page works without undefined variable warnings. Re-add event creation to the smoke test, verifying the event appears on the calendar after submission rather than relying on the handler redirect. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

  • fix: populate default webcal_config on fresh wizard install
    by craigk5n on February 26, 2026 at 11:40 pm

    fix: populate default webcal_config on fresh wizard install After a fresh install, only WEBCAL_PROGRAM_VERSION was inserted into webcal_config, leaving 161 defaults missing. This caused PHP 8.2+ undefined variable warnings on nearly every page (login, edit_entry, month, etc.) because load_global_settings() has no fallback mechanism. Add loadDefaultConfig() to WizardDatabase that reads the existing $webcalConfig array from default_config.php and inserts all defaults after base schema creation. Only runs for fresh installs, not upgrades.

Download Metrics

  • Downloads via Github: 20063
  • Downloads via SourceForge:

Related Links

  • Standards
    • RFC 2445: Internet Calendaring and Scheduling Core Object Specification (iCalendar)
    • CalDAV: Calendaring and Scheduling Extensions to WebDAV (DRAFT) 
      [Note: WebCalendar does not yet support CalDAV.)
  • Calendar client applications – You can use the applications to view events stored in WebCalendar if you enable its publishing settings.
  • iCalendar/ics download sites – These sites contain calendars for holidays, sports teams schedules, music converts, etc. You can import these files into WebCalendar.