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
Requires
- php: ^8.1
- laravel/framework: ^10.0
Requires (Dev)
- orchestra/testbench: ^8.0
- pestphp/pest: ^2.36
- phpunit/phpunit: ^10.5
- spatie/laravel-package-tools: ^1.92
README
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.