https://github.com/statamic/test-readme
Will be deleted soon. Pay no heed.
https://github.com/statamic/test-readme
Last synced: 3 months ago
JSON representation
Will be deleted soon. Pay no heed.
- Host: GitHub
- URL: https://github.com/statamic/test-readme
- Owner: statamic
- Created: 2021-08-14T16:12:14.000Z (almost 4 years ago)
- Default Branch: main
- Last Pushed: 2022-02-21T15:30:03.000Z (over 3 years ago)
- Last Synced: 2025-02-15T20:57:08.878Z (4 months ago)
- Homepage:
- Size: 4.22 MB
- Stars: 1
- Watchers: 4
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# 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](DOCUMENTATION.md).## Requirements
* PHP 7.4+
* Statamic v3
* Laravel 7+## Installation
You can install this package via composer using:
```bash
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/.```yaml
AKISMET_API_KEY=your-key-here
```### Code Example
```
{{ if {tag:here} }}
sup
{{ /if }}
``````
{{ if @{tag:here} }}
sup
{{ /if }}
```