PHPackages                             vladshish/usershell - 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. [CLI &amp; Console](/categories/cli)
4. /
5. vladshish/usershell

ActiveCakephp-plugin[CLI &amp; Console](/categories/cli)

vladshish/usershell
===================

Additional tools for create, complete and set permission for users, groups in CakePHP applications.

0.0.6(10y ago)096MITPHPPHP &gt;=5.2.17

Since Jul 28Pushed 10y ago1 watchersCompare

[ Source](https://github.com/VladShish/usershell)[ Packagist](https://packagist.org/packages/vladshish/usershell)[ Docs](https://github.com/vladshish/usershell)[ RSS](/packages/vladshish-usershell/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependencies (1)Versions (7)Used By (0)

usershell
=========

[](#usershell)

You can use this plugin for create groups and users from configure settings file.

### Load plugin

[](#load-plugin)

```
:: bootstrap.php ::

```

```
CakePlugin::load('UserShell');

### Configure
```

:: core-default.php ::

```
```php
Configure::write('Groups', array(
		'modelName' => 'Group',
		'data' => array(
			'admin' => array(
				'id' => 1,
				'name' => 'Administrators',
				'status' => 0,
			),
			'member' => array(
				'id' => 2,
				'name' => 'Members',
				'status' => 0,
			)
		),
		'permissions' => array(
			'admin' => array(
				'id' => 1,
				'deny' => [],
				'allow' => [
					'controllers',
				],
			),
			'others' => array(
				'id !=' => [1],
				'deny' => array(
					'controllers/users/index',
					'controllers/users/edit',
					'controllers/users/delete',
					'controllers/users/create',
					'controllers/groups',
				),
				'allow' => array(
					'controllers',
				)
			),
		),
	));

```

```
	Configure::write('Users', array(
		'modelName' => 'User',
		'data' => array(
			'admin' => array(
				'id' => 1,
				'email' => 'example@example.com',
				'password' => 'example',
				'repead-password' => 'example',
				'status' => 1,
				'group_id' => 1,
			),
		),
		'conditions' => array(
			'status' => array(1, 2),
		),
	));
```

### Usage

[](#usage)

Group will be created if they don`t exists

```
bin/cake UserShall.group init

```

Add missing groups

```
bin/cake UserShall.group complete

```

Just set permissions for groups

```
bin/cake UserShall.group set_permissions

```

Users will be created if they don`t exists

```
bin/cake UserShall.user create

```

Add missing users

```
bin/cake UserShall.user complete

```

###  Health Score

24

—

LowBetter than 32% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity9

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity52

Maturing project, gaining track record

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

Total

6

Last Release

3861d ago

### Community

Maintainers

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

---

Top Contributors

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

---

Tags

shellcakephpusergroup

### Embed Badge

![Health badge](/badges/vladshish-usershell/health.svg)

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

###  Alternatives

[psy/psysh

An interactive shell for modern PHP.

9.8k545.6M719](/packages/psy-psysh)[mikehaertl/php-shellcommand

An object oriented interface to shell commands

32437.5M61](/packages/mikehaertl-php-shellcommand)[kevinlebrun/colors.php

Colors for PHP CLI scripts

3426.7M45](/packages/kevinlebrun-colorsphp)[mrrio/shellwrap

Use any command-line tool as a PHP function.

738198.8k2](/packages/mrrio-shellwrap)[kamisama/cake-resque

A CakePHP plugin for creating background jobs with Resque

157415.4k](/packages/kamisama-cake-resque)[dereuromark/cakephp-ide-helper

CakePHP IdeHelper Plugin to improve auto-completion

1862.1M27](/packages/dereuromark-cakephp-ide-helper)

PHPackages © 2026

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