{{ ossHeader }}
Japanese: 日本語
- A Momento Auth Token is required, you can generate one using the Momento CLI
- At least PHP 7
- The grpc PHP extension. See the gRPC docs section on installing the extension.
IDE Notes: You'll most likely want to use an IDE that supports PHP development, such as PhpStorm or Microsoft Visual Studio Code.
Check out full working code in the examples directory of this repository!
Install composer as described on the composer website.
Add our repository to your composer.json
file and our SDK as a dependency:
{
"repositories": [
{
"type": "vcs",
"url": "https://github.com/momentohq/client-sdk-php"
}
],
"require": {
"momentohq/client-sdk-php": "dev-main"
}
}
Run composer update
to install the necessary prerequisites.
Check out full working code in the examples directory of this repository!
Here is an example to get you started:
{{ usageExampleCode }}
Coming soon!
Coming soon!
{{ ossFooter }}