antonioribeiro / google2fa

A One Time Password Authentication package, compatible with Google Authenticator.
MIT License
1.83k stars 199 forks source link

Is it possible to install directly in FTP directory, ie. without using composer? #190

Open Ariel-International opened 1 year ago

Ariel-International commented 1 year ago

I would like to use this package on a shared server, I asked my provider but they are not answering. What would be the steps to copy the library directly in a website and make it work? Is it feasible at all?

shusaura85 commented 10 months ago

It is possible, but you will need to include the paragonie/constant_time_encoding library as well.
You will also need to either write an autoloader or manually include all the required files.

In the long run, I recommend using composer.