PHPackages                             codefiretech/cfusermgmt - 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. [Authentication &amp; Authorization](/categories/authentication)
4. /
5. codefiretech/cfusermgmt

ActiveYii2-extension[Authentication &amp; Authorization](/categories/authentication)

codefiretech/cfusermgmt
=======================

Yii2 Advance User Management Plugin

1100PHP

Since May 4Pushed 11y ago1 watchersCompare

[ Source](https://github.com/codefiretech/yii-user-management-plugin)[ Packagist](https://packagist.org/packages/codefiretech/cfusermgmt)[ RSS](/packages/codefiretech-cfusermgmt/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependenciesVersions (1)Used By (0)

Requirments:

- Yii 2 with advanced application template
- Init your application for development mode
- Php 5.4+
- MySql 5.6+

Steps To install the 'cfusermgmt' plugin:
-----------------------------------------

[](#steps-to-install-the-cfusermgmt-plugin)

1. You can use composer to install extension add below line in your composer require "codefiretech/cfusermgmt": "dev-master" or Just copy the folder into vendor/yiisoft directory of your ADVANCED application.(While extracting remember that all the hidden files or like .htaccess files are also copied) Note - If you are using composer then place the vendor/codefiretech/cfusermgmt folder inside vendor/yiisoft folder.
2. Open your extension.php (in yiisoft folder of your application) and add the array in the list of extensions as- 'yiisoft/cfusermgmt' =&gt; array ( 'name' =&gt; 'yiisoft/cfusermgmt', 'version' =&gt; '2.0.2.0', 'alias' =&gt; array ( '@yii/cfusermgmt' =&gt; $vendorDir . '/yiisoft/cfusermgmt', ), ),
3. in common/config/main.php (in components) add below array and change BaseFolderName to your base folder name 'authManager'=&gt;\[ 'class'=&gt;'yii\\rbac\\DbManager', 'defaultRoles' =&gt; \[DEFAULT\_ROLE\_NAME\] \], 'user' =&gt; \[ 'identityClass' =&gt; 'yii\\cfusermgmt\\common\\models\\User', 'enableAutoLogin' =&gt; true, \], 'urlManager'=&gt;\[ 'showScriptName'=&gt;false, 'enablePrettyUrl'=&gt;true, 'enableStrictParsing'=&gt;false, 'rules'=&gt;\[ \[ 'pattern'=&gt;'controller:\\w+/action:\\w+', 'route'=&gt;'/', \] \], \], 'urlManagerBackend' =&gt; \[ 'class' =&gt; 'yii\\web\\urlManager', 'baseUrl' =&gt; '/BaseFolderName/advanced/vendor/yiisoft/cfusermgmt/backend/web', 'enablePrettyUrl' =&gt; true, 'showScriptName' =&gt; false, \], 'urlManagerFrontend' =&gt; \[ 'class' =&gt; 'yii\\web\\urlManager', 'baseUrl' =&gt; '/BaseFolderName/advanced/vendor/yiisoft/cfusermgmt/frontend/web', 'enablePrettyUrl' =&gt; true, 'showScriptName' =&gt; false, \],

add parameter array (sibling to components) 'params'=&gt;\[ 'home\_base\_path' =&gt; **DIR** . '/../../', \] 4. Table name for users and user have a single array of user identity \* delete User.php from common/models \* remove user array from backend/config main.php (from components) \* remove user array from frontend/config main.php (from components) \* Now user model is placed in new path (vendor\\yiisoft\\cfusermgmt\\common\\models) so place your user model function(if any) there. 5. add below line in index.php before $application-&gt;run() for both frontend and backend. include\_once **DIR** . '/../../vendor/yiisoft/cfusermgmt/common/config/constants.php';

6. Include below lines in the (frontend &amp; backend)/web/.htaccess file: (This is to ignore the "index.php" in the url)

 Options -MultiViews RewriteEngine On #RewriteBase /path/to/app RewriteCond %{REQUEST\_FILENAME} !-f RewriteRule ^ index.php \[L\] Order allow,deny allow from all

NOTES:
------

[](#notes)

- make sure you have import database from plugin.sql file
- Admin credentials (codefire/111111) Useful Url example:
- FrontEnd Url ()
- BackEnd Url ()

###  Health Score

22

—

LowBetter than 22% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity11

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity41

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.

### Community

Maintainers

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

---

Top Contributors

[![pranjalcodefire](https://avatars.githubusercontent.com/u/6240512?v=4)](https://github.com/pranjalcodefire "pranjalcodefire (3 commits)")

### Embed Badge

![Health badge](/badges/codefiretech-cfusermgmt/health.svg)

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

###  Alternatives

[bezhansalleh/filament-shield

Filament support for `spatie/laravel-permission`.

2.8k2.9M88](/packages/bezhansalleh-filament-shield)[gesdinet/jwt-refresh-token-bundle

Implements a refresh token system over Json Web Tokens in Symfony

70516.4M35](/packages/gesdinet-jwt-refresh-token-bundle)[illuminate/auth

The Illuminate Auth package.

9327.3M1.0k](/packages/illuminate-auth)[beatswitch/lock

A flexible, driver based Acl package for PHP 5.4+

870304.7k2](/packages/beatswitch-lock)[amocrm/amocrm-api-library

amoCRM API Client

182728.5k6](/packages/amocrm-amocrm-api-library)[vonage/jwt

A standalone package for creating JWTs for Vonage APIs

424.1M4](/packages/vonage-jwt)

PHPackages © 2026

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