alt-design / alt-riffraff
Detects spam in Statamic form submissions using the RiffRaff API, holding suspected spam for review in the control panel.
Requires
- php: ^8.2
- statamic/cms: ^5.74|^6.26
Requires (Dev)
- laravel/pint: ^1.22
- orchestra/testbench: ^10.8
- pestphp/pest: ^4.7
- rector/rector: ^2.0
Suggests
None
Provides
None
Conflicts
None
Replaces
None
This package is auto-updated.
Last update: 2026-11-03 16:13:27 UTC
README
RiffRaff is a Statamic addon that analyses all form submissions and checks for spam. It uses the RiffRaff API to check for spam and provides a simple interface to manage spam submissions.
Features
- Detect spam submissions
- Automatically "hold" spam submissions
- Simple interface to manage spam submissions
- Easy to install and use
How to Install
composer require the addon using the following command:
composer require alt-design/alt-riffraff
Then connect the site to RiffRaff by running this on the server (Statamic 6):
php please riffraff:connect "Acme website"
It prints a code. A manager of your RiffRaff team enters it in the RiffRaff dashboard, and the key is saved to the addon settings without anyone copying it. Check it worked with php please riffraff:status. See Connecting a site for running it through Forge and what to do if it refuses.
Alternatively, add a key to your .env file, which always takes priority over a saved one:
ALT_RIFFRAFF_API_KEY=
If you'd rather authenticate with an email and password, omit the key and set these instead:
ALT_RIFFRAFF_EMAIL= ALT_RIFFRAFF_PASSWORD=
How to Use
- The addon will automatically check all form submissions for spam.
- If a submission is detected as spam, it will be automatically "held" and you will be able to manage it from the "Review Spam" in the "Tools" section of the control panel.
Documentation
See DOCUMENTATION.md for full configuration details, how held submissions work, and what data is sent to RiffRaff.
Questions etc
Drop us a big shout-out if you have any questions, comments, or concerns. We're always looking to improve our addons, so if you have any feature requests, we'd love to hear them.
Starter Kits
Addons
- Alt Cookies Addon
- Alt Redirect Addon
- Alt Akismet Addon
- Alt Inbound Addon
- Alt Sitemap Addon
- Alt Password Protect Addon
- Alt Google 2FA Addon
Postcardware
Send us a postcard from your hometown if you like this addon. We love getting mail from other cool peeps!
Alt Design
St Helens House
Derby
DE1 3EE
UK