PHPackages                             eden-life/superban - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Framework](/categories/framework)
4. /
5. eden-life/superban

ActiveProject[Framework](/categories/framework)

eden-life/superban
==================

The skeleton application for the Laravel framework.

00PHP

Since Dec 19Pushed 2y ago1 watchersCompare

[ Source](https://github.com/Precious2804/superban)[ Packagist](https://packagist.org/packages/eden-life/superban)[ RSS](/packages/eden-life-superban/feed)WikiDiscussions main Synced 1mo ago

READMEChangelogDependenciesVersions (1)Used By (0)

Superban Laravel Package
------------------------

[](#superban-laravel-package)

The Superban Laravel Package provides rate limiting and banning features for API clients based on their behavior. It is designed to be easily integrated into Laravel applications.

- [Installation](#installation)
- [Configuration](#configuration)
- [Usage](#usage)
    - [Middleware](#middleware)
    - [Tests](#tests)
- [Contributing](#contributing)
- [Security](#security)

Installation
------------

[](#installation)

To install the package via composer, run:

```
composer require edenlife/superban
```

Configuration
-------------

[](#configuration)

After installation, publish the configuration file:

```
php artisan vendor:publish --tag=superban-config
```

This will publish a superban.php file in your config directory.

Usage
-----

[](#usage)

### Middleware

[](#middleware)

Apply the Superban middleware to specific routes using the following syntax:

```
use EdenLife\Superban\Middleware\SuperbanMiddleware;

Route::middleware([SuperbanMiddleware::class . ':200,2,1440'])->group(function () {
    // Your routes here
});
```

Adjust the parameters 200, 2, 1440 based on your desired rate limiting and banning configuration.

### Tests

[](#tests)

To run the package tests, use bash to run:

```
./vendor/bin/phpunit
```

Contributing
------------

[](#contributing)

Thank you for considering contributing to the Superban package! Feel free to open issues or submit pull requests.

Security
--------

[](#security)

If you discover any security-related issues, please email: [anipreciousebuka@gmail.com](anipreciousebuka@gmail.com).

###  Health Score

12

—

LowBetter than 0% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity0

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity20

Early-stage or recently created project

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

### Community

Maintainers

![](https://www.gravatar.com/avatar/9d15bf7c0cec1d5973d1d1735843672eab7858f61aaea86a16c115e63ed297a4?d=identicon)[Preshdev](/maintainers/Preshdev)

---

Top Contributors

[![Precious2804](https://avatars.githubusercontent.com/u/77413512?v=4)](https://github.com/Precious2804 "Precious2804 (18 commits)")

### Embed Badge

![Health badge](/badges/eden-life-superban/health.svg)

```
[![Health](https://phpackages.com/badges/eden-life-superban/health.svg)](https://phpackages.com/packages/eden-life-superban)
```

###  Alternatives

[laravel/telescope

An elegant debug assistant for the Laravel framework.

5.2k67.8M192](/packages/laravel-telescope)[spiral/roadrunner

RoadRunner: High-performance PHP application server and process manager written in Go and powered with plugins

8.4k12.2M84](/packages/spiral-roadrunner)[nolimits4web/swiper

Most modern mobile touch slider and framework with hardware accelerated transitions

41.8k177.2k1](/packages/nolimits4web-swiper)[laravel/dusk

Laravel Dusk provides simple end-to-end testing and browser automation.

1.9k36.7M259](/packages/laravel-dusk)[laravel/prompts

Add beautiful and user-friendly forms to your command-line applications.

708181.8M596](/packages/laravel-prompts)[cakephp/chronos

A simple API extension for DateTime.

1.4k47.7M121](/packages/cakephp-chronos)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
