承接 yii2-extensions/user 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

yii2-extensions/user

Composer 安装命令:

composer require yii2-extensions/user

包简介

Flexible user registration and authentication module for Yii 2.0

README 文档

README

User extension for Yii2.


php-version yii2-version PHPUnit Codecov PHPStan PHPStan level Code style

Installation

The preferred way to install this extension is through composer.

Either run

php composer.phar require --dev --prefer-dist yii2-extensions/user

or add

"yii2-extensions/user": "dev-main"

to the require-dev section of your composer.json file.

Configuration

User extension requires a database connection. You should configure it in your application configuration like the following:

config/components.php

<?php

declare(strict_types=1);

use yii\db\Connection;

return [
    'components' => [
        'db' => [
            'class' => Connection::class,
            'dsn' => 'sqlite:' . dirname(__DIR__) . '/yiitest.sq3',
        ],
    ],
];

All configuration is managed by yiisoft/config, and you can access it at the config folder.

Usage

Check the documentation docs to learn about usage.

Testing

Check the documentation testing to learn about testing.

Our social networks

Twitter

License

The MIT License. Please see License File for more information.

统计信息

  • 总下载量: 93
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 1
  • 点击次数: 0
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 1
  • Watchers: 1
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: mit
  • 更新时间: 2023-10-28