Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: readme template #41

Merged
merged 1 commit into from
Apr 26, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 9 additions & 2 deletions README.template.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@

- A Momento API Key is required, you can generate one using
the [Momento Console](https://console.gomomento.com)
- A Momento cache is required, you can generate one using
the [Momento Console](https://console.gomomento.com/create)
- At least PHP 8.0
- [Composer](https://getcomposer.org/doc/00-intro.md)
- At least [Laravel 9.x](https://laravel.com/docs/9.x/installation)
Expand All @@ -26,7 +28,7 @@ Add our SDK as a dependency to your Laravel installation's `composer.json` file:
```json
{
"require": {
"momentohq/laravel-cache": "1.0.4"
"momentohq/laravel-cache": "1.1.4"
}
}
```
Expand All @@ -42,7 +44,12 @@ Then, add `MomentoServiceProvider` to your `config/app.php`:
];
```

And add `MOMENTO_API_KEY`=<YOUR_API_KEY> into your `.env` file
And add:

- `MOMENTO_API_KEY`=<YOUR_API_KEY>
- `MOMENTO_CACHE_NAME`=<CACHE_CREATED_ABOVE>

into your `.env` file

Finally, add the required config to your `config/cache.php`:

Expand Down
Loading