WPK Toolkit is a collection of utility classes a developer can use in their projects. At the moment, the toolkit features the following classes:
Cache, Crypto, Session, LoggerBase, FileLogger, Logger
These classes can be used individually or included as a whole in your projects. Each of these classes has been thoroughly tested and their utility has payed off.
WPK Toolkit was written using the psr standards, which makes it usable in any application. All that is required for you to do is to include the vendor directory from the downloaded archive and wpk-toolkit-loader.php in your project. Remember that the wpk-toolkit-loader.php file should be placed next to the vendor directory. Then, include the wpk-toolkit-loader.php in your project’s main file:
The Cache class provides utility methods for file caching, thus improving the speed of the website. It can be used to store plain text, variables, arrays or objects.
The Crypto class provides utility methods for encrypting or decrypting texts. It uses the PHP’s libmcrypt library and is fully compatible with AES encryption.
The Session class provides utlity methods for SESSION management. This class is very easy to use and because all the session management has been implemented in it, it makes it the perfect candidate for this job.
The Logger class provides utility methods for writing log messages to a specific file or to a database. This class is implementing the façade pattern and you can use it to access the logger providers’ methods.
More classes will be added in the future.
Planned: - MySQLLogger - Auth
Full documentation is available in the doc directory.
Tests are provided in the tests directory.
Support is available at: http://coderevision.com/forum/