PHPackages                             automattic/akismet-sdk - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. automattic/akismet-sdk

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

automattic/akismet-sdk
======================

Official PHP SDK for the Akismet spam protection service

v1.5.0(2mo ago)82461[1 PRs](https://github.com/Automattic/akismet-sdk-php/pulls)GPL-2.0-or-laterPHPPHP ^8.1CI passing

Since Mar 11Pushed 2w ago1 watchersCompare

[ Source](https://github.com/Automattic/akismet-sdk-php)[ Packagist](https://packagist.org/packages/automattic/akismet-sdk)[ Docs](https://akismet.com)[ RSS](/packages/automattic-akismet-sdk/feed)WikiDiscussions trunk Synced yesterday

READMEChangelog (5)Dependencies (39)Versions (10)Used By (0)

Akismet PHP SDK
===============

[](#akismet-php-sdk)

Official PHP SDK for the [Akismet](https://akismet.com) spam protection service by Automattic.

> **Note**: This SDK is for non-WordPress PHP applications. WordPress sites should use the [official Akismet plugin](https://wordpress.org/plugins/akismet/).

Requirements
------------

[](#requirements)

- PHP 8.1 or higher
- A [PSR-18 HTTP client](https://packagist.org/providers/psr/http-client-implementation) (e.g., Guzzle, Symfony HttpClient)

Installation
------------

[](#installation)

```
composer require automattic/akismet-sdk
```

If you don't have a PSR-18 HTTP client installed, add one:

```
composer require guzzlehttp/guzzle
```

Quick Start
-----------

[](#quick-start)

```
