Closed Arinerron closed 7 years ago
How did you install it? You need phpseclib >=2.0.0
I git clone
d
please run composer install to install the dependencies. composer - https://getcomposer.org/
I have got the same error.
This is how I solved it :
git clone https://github.com/singpolyma/openpgp-php
cd openpgp-php
php -r "copy('https://getcomposer.org/installer', 'composer-setup.php');"
php composer-setup.php
php -r "unlink('composer-setup.php');"
php composer.phar install
And put in ./lib/openpgp.php at line 16, this :
include "../vendor/autoload.php";
You should use the autoload file in your own project. Generally this is exactly what is written in the comments before your answer.
Are there dependencies I'm missing?