Answer the question
In order to leave comments, you need to log in
How to install RNCryptor in Yii2?
Hello! There is such a library - https://github.com/RNCryptor/RNCryptor-php . I would like to use it in the framework, but no matter how I tried to prescribe namespaces, I don’t see it (I threw it into the extensions folder):
"message":"Class 'app\\extensions\\RNCryptor\\lib\\Decryptor' not found","code":1,"type":"yii\\base\\ErrorException",
Answer the question
In order to leave comments, you need to log in
add to composer.json:
"require": {
"ext-mcrypt": "*"
},
"require-dev": {
"rncryptor/spec": "3.0.1",
"rncryptor/rncryptor": "*",
"phpunit/phpunit": "3.7.*"
},
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question