Skip to content

Latest commit

 

History

History
59 lines (38 loc) · 1.37 KB

README.template.md

File metadata and controls

59 lines (38 loc) · 1.37 KB

{{ ossHeader }}

Japanese: 日本語

Getting Started 🏃

Requirements

  • 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.

Examples

Check out full working code in the examples directory of this repository!

Installation

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.

Usage

Check out full working code in the examples directory of this repository!

Here is an example to get you started:

{{ usageExampleCode }}

Error Handling

Coming soon!

Tuning

Coming soon!

{{ ossFooter }}