Skip to content

Commit 1e06eed

Browse files
committed
Name changed
1 parent e3b4c3a commit 1e06eed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

45 files changed

+98
-98
lines changed

.travis/checkSyntax.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<?php
22

33
/**
4-
* @author Khoa Bui (khoaofgod) <khoaofgod@gmail.com> http://www.phpFastCache.com
4+
* @author Khoa Bui (khoaofgod) <khoaofgod@gmail.com> http://www.phpfastcache.com
55
* @author Georges.L (Geolim4) <contact@geolim4.com>
66
*/
77
function read_dir($dir, $ext = null)

CNAME

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
www.phpFastCache.com
1+
www.phpfastcache.com

README.md

+4-4
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1-
[![Code Climate](https://codeclimate.com/github/PHPSocialNetwork/phpFastCache/badges/gpa.svg)](https://codeclimate.com/github/PHPSocialNetwork/phpFastCache) [![Build Status](https://travis-ci.org/PHPSocialNetwork/phpFastCache.svg?branch=final)](https://travis-ci.org/PHPSocialNetwork/phpFastCache)
1+
[![Code Climate](https://codeclimate.com/github/PHPSocialNetwork/phpfastcache/badges/gpa.svg)](https://codeclimate.com/github/PHPSocialNetwork/phpfastcache) [![Build Status](https://travis-ci.org/PHPSocialNetwork/phpfastcache.svg?branch=final)](https://travis-ci.org/PHPSocialNetwork/phpfastcache)
22
---------------------------
33
Simple Yet Powerful PHP Caching Class
44
---------------------------
5-
More information at http://www.phpFastCache.com
5+
More information at http://www.phpfastcache.com
66
One Class uses for All Cache. You don't need to rewrite your code many times again.
77

88
Supported: Redis, Predis, Cookie, Files, MemCache, MemCached, APC, WinCache, X-Cache, PDO with SQLite
@@ -45,12 +45,12 @@ composer require phpFastCache/phpFastCache
4545

4646
#### Step 2: Setup your website code to implements phpFastCache bits
4747
```php
48-
use phpFastCache\Core\InstanceManager;
48+
use phpFastCache\Core\CacheManager;
4949

5050
// Include composer autoloader
5151
require '../vendor/autoload.php';
5252

53-
$cache = InstanceManager::getInstance();
53+
$cache = CacheManager::getInstance();
5454

5555
/**
5656
* Try to get $products from Caching First

composer.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,13 @@
33
"type" : "library",
44
"description": "PHP Cache Class - Supported Redis, Cookie, Predis, APC, MemCached, WinCache, Files, PDO, Reduce mySQL Call by Caching",
55
"keywords": ["cache","caching","php cache","mysql cache","apc cache","apc","memcache","memcached","wincache","files cache","pdo cache","cache class","redis","predis","cookie"],
6-
"homepage": "http://www.phpFastCache.com",
6+
"homepage": "http://www.phpfastcache.com",
77
"license": "MIT",
88
"authors": [
99
{
1010
"name": "Khoa Bui",
1111
"email": "khoaofgod@gmail.com",
12-
"homepage": "http://www.phpFastCache.com",
12+
"homepage": "http://www.phpfastcache.com",
1313
"role": "Developer"
1414
}
1515
],

examples/apc.php

+3-3
Original file line numberDiff line numberDiff line change
@@ -2,15 +2,15 @@
22
/**
33
* Welcome to Learn Lesson
44
* This is very Simple PHP Code of Caching
5-
* @author Khoa Bui (khoaofgod) <khoaofgod@gmail.com> http://www.phpFastCache.com
5+
* @author Khoa Bui (khoaofgod) <khoaofgod@gmail.com> http://www.phpfastcache.com
66
*/
77

8-
use phpFastCache\Core\InstanceManager;
8+
use phpFastCache\Core\CacheManager;
99

1010
// Include composer autoloader
1111
require '../vendor/autoload.php';
1212

13-
$InstanceCache = InstanceManager::getInstance('apc');
13+
$InstanceCache = CacheManager::getInstance('apc');
1414

1515
/**
1616
* Try to get $products from Caching First

examples/cookie.php

+3-3
Original file line numberDiff line numberDiff line change
@@ -2,15 +2,15 @@
22
/**
33
* Welcome to Learn Lesson
44
* This is very Simple PHP Code of Caching
5-
* @author Khoa Bui (khoaofgod) <khoaofgod@gmail.com> http://www.phpFastCache.com
5+
* @author Khoa Bui (khoaofgod) <khoaofgod@gmail.com> http://www.phpfastcache.com
66
*/
77

8-
use phpFastCache\Core\InstanceManager;
8+
use phpFastCache\Core\CacheManager;
99

1010
// Include composer autoloader
1111
require '../vendor/autoload.php';
1212

13-
$InstanceCache = InstanceManager::getInstance('cookie');
13+
$InstanceCache = CacheManager::getInstance('cookie');
1414

1515
/**
1616
* Try to get $products from Caching First

examples/files.php

+3-3
Original file line numberDiff line numberDiff line change
@@ -2,15 +2,15 @@
22
/**
33
* Welcome to Learn Lesson
44
* This is very Simple PHP Code of Caching
5-
* @author Khoa Bui (khoaofgod) <khoaofgod@gmail.com> http://www.phpFastCache.com
5+
* @author Khoa Bui (khoaofgod) <khoaofgod@gmail.com> http://www.phpfastcache.com
66
*/
77

8-
use phpFastCache\Core\InstanceManager;
8+
use phpFastCache\Core\CacheManager;
99

1010
// Include composer autoloader
1111
require '../vendor/autoload.php';
1212

13-
$InstanceCache = InstanceManager::getInstance('files'); // files option is implicit but we specify it this time
13+
$InstanceCache = CacheManager::getInstance('files'); // files option is implicit but we specify it this time
1414

1515
/**
1616
* Try to get $products from Caching First

examples/memcache.php

+3-3
Original file line numberDiff line numberDiff line change
@@ -2,15 +2,15 @@
22
/**
33
* Welcome to Learn Lesson
44
* This is very Simple PHP Code of Caching
5-
* @author Khoa Bui (khoaofgod) <khoaofgod@gmail.com> http://www.phpFastCache.com
5+
* @author Khoa Bui (khoaofgod) <khoaofgod@gmail.com> http://www.phpfastcache.com
66
*/
77

8-
use phpFastCache\Core\InstanceManager;
8+
use phpFastCache\Core\CacheManager;
99

1010
// Include composer autoloader
1111
require '../vendor/autoload.php';
1212

13-
$InstanceCache = InstanceManager::getInstance('memcache');
13+
$InstanceCache = CacheManager::getInstance('memcache');
1414

1515
/**
1616
* Try to get $products from Caching First

examples/memcached.php

+3-3
Original file line numberDiff line numberDiff line change
@@ -2,15 +2,15 @@
22
/**
33
* Welcome to Learn Lesson
44
* This is very Simple PHP Code of Caching
5-
* @author Khoa Bui (khoaofgod) <khoaofgod@gmail.com> http://www.phpFastCache.com
5+
* @author Khoa Bui (khoaofgod) <khoaofgod@gmail.com> http://www.phpfastcache.com
66
*/
77

8-
use phpFastCache\Core\InstanceManager;
8+
use phpFastCache\Core\CacheManager;
99

1010
// Include composer autoloader
1111
require '../vendor/autoload.php';
1212

13-
$InstanceCache = InstanceManager::getInstance('memcached');
13+
$InstanceCache = CacheManager::getInstance('memcached');
1414

1515
/**
1616
* Try to get $products from Caching First

examples/old_examples/1.example.php

+3-3
Original file line numberDiff line numberDiff line change
@@ -2,15 +2,15 @@
22
/**
33
* Welcome to Learn Lesson
44
* This is very Simple PHP Code of Caching
5-
* @author Khoa Bui (khoaofgod) <khoaofgod@gmail.com> http://www.phpFastCache.com
5+
* @author Khoa Bui (khoaofgod) <khoaofgod@gmail.com> http://www.phpfastcache.com
66
*/
77

8-
use phpFastCache\Core\InstanceManager;
8+
use phpFastCache\Core\CacheManager;
99

1010
// Include composer autoloader
1111
require '../vendor/autoload.php';
1212

13-
$cache = InstanceManager::getInstance();
13+
$cache = CacheManager::getInstance();
1414

1515
/**
1616
* Try to get $products from Caching First

examples/old_examples/2.example.php

+3-3
Original file line numberDiff line numberDiff line change
@@ -3,18 +3,18 @@
33
/**
44
* Welcome to Learn Lesson
55
* This is very Simple PHP Code of Caching
6-
* @author Khoa Bui (khoaofgod) <khoaofgod@gmail.com> http://www.phpFastCache.com
6+
* @author Khoa Bui (khoaofgod) <khoaofgod@gmail.com> http://www.phpfastcache.com
77
*/
88

99
// Require Library
10-
use phpFastCache\Core\InstanceManager;
10+
use phpFastCache\Core\CacheManager;
1111
use phpFastCache\Core\phpFastCache;
1212

1313
// Include composer autoloader
1414
require '../vendor/autoload.php';
1515

1616
// simple Caching with:
17-
$cache = InstanceManager::getInstance("redis");
17+
$cache = CacheManager::getInstance("redis");
1818

1919
if ($cache->fallback === true) {
2020
echo " USE BACK UP DRIVER = " . phpFastCache::$config[ 'fallback' ] . " <br>";

examples/old_examples/3.setup.php

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<?php
2-
use phpFastCache\Core\InstanceManager;
2+
use phpFastCache\Core\CacheManager;
33
use phpFastCache\Core\phpFastCache;
44

55
// Include composer autoloader
@@ -68,13 +68,13 @@
6868
// except storage
6969
);
7070

71-
$cache = InstanceManager::getInstance("files", $config); // this will be $config['storage'] up there;
71+
$cache = CacheManager::getInstance("files", $config); // this will be $config['storage'] up there;
7272

7373
// changing config example
7474
$cache->setup("path", "new_path");
7575

7676

77-
$cache2 = InstanceManager::getInstance("memcache"); // this will use memcache
77+
$cache2 = CacheManager::getInstance("memcache"); // this will use memcache
7878
$server = array(
7979
array("127.0.0.1", 11211, 1),
8080
);

examples/old_examples/4.travel.php

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
<?php
2-
use phpFastCache\Core\InstanceManager;
2+
use phpFastCache\Core\CacheManager;
33

44
// Include composer autoloader
55
require '../vendor/autoload.php';
66

7-
$cache = InstanceManager::getInstance();
7+
$cache = CacheManager::getInstance();
88

99

1010
// Now, this is magic
@@ -19,7 +19,7 @@
1919
* phpFastCache is free traveling
2020
*/
2121

22-
$cache = InstanceManager::getInstance("files");
22+
$cache = CacheManager::getInstance("files");
2323

2424
$cache->memcache->keyword = array("data", 300);
2525
$cache->sqlite->set("keyword", "data", 300);

examples/old_examples/5.functions.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
<?php
2-
use phpFastCache\Core\InstanceManager;
2+
use phpFastCache\Core\CacheManager;
33

44
// Include composer autoloader
55
require '../vendor/autoload.php';
66

7-
$cache = InstanceManager::getInstance();
7+
$cache = CacheManager::getInstance();
88

99
// Write into cache
1010
$cache->set("keyword", "data | array | object", 300);

examples/predis.php

+3-3
Original file line numberDiff line numberDiff line change
@@ -2,15 +2,15 @@
22
/**
33
* Welcome to Learn Lesson
44
* This is very Simple PHP Code of Caching
5-
* @author Khoa Bui (khoaofgod) <khoaofgod@gmail.com> http://www.phpFastCache.com
5+
* @author Khoa Bui (khoaofgod) <khoaofgod@gmail.com> http://www.phpfastcache.com
66
*/
77

8-
use phpFastCache\Core\InstanceManager;
8+
use phpFastCache\Core\CacheManager;
99

1010
// Include composer autoloader
1111
require '../vendor/autoload.php';
1212

13-
$InstanceCache = InstanceManager::getInstance('predis');
13+
$InstanceCache = CacheManager::getInstance('predis');
1414

1515
/**
1616
* Try to get $products from Caching First

examples/redis.php

+3-3
Original file line numberDiff line numberDiff line change
@@ -2,15 +2,15 @@
22
/**
33
* Welcome to Learn Lesson
44
* This is very Simple PHP Code of Caching
5-
* @author Khoa Bui (khoaofgod) <khoaofgod@gmail.com> http://www.phpFastCache.com
5+
* @author Khoa Bui (khoaofgod) <khoaofgod@gmail.com> http://www.phpfastcache.com
66
*/
77

8-
use phpFastCache\Core\InstanceManager;
8+
use phpFastCache\Core\CacheManager;
99

1010
// Include composer autoloader
1111
require '../vendor/autoload.php';
1212

13-
$InstanceCache = InstanceManager::getInstance('redis');
13+
$InstanceCache = CacheManager::getInstance('redis');
1414

1515
/**
1616
* Try to get $products from Caching First

examples/sqlite.php

+3-3
Original file line numberDiff line numberDiff line change
@@ -2,15 +2,15 @@
22
/**
33
* Welcome to Learn Lesson
44
* This is very Simple PHP Code of Caching
5-
* @author Khoa Bui (khoaofgod) <khoaofgod@gmail.com> http://www.phpFastCache.com
5+
* @author Khoa Bui (khoaofgod) <khoaofgod@gmail.com> http://www.phpfastcache.com
66
*/
77

8-
use phpFastCache\Core\InstanceManager;
8+
use phpFastCache\Core\CacheManager;
99

1010
// Include composer autoloader
1111
require '../vendor/autoload.php';
1212

13-
$InstanceCache = InstanceManager::getInstance('sqlite');
13+
$InstanceCache = CacheManager::getInstance('sqlite');
1414

1515
/**
1616
* Try to get $products from Caching First

examples/ssdb.php

+3-3
Original file line numberDiff line numberDiff line change
@@ -2,18 +2,18 @@
22
/**
33
* Welcome to Learn Lesson
44
* This is very Simple PHP Code of Caching
5-
* @author Khoa Bui (khoaofgod) <khoaofgod@gmail.com> http://www.phpFastCache.com
5+
* @author Khoa Bui (khoaofgod) <khoaofgod@gmail.com> http://www.phpfastcache.com
66
*/
77

8-
use phpFastCache\Core\InstanceManager;
8+
use phpFastCache\Core\CacheManager;
99

1010
// print_r(get_included_files());
1111
// print_r(get_loaded_extensions());
1212

1313
// Include composer autoloader
1414
require '../vendor/autoload.php';
1515

16-
$InstanceCache = InstanceManager::getInstance('ssdb');
16+
$InstanceCache = CacheManager::getInstance('ssdb');
1717

1818
/**
1919
* Try to get $products from Caching First

examples/xcache.php

+3-3
Original file line numberDiff line numberDiff line change
@@ -2,15 +2,15 @@
22
/**
33
* Welcome to Learn Lesson
44
* This is very Simple PHP Code of Caching
5-
* @author Khoa Bui (khoaofgod) <khoaofgod@gmail.com> http://www.phpFastCache.com
5+
* @author Khoa Bui (khoaofgod) <khoaofgod@gmail.com> http://www.phpfastcache.com
66
*/
77

8-
use phpFastCache\Core\InstanceManager;
8+
use phpFastCache\Core\CacheManager;
99

1010
// Include composer autoloader
1111
require '../vendor/autoload.php';
1212

13-
$InstanceCache = InstanceManager::getInstance('xcache');
13+
$InstanceCache = CacheManager::getInstance('xcache');
1414

1515
/**
1616
* Try to get $products from Caching First

readme/Doc Huong Dan.txt

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---------------------------
22
Simple Yet Powerful PHP Caching Class
33
---------------------------
4-
More information at http://www.phpFastCache.com
4+
More information at http://www.phpfastcache.com
55
One Class uses for All Cache. You don't need to rewrite your code many times again.
66

77
Supported: Redis, Predis, Cookie, Files, MemCache, MemCached, APC, WinCache, X-Cache, PDO with SQLite
@@ -12,7 +12,7 @@ Supported: Redis, Predis, Cookie, Files, MemCache, MemCached, APC, WinCache, X-C
1212
2. open phpFastCache.php for config & variable.
1313
3. PUT require_once("/PATH/TO/YOUR/phpFastCache/phpFastCache.php"); on your config files like wp-config.php, init.php ...etc and you are good to go.
1414
4. Learn fast, 10 minutes only, read folder /examples/* <-- everything is here. I will update more and more examples on futures.
15-
5. IF YOU GET INTO ANY PROBLEM, TRY TO POST AT www.phpFastCache.com -> Issues , I online everyday to help and keep tracks bugs. Most of the bugs fix in 12 - 24 hours.
15+
5. IF YOU GET INTO ANY PROBLEM, TRY TO POST AT www.phpfastcache.com -> Issues , I online everyday to help and keep tracks bugs. Most of the bugs fix in 12 - 24 hours.
1616

1717
#################################################################################################################
1818

readme/ReadMe.txt

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---------------------------
22
Simple Yet Powerful PHP Caching Class
33
---------------------------
4-
More information at http://www.phpFastCache.com
4+
More information at http://www.phpfastcache.com
55
One Class uses for All Cache. You don't need to rewrite your code many times again.
66

77
Supported: Redis, Predis, Cookie, Files, MemCache, MemCached, APC, WinCache, X-Cache, PDO with SQLite
@@ -12,7 +12,7 @@ Supported: Redis, Predis, Cookie, Files, MemCache, MemCached, APC, WinCache, X-C
1212
2. open phpFastCache.php for config & variable.
1313
3. PUT require_once("/PATH/TO/YOUR/phpFastCache/phpFastCache.php"); on your config files like wp-config.php, init.php ...etc and you are good to go.
1414
4. Learn fast, 10 minutes only, read folder /examples/* <-- everything is here. I will update more and more examples on futures.
15-
5. IF YOU GET INTO ANY PROBLEM, TRY TO POST AT www.phpFastCache.com -> Issues , I online everyday to help and keep tracks bugs. Most of the bugs fix in 12 - 24 hours.
15+
5. IF YOU GET INTO ANY PROBLEM, TRY TO POST AT www.phpfastcache.com -> Issues , I online everyday to help and keep tracks bugs. Most of the bugs fix in 12 - 24 hours.
1616

1717
#################################################################################################################
1818

readme/copyright & license.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
phpFastCache
22
------------------------------------------------
3-
Copyright 2013 - 2015 by phpFastCache.com
3+
Copyright 2013 - 2015 by phpfastcache.com
44
Author: khoaofgod@gmail.com
55

66
License Information:

0 commit comments

Comments
 (0)