The missing pieces for your Yii Framework projects.
Small, focused libraries that drop straight into your Yii apps.
reCAPTCHA
Provides Google reCAPTCHA v2 and v3 field and server-side validation for your Yii Framework 3 applications, with various options available to manipulate the result.
echo RecaptchaV2Field::field($form, 'captcha')
->withSiteKey($siteKey);
echo RecaptchaV3Field::field($form, 'captcha')
->withAction('login')
->withFormId('login-form');
Voyti
Provides highly customizable user management, authentication, and authorization for your Yii Framework 3 applications.
- User management — registration, email confirmation, login/logout, password recovery
- RBAC — full admin UI for roles, permissions, and rules
- Social authentication — 9 built-in providers
- Two-factor authentication — TOTP & email
- GDPR compliance — consent management, data export, anonymized deletion
- Session management — history tracking and termination
- REST API — optional JSON API for user CRUD
- reCAPTCHA — optional v2/v3 integration
- i18n — multiple built-in translations
SvgInline
Provides simple functions for your Yii Framework 3 applications to add SVG files inline and manipulate their properties. Can be extended with Bootstrap Icons and Font Awesome Icons, with various options available to manipulate the result.
$svg->file('@vendor/path/icon.svg');
SvgInline / Bootstrap
Provides simple functions for your Yii Framework 3 applications to add Bootstrap Icons inline. Depends on SvgInline, with various options available to manipulate the result.
$svg->bootstrap($iconName);
SvgInline / FontAwesome
Provides simple functions for your Yii Framework 3 applications to add Font Awesome Icons inline. Depends on SvgInline, with various options available to manipulate the result.
$svg->fai($iconName);
$svg->fai($iconName, $iconStyle);
Yii / Bootstrap / Icons
Provides the asset bundle to use Bootstrap Icons in your project. All valid icons can be found on the Bootstrap Icons page.
$assetManager->register(
\YiiRocks\Yii\Bootstrap\Icons\Assets\BootstrapIconsAsset::class,
);
echo '<i class="bi-alarm"></i>';
echo Html::tag('i', '', ['class' => 'bi-alarm']);
yii2-fontawesome-inline
Provides simple functions for your Yii Framework 2.0 applications to add Font Awesome Icons inline, with various options available to manipulate the result.
$icon = new \thoulah\fontawesome\Icon();
echo $icon->show('github', ['style' => 'brands', 'fill' => '#003865']);