-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
Hard dependency on gRPC in PHP might be problematic, so by relaxing the requirement we allow users to choose whether to install gRPC and instead check its presence runtime and throw exception if couchbase2:// protocol is being used while the extensions are not loaded.
- Loading branch information
Showing
3 changed files
with
14 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -16,14 +16,16 @@ | |
"email": "[email protected]" | ||
} | ||
], | ||
"require": { | ||
"ext-json": "*", | ||
"suggest": { | ||
"ext-grpc": "^1.15", | ||
"ext-protobuf": "^3.21", | ||
"google/protobuf": "^3.21", | ||
"grpc/grpc": "^1.42", | ||
"google/common-protos": "^3.1" | ||
}, | ||
"require": { | ||
"ext-json": "*" | ||
}, | ||
"require-dev": { | ||
"ext-sockets": "*", | ||
"phpunit/phpunit": "^9" | ||
|