codefire/cfusermgmt

There is no license information available for the latest version (1.0.0) of this package.

The users module for Yii framework

1.0.0 2015-12-08 11:55 UTC

This package is not auto-updated.

Last update: 2024-05-29 17:47:10 UTC


README

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:

  1. Create folder "codefire/cfusermgmt" in vendor folder
  2. Extract into cfusermgmt folder (Give permission, init application)
  3. add in application's frontend/web/index.php require(DIR . '/../../vendor/codefire/cfusermgmt/config/main.php'), before require(DIR . '/../config/main-local.php'); // JUST BEFORE THIS LINE

add after $application = new yii\web\Application($config); require(DIR . '/../../vendor/codefire/cfusermgmt/config/constants.php');

    • Delete common/model/User.php
    • Remove user component from application's frontend/config/main.php
  1. create htaccess in frontend/web
    Source code should be: Options -MultiViews RewriteEngine On #RewriteBase /path/to/app RewriteCond %{REQUEST_FILENAME} !-f RewriteRule ^ index.php [L]

     Order allow,deny
     allow from all
    
  2. Change SITE_URL to your Current URL on "vendor/codefire/cfusermgmt/config/main.php" '@SITE_URL' => "Your Url Goes Here" Like: '@SITE_URL' => "http://localhost/plugin_yii"

NOTES:

You can also install Using composer:

composer require codefire/cfusermgmt