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 today

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 31% 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

3908d 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.8k582.3M821](/packages/psy-psysh)[helsingborg-stad/municipio

A bootstrap theme for creating municipality sites.

4028.5k10](/packages/helsingborg-stad-municipio)[mikehaertl/php-shellcommand

An object oriented interface to shell commands

33940.7M71](/packages/mikehaertl-php-shellcommand)[kamisama/cake-resque

A CakePHP plugin for creating background jobs with Resque

159418.1k](/packages/kamisama-cake-resque)[rainlab/user-plugin

User plugin for October CMS

11955.0k15](/packages/rainlab-user-plugin)[pressbooks/pressbooks-book

This theme is named after Canadian media theorist Marshall McLuhan, who coined the phrase “the medium is the message.” It is designed for academic writing and is also suitable for fiction. Headings are set in Cormorant Garamond, and body type is set in Lora.

216.7k](/packages/pressbooks-pressbooks-book)

PHPackages © 2026

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