monsieurbiz/sylius-anti-spam-plugin

This plugins adds captcha and allows you to manage your spams.

Installs: 6 803

Dependents: 0

Suggesters: 0

Security: 0

Stars: 3

Watchers: 8

Forks: 3

Open Issues: 0

Type:sylius-plugin

v1.2.2 2024-11-22 17:07 UTC

This package is auto-updated.

Last update: 2024-12-22 17:24:10 UTC


README

Banner of Sylius Anti Spam plugin

Anti Spam

Anti Spam Plugin license Tests Status Recipe Status Security Status

This plugins adds captcha and allows you to manage your spams.

Compatibility

Installation

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.

Documentation

⚙️ To Be Completed.

Remove automatically quarantine entities (experimental)

  1. Add the monsieurbiz_anti_spam.quarantineable tag on our entity, for example for Customer:
    App\Entity\Customer\Customer:
        tags: ['monsieurbiz_anti_spam.quarantineable']
  1. 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'
  1. 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

Contributing

You can open an Issue or a Pull Request if you want! 😘
Thank you!

Sponsors

This plugin is sponsored by:

License

This plugin is completely free and released under the MIT License.