xwei3752/yii2-laravel-crypt

yii2-laravel-crypt is yii2 library compatiable with laravel
67 1
Install
composer require xwei3752/yii2-laravel-crypt
PHP:>=5.5
License:MIT
Last Updated:Dec 27, 2016
Links: GitHub  ·  Packagist
Maintainer: xwei3752

yii2-laravel-crypt

this is same as laravel(>=5.1) encrypt and decrypt function.

##example:

$cryption = new \Cryption\Encrypter("yourRandomString","AES-256-CBC");
$cryption->encrypt("yourData");