yii2-extensions / user
Flexible user registration and authentication module for Yii 2.0
Installs: 93
Dependents: 0
Suggesters: 0
Security: 0
Stars: 1
Watchers: 1
Forks: 0
Open Issues: 3
Type:yii2-extension
Requires
- php: >=8.1
- ext-filter: *
- npm-asset/fortawesome--fontawesome-free: ^6.4
- oomphinc/composer-installers-extender: ^2.0
- php-forge/helpers: dev-main
- php-forge/html: dev-main
- sjaakp/yii2-icon: ^1.0
- yii2-extensions/authclient: dev-main
- yii2-extensions/bootstrap5: dev-main
- yii2-extensions/core-library: dev-main
- yii2-extensions/httpclient: dev-main
- yiisoft/security: ^1.0
- yiisoft/yii2: ^2.2
- yiisoft/yii2-symfonymailer: ^3.0
Requires (Dev)
- codeception/c3: ^2.9
- codeception/codeception: ^5.0.0
- codeception/lib-innerbrowser: ^4.0
- codeception/module-asserts: ^3.0
- codeception/module-filesystem: ^3.0
- codeception/module-phpbrowser: *
- codeception/module-yii2: ^1.1
- codeception/stub: ^4.1
- codeception/verify: ^3.0
- maglnet/composer-require-checker: ^4.6
- php-forge/support: dev-main
- symfony/browser-kit: ^6.3
- symfony/process: ^6.3
- yii2-extensions/app-basic: dev-main
- yii2-extensions/phpstan: dev-main
- yiisoft/config: ^1.4
This package is auto-updated.
Last update: 2024-10-14 02:57:39 UTC
README
User extension for Yii2.
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 theconfig
folder.
Usage
Check the documentation docs to learn about usage.
Testing
Check the documentation testing to learn about testing.
Our social networks
License
The MIT License. Please see License File for more information.