PHPackages                             random-cuber/contextmenu\_folder - 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. [Templating &amp; Views](/categories/templating)
4. /
5. random-cuber/contextmenu\_folder

ActiveRoundcube-plugin[Templating &amp; Views](/categories/templating)

random-cuber/contextmenu\_folder
================================

Adds context menus with mailbox operations

2.0.2(3y ago)102.7k8[1 issues](https://github.com/random-cuber/contextmenu_folder/issues)[1 PRs](https://github.com/random-cuber/contextmenu_folder/pulls)Apache-2.0JavaScriptPHP &gt;=7.3.0

Since Sep 11Pushed 3y ago4 watchersCompare

[ Source](https://github.com/random-cuber/contextmenu_folder)[ Packagist](https://packagist.org/packages/random-cuber/contextmenu_folder)[ Docs](https://github.com/random-cuber/contextmenu_folder)[ RSS](/packages/random-cuber-contextmenu-folder/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependencies (2)Versions (39)Used By (0)

Roundcube Context Menu Folder Manager
=====================================

[](#roundcube-context-menu-folder-manager)

Technical plugin name is [contextmenu\_folder](http://plugins.roundcube.net/packages/random-cuber/contextmenu_folder).

Folder list context menuFolder list control menuMessage list context menu[![](https://raw.githubusercontent.com/random-cuber/contextmenu_folder/master/build/folder_list_context_menu.png)](https://raw.githubusercontent.com/random-cuber/contextmenu_folder/master/build/folder_list_context_menu.png)[![](https://raw.githubusercontent.com/random-cuber/contextmenu_folder/master/build/folder_list_control_menu.png)](https://raw.githubusercontent.com/random-cuber/contextmenu_folder/master/build/folder_list_control_menu.png)[![](https://raw.githubusercontent.com/random-cuber/contextmenu_folder/master/build/message_list_context_menu.png)](https://raw.githubusercontent.com/random-cuber/contextmenu_folder/master/build/message_list_context_menu.png)This plugin can be useful for users who want to work efficiently with large number of mailboxes or imap folders (anywhere form few hundred to few thousand folders).

Plugin [contextmenu\_folder](http://plugins.roundcube.net/packages/random-cuber/contextmenu_folder) provides context menus for the following folder operations:

- create/delete/rename/locate mailbox imap folder
- apply mailbox tree view filters, grouped in categories: \[`active`, `favorite`\]
- where each category uses filter selectors from: \[`unread`, `special`, `selected`, `transient`, `predefined`\]

Filter selectors support these features:

- `unread` : this filter finds mailboxes with unread messages
- `special` : will include special imap folders: \[`inbox`, `drafts`, `sent`, `junk`, `trash`\]
- `selected` : represents folder collection which can be selected/unselected into by the user
- `transient` : based on automatic folder collection, which tracks created/deleted/renamed mailboxes
- `predefined` : static user-defined list of mailbox folders, which is more "permanent" then `selected`

Dependencies
------------

[](#dependencies)

Plugin [contextmenu\_folder](http://plugins.roundcube.net/packages/random-cuber/contextmenu_folder) requires few other plugins:

- `jqueryui`: [jquery ui plugin, included with roundcube](https://github.com/roundcube/roundcubemail/tree/master/plugins/jqueryui)
- `contextmenu`: [context menu plugin, from roundcube repo](https://plugins.roundcube.net/#/packages/johndoh/contextmenu)

Manual Install
--------------

[](#manual-install)

Installation can be done in two steps: providing resources and activating configuration.

1. Provision plugin resources. For example, for [roundcube on archlinux](https://wiki.archlinux.org/index.php/Roundcube):

```
cd /usr/share/webapps/roundcubemail/plugins

rm -r -f contextmenu
git clone https://github.com/random-cuber/contextmenu.git contextmenu

rm -r -f contextmenu_folder
git clone https://github.com/random-cuber/contextmenu_folder.git contextmenu_folder

```

2. Activate plugin in `roundcube` configuration. For example, for [roundcube on archlinux](https://wiki.archlinux.org/index.php/Roundcube):

```
cat /etc/webapps/roundcubemail/config/config.inc.php

$config['plugins'] = array(
    'jqueryui',           // dependency
    'contextmenu',        // dependency
    'contextmenu_folder', // plugin proper
);

```

Settings
--------

[](#settings)

Navigate to:

```
Settings -> Preferences -> Mailbox View -> Folder Menu

```

Menu entries:

- `TODO` : TODO

Available features are described in [plugin default config](https://github.com/random-cuber/contextmenu_folder/blob/master/default.inc.php).

Operation
---------

[](#operation)

1. Folder list context menu:

Navigate to:

```
Mail -> [Mailbox list] -> [Access context menu]

```

Menu entries:

- `Select folder` : append given mailbox to the `selected` collection
- `Unselect folder` : remove given mailbox from the `selected` collection
- `Create folder` : create new sub folder using given mailbox as a parent
- `Delete folder` : completely remove given folder and its messages
- `Rename folder` : change mailbox name, keep existing messages in new folder
- `Folder tree read` : mark all read in the given folder and all of the descendants

2. Folder list control menu:

Navigate to:

```
Mail -> [Mailbox list] -> [Click footer button]

```

Menu entries:

- `Show all` : remove all filters and display all available mailboxes
- `Show active` : apply mailbox filters form `active` category (see settings)
- `Show favorite` : apply mailbox filters form `favorite` category (see settings)
- `Reset selected` : remove all mailboxes form the `selected` collection
- `Reset transient` : remove all mailboxes form the `transient` collection
- `Expand all` : expand all mailboxes in the current view
- `Collapse all` : collapse all mailboxes in the current view
- `Locate folder` : present a search dialog to find a mailbox via simple name match

Note that `footer button` will change appearance to reflect `all/active/favorite` view.

3. Message list context menu:

Navigate to:

```
Mail -> [Message list] -> [Access context menu]

```

Menu entries:

- `Create folder` : create imap folder based on company/contact name derived from email headers
- `Copy to folder` : copy selected mailbox messages to a folder located by quick folder name search
- `Move to folder` : move selected mailbox messages to a folder located by quick folder name search

Translation
-----------

[](#translation)

Contribute to [translation via transifex](https://www.transifex.com/random-cuber/contextmenu_folder/).

###  Health Score

37

—

LowBetter than 83% of packages

Maintenance18

Infrequent updates — may be unmaintained

Popularity29

Limited adoption so far

Community17

Small or concentrated contributor base

Maturity70

Established project with proven stability

 Bus Factor1

Top contributor holds 88% 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 ~64 days

Recently: every ~486 days

Total

37

Last Release

1204d ago

Major Versions

1.3.6 → 2.0.12023-01-30

PHP version history (3 changes)1.2.20PHP &gt;=5.3.0

1.3.1PHP &gt;=5.4.0

2.0.1PHP &gt;=7.3.0

### Community

Maintainers

![](https://www.gravatar.com/avatar/a7f940698c71fcf12e48cfdea2987dc56bc0fe8493bf86c2dc5e11c4433dff81?d=identicon)[Andrei-Pozolotin](/maintainers/Andrei-Pozolotin)

---

Top Contributors

[![Andrei-Pozolotin](https://avatars.githubusercontent.com/u/1622151?v=4)](https://github.com/Andrei-Pozolotin "Andrei-Pozolotin (81 commits)")[![filhocf](https://avatars.githubusercontent.com/u/952596?v=4)](https://github.com/filhocf "filhocf (5 commits)")[![glex86](https://avatars.githubusercontent.com/u/1815886?v=4)](https://github.com/glex86 "glex86 (3 commits)")[![bb-wkr](https://avatars.githubusercontent.com/u/4245253?v=4)](https://github.com/bb-wkr "bb-wkr (2 commits)")[![drlight17](https://avatars.githubusercontent.com/u/37434652?v=4)](https://github.com/drlight17 "drlight17 (1 commits)")

---

Tags

Contextfiltermenuviewrenamefolderdeletelocatemailboxcreate

### Embed Badge

![Health badge](/badges/random-cuber-contextmenu-folder/health.svg)

```
[![Health](https://phpackages.com/badges/random-cuber-contextmenu-folder/health.svg)](https://phpackages.com/packages/random-cuber-contextmenu-folder)
```

###  Alternatives

[eftec/bladeone

The standalone version Blade Template Engine from Laravel in a single php file

8208.4M87](/packages/eftec-bladeone)[laracasts/presenter

Simple view presenters

8643.4M46](/packages/laracasts-presenter)[jenssegers/blade

The standalone version of Laravel's Blade templating engine for use outside of Laravel.

8661.2M109](/packages/jenssegers-blade)[backpack/generators

Generate files for laravel projects

3122.6M18](/packages/backpack-generators)[laminas/laminas-view

Fast and type safe HTML templating library with a flexible plugin system supporting multistep template composition

7526.3M230](/packages/laminas-laminas-view)[friendsofcake/cakephp-csvview

A CSV View class for CakePHP

1762.5M3](/packages/friendsofcake-cakephp-csvview)

PHPackages © 2026

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