Skip to content
/ stash Public
forked from tedious/Stash

Fork of tedivm/Stash compatible with PHP 5.2+

License

Notifications You must be signed in to change notification settings

php52/stash

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

stash Build Status

Fork of tedivm/Stash compatible with PHP 5.2+.

Motivation

tedivm/Stash is a fantastic caching library, but it's only compatible with PHP 5.3+. While 97% of PHP servers run PHP 5.2 or higher, 31% of all servers are still running PHP 5.2 or lower (source). It would be a shame to exempt this library from nearly a third of the world's servers just because of a few version incompatibilities.

Once PHP 5.3+ adoption levels near closer to 100%, this library will be retired.

Differences from tedivm/Stash

The primary difference is naming conventions of the tedivm/stash classes. Instead of the \Stash namespace (and sub-namespaces), prefix the tedivm/Stash class names with ehough_stash and follow the PEAR naming convention

A few examples of class naming conversions:

\Stash\Pool              ----->    ehough_stash_Pool
\Stash\Driver\Memcache   ----->    ehough_stash_driver_Memcache

Usage

Visit stash.tedivm.com for the current documentation.

Releases and Versioning

Releases are synchronized with the upstream tedivm repository. e.g. ehough/stash v0.10.5 has merged the code from tedivm/Stash v0.10.5.

About

Fork of tedivm/Stash compatible with PHP 5.2+

Resources

License

Stars

Watchers

Forks

Packages

No packages published