PHPackages                             webandcow/reconnexion-bar - 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. [Framework](/categories/framework)
4. /
5. webandcow/reconnexion-bar

ActiveCakephp-plugin[Framework](/categories/framework)

webandcow/reconnexion-bar
=========================

ReconnexionBar plugin for CakePHP

2.0.9(4y ago)07.3kMITPHP

Since Oct 15Pushed 4y agoCompare

[ Source](https://github.com/WebAndCow/ReconnexionBar)[ Packagist](https://packagist.org/packages/webandcow/reconnexion-bar)[ RSS](/packages/webandcow-reconnexion-bar/feed)WikiDiscussions main Synced 1mo ago

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

ReconnexionBar plugin for CakePHP
=================================

[](#reconnexionbar-plugin-for-cakephp)

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

[](#installation)

This plugin help you to connect to another account and reconnect on your parent account. When you are connected to another account, it displays a red bar at the bottom of all the pages of your application to reconnect on your parent account.

You can install this plugin into your CakePHP application using [composer](https://getcomposer.org).

The recommended way to install composer packages is:

**CakePHP 3**

```
composer require webandcow/reconnexion-bar "^1.0.0"

```

**CakePHP 4**

```
composer require webandcow/reconnexion-bar "^2.0.0"

```

Then you'll need to load the plugin in the bootstrap method of the `src/Application.php` file.

```
$this->addPlugin('ReconnexionBar');
```

or you can use the console to do this for you.

```
bin/cake plugin load ReconnexionBar
```

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

[](#configuration)

Optional, you can change the configuration in your bootstrap.php file :

```
Configure::write('ReconnexionBar', [
    'column_name' => 'first_name', // Name of the column (string). You can use a virtual field for more customization
    'linkActionReconnectParentAccount' => [ // Url of action to reconnect on parent account
        'prefix' => false,
        'plugin' => false,
        'controller' => 'Users',
        'action' => 'reconnectParentAccount'
    ],
    'optionsQuery' => ['contain' => ['Roles']], // default = null. Possibility to add options in the Users query to reconnect to parent account
    'style' => [
        'type' => 'bar', // bar or circle
        'position' => 'bottom', // For bar : bottom or top. For circle : top-left, top-right, bottom-left or bottom-right
        'color' => '#e63757' // Color of the bar or circle
    ]
]);

```

You must load the ReconnexionBarComponent, create 2 actions and edit logout action to use this plugin. For exemple, in the UsersController.php file :

```
public function initialize(): void
{
    parent::initialize();
    $this->loadComponent('ReconnexionBar.Reconnexion');
}

/**
* Action to connect on another account
*/
public function connectOtherAccount($userId)
{
    $user = $this->Users->get($userId);
    $this->Reconnexion->connectOtherAccount($user);
}

/**
* Action to reconnect on the parent account
*/
public function reconnectParentAccount()
{
    $this->Reconnexion->reconnectParentAccount();
}

public function logout()
{
    $this->Reconnexion->deleteReconnectSession();
    ...
}

```

###  Health Score

32

—

LowBetter than 72% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity21

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity64

Established project with proven stability

 Bus Factor2

2 contributors hold 50%+ of commits

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

Total

20

Last Release

1756d ago

Major Versions

1.0.4 → 2.0.42020-10-21

1.0.5 → 2.0.52020-10-26

1.0.6 → 2.0.72021-06-01

1.0.7 → 2.0.82021-07-05

1.0.8 → 2.0.92021-07-22

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/5221665?v=4)[Web and Cow](/maintainers/WebAndCow)[@WebAndCow](https://github.com/WebAndCow)

---

Top Contributors

[![pierre-wac](https://avatars.githubusercontent.com/u/42741199?v=4)](https://github.com/pierre-wac "pierre-wac (3 commits)")[![barbierp35](https://avatars.githubusercontent.com/u/23167519?v=4)](https://github.com/barbierp35 "barbierp35 (2 commits)")[![Walim-WAC](https://avatars.githubusercontent.com/u/76044325?v=4)](https://github.com/Walim-WAC "Walim-WAC (2 commits)")[![WebAndCow](https://avatars.githubusercontent.com/u/5221665?v=4)](https://github.com/WebAndCow "WebAndCow (2 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/webandcow-reconnexion-bar/health.svg)

```
[![Health](https://phpackages.com/badges/webandcow-reconnexion-bar/health.svg)](https://phpackages.com/packages/webandcow-reconnexion-bar)
```

###  Alternatives

[cakephp/debug_kit

CakePHP Debug Kit

86514.0M138](/packages/cakephp-debug-kit)[cakephp/bake

Bake plugin for CakePHP

11211.2M158](/packages/cakephp-bake)[friendsofcake/bootstrap-ui

Bootstrap front-end framework support for CakePHP

3492.1M32](/packages/friendsofcake-bootstrap-ui)[cakephp/app

CakePHP skeleton app

3831.7M1](/packages/cakephp-app)[cakephp/localized

CakePHP Localized Plugin

218595.6k5](/packages/cakephp-localized)[cakephp/acl

Acl Plugin for CakePHP framework

109553.9k15](/packages/cakephp-acl)

PHPackages © 2026

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