WebCalendar is a multi-user, web-based calendar application built with PHP. It supports multiple database backends, features event management, user groups, access controls, and integrates with external applications. Designed for both personal and enterprise use, WebCalendar can be deployed on any web server with PHP support.
- π Multiple Calendar Views - Month, week, day, year, and agenda views
- π₯ Multi-User Support - User management with groups and permissions
- π Recurring Events - Support for complex event repetition patterns
- π Access Control - Granular permissions for viewing and editing events
- π§ Email Notifications - Event reminders and updates via email
- π± Responsive Design - Works on desktop and mobile devices
- π Multi-Language - Available in 30+ languages
- π€ iCal Import/Export - Import and export calendar data in iCalendar format
- π External Integration - LDAP, IMAP, and custom authentication bridges
- π³ Docker Ready - Pre-built Docker images for easy deployment
- π€ MCP Server - Model Context Protocol support for AI assistant integration
# Clone the repository
git clone https://github.com/craigk5n/webcalendar.git
cd webcalendar
# Start with Docker Compose
docker-compose -f docker/docker-compose-php8.yml up
# Access at http://localhost:8080-
Download the latest release or clone the repository:
git clone https://github.com/craigk5n/webcalendar.git
-
Point your web server to the WebCalendar directory
-
Run the web-based installer by visiting your WebCalendar URL:
https://yourserver.com/webcalendar/The installer will automatically redirect to the setup wizard.
-
Follow the guided setup to configure your database and admin user
For automated deployments, use the headless installer:
php wizard/headless.phpSee the Installation Guide for detailed instructions.
Build and run a development environment with live file mounting:
# Build the development container
docker-compose -f docker/docker-compose-php8-dev.yml build
# Start the containers
docker-compose -f docker/docker-compose-php8-dev.yml up
# Access at http://localhost:8080Changes to your local files are immediately reflected in the container.
WebCalendar supports containerized deployments via environment variables:
SetEnv WEBCALENDAR_USE_ENV true
SetEnv WEBCALENDAR_DB_TYPE mysqli
SetEnv WEBCALENDAR_DB_HOST localhost
SetEnv WEBCALENDAR_DB_DATABASE webcalendar
SetEnv WEBCALENDAR_DB_LOGIN webcalendar
SetEnv WEBCALENDAR_DB_PASSWORD "your_secure_password"
SetEnv WEBCALENDAR_MODE prodAdd these to your .htaccess file or web server configuration.
- β MySQL / MariaDB (recommended)
- β PostgreSQL
- β SQLite3
- β Oracle
- β IBM DB2
- β ODBC
Run the test suite with PHPUnit:
# Install dependencies
composer install
# Run PHPUnit tests
cd tests; ./run_unit_tests.sh; cd ..
# Syntax check all PHP files
cd tests; ./compile_test.sh; cd ..WebCalendar includes all required dependencies in the release (primarily in the pub/ directory). You do not need to run Composer unless you are adding or updating dependencies.
If you need to modify dependencies:
# Install PHP dependencies (only needed for adding/updating dependencies)
composer install
# Copy vendor assets to project directories
makeNote: The Makefile requires Linux (uses sha384sum).
WebCalendar can integrate with external systems for user authentication and configuration:
Create a bridge script in includes/user-app-yourapp.php:
// Implement required functions for authentication
function user_valid_login($login, $password) { ... }
function user_get_users() { ... }See user-ldap.php and user-app-joomla.php for examples.
Create includes/config-app-yourapp.php to override settings dynamically.
- Bug fixes and PHP 8.x compatibility
- Improved Docker support
- Translation improvements
- New web-based installer
- Modernized codebase with PHP 8+ features
- Namespace implementation
- Enhanced security
- π System Administrator's Guide - Installation, configuration, and FAQ
- β¬οΈ Upgrading Instructions
- ποΈ Database Schema
- π» Developer Guide
Contributions are welcome! Please:
- Fork the repository
- Create a feature branch (
git checkout -b feature/amazing-feature) - Commit your changes (
git commit -m 'Add amazing feature') - Push to the branch (
git push origin feature/amazing-feature) - Open a Pull Request
WebCalendar is licensed under the GNU General Public License v2.0.
- π Website: https://k5n.us/webcalendar/
- π Issues: https://github.com/craigk5n/webcalendar/issues
- πΎ Releases: https://github.com/craigk5n/webcalendar/releases
Craig Knudsen - craig@k5n.us - https://k5n.us
See AUTHORS for a complete list of contributors.
