This plugins adds captcha and allows you to manage your spams.
Sylius Version | PHP Version |
---|---|
1.11 | 8.0 - 8.1 |
1.12 | 8.1 - 8.2 |
1.13 | 8.1 - 8.2 |
If you want to use our recipes, you can configure your composer.json by running:
composer config --no-plugins --json extra.symfony.endpoint '["https://api.github.com/repos/monsieurbiz/symfony-recipes/contents/index.json?ref=flex/master","flex://defaults"]'
⚙️ To Be Defined.
⚙️ To Be Completed.
- Add the
monsieurbiz_anti_spam.quarantineable
tag on our entity, for example for Customer:
App\Entity\Customer\Customer:
tags: ['monsieurbiz_anti_spam.quarantineable']
- Confirm or adjust the exceeded periods, by quarantine level, before remove the entities. By default, the:
- suspected item is removed after 1 year
- likely item is removed after 182 days
- proven item is removed after 90 days
You can change there periods in config/packages/monsieurbiz_sylius_anti_spam_plugin.yaml
:
monsieurbiz_sylius_anti_spam:
exceeded:
suspected: '1 day'
- Add in your crontab the remove command, example:
0 */6 * * * /usr/bin/flock -n /tmp/lock.app.remove_exceeded_quarantine bin/console monsieurbiz:anti-spam:remove-exceeded-quarantine-items
You can open an Issue or a Pull Request if you want! 😘
Thank you!
This plugin is sponsored by:
This plugin is completely free and released under the MIT License.