Skip to content
Merged
Show file tree
Hide file tree
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
2 changes: 1 addition & 1 deletion .release-please-manifest.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
{
".": "0.1.0"
".": "0.1.1"
}
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
# Changelog

## 0.1.1 (2025-12-05)

Full Changelog: [v0.1.0...v0.1.1](https://github.com/moderation-api/sdk-php/compare/v0.1.0...v0.1.1)

### Chores

* readme ([65df962](https://github.com/moderation-api/sdk-php/commit/65df96240020a24218c8651e75bdddcacc99c9fb))

## 0.1.0 (2025-12-05)

Full Changelog: [v0.0.1...v0.1.0](https://github.com/moderation-api/sdk-php/compare/v0.0.1...v0.1.0)
Expand Down
6 changes: 2 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Moderation API PHP API library
# Moderation API PHP library

> [!NOTE]
> The Moderation API PHP API Library is currently in **beta** and we're excited for you to experiment with it!
Expand All @@ -9,8 +9,6 @@

The Moderation API PHP library provides convenient access to the Moderation API REST API from any PHP 8.1.0+ application.

It is generated with [Stainless](https://www.stainless.com/).

## Documentation

The REST API documentation can be found on [docs.moderationapi.com](https://docs.moderationapi.com).
Expand All @@ -20,7 +18,7 @@ The REST API documentation can be found on [docs.moderationapi.com](https://docs
<!-- x-release-please-start-version -->

```
composer require "moderation-api/sdk-php 0.1.0"
composer require "moderation-api/sdk-php 0.1.1"
```

<!-- x-release-please-end -->
Expand Down
4 changes: 2 additions & 2 deletions src/Client.php
Original file line number Diff line number Diff line change
Expand Up @@ -74,9 +74,9 @@ public function __construct(?string $secretKey = null, ?string $baseUrl = null)
headers: [
'Content-Type' => 'application/json',
'Accept' => 'application/json',
'User-Agent' => sprintf('moderation-api/PHP %s', '0.1.0'),
'User-Agent' => sprintf('moderation-api/PHP %s', '0.1.1'),
'X-Stainless-Lang' => 'php',
'X-Stainless-Package-Version' => '0.1.0',
'X-Stainless-Package-Version' => '0.1.1',
'X-Stainless-OS' => $this->getNormalizedOS(),
'X-Stainless-Arch' => $this->getNormalizedArchitecture(),
'X-Stainless-Runtime' => 'php',
Expand Down