david-adigwu/laravel-device-ban

A Laravel package to ban devices based on their IP address

Fund package maintenance!
David Adigwu

Installs: 0

Dependents: 0

Suggesters: 0

Security: 0

Stars: 1

Watchers: 0

Forks: 0

Open Issues: 0

pkg:composer/david-adigwu/laravel-device-ban

v1.0.0 2025-07-11 00:15 UTC

This package is auto-updated.

Last update: 2025-10-11 01:04:46 UTC


README

Latest Version on Packagist GitHub Tests Action Status GitHub Code Style Action Status Total Downloads

Laravel Device Ban is a simple and powerful package that helps you prevent devices from creating multiple user accounts on your Laravel application. It works by identifying and blocking devices based on configurable fingerprinting methods, making it harder for malicious users to bypass signup restrictions using the same device.

Support us

We invest a lot of resources into creating best in class open source packages. You can support us by buying one of our paid products.

We highly appreciate you sending us a postcard from your hometown, mentioning which of our package(s) you are using. You'll find our address on our contact page. We publish all received postcards on our virtual postcard wall.

Installation

You can install the package via composer:

composer require david-adigwu/laravel-device-ban

You can publish and run the migrations with:

php artisan vendor:publish --tag="laravel-device-ban-migrations"
php artisan migrate

You can publish the config file with:

php artisan vendor:publish --tag="laravel-device-ban-config"

This is the contents of the published config file:

return [
];

Optionally, you can publish the views using

php artisan vendor:publish --tag="laravel-device-ban-views"

Usage

$laravelDeviceBan = new DavidAdigwu\LaravelDeviceBan();
echo $laravelDeviceBan->echoPhrase('Hello, David Adigwu!');

Testing

composer test

Changelog

Please see CHANGELOG for more information on what has changed recently.

Contributing

Please see CONTRIBUTING for details.

Security Vulnerabilities

Please review our security policy on how to report security vulnerabilities.

Credits

License

The MIT License (MIT). Please see License File for more information.