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.

  • fix: always use UTF-8 meta charset and add latin1-to-utf8 migration t…
    by craigk5n on March 4, 2026 at 4:24 pm

    fix: always use UTF-8 meta charset and add latin1-to-utf8 migration tool (#626) send_doctype() was still emitting <meta charset=”iso-8859-1″> for German and other languages (from translation files), contradicting the UTF-8 HTTP header. Now always emits UTF-8. Added tools/convert_latin1_to_utf8.php to fix existing mojibake data by converting text columns from latin1 to utf8mb4 using the binary conversion method (VARCHAR→VARBINARY→VARCHAR utf8mb4). Supports –dry-run and –force.

  • fix: upgrade wizard skipping v1.9.11 SQL when upgrading from v1.9.10 …
    by craigk5n on March 4, 2026 at 4:01 pm

    fix: upgrade wizard skipping v1.9.11 SQL when upgrading from v1.9.10 (#624) findUpgradeStartIndex() used >= comparison to find the start index in the $updates array. Since v1.9.10 has no entry, it matched v1.9.11, and then getSqlUpdates() started at startIndex+1 (v1.9.13), skipping v1.9.11 entirely. Changed to find the last entry with version <= currentVersion so the +1 offset correctly includes the next needed upgrade.

  • fix: set UTF-8 charset on database connections and HTTP headers (#626)
    by craigk5n on March 2, 2026 at 3:34 pm

    fix: set UTF-8 charset on database connections and HTTP headers (#626) German umlauts and other non-ASCII characters were broken after upgrade because the database connection never declared a charset, leaving MySQL to transcode based on unpredictable server defaults. Additionally, many translation files declared iso-8859-1 which was used for the HTTP Content-Type header, causing browsers to misinterpret UTF-8 data. – Add set_charset(‘utf8mb4’) after mysqli connection – Add pg_set_client_encoding(UTF8) after PostgreSQL connection – Always send Content-Type: charset=UTF-8 regardless of translation file

  • 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.

Download Metrics

  • Downloads via Github: 20076
  • 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.