PHPackages                             zexbre/spam-protect - 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. [Security](/categories/security)
4. /
5. zexbre/spam-protect

ActiveLibrary[Security](/categories/security)

zexbre/spam-protect
===================

A simple, driver based spam protection package.

v0.3.0(2y ago)0481MITPHPPHP ^8.1

Since Oct 22Pushed 2y ago1 watchersCompare

[ Source](https://github.com/zexbre/spam-protect)[ Packagist](https://packagist.org/packages/zexbre/spam-protect)[ RSS](/packages/zexbre-spam-protect/feed)WikiDiscussions 0.x Synced 3w ago

READMEChangelog (3)Dependencies (1)Versions (5)Used By (0)

ZexBre\\SpamProtect
===================

[](#zexbrespamprotect)

A simple, driver based spam protection package.

Check for spam messages on client requests before forwarding them to the system for further processing.

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

[](#installation)

Install the latest version with

```
$ composer require zexbre/spam-protect
```

Basic Usage
-----------

[](#basic-usage)

### Client side

[](#client-side)

```

         [RECAPTCHA-SITE-KEY],
            'hl' => [LANGUAGE-CODE], // optional
        ]);
        echo $widgetData->htmlHead;
        ?>

        htmlBody;
        ?>

```

### Server side

[](#server-side)

```
