PHPackages                             bamboo/switch-user-bundle - 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. bamboo/switch-user-bundle

ActiveLibrary

bamboo/switch-user-bundle
=========================

Switch user bundle for eZ Publish 5, eZ Platform 1, eZ Platform 2

0.1.1(7y ago)170GPL-2.0-or-laterPHP

Since Nov 23Pushed 7y ago2 watchersCompare

[ Source](https://github.com/bamboo-data/switch-user-bundle)[ Packagist](https://packagist.org/packages/bamboo/switch-user-bundle)[ RSS](/packages/bamboo-switch-user-bundle/feed)WikiDiscussions master Synced 2mo ago

READMEChangelogDependenciesVersions (3)Used By (0)

BambooSwitchUserBundle
======================

[](#bambooswitchuserbundle)

[![License: GPL v2](https://camo.githubusercontent.com/77e900ae34f8da9ccccc42662fce61a94ab07ddbfe3f7d066178e824f3673dbd/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4c6963656e73652d47504c25323076322d626c75652e737667)](https://img.shields.io/badge/License-GPL%20v2-blue.svg)

Summary
-------

[](#summary)

User switching for eZ Publish 5.4, eZ Platform 1.x eZ Platform 2.x.

Copyright
---------

[](#copyright)

Copyright (C) 2016-2018 [Bamboo Data Ltd](https://www.bamboo-data.co.uk)

License
-------

[](#license)

Licensed under [GNU General Public License 2.0](http://www.gnu.org/licenses/gpl-2.0.html)

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

[](#requirements)

Requires eZ Publish 5.4 or above.

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

[](#installation)

Install using composer:

```
composer require bamboo/switch-user-bundle

```

Edit `app/EzPublishKernel.php` or `ezpublish/EzPublishKernel.php` and add the following to the list of bundles in `registerBundles()`:

```
new Bamboo\SwitchUserBundle\BambooSwitchUserBundle(),

```

Edit `app/config/routing.php` or `ezpublish/config/routing.php` and add the following:

```
bamboo_switch_user:
    resource: "@BambooSwitchUserBundle/Resources/config/routing.yml"

```

Configuration
-------------

[](#configuration)

By default, switching is allowed to any user not in the 'Administrator users' user group. To change this configuration, add a block to `app/config/config.yml` or `ezpublish/config/config.yml`. For example:

```
bamboo_switch_user:
    groups:
        deny: []
        allow: [ 128 ]

```

This will only allow switching to users in user group with ID 128.

Usage
-----

[](#usage)

Decide which roles will have the ability to switch user account and in the admin interface add the `switchuser/manage` policy to them. If only the 'Administrator users' user group needs the ability then you can skip this step.

Users with this policy will be able to switch to any permitted user using the path:

```
/switch-user/{username}

```

where `{username}` is the user's login or:

```
/switch-user/id/{id}

```

where `{id}` is the ID of the user.

###  Health Score

25

—

LowBetter than 37% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity10

Limited adoption so far

Community4

Small or concentrated contributor base

Maturity54

Maturing project, gaining track record

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 ~659 days

Total

2

Last Release

2803d ago

### Community

Maintainers

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

### Embed Badge

![Health badge](/badges/bamboo-switch-user-bundle/health.svg)

```
[![Health](https://phpackages.com/badges/bamboo-switch-user-bundle/health.svg)](https://phpackages.com/packages/bamboo-switch-user-bundle)
```

PHPackages © 2026

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