yii-usuario / yii-usuario-views-bootstrap5
Bootstrap 5 views for 2amigos/yii-usuario
Installs: 215
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 2
Forks: 0
Open Issues: 0
Type:yii2-extension
Requires
- php: >=7.4.0
- 2amigos/yii2-usuario: dev-master
- kartik-v/yii2-widget-select2: ^2.2
- yiisoft/yii2-bootstrap5: ^2.0
Requires (Dev)
- phpmd/phpmd: @stable
- phpstan/phpstan: ^1.9
README
A Bootstrap 5 theme for yii2-usuario
Installation
The preferred way to install this extension is through composer.
run:
composer require --prefer-dist yii-usuario/yii2-usuario-views-bootstrap5
Usage
In your user module config set the viewPath to the views folder of this package.
'user' => [
'class' => \Da\User\Module::class,
'viewPath' => '@vendor/yii-usuario/yii-usuario-views-bootstrap5/src/views',
]
In your app params, set bsVersion to 4 (required by kartik select2 dependency)
'params' => [
...
'bsVersion' => '5',
...
]