Skip to content

Instantly share code, notes, and snippets.

View egorsmkv's full-sized avatar
🌍
world, hello

Yehor Smoliakov egorsmkv

🌍
world, hello
View GitHub Profile
<?php
namespace app\models;
use yii\base\Model;
use Yii;
/**
* Simplified model with validation rules.
* All characters are allowed (you want emojis in the password? Go ahead).