Skip to content

Commit

Permalink
Merge pull request #106 from storyblok/updating-php-version
Browse files Browse the repository at this point in the history
Updating GH workflows
  • Loading branch information
roberto-butti authored May 4, 2024
2 parents b736929 + 7e69ad8 commit f8c5288
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,10 @@ jobs:
fail-fast: false
matrix:
php-version:
- "8.1"
- "8.3"

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- name: Setup PHP
uses: shivammathur/setup-php@v2
Expand Down Expand Up @@ -50,15 +50,15 @@ jobs:
- "8.0"
- "8.1"
- "8.2"
- "8.3"

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php-version }}
coverage: xdebug

- name: Validate composer.json and composer.lock
run: composer validate
Expand Down
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,8 @@ In this README file you will find information for using the Storyblok PHP client

## Installing the Storyblok PHP client
You can install the Storyblok PHP Client via composer.
Storyblok's PHP client requires PHP version 7.3 to 8.2.
The suggestion is to use an actively supported version of PHP (8.1 and 8.2).
Storyblok's PHP client requires PHP version 7.3 to 8.3.
The suggestion is to use an actively supported version of PHP (8.2 and 8.3).

If you want to install the _stable_ release of Storyblok PHP client you can launch:
```bash
Expand Down Expand Up @@ -150,7 +150,7 @@ print_r($result);

### Using spaces created in other regions for Management API

When creating a Space, you can select the EU, US, CA, AP region. The default region is EU.
When creating a Space, you can select the EU, US, CA, AP region. The default region is EU.
```
EU: api.storyblok.com
US: api-us.storyblok.com
Expand Down Expand Up @@ -203,7 +203,7 @@ $client = new StoryblokClient('your-storyblok-readonly-accesstoken');

### Using spaces created in the other regions

When you create a Space, you can select the region: EU, US, CA or AP.
When you create a Space, you can select the region: EU, US, CA or AP.

For example:
If you want to access a Space created in US region, you need to define the `apiRegion` parameter with the `us` value (or `US`):
Expand All @@ -229,7 +229,7 @@ $client = new Client(
);
```

Now you have the `Storyblok\Client` instance you can start consuming data.
Now you have the `Storyblok\Client` instance you can start consuming data.

### Load a Story by slug

Expand Down

0 comments on commit f8c5288

Please sign in to comment.