Download the PHP package gecka/ident-switch without Composer

On this page you can find all versions of the php package gecka/ident-switch. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package ident-switch

Ultimate Identity Switcher for Roundcube

Version PHP CodeSniffer PHP Lint License: AGPL v3 PHP Roundcube

Switch between multiple IMAP accounts within a single Roundcube session.

About

ident_switch is a Roundcube plugin that turns identities into full account shortcuts. Configure each identity with its own IMAP, SMTP and Sieve server, then switch between accounts with a single click from the toolbar dropdown. Aliases, notifications, and domain preconfig are all built in.

Originally created by Boris Gulay. This fork is a major rewrite by Gecka — modernized for PHP 8.2+, restructured codebase, and packed with new features: alias identities, Sieve support, background mail notifications, domain preconfig, connection testing, and per-protocol security.

Features

Multi-Account Switching

Alias Identities

Sieve (ManageSieve) Support

New Mail Notifications

Domain Preconfig

Security

Requirements

Installation

With Composer (recommended)

Navigate to your Roundcube installation directory and run:

The roundcube/plugin-installer will automatically place the plugin in the correct plugins/ directory, initialize the database schema, and offer to enable it.

Don't have Composer? See getcomposer.org 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:

Manual

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

  2. Add ident_switch to $config['plugins'] in your Roundcube config:

  3. Initialize the database schema:

Configuration

Copy the sample configuration file and edit it to match your environment:

Domain Preconfig

Pre-fill server settings per email domain so users don't have to enter them manually:

Options

Setting Default Description
ident_switch.check_mail true Enable background mail checking across secondary accounts
ident_switch.round_robin false Check one account per refresh cycle instead of all at once
ident_switch.hide_notifier_warning false Hide the warning when newmail_notifier plugin is not active
ident_switch.preconfig_only false Restrict account creation to preconfigured domains only
ident_switch.debug false Log SMTP/Sieve routing and alias resolution to logs/ident_switch.log

Usage

  1. Create a new identity in Settings > Identities
  2. Choose the account mode:
    • Primary account — default identity, no server config needed
    • Separate account — configure IMAP, SMTP, and optionally Sieve servers
    • Alias of [account] — link to an existing account's servers
  3. For separate accounts, fill in server details (or let preconfig handle it)
  4. The account switcher dropdown appears in the toolbar once at least one separate account is configured

Updating

Database migrations are applied automatically by the Roundcube plugin installer.

Migrating from the Original Plugin

If you are upgrading from boressoft/ident_switch, toteph42/identity_switch, or another fork:

Important: This version (5.x) requires a v4.x database schema as its starting point. If you are running v1.x–v3.x, you must first upgrade to v4.x (boressoft/ident_switch) before migrating to this fork. This applies to all supported databases (MySQL, PostgreSQL, SQLite).

With Composer

  1. Replace the old package in composer.json with gecka/ident-switch and run composer update
  2. Database migrations are applied automatically

Manual

  1. Replace the plugin files in plugins/ident_switch/
  2. Run the database migration:

Configuration

If you use config.inc.php, update it to the new format — the 'host' key has been replaced by separate 'imap_host' and 'smtp_host' keys (old 'host' key still works as fallback).

Localization

Available in 7 languages: English, French, German, Italian, Dutch, Russian, Slovenian.

Version Compatibility

Version Roundcube PHP
5.x 1.6+ 8.2+
4.x 1.3 — 1.5 7.x — 8.1
1.x — 3.x 1.1 — 1.3 discontinued

License

This plugin is released under the GNU Affero General Public License Version 3.

Original code by Boris Gulay licensed under GPL-3.0+. New contributions licensed under AGPL-3.0+.

Authors


Built with 🥥 and ☕ by Gecka — Kanaky-New Caledonia 🇳🇨


All versions of ident-switch with dependencies

PHP Build Version
Package Version
Requires php Version >=8.2
roundcube/plugin-installer Version >=0.3.0
ext-ctype Version *
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package gecka/ident-switch contains the following files

Loading the files please wait ...