15/03
2017
Wallogit.com
2017 © Pedro Peláez
This is an unofficial, partial port of the lastpass-cli project, and is used to retrieve a user's stored accounts' information from LastPass with PHP. This project is not associated with LastPass in any way., (*1)
In order to use this, you will need PHP with the OpenSSL extension, and the phpseclib library., (*2)
An example of getting a user's stored LastPass information:, (*3)
searchAccounts(); // The searchAccounts method also accepts two parameters: // $search (string) The text to search for. // $fields_to_search (array) An array of account fields to search through. By default, this method searches all fields: id, name, fullname, url, and username. $mysite_account = $LP->searchAccounts("mysite", array("url")); ?>