Download the PHP package wyattcast44/laravel-safe-username without Composer
On this page you can find all versions of the php package wyattcast44/laravel-safe-username. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download wyattcast44/laravel-safe-username
More information about wyattcast44/laravel-safe-username
Files in wyattcast44/laravel-safe-username
Package laravel-safe-username
Short Description Laravel vulgar username filter / validation rule.
License MIT
Homepage https://github.com/wyattcast44/laravel-safe-username
Informations about the package laravel-safe-username
Laravel Safe Username
This is a small package to help you easily validate usernames against a list of
commonly banned usernames, for example: json
, admin
, security
, etc. You
can also add your own custom allowed and disallowed usernames.
You can see the full list of disallowed usernames in the config file, or the source repo from which the list came from.
Installation
You can install the package via composer:
Usage
Configuration
You can publish the configuration file with the command below. This will publish a config file called safe-username.php
.
Once you have published the config file you can add additional usernames to disallow, or add usernames that should pass the validation.
Testing
Changelog
Please see CHANGELOG for more information what has changed recently.
Contributing
Please see CONTRIBUTING for details.
Security
If you discover any security related issues, please email [email protected] instead of using the issue tracker.
Credits
- Wyatt Castaneda
- All Contributors
License
The MIT License (MIT). Please see License File for more information.
Laravel Package Boilerplate
This package was generated using the Laravel Package Boilerplate.
All versions of laravel-safe-username with dependencies
spatie/laravel-package-tools Version ^1.16
illuminate/contracts Version ^10.0||^11.0