dev-master
9999999-dev http://leonbarrett.github.com/PHPKeychainA PHP wrapper for storing and retrieving passwords in OS X Keychain
MIT
The Requires
- php >=5.3.6
by Leon Barrett
php cli keychain
Wallogit.com
2017 © Pedro Peláez
A PHP wrapper for storing and retrieving passwords in OS X Keychain
PHPKeychain is a PHP wrapper for storing and retrieving passwords in OS X Keychain., (*1)
You've written a CLI tool that interacts with a 3rd party service and you need to store a users sensitive details such as passwords. You could store this in a plain text file, but OS X has Keychain, so this will help you to do this., (*2)
Include this class in your CLI script and use the methods to set, get, update and delete passwords, all stored within Keychain., (*3)
See the demo.php file for details on how to use this class, (*4)
Thanks to the following articles:, (*5)
http://blog.macromates.com/2006/keychain-access-from-shell/, (*6)
http://blogs.developerforce.com/developer-relations/2011/11/using-keychain-for-secure-text-on-os-x.html, (*7)
A PHP wrapper for storing and retrieving passwords in OS X Keychain
MIT
php cli keychain