Download the PHP package peopleinside/flarum-ext-antiflood without Composer

On this page you can find all versions of the php package peopleinside/flarum-ext-antiflood. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package flarum-ext-antiflood

AntiFlood Extension for Flarum

Packagist

AntiFlood is a Flarum extension that adds longer-term flood protection and pending-approval limits on top of Flarum's built-in throttling.

How it relates to Flarum's built-in throttle

Flarum already ships a PostCreationThrottler that blocks any user who posts (a reply or a new topic) within 10 seconds of their previous post. This is a short-term anti-double-posting guard and is always active.

This extension adds two complementary protections on top:

Protection Applies to Default Configurable
Topic flood limit New topics (discussions.create) max 3 per 5 min ✅
Reply flood limit Replies (posts.create) disabled (0) ✅
Pending approval limit Both topics and replies max 6 pending ✅

Administrators are exempt from all limits.

Compatibility

Flarum Version Supported
1.x ✅
2.x ✅

Admin settings

All limits and error messages can be customised in Admin → Extensions → AntiFlood:

Screenshot 2026-05-15 151232
Setting Default Description
Topic flood limit 3 Max new topics per interval
Reply flood limit 0 (off) Max new replies per interval (0 = disabled)
Flood interval 5 min Time window for flood checks
Maximum pending posts 6 Max combined pending posts+topics before blocking
Custom error messages — Override the default translated messages

Disclaimer

This software is provided "AS IS", without any warranty. While it has been tested and reasonable efforts are made to ensure security and reliability, no guarantees are provided. As an open project, anyone may contribute or report issues, but this does not imply endorsement or liability from the maintainers.

You use this software entirely at your own risk. The authors and contributors are not liable for any damages, data loss, or unexpected behavior resulting from its use, modification, or distribution. Always review and test the code independently before deploying it in critical or production environments.

Installation

1. Install via Composer

In your Flarum root directory, run the following command:

2. Update via Composer

3. Uninstall via Composer

Packagist link: https://packagist.org/packages/peopleinside/flarum-ext-antiflood

Recommendations

To get the most out of your forum's protection, this extension works best when combined with:

First Post Approval by PeopleInside

While AntiFlood prevents users from posting too frequently, First Post Approval holds the very first posts of new users for moderator review. Together, they provide a complete defense against spam and low-quality content from new accounts.

Install it via Composer:


composer require peopleinside/flarum-ext-first-post-approval

All versions of flarum-ext-antiflood with dependencies

PHP Build Version
Package Version
Requires php Version ^8.0
flarum/core Version ^1.0 || ^2.0
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package peopleinside/flarum-ext-antiflood contains the following files

Loading the files please wait ...