Merge requests are welcome but will require the tests plus the quality tools to pass:
(Commands must be run from the repository root)
composer run-script quality
composer run-script tests
# In case you want to fix the code style automatically:
./vendor/bin/phpcbf lib/ --report=summary
Support for this extension must be posted to the main Phpfastcache repository.
composer install phpfastcache/couchbasev4-extension
1️⃣ The PHP Couchbase
extension 4.x at least
2️⃣ The composer Couchbase/Couchbase
library 4.x at least
1️⃣ The PHP Posix
to fix a known Couchbase Extension bug PCBC-886.
Once this bug has been fixed the dependency suggestion will be removed.
If your application wants to fork the processes using pcntl_fork()
the Posix
extension is needed, and you want the fix to be enabled, set up the config like this:
$config = (new CouchbaseConfig())->setDoForkDetection(true);
2️⃣ Also the PHP Pcntl
if you plan to contribute to this project and run the tests before pushing your Merge Request.