PHP Classes

PHP Fast Cache: Store and get data from several cache containers

Recommend this page to a friend!
  Info   Example   Screenshots   View files Files   Install with Composer Install with Composer   Download Download   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
Not enough user ratingsTotal: 747 All time: 4,490 This week: 41Up
Version License PHP version Categories
php-fast-cache 624Freeware5.3PHP 5, Cache
Collaborate with this project 

Author

phpfastcache - github.com

Description

This class can store and get data from several cache containers.

It can store the value of a variable of any type in one of several supported cache storage container.

Currently it supports cache containers like: files, SQLite databases using PDO, Memcached, XCache, APC and WinCache.

Each cache entry is associated to a name, so it can retrieved using the same name until the cache expiry time is not reached.

The class can also check if a cache entry exists, increment or decrement cache values, delete given cache entries and clean all cache entries.

Picture of Khoa Bui
  Performance   Level  
Name: Khoa Bui <contact>
Classes: 2 packages by
Country: United States United States
Age: 35
All time rank: 893120 in United States United States
Week rank: 178 Up22 in United States United States Up

Example

<?php
include("php_fast_cache.php");
phpFastCache::$storage = "auto";

// ready ?
// check in case first

$content = phpFastCache::get("keyword1");

if(
$content == null) {
   
// for testing
   
echo "This is not caching, page is render with lot queires and slow speed <br>";
   
// do what you want, like get content from cURL | API | mySQL Query and return result to $content
   
$content = file_get_contents("http://www.phpfastcache.com/testing.php");

   
// rewrite cache for other request in 5 seconds
   
phpFastCache::set("keyword1",$content,5);
} else {
   
// use cache
    // node
   
echo "THIS TIME USE CACHE, FAST! <br>";
}

echo
"TRY F5 to refesh the page to see new SPEED with Cache!<br>";
echo
$content;


Details

Code Climate Build Status Latest Stable Version Total Downloads License

Simple Yet Powerful PHP Caching Class

More information at http://www.phpfastcache.com One Class uses for All Cache. You don't need to rewrite your code many times again.

Supported: SSDB, Redis, Predis, Cookie, Files, MemCache, MemCached, APC, WinCache, X-Cache, PDO with SQLite

Not a "Traditional" Caching

phpFastCache is not a traditional caching method which is keep read and write to files, sqlite or mass connections to memcache, redis, mongodb... phpFastCache use my unique caching method. When you use Files, and Sqlite, I am guarantee you still can get fast speed almost like memcache & redis for sure. Also, when you use Memcache / Memcached, your miss hits will be reduce. Different with normal caching methods which shared everywhere on internet, phpFastCache Lib reduce the high I/O load, and faster than traditional caching method at least x7 - 10 times. However, some time you still want to use traditional caching, we support them too.

use phpFastCache\CacheManager;

// Default value: is "phpfastcache" (fastest), you can change to "normal" or "memory" (fast)
CacheManager::CachingMethod("normal");

// Recommend: use phpfastcache to reduce files I/O & CPU Load, Memcached missing hits, and make redis and other connections become faster.
// If you get any error due to Server / Hosting, try to change to "memory" , act almost same way as "phpfastcache" but slower a little bit
// In bad situation, use "normal" as traditional caching method

Reduce Database Calls

Your website have 10,000 visitors who are online, and your dynamic page have to send 10,000 same queries to database on every page load. With phpFastCache, your page only send 1 query to DB, and use the cache to serve 9,999 other visitors.

Rich Development API

phpFastCache offers you a lot of usefull APIS:

  • get($keyword) // The getter, obviously, return your cache object
  • set($keyword, $something_your_want_to_cache, $time_as_second = 0) // The setter, for those who missed it, put 0 meant cache it forever
  • delete($keyword) // For removing a cached thing
  • clean() // Allow you to completely empty the cache and restart from the beginning
  • touch($keyword, $time_you_want_to_extend) // Allow you to extends the lifetime of an entry without altering the value
  • increment($keyword, $step = 1) // For integer that we can count on
  • decrement($keyword, $step = 1) // Redundant joke...
  • search($string_or_regex, $search_in_value = false | true) // Allow you to perform some search on the cache index
  • isExisting($keyword) // Check if your cache entry exists, it is the equivalent of isset()
  • stats() // Return the cache statistics, useful for checking disk space used by the cache etc.

Also support Multiple calls, Tagging, Setup Folder for caching. Look at our examples folders.

As Fast To Implement As Opening a Beer

:thumbsup: Step 1: Include phpFastCache in your project with composer:

composer require phpFastCache/phpFastCache

:construction: Step 2: Setup your website code to implements phpFastCache bits (With Composer)

use phpFastCache\CacheManager;

// require_once ('vendor/autoload.php');

$cache = CacheManager::Files();

// $cache = CacheManager::Memcached();
// phpFastCache supported: SSDB, Redis, Predis, Cookie, Files, MemCache, MemCached, APC, WinCache, XCache, SQLite
// $cache = CacheManager::getInstance("auto", $config);
// $cache = CacheManager::getInstance("memcached", $server_config);

/
 * Try to get $products from Caching First
 * product_page is "identity keyword";
 */
$key = "product_page";
$products = $cache->get($key);

if (is_null($products)) {
    $products = "DB QUERIES | FUNCTION_GET_PRODUCTS | ARRAY | STRING | OBJECTS";
    // Write products to Cache in 10 minutes with same keyword
    $cache->set($key, $products, 600);

    echo " --> NO CACHE ---> DB | Func | API RUN FIRST TIME ---> ";

} else {
    echo " --> USE CACHE --> SERV 10,000+ Visitors FROM CACHE ---> ";
}

/
 * use your products here or return it;
 */
echo $products;

:floppy_disk: Legacy / Lazy Method (Without Composer)

// In your config files
// require_once ('phpFastCache/src/autoload.php');

use phpFastCache\CacheManager;

// $cache = $cache = CacheManager::Files();
// $cache = phpFastCache();
// $cache = phpFastCache("files");
// $cache = phpFastCache("memcached");

/
 * Try to get $products from Caching First
 * product_page is "identity keyword";
 */
$key = "product_page";
// $products = $cache->get($key);
$products = CacheManager::get($key);
// CacheManager::set() , ::touch ::increment ::search ..etc, work same way without create new instance

// yet it's the same as autoload

:zap: Step 3: Enjoy ! Your website is now faster than flash !

For curious developpers, there is a lot of others available examples here.

:boom: phpFastCache support

Found an issue or had an idea ? Come here here and let you know !


Screenshots (1)  
  • screen
  Files folder image Files (346)  
File Role Description
Files folder imagedocs (2 files)
Files folder imageexamples (17 files, 1 directory)
Files folder imagesrc (1 file, 1 directory)
Files folder imagetests (3 files)
Plain text file php_fast_cache.php Class Main Cache File. Revision 621
Accessible without login Plain text file example.php Example Example
Accessible without login Plain text file .codeclimate.yml Doc. Documentation
Accessible without login Plain text file .travis.yml Data Auxiliary data
Accessible without login Plain text file CNAME Data Auxiliary data
Accessible without login Plain text file composer.json Data Auxiliary data
Accessible without login HTML file Detect_Real_IP.html Example Detect Real IP Address
Accessible without login Plain text file README.md Data Auxiliary data
Accessible without login Plain text file readme.txt Doc. Read it first
Accessible without login Plain text file testing.php Example Testing Function Cache

  Files folder image Files (346)  /  docs  
File Role Description
  Accessible without login Plain text file CREDITS.txt Doc. Documentation
  Accessible without login Plain text file LICENCE.txt Doc. Documentation

  Files folder image Files (346)  /  examples  
File Role Description
Files folder imagelegacy_examples (7 files)
  Plain text file apc.php Class Class source
  Plain text file cookie.php Class Class source
  Plain text file files.php Class Class source
  Plain text file global.setup.php Class Class source
  Plain text file index.php Class Class source
  Plain text file LazyMethod.php Class Class source
  Plain text file memcache.php Class Class source
  Plain text file memcached.php Class Class source
  Plain text file predis.php Class Class source
  Plain text file redis.php Class Class source
  Plain text file Search.YourCaching.php Class Class source
  Plain text file sqlite.php Class Class source
  Plain text file ssdb.php Class Class source
  Plain text file Tags.YourCaching.php Class Class source
  Plain text file Testing.php Class Class source
  Plain text file Unicode.Caching.php Class Class source
  Plain text file xcache.php Class Class source

  Files folder image Files (346)  /  examples  /  legacy_examples  
File Role Description
  Plain text file 1.example.php Class Class source
  Plain text file 2.example.php Class Class source
  Plain text file 3.setup.php Class Class source
  Plain text file 4.travel.php Class Class source
  Plain text file 5.functions.php Class Class source
  Plain text file 6.systeminfo.php Class Class source
  Plain text file readme_legacy.php Class Class source

  Files folder image Files (346)  /  src  
File Role Description
Files folder imagephpFastCache (1 file, 7 directories)
  Plain text file autoload.php Class Class source

  Files folder image Files (346)  /  src  /  phpFastCache  
File Role Description
Files folder imageCore (4 files)
Files folder imageDrivers (13 files)
Files folder imageExceptions (2 files)
Files folder imageLegacy (1 file)
Files folder imagePlugins (1 file)
Files folder imageUtil (1 file)
Files folder image_extensions (1 file, 1 directory)
  Plain text file CacheManager.php Class Class source

  Files folder image Files (346)  /  src  /  phpFastCache  /  Core  
File Role Description
  Plain text file DriverAbstract.php Class Class source
  Plain text file DriverInterface.php Class Class source
  Plain text file phpFastCache.php Class Class source
  Plain text file phpFastCacheExtensions.php Class Class source

  Files folder image Files (346)  /  src  /  phpFastCache  /  Drivers  
File Role Description
  Plain text file apc.php Class Class source
  Plain text file cookie.php Class Class source
  Plain text file example.php Class Class source
  Plain text file files.php Class Class source
  Plain text file memcache.php Class Class source
  Plain text file memcached.php Class Class source
  Plain text file mongodb.php Class Class source
  Plain text file predis.php Class Class source
  Plain text file redis.php Class Class source
  Plain text file sqlite.php Class Class source
  Plain text file ssdb.php Class Class source
  Plain text file wincache.php Class Class source
  Plain text file xcache.php Class Class source

  Files folder image Files (346)  /  src  /  phpFastCache  /  Exceptions  
File Role Description
  Plain text file phpFastCacheCoreException.php Class Class source
  Plain text file phpFastCacheDriverException.php Class Class source

  Files folder image Files (346)  /  src  /  phpFastCache  /  Legacy  
File Role Description
  Plain text file aliases.php Class Class source

  Files folder image Files (346)  /  src  /  phpFastCache  /  Plugins  
File Role Description
  Plain text file CronClearFiles.php Class Class source

  Files folder image Files (346)  /  src  /  phpFastCache  /  Util  
File Role Description
  Plain text file Languages.php Class Class source

  Files folder image Files (346)  /  src  /  phpFastCache  /  _extensions  
File Role Description
Files folder imagepredis-1.0 (9 files, 2 directories)
  Plain text file SSDB.php Class Class source

  Files folder image Files (346)  /  src  /  phpFastCache  /  _extensions  /  predis-1.0  
File Role Description
Files folder imageexamples (15 files)
Files folder imagesrc (8 files, 14 directories)
  Plain text file autoload.php Class Class source
  Accessible without login Plain text file CHANGELOG.md Data Auxiliary data
  Accessible without login Plain text file composer.json Data Auxiliary data
  Accessible without login Plain text file CONTRIBUTING.md Data Auxiliary data
  Accessible without login Plain text file FAQ.md Data Auxiliary data
  Accessible without login Plain text file LICENSE Data Auxiliary data
  Accessible without login Plain text file package.ini Data Auxiliary data
  Accessible without login Plain text file README.md Data Auxiliary data
  Accessible without login Plain text file VERSION Data Auxiliary data

  Files folder image Files (346)  /  src  /  phpFastCache  /  _extensions  /  predis-1.0  /  examples  
File Role Description
  Plain text file custom_cluster_distributor.php Class Class source
  Plain text file debuggable_connection.php Class Class source
  Plain text file dispatcher_loop.php Class Class source
  Plain text file executing_redis_commands.php Class Class source
  Plain text file key_prefixing.php Class Class source
  Plain text file lua_scripting_abstraction.php Class Class source
  Plain text file monitor_consumer.php Class Class source
  Plain text file pipelining_commands.php Class Class source
  Plain text file pubsub_consumer.php Class Class source
  Plain text file redis_collections_iterators.php Class Class source
  Plain text file replication_complex.php Class Class source
  Plain text file replication_simple.php Class Class source
  Plain text file session_handler.php Class Class source
  Plain text file shared.php Class Class source
  Plain text file transaction_using_cas.php Class Class source

  Files folder image Files (346)  /  src  /  phpFastCache  /  _extensions  /  predis-1.0  /  src  
File Role Description
Files folder imageCluster (4 files, 2 directories)
Files folder imageCollection (1 directory)
Files folder imageCommand (155 files, 1 directory)
Files folder imageConfiguration (9 files)
Files folder imageConnection (15 files, 1 directory)
Files folder imageMonitor (1 file)
Files folder imagePipeline (4 files)
Files folder imageProfile (10 files)
Files folder imageProtocol (4 files, 1 directory)
Files folder imagePubSub (3 files)
Files folder imageReplication (1 file)
Files folder imageResponse (5 files, 1 directory)
Files folder imageSession (1 file)
Files folder imageTransaction (3 files)
  Plain text file Autoloader.php Class Class source
  Plain text file Client.php Class Class source
  Plain text file ClientContextInterface.php Class Class source
  Plain text file ClientException.php Class Class source
  Plain text file ClientInterface.php Class Class source
  Plain text file CommunicationException.php Class Class source
  Plain text file NotSupportedException.php Class Class source
  Plain text file PredisException.php Class Class source

  Files folder image Files (346)  /  src  /  phpFastCache  /  _extensions  /  predis-1.0  /  src  /  Cluster  
File Role Description
Files folder imageDistributor (4 files)
Files folder imageHash (2 files)
  Plain text file ClusterStrategy.php Class Class source
  Plain text file PredisStrategy.php Class Class source
  Plain text file RedisStrategy.php Class Class source
  Plain text file StrategyInterface.php Class Class source

  Files folder image Files (346)  /  src  /  phpFastCache  /  _extensions  /  predis-1.0  /  src  /  Cluster  /  Distributor  
File Role Description
  Plain text file DistributorInterface.php Class Class source
  Plain text file EmptyRingException.php Class Class source
  Plain text file HashRing.php Class Class source
  Plain text file KetamaRing.php Class Class source

  Files folder image Files (346)  /  src  /  phpFastCache  /  _extensions  /  predis-1.0  /  src  /  Cluster  /  Hash  
File Role Description
  Plain text file CRC16.php Class Class source
  Plain text file HashGeneratorInterface.php Class Class source

  Files folder image Files (346)  /  src  /  phpFastCache  /  _extensions  /  predis-1.0  /  src  /  Collection  
File Role Description
Files folder imageIterator (6 files)

  Files folder image Files (346)  /  src  /  phpFastCache  /  _extensions  /  predis-1.0  /  src  /  Collection  /  Iterator  
File Role Description
  Plain text file CursorBasedIterator.php Class Class source
  Plain text file HashKey.php Class Class source
  Plain text file Keyspace.php Class Class source
  Plain text file ListKey.php Class Class source
  Plain text file SetKey.php Class Class source
  Plain text file SortedSetKey.php Class Class source

  Files folder image Files (346)  /  src  /  phpFastCache  /  _extensions  /  predis-1.0  /  src  /  Command  
File Role Description
Files folder imageProcessor (3 files)
  Plain text file Command.php Class Class source
  Plain text file CommandInterface.php Class Class source
  Plain text file ConnectionAuth.php Class Class source
  Plain text file ConnectionEcho.php Class Class source
  Plain text file ConnectionPing.php Class Class source
  Plain text file ConnectionQuit.php Class Class source
  Plain text file ConnectionSelect.php Class Class source
  Plain text file HashDelete.php Class Class source
  Plain text file HashExists.php Class Class source
  Plain text file HashGet.php Class Class source
  Plain text file HashGetAll.php Class Class source
  Plain text file HashGetMultiple.php Class Class source
  Plain text file HashIncrementBy.php Class Class source
  Plain text file HashIncrementByFloat.php Class Class source
  Plain text file HashKeys.php Class Class source
  Plain text file HashLength.php Class Class source
  Plain text file HashScan.php Class Class source
  Plain text file HashSet.php Class Class source
  Plain text file HashSetMultiple.php Class Class source
  Plain text file HashSetPreserve.php Class Class source
  Plain text file HashValues.php Class Class source
  Plain text file HyperLogLogAdd.php Class Class source
  Plain text file HyperLogLogCount.php Class Class source
  Plain text file HyperLogLogMerge.php Class Class source
  Plain text file KeyDelete.php Class Class source
  Plain text file KeyDump.php Class Class source
  Plain text file KeyExists.php Class Class source
  Plain text file KeyExpire.php Class Class source
  Plain text file KeyExpireAt.php Class Class source
  Plain text file KeyKeys.php Class Class source
  Plain text file KeyMove.php Class Class source
  Plain text file KeyPersist.php Class Class source
  Plain text file KeyPreciseExpire.php Class Class source
  Plain text file KeyPreciseExpireAt.php Class Class source
  Plain text file KeyPreciseTimeToLive.php Class Class source
  Plain text file KeyRandom.php Class Class source
  Plain text file KeyRename.php Class Class source
  Plain text file KeyRenamePreserve.php Class Class source
  Plain text file KeyRestore.php Class Class source
  Plain text file KeyScan.php Class Class source
  Plain text file KeySort.php Class Class source
  Plain text file KeyTimeToLive.php Class Class source
  Plain text file KeyType.php Class Class source
  Plain text file ListIndex.php Class Class source
  Plain text file ListInsert.php Class Class source
  Plain text file ListLength.php Class Class source
  Plain text file ListPopFirst.php Class Class source
  Plain text file ListPopFirstBlocking.php Class Class source
  Plain text file ListPopLast.php Class Class source
  Plain text file ListPopLastBlocking.php Class Class source
  Plain text file ListPopLastPushHead.php Class Class source
  Plain text file ListPopLastPushHeadBlocking.php Class Class source
  Plain text file ListPushHead.php Class Class source
  Plain text file ListPushHeadX.php Class Class source
  Plain text file ListPushTail.php Class Class source
  Plain text file ListPushTailX.php Class Class source
  Plain text file ListRange.php Class Class source
  Plain text file ListRemove.php Class Class source
  Plain text file ListSet.php Class Class source
  Plain text file ListTrim.php Class Class source
  Plain text file PrefixableCommandInterface.php Class Class source
  Plain text file PubSubPublish.php Class Class source
  Plain text file PubSubPubsub.php Class Class source
  Plain text file PubSubSubscribe.php Class Class source
  Plain text file PubSubSubscribeByPattern.php Class Class source
  Plain text file PubSubUnsubscribe.php Class Class source
  Plain text file PubSubUnsubscribeByPattern.php Class Class source
  Plain text file RawCommand.php Class Class source
  Plain text file ScriptCommand.php Class Class source
  Plain text file ServerBackgroundRewriteAOF.php Class Class source
  Plain text file ServerBackgroundSave.php Class Class source
  Plain text file ServerClient.php Class Class source
  Plain text file ServerCommand.php Class Class source
  Plain text file ServerConfig.php Class Class source
  Plain text file ServerDatabaseSize.php Class Class source
  Plain text file ServerEval.php Class Class source
  Plain text file ServerEvalSHA.php Class Class source
  Plain text file ServerFlushAll.php Class Class source
  Plain text file ServerFlushDatabase.php Class Class source
  Plain text file ServerInfo.php Class Class source
  Plain text file ServerInfoV26x.php Class Class source
  Plain text file ServerLastSave.php Class Class source
  Plain text file ServerMonitor.php Class Class source
  Plain text file ServerObject.php Class Class source
  Plain text file ServerSave.php Class Class source
  Plain text file ServerScript.php Class Class source
  Plain text file ServerSentinel.php Class Class source
  Plain text file ServerShutdown.php Class Class source
  Plain text file ServerSlaveOf.php Class Class source
  Plain text file ServerSlowlog.php Class Class source
  Plain text file ServerTime.php Class Class source
  Plain text file SetAdd.php Class Class source
  Plain text file SetCardinality.php Class Class source
  Plain text file SetDifference.php Class Class source
  Plain text file SetDifferenceStore.php Class Class source
  Plain text file SetIntersection.php Class Class source
  Plain text file SetIntersectionStore.php Class Class source
  Plain text file SetIsMember.php Class Class source
  Plain text file SetMembers.php Class Class source
  Plain text file SetMove.php Class Class source
  Plain text file SetPop.php Class Class source
  Plain text file SetRandomMember.php Class Class source
  Plain text file SetRemove.php Class Class source
  Plain text file SetScan.php Class Class source
  Plain text file SetUnion.php Class Class source
  Plain text file SetUnionStore.php Class Class source
  Plain text file StringAppend.php Class Class source
  Plain text file StringBitCount.php Class Class source
  Plain text file StringBitOp.php Class Class source
  Plain text file StringBitPos.php Class Class source
  Plain text file StringDecrement.php Class Class source
  Plain text file StringDecrementBy.php Class Class source
  Plain text file StringGet.php Class Class source
  Plain text file StringGetBit.php Class Class source
  Plain text file StringGetMultiple.php Class Class source
  Plain text file StringGetRange.php Class Class source
  Plain text file StringGetSet.php Class Class source
  Plain text file StringIncrement.php Class Class source
  Plain text file StringIncrementBy.php Class Class source
  Plain text file StringIncrementByFloat.php Class Class source
  Plain text file StringPreciseSetExpire.php Class Class source
  Plain text file StringSet.php Class Class source
  Plain text file StringSetBit.php Class Class source
  Plain text file StringSetExpire.php Class Class source
  Plain text file StringSetMultiple.php Class Class source
  Plain text file StringSetMultiplePreserve.php Class Class source
  Plain text file StringSetPreserve.php Class Class source
  Plain text file StringSetRange.php Class Class source
  Plain text file StringStrlen.php Class Class source
  Plain text file StringSubstr.php Class Class source
  Plain text file TransactionDiscard.php Class Class source
  Plain text file TransactionExec.php Class Class source
  Plain text file TransactionMulti.php Class Class source
  Plain text file TransactionUnwatch.php Class Class source
  Plain text file TransactionWatch.php Class Class source
  Plain text file ZSetAdd.php Class Class source
  Plain text file ZSetCardinality.php Class Class source
  Plain text file ZSetCount.php Class Class source
  Plain text file ZSetIncrementBy.php Class Class source
  Plain text file ZSetIntersectionStore.php Class Class source
  Plain text file ZSetLexCount.php Class Class source
  Plain text file ZSetRange.php Class Class source
  Plain text file ZSetRangeByLex.php Class Class source
  Plain text file ZSetRangeByScore.php Class Class source
  Plain text file ZSetRank.php Class Class source
  Plain text file ZSetRemove.php Class Class source
  Plain text file ZSetRemoveRangeByLex.php Class Class source
  Plain text file ZSetRemoveRangeByRank.php Class Class source
  Plain text file ZSetRemoveRangeByScore.php Class Class source
  Plain text file ZSetReverseRange.php Class Class source
  Plain text file ZSetReverseRangeByScore.php Class Class source
  Plain text file ZSetReverseRank.php Class Class source
  Plain text file ZSetScan.php Class Class source
  Plain text file ZSetScore.php Class Class source
  Plain text file ZSetUnionStore.php Class Class source

  Files folder image Files (346)  /  src  /  phpFastCache  /  _extensions  /  predis-1.0  /  src  /  Command  /  Processor  
File Role Description
  Plain text file KeyPrefixProcessor.php Class Class source
  Plain text file ProcessorChain.php Class Class source
  Plain text file ProcessorInterface.php Class Class source

  Files folder image Files (346)  /  src  /  phpFastCache  /  _extensions  /  predis-1.0  /  src  /  Configuration  
File Role Description
  Plain text file ClusterOption.php Class Class source
  Plain text file ConnectionFactoryOption.php Class Class source
  Plain text file ExceptionsOption.php Class Class source
  Plain text file OptionInterface.php Class Class source
  Plain text file Options.php Class Class source
  Plain text file OptionsInterface.php Class Class source
  Plain text file PrefixOption.php Class Class source
  Plain text file ProfileOption.php Class Class source
  Plain text file ReplicationOption.php Class Class source

  Files folder image Files (346)  /  src  /  phpFastCache  /  _extensions  /  predis-1.0  /  src  /  Connection  
File Role Description
Files folder imageAggregate (5 files)
  Plain text file AbstractConnection.php Class Class source
  Plain text file AggregateConnectionInterface.php Class Class source
  Plain text file CompositeConnectionInterface.php Class Class source
  Plain text file CompositeStreamConnection.php Class Class source
  Plain text file ConnectionException.php Class Class source
  Plain text file ConnectionInterface.php Class Class source
  Plain text file Factory.php Class Class source
  Plain text file FactoryInterface.php Class Class source
  Plain text file NodeConnectionInterface.php Class Class source
  Plain text file Parameters.php Class Class source
  Plain text file ParametersInterface.php Class Class source
  Plain text file PhpiredisSocketConnection.php Class Class source
  Plain text file PhpiredisStreamConnection.php Class Class source
  Plain text file StreamConnection.php Class Class source
  Plain text file WebdisConnection.php Class Class source

  Files folder image Files (346)  /  src  /  phpFastCache  /  _extensions  /  predis-1.0  /  src  /  Connection  /  Aggregate  
File Role Description
  Plain text file ClusterInterface.php Class Class source
  Plain text file MasterSlaveReplication.php Class Class source
  Plain text file PredisCluster.php Class Class source
  Plain text file RedisCluster.php Class Class source
  Plain text file ReplicationInterface.php Class Class source

  Files folder image Files (346)  /  src  /  phpFastCache  /  _extensions  /  predis-1.0  /  src  /  Monitor  
File Role Description
  Plain text file Consumer.php Class Class source

  Files folder image Files (346)  /  src  /  phpFastCache  /  _extensions  /  predis-1.0  /  src  /  Pipeline  
File Role Description
  Plain text file Atomic.php Class Class source
  Plain text file ConnectionErrorProof.php Class Class source
  Plain text file FireAndForget.php Class Class source
  Plain text file Pipeline.php Class Class source

  Files folder image Files (346)  /  src  /  phpFastCache  /  _extensions  /  predis-1.0  /  src  /  Profile  
File Role Description
  Plain text file Factory.php Class Class source
  Plain text file ProfileInterface.php Class Class source
  Plain text file RedisProfile.php Class Class source
  Plain text file RedisUnstable.php Class Class source
  Plain text file RedisVersion200.php Class Class source
  Plain text file RedisVersion220.php Class Class source
  Plain text file RedisVersion240.php Class Class source
  Plain text file RedisVersion260.php Class Class source
  Plain text file RedisVersion280.php Class Class source
  Plain text file RedisVersion300.php Class Class source

  Files folder image Files (346)  /  src  /  phpFastCache  /  _extensions  /  predis-1.0  /  src  /  Protocol  
File Role Description
Files folder imageText (4 files, 1 directory)
  Plain text file ProtocolException.php Class Class source
  Plain text file ProtocolProcessorInterface.php Class Class source
  Plain text file RequestSerializerInterface.php Class Class source
  Plain text file ResponseReaderInterface.php Class Class source

  Files folder image Files (346)  /  src  /  phpFastCache  /  _extensions  /  predis-1.0  /  src  /  Protocol  /  Text  
File Role Description
Files folder imageHandler (7 files)
  Plain text file CompositeProtocolProcessor.php Class Class source
  Plain text file ProtocolProcessor.php Class Class source
  Plain text file RequestSerializer.php Class Class source
  Plain text file ResponseReader.php Class Class source

  Files folder image Files (346)  /  src  /  phpFastCache  /  _extensions  /  predis-1.0  /  src  /  Protocol  /  Text  /  Handler  
File Role Description
  Plain text file BulkResponse.php Class Class source
  Plain text file ErrorResponse.php Class Class source
  Plain text file IntegerResponse.php Class Class source
  Plain text file MultiBulkResponse.php Class Class source
  Plain text file ResponseHandlerInterface.php Class Class source
  Plain text file StatusResponse.php Class Class source
  Plain text file StreamableMultiBulkResponse.php Class Class source

  Files folder image Files (346)  /  src  /  phpFastCache  /  _extensions  /  predis-1.0  /  src  /  PubSub  
File Role Description
  Plain text file AbstractConsumer.php Class Class source
  Plain text file Consumer.php Class Class source
  Plain text file DispatcherLoop.php Class Class source

  Files folder image Files (346)  /  src  /  phpFastCache  /  _extensions  /  predis-1.0  /  src  /  Replication  
File Role Description
  Plain text file ReplicationStrategy.php Class Class source

  Files folder image Files (346)  /  src  /  phpFastCache  /  _extensions  /  predis-1.0  /  src  /  Response  
File Role Description
Files folder imageIterator (3 files)
  Plain text file Error.php Class Class source
  Plain text file ErrorInterface.php Class Class source
  Plain text file ResponseInterface.php Class Class source
  Plain text file ServerException.php Class Class source
  Plain text file Status.php Class Class source

  Files folder image Files (346)  /  src  /  phpFastCache  /  _extensions  /  predis-1.0  /  src  /  Response  /  Iterator  
File Role Description
  Plain text file MultiBulk.php Class Class source
  Plain text file MultiBulkIterator.php Class Class source
  Plain text file MultiBulkTuple.php Class Class source

  Files folder image Files (346)  /  src  /  phpFastCache  /  _extensions  /  predis-1.0  /  src  /  Session  
File Role Description
  Plain text file Handler.php Class Class source

  Files folder image Files (346)  /  src  /  phpFastCache  /  _extensions  /  predis-1.0  /  src  /  Transaction  
File Role Description
  Plain text file AbortedMultiExecException.php Class Class source
  Plain text file MultiExec.php Class Class source
  Plain text file MultiExecState.php Class Class source

  Files folder image Files (346)  /  tests  
File Role Description
  Plain text file Autoload.test.php Class Class source
  Plain text file NewCacheInstance.test.php Class Class source
  Plain text file SyntaxChecker.test.php Class Class source

The PHP Classes site has supported package installation using the Composer tool since 2013, as you may verify by reading this instructions page.
Install with Composer Install with Composer
 Version Control Unique User Downloads Download Rankings  
 98%
Total:747
This week:0
All time:4,490
This week:41Up
User Comments (1)
GOOOOOOOOOOOOOOODDDD!!!!!!!!!! )))))
9 years ago (????????? ???????????)
80%StarStarStarStarStar