WARNING: THIS SITE IS A MIRROR OF GITHUB.COM / IT CANNOT LOGIN OR REGISTER ACCOUNTS / THE CONTENTS ARE PROVIDED AS-IS / THIS SITE ASSUMES NO RESPONSIBILITY FOR ANY DISPLAYED CONTENT OR LINKS / IF YOU FOUND SOMETHING MAY NOT GOOD FOR EVERYONE, CONTACT ADMIN AT ilovescratch@foxmail.com
Skip to content

archlinux-de/flarum-anti-spam

Repository files navigation

Anti-Spam - Spam protection for forum.archlinux.de

This Flarum extension is specific to forum.archlinux.de. You might find its code useful to implement your own solution.

Installation

composer require archlinux-de/flarum-anti-spam

Optional configuration:

The extension can be configured by adding the following keys to config.php:

<?php return [
    // ...
    'anti_spam' => [
        'user_agent_allowed' => ['BSD'],
        'user_agent_blocked' => ['DOS', 'Windows'],
        'geoip_database' => '/opt/GeoLite2-Country.mmdb',
        'country_allowed' => ['FR', 'NL'],
        'country_blocked' => ['DE'],
        'ip_allowed' => ['10.0.0.0/8', '::1'],
        'ip_blocked' => ['192.168.0.0/16'],
        'email_domain_allowed' => ['archlinux.de'],
        'email_domain_blocked' => ['example.com'],
    ],
];

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Contributors 2

  •  
  •