Download the PHP package realpage/simple-cache without Composer
On this page you can find all versions of the php package realpage/simple-cache. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download realpage/simple-cache
More information about realpage/simple-cache
Files in realpage/simple-cache
Package simple-cache
Short Description Simple caching based on the proposed PSR-16
License MIT
Homepage https://github.com/realpage/simple-cache
Informations about the package simple-cache
simple-cache
Simple implementation of the proposed psr-16 simplecache standard. It is recommended that you familiarize yourself with the proposal when using this package.
Install
Via Composer
Usage
Single values
Multiple values
Change log
Please see CHANGELOG for more information what has changed recently.
Testing
Tests for simple-cache are designed to be run against running instances of each of the available drivers. This means that we utilize Docker to run instances of each driver such as redis during testing. The following will start up all of the available drivers and run all of the available tests.
simple-cache centralizes most unit tests into a single trait that is used for
each driver's unit test. Each unit test simply implements a buildCache
method,
uses the CacheInterfaceTestCases
trait, and tests will be run for that driver.
The ArrayCacheTest
is a good example to understand the structure and trait usage.
Contributing
Please see CONDUCT for details.
Security
If you discover any security related issues, please email [email protected] instead of using the issue tracker.
Credits
- John Laswell
- All Contributors
License
The MIT License (MIT). Please see License File for more information.