PHPackages                             windrider7/sabre-share - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. windrider7/sabre-share

ActiveLibrary

windrider7/sabre-share
======================

Plugin for SabreDAV library

2725↓100%1PHP

Since Dec 11Pushed 11y ago2 watchersCompare

[ Source](https://github.com/WindRider7/sabre-share)[ Packagist](https://packagist.org/packages/windrider7/sabre-share)[ RSS](/packages/windrider7-sabre-share/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependenciesVersions (1)Used By (0)

\#sabre-share
=============

[](#sabre-share)

Plugin for for [SabreDAV](https://github.com/evert/SabreDAV) a WebDAV framework for PHP. This plugin implements calendar sharing as outlined here

\##Requirements
---------------

[](#requirements)

This requires SabreDAV version 1.8 or later.

\##Installation
---------------

[](#installation)

To install this plugin, make sure you have SabreDAV installed using the composer installation instructions. To add this plugin, just add the following line to your composer file in the `requires` section:

```
"musonic/sabre-share" : "dev-master"

```

After adding that, you can just run `composer update` to complete the installation.

\##Setup
--------

[](#setup)

Update your server.php file (or whatever you have named it)

```
$calendarBackend = new \SabreShare\CalDAV\Backend\SabreSharePDO($pdo);
$calDavSharingPlugin = new \Sabre\CalDAV\SharingPlugin();
$server->addPlugin($calDavSharingPlugin);
```

You must also create a table in your database to store the shares. The default table name is "calendarShares" but this can be manually set by adding the following line to your server.php file:

```
$calendarBackend->setCalendarSharesTableName('myTableName');
```

The table MUST have the following columns: "calendarId", "member", "status", "readonly", "summary", "displayName", "color"

Example sql:

```
CREATE TABLE `calendarShares` (
  `id` int(11) unsigned NOT NULL AUTO_INCREMENT,
  `calendarId` int(11) NOT NULL,
  `member` int(11) NOT NULL,
  `status` int(1) NOT NULL,
  `readonly` tinyint(1) NOT NULL DEFAULT '0',
  `summary` varchar(150) DEFAULT NULL,
  `displayName` varchar(100) DEFAULT NULL,
  `color` varchar(10) DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=5 DEFAULT CHARSET=utf8;
```

\##Usage
--------

[](#usage)

Please note that this plugin does not come with a GUI. If you have set it up correctly you should now be able to share calendars with other users identified by their registered email address. Please also note that there is not as yet any support for the notifications that usually go along with calendar sharing. This is currently being implemented and an update will be available in due course.

###  Health Score

25

—

LowBetter than 37% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity20

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity41

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

### Community

Maintainers

![](https://www.gravatar.com/avatar/b0fc4a9f0d2bc471b848c740d8e215a8b674884179c9099b278ee663efca8590?d=identicon)[Elbard](/maintainers/Elbard)

---

Top Contributors

[![musonic](https://avatars.githubusercontent.com/u/329396?v=4)](https://github.com/musonic "musonic (23 commits)")

### Embed Badge

![Health badge](/badges/windrider7-sabre-share/health.svg)

```
[![Health](https://phpackages.com/badges/windrider7-sabre-share/health.svg)](https://phpackages.com/packages/windrider7-sabre-share)
```

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
