Skip to content

statamic/test-readme

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 

Repository files navigation

Test Readme

Hey there. Nothing really to see here, just testing some stuff.

This package provides an easy way stop submission spam via Akismet. Check out the docs.

Requirements

  • PHP 7.4+
  • Statamic v3
  • Laravel 7+

Installation

You can install this package via composer using:

composer require silentz/akismet

The package will automatically register itself.

Migration from < 3+

Previous versions of Akismet stored the spam in a serialized file. Version 3 stores it in the same format as Statamic form submissions. The previous spam needs to be converted to the new format/naming. To do so, run two commmands:

php artisan spam:convert
php artisan spam:add-extension

Those two commands will unserialize the data and add the correct extension (.yaml) to any spam that needs it.

Configuration

.env

Set your Akismet API Key in your .env file. You can get it from: https://akismet.com/account/.

AKISMET_API_KEY=your-key-here

Code Example

{{ if {tag:here} }}
  sup
{{ /if }}
{{ if @{tag:here} }}
  sup
{{ /if }}

About

Will be deleted soon. Pay no heed.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published