Skip to content

Commit

Permalink
Announced new extension "Ravendb"
Browse files Browse the repository at this point in the history
  • Loading branch information
Geolim4 committed Jan 10, 2024
1 parent 57850f1 commit 798f658
Show file tree
Hide file tree
Showing 6 changed files with 22 additions and 12 deletions.
3 changes: 3 additions & 0 deletions .github/ISSUE_TEMPLATE/bug-report-extension.yml
Expand Up @@ -31,7 +31,10 @@ body:
- Arangodb
- Couchbasev4
- Couchdb
- Dynamodb
- Firestore
- Mongodb
- Ravendb
- Solr
validations:
required: true
Expand Down
5 changes: 5 additions & 0 deletions CHANGELOG.md
@@ -1,3 +1,8 @@
## 9.2.2
##### 10 january 2024
- __Core__
- Added internal proxy class

## 9.2.1
##### 07 january 2024
- __Misc__
Expand Down
12 changes: 6 additions & 6 deletions README.md
Expand Up @@ -3,7 +3,7 @@

#### :warning: Please note that the V9 is mostly a PHP 8 type aware update of Phpfastcache with some significant changes !
> As the V9 is **relatively** not compatible with previous versions, please read carefully the [migration guide](./docs/migration/MigratingFromV8ToV9.md) to ensure you the smoothest migration possible.
One of the biggest change is the configuration system which is now an object that replace the primitive array that we used to implement back then.
One of the biggest changes is the configuration system which is now an object that replace the primitive array that we used to implement back then.
Also, please note that the V9 requires at least PHP 8 or higher to works properly.

---------------------------
Expand All @@ -24,15 +24,15 @@ The simplicity of abstraction: One class for many backend cache. You don't need
| `Leveldb` _(Core)_ | `Couchdb` _([Extension](https://github.com/PHPSocialNetwork/couchdb-extension))_ | | |
| `Memcache(d)` _(Core)_ | `Mongodb` _([Extension](https://github.com/PHPSocialNetwork/mongodb-extension))_ | | |
| `Solr` _([Extension](https://github.com/PHPSocialNetwork/solr-extension))_ | `Predis` _(Core)_ | | |
| `Sqlite` _(Core)_ | `Redis`/`RedisCluster` _(Core)_ | | |
| `Wincache` _(Core)_ <br>(**Deprecated** as of v9.2, will be removed as of v10) | `Ssdb` _(Core)_ | | |
| `Zend Disk Cache` _(Core)_ | `Zend Memory Cache` _(Core)_ | | |
| | | | |
| `Sqlite` _(Core)_ | `Ravendb` _([Extension](https://github.com/PHPSocialNetwork/ravendb-extension)) | | |
| `Wincache` _(Core)_ <br>(**Deprecated** as of v9.2, will be removed as of v10) | `Redis`/`RedisCluster` _(Core)_ | | |
| `Zend Disk Cache` _(Core)_ | `Ssdb` _(Core)_ | | |
| | `Zend Memory Cache` _(Core)_ | | |

\* Driver descriptions available in [DOCS/DRIVERS.md](./docs/DRIVERS.md)

:new: As of v9.2 a new Couchbase extension has been released: [Couchbasev4](https://github.com/PHPSocialNetwork/couchbasev4-extension)

Also a new driver extension has been added: `Ravendb`. The driver will be **actively developed** in the feature to allow better fine-grained configuration.
This new extension **is the beginning of a new era** for Phpfastcache along with some others:\
Many drivers has been moved from the core to their own sub-repository as a standalone extension: `Arangodb`, `Couchdb`, `Dynamodb`, `Firestore`, `Mongodb`, `Solr`.\
They can be easily added through composer, ex: `composer install phpfastcache/couchbasev4-extension`
Expand Down
4 changes: 2 additions & 2 deletions composer.json
@@ -1,8 +1,8 @@
{
"name": "phpfastcache/phpfastcache",
"type" : "library",
"description": "PHP Abstract Cache Class - Reduce your database call using cache system. Phpfastcache handles a lot of drivers such as Apc(u), Cassandra, CouchBase, Couchdb, Dynamodb, Firestore, Mongodb, Files, (P)redis, Leveldb, Memcache(d), Ssdb, Sqlite, Wincache, Xcache, Zend Data Cache.",
"keywords": ["abstract", "cache","caching","php cache","mysql cache","apc","apcu","arangodb","dynamodb","firestore","memcache","memcached","wincache","files cache","pdo cache","cache class","redis","redis cluster","predis","cookie", "mongodb", "cassandra", "couchdb", "couchbase", "LevelDb", "Solr", "Ssdb", "Wincache", "xcache","zend","zend disk cache","zend memory cache","zend data cache","zend server"],
"description": "PHP Abstract Cache Class - Reduce your database call using cache system. Phpfastcache handles a lot of drivers such as Apc(u), Cassandra, CouchBase, Couchdb, Dynamodb, Firestore, Mongodb, Files, (P)redis, Leveldb, Memcache(d), Ravendb, Ssdb, Sqlite, Wincache, Xcache, Zend Data Cache.",
"keywords": ["abstract", "cache","caching","php cache","mysql cache","apc","apcu","arangodb","dynamodb","firestore","memcache","memcached","wincache","files cache","pdo cache","cache class","redis","redis cluster","predis","cookie", "mongodb", "cassandra", "couchdb", "couchbase", "LevelDb", "ravendb", "Solr", "Ssdb", "Wincache", "xcache","zend","zend disk cache","zend memory cache","zend data cache","zend server"],
"homepage": "https://www.phpfastcache.com",
"license": "MIT",
"readme": "README.md",
Expand Down
7 changes: 5 additions & 2 deletions docs/DRIVERS.md
Expand Up @@ -51,21 +51,24 @@
* :new: Is now a composer extension separated from the Phpfastcache core as of v9.2: `phpfastcache/mongodb-extension`
* Predis
* A high-performance memory driver using a in-memory data structure storage. Less efficient than Redis driver as it is an embedded library.
* Ravendb **(Added in v9.2)**
* A Ravendb driver that use the `ravendb/ravendb-php-client` client for good performances.
* :new: It is a composer extension separated from the Phpfastcache core as of v9.2: `phpfastcache/ravendb-extension`
* Redis/Rediscluster
* A very high-performance memory driver using a in-memory data structure storage. More efficient than Predis driver as it is an compiled library.
* RedisCluster use the RedisCluster class with a different driver name but behave slightly differently than Redis driver.
* Riak **(REMOVED in v8.0.6)**
* A very high-performance NoSQL driver using a key-value pair system.
* Solr **(Added in v9.1)**
* A Solr driver that use Solarium as PHP client for good performances.
* :new: Is now a composer extension separated from the Phpfastcache core as of v9.2: `phpfastcache/solr-extension`
* :new: It is now a composer extension separated from the Phpfastcache core as of v9.2: `phpfastcache/solr-extension`
* Sqlite
* A Sqlite driver that use serialization for storing data for regular performances. A _$path_ config must be specified, else the system temporary directory will be used.
* Ssdb
* A very high-performance NoSQL driver using a key-value pair system.
* Wincache
* The Wincache driver. A memory cache for regular performances on Windows platforms.
* Will be removed in v10 due to the lack of updates to PHP8 [as officially stated by PHP](https://www.php.net/manual/en/install.windows.recommended.php).
* **Will be removed in v10** due to the lack of updates to PHP8 [as officially stated by PHP](https://www.php.net/manual/en/install.windows.recommended.php).
* Xcache **(REMOVED in v8)**
* The Xcache driver. A memory cache for regular performances.
* Zend Disk Cache ( * Requires ZendServer Version 4 or higher * )
Expand Down
3 changes: 1 addition & 2 deletions lib/Phpfastcache/ExtensionManager.php
Expand Up @@ -18,8 +18,6 @@

use Phpfastcache\Exceptions\PhpfastcacheExtensionNotFoundException;
use Phpfastcache\Exceptions\PhpfastcacheInvalidArgumentException;
use Phpfastcache\Exceptions\PhpfastcacheLogicException;
use Phpfastcache\Exceptions\PhpfastcacheUnsupportedOperationException;
use Phpfastcache\Helper\UninstanciableObjectTrait;

/**
Expand All @@ -37,6 +35,7 @@ final class ExtensionManager
'Dynamodb',
'Firestore',
'Mongodb',
'Ravendb',
'Solr'
];

Expand Down

0 comments on commit 798f658

Please sign in to comment.