PHPackages                             gecka/nextbridge - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. gecka/nextbridge

ActiveRoundcube-plugin[Utility &amp; Helpers](/categories/utility)

gecka/nextbridge
================

NextBridge - Roundcube plugin for Nextcloud integration (files, calendar)

1.1.0(4mo ago)3129AGPL-3.0-or-laterJavaScriptCI passing

Since Feb 4Pushed 4mo ago1 watchersCompare

[ Source](https://github.com/Gecka-Apps/NextBridge)[ Packagist](https://packagist.org/packages/gecka/nextbridge)[ Docs](https://github.com/Gecka-Apps/NextBridge)[ RSS](/packages/gecka-nextbridge/feed)WikiDiscussions main Synced today

READMEChangelog (2)Dependencies (2)Versions (3)Used By (0)

NextBridge
==========

[](#nextbridge)

[![Version](https://camo.githubusercontent.com/399980fcc2e4c6f750a5b41432c15595e3f894fa946576f8b8400897d0106633/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f762f72656c656173652f4765636b612d417070732f4e6578744272696467653f6c6162656c3d76657273696f6e)](https://github.com/Gecka-Apps/NextBridge/releases)[![PHP CodeSniffer](https://github.com/Gecka-Apps/NextBridge/actions/workflows/phpcs.yml/badge.svg)](https://github.com/Gecka-Apps/NextBridge/actions/workflows/phpcs.yml)[![License: AGPL v3](https://camo.githubusercontent.com/a3e79d899e42547e60b531886472b3cb818e2a42dac09cc16a8d87105c077ca8/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4c6963656e73652d4147504c5f76332d626c75652e737667)](https://www.gnu.org/licenses/agpl-3.0)[![PHP](https://camo.githubusercontent.com/d8cb12d4161bcf3d0abb89bdcd751b5c5812aff012d9323cd8cc56633e950041/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f5048502d382e322b2d373737424234)](https://www.php.net)[![Roundcube](https://camo.githubusercontent.com/9ed7f39f4307109e289b0a2c82d770e8298ceaaf41f44c9401a6d100166e2858/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f526f756e64637562652d312e362b2d333742454646)](https://roundcube.net)

Nextcloud integration for Roundcube.

About
-----

[](#about)

NextBridge is a Roundcube plugin that enables seamless Nextcloud integration when using Roundcube embedded inside Nextcloud.

Features
--------

[](#features)

- Attach files from Nextcloud storage to emails
- Insert public share links into email body
- Save email attachments directly to Nextcloud storage
- Save all attachments from an email to Nextcloud with one click
- Add calendar invitations (.ics) directly to Nextcloud Calendar

How It Works
------------

[](#how-it-works)

This plugin uses the Nextcloud file bridge provided by a compatible Nextcloud app. When Roundcube is embedded in Nextcloud via an iframe, the plugin communicates with Nextcloud using the postMessage API to:

1. Open the native Nextcloud file picker when attaching files
2. Open the native Nextcloud folder picker when saving attachments
3. Transfer files via WebDAV using the existing Nextcloud session
4. Add calendar events via CalDAV to Nextcloud Calendar

All file and calendar operations are executed by Nextcloud itself - Roundcube only sends requests via postMessage to the parent window.

Requirements
------------

[](#requirements)

- Roundcube 1.6+
- One of the following Nextcloud apps with bridge support enabled:
    - [mail\_roundcube\_bridge](https://github.com/Gecka-Apps/nextcloud-roundcube-bridge) - Companion app for nextcloud-roundcube
    - [mail\_roundcube](https://github.com/rotdrop/nextcloud-roundcube) - *(pull request pending)*

License
-------

[](#license)

This plugin is released under the [GNU Affero General Public License Version 3](https://www.gnu.org/licenses/agpl-3.0.html).

Installation
------------

[](#installation)

### Prerequisites

[](#prerequisites)

1. Install a compatible Nextcloud app:

    - **Option A:** Install [nextcloud-roundcube](https://github.com/rotdrop/nextcloud-roundcube) + [nextcloud-roundcube-bridge](https://github.com/Gecka-Apps/nextcloud-roundcube-bridge)
    - **Option B:** Install [nextcloud-roundcube](https://github.com/rotdrop/nextcloud-roundcube) with bridge support *([pull request #57](https://github.com/rotdrop/nextcloud-roundcube/pull/57))*
2. Enable the bridge in the Nextcloud admin settings

### Install with Composer (recommended)

[](#install-with-composer-recommended)

Navigate to your Roundcube installation directory and run:

```
composer require gecka/nextbridge
```

The [roundcube/plugin-installer](https://github.com/roundcube/plugin-installer) will automatically place the plugin in the correct `plugins/` directory and offer to enable it.

> **Don't have Composer?** See [getcomposer.org](https://getcomposer.org/download/) for installation instructions.

> **Running as root on a VPS?** Roundcube files are typically owned by `www-data`. Run Composer as the web server user to avoid permission issues:
>
> ```
> sudo -u www-data composer require gecka/nextbridge
> ```

### Install manually

[](#install-manually)

1. Place this plugin folder into the plugins directory of Roundcube:

    ```
    cd /path/to/roundcube/plugins/
    git clone https://github.com/Gecka-Apps/NextBridge.git nextbridge
    ```
2. Add `nextbridge` to `$config['plugins']` in your Roundcube config:

    ```
    $config['plugins'] = array('nextbridge', /* other plugins */);
    ```

### Done

[](#done)

The plugin automatically detects when the Nextcloud file bridge is available. No additional configuration is required.

Authors
-------

[](#authors)

- **Laurent Dinclaux**  - Gecka

Related Projects
----------------

[](#related-projects)

- [mail\_roundcube](https://github.com/rotdrop/nextcloud-roundcube) - Nextcloud app that embeds RoundCube
- [mail\_roundcube\_bridge](https://github.com/Gecka-Apps/nextcloud-roundcube-bridge) - Nextcloud app providing the bridge API

---

Built with 🥥 and ☕ by [Gecka](https://gecka.nc) — Kanaky-New Caledonia 🇳🇨

###  Health Score

35

—

LowBetter than 77% of packages

Maintenance74

Regular maintenance activity

Popularity17

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity36

Early-stage or recently created project

 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.

###  Release Activity

Cadence

Every ~4 days

Total

2

Last Release

145d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/9995?v=4)[Eugenio](/maintainers/gecka)[@gecka](https://github.com/gecka)

---

Top Contributors

[![loxK](https://avatars.githubusercontent.com/u/136687?v=4)](https://github.com/loxK "loxK (9 commits)")

###  Code Quality

Code StylePHP\_CodeSniffer

### Embed Badge

![Health badge](/badges/gecka-nextbridge/health.svg)

```
[![Health](https://phpackages.com/badges/gecka-nextbridge/health.svg)](https://phpackages.com/packages/gecka-nextbridge)
```

###  Alternatives

[roundcube/roundcubemail

The Roundcube Webmail suite

7.1k2.4k3](/packages/roundcube-roundcubemail)[roundcube/carddav

CardDAV adapter for connecting to CardDAV-enabled addressbooks

27960.3k](/packages/roundcube-carddav)[toteph42/identity_switch

This plugin allows users to switch between different identities (and check for new mails) in a single Roundcube session.

221.5k](/packages/toteph42-identity-switch)[johndoh/contextmenu

Adds context menus with common tasks to various parts of Roundcube

10680.0k1](/packages/johndoh-contextmenu)[seb1k/elastic2022

Modern skin based on elastic

531.8k](/packages/seb1k-elastic2022)[kolab/calendar

Calendar plugin

3411.2k](/packages/kolab-calendar)

PHPackages © 2026

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