百科.dev
全部条目在线工具AI 编程趋势榜开源项目技术资讯提交条目
登录
< 返回工具列表
W

webcalendar

> 编程语言
开源

WebCalendar 是一个 PHP 应用程序,用于为单个用户或内部网络用户组维护日历。还可以将其配置为事件日历。

173 stars0 点赞1 次浏览
访问官网GitHub

工具介绍

WebCalendar 是一个 PHP 应用程序,用于为单个用户或内部网络用户组维护日历。还可以将其配置为事件日历。

WebCalendar

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.

View all screenshots →

Features

  • 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 - Translation files for 100+ languages (~35 human-contributed with substantial coverage)
  • 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

Requirements

  • PHP 8.2+ (tested against 8.2, 8.3, 8.4)
  • Database: MySQL/MariaDB, PostgreSQL, or SQLite3
  • Web server: Apache or Nginx with PHP support

Quick Start

Using Docker (Recommended)

bash
# 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

Manual Installation

  1. Download the latest release or clone the repository:

    bash
    git clone https://github.com/craigk5n/webcalendar.git
  2. Point your web server to the WebCalendar directory

  3. Run the web-based installer by visiting your WebCalendar URL:

    https://yourserver.com/webcalendar/

    The installer will automatically redirect to the setup wizard.

  4. Follow the guided setup to configure your database and admin user

Headless Installation

For automated deployments, use the headless installer:

bash
php wizard/headless.php

See the Installation Guide for detailed instructions.

Docker Development

Build and run a development environment with live file mounting:

bash
# Start the development containers (MariaDB + PostgreSQL)
docker-compose -f docker/docker-compose-php8-dev.yml up

# Access at http://localhost:8080 (MariaDB) or http://localhost:8081 (PostgreSQL)

Changes to your local files are immediately reflected in the container.

See Docker Deployment for all available configurations.

Configuration

Environment Variables

WebCalendar supports containerized deployments via environment variables:

yaml
# Docker Compose example
environment:
  WEBCALENDAR_USE_ENV: "true"
  WEBCALENDAR_DB_TYPE: mysqli
  WEBCALENDAR_DB_HOST: db
  WEBCALENDAR_DB_DATABASE: webcalendar
  WEBCALENDAR_DB_LOGIN: webcalendar
  WEBCALENDAR_DB_PASSWORD: "your_secure_password"
  WEBCALENDAR_MODE: prod

For Apache deployments, add to .htaccess or web server configuration:

apache
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 prod

Database Support

  • ✅ MySQL / MariaDB (recommended)
  • ✅ PostgreSQL
  • ✅ SQLite3

Legacy backends (code present, untested on PHP 8): Oracle, DB2, ODBC, Interbase

Testing

Run the test suite with PHPUnit:

bash
# Install dev dependencies (only needed for testing/development)
composer install

# Run PHPUnit tests
cd tests; ./run_unit_tests.sh; cd ..

# Syntax check all PHP files
cd tests; ./compile_test.sh; cd ..

Building from Source

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:

bash
# Install PHP dependencies (only needed for adding/updating dependencies)
composer install

# Copy vendor assets to project directories (requires Linux — uses sha384sum)
make

External Application Integration

WebCalendar can integrate with external systems for user authentication and configuration:

User Integration

Create a bridge script in includes/user-app-yourapp.php:

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.

Configuration Integration

Create includes/config-app-yourapp.php to override settings dynamically.

Roadmap

v1.9.16 (Current)

  • PHP 8.2+ required (tested against 8.2, 8.3, 8.4)
  • New web-based installation/upgrade wizard
  • Headless CLI installer for automated deployments
  • MCP server for AI assistant integration
  • Multi-database Docker test infrastructure

v2.0.0 (Planned)

  • Modernized codebase with PHP 8.2+ features
  • Namespace implementation
  • Enhanced security and access control

Documentation

  • Installation Guide - System requirements, setup wizard, Docker
  • Admin Guide - User management, system settings, email
  • User Guide - Calendar views, events, preferences
  • Upgrade Guide - Upgrading from previous versions
  • Database Schema - Table definitions
  • Developer Guide - Architecture, coding standards, testing
  • MCP Server - AI assistant integration

Browse the full documentation or see the docs index on GitHub.

Security

To report a security vulnerability, please see SECURITY.md. Do not open a public issue for security reports.

Contributing

Contributions are welcome! Please read the Contributing Guide for details.

  1. Fork the repository
  2. Create a feature branch (git checkout -b feature/amazing-feature)
  3. Commit your changes (git commit -m 'Add amazing feature')
  4. Push to the branch (git push origin feature/amazing-feature)
  5. Open a Pull Request

Bug reports and feature requests use GitHub issue templates.

This project has a Code of Conduct. Please follow it in all interactions.

License

WebCalendar is licensed under the GNU General Public License v2.0.

Changelog

See CHANGELOG.md for release history.

Links

  • Website: https://k5n.us/webcalendar/
  • Issues: https://github.com/craigk5n/webcalendar/issues
  • Releases: https://github.com/craigk5n/webcalendar/releases

Maintainer

Craig Knudsen - [email protected] - https://k5n.us

See AUTHORS for a complete list of contributors.

Issues· 21 开放

查看全部 Issues在 GitHub 打开

暂无开放 Issues,或尚未同步最近议题。

> 标签

PHPcalendaricalendaricsweb-calendar

暂无评论,来聊聊你的看法吧

> 工具信息

发布日期2026年8月1日
最后更新2026年9月18日
分类编程语言
定价开源

> 相关工具

T
TypeScript
JavaScript 的超集,为前端与全栈提供静态类型
P
Python
通用编程语言,广泛用于 Web、数据与 AI
G
Go
Google 推出的简洁高效系统语言