p3k / reserved-usernames
0.1.2
2017-06-28 17:53 UTC
Requires
- php: >=5.4
This package is auto-updated.
Last update: 2024-12-10 14:17:08 UTC
README
This is a PHP packaged version of shouldbee/reserved-usernames available as a Composer package from packagist.org.
I update this library based on updates published to the source data.
Installation
composer require p3k/reserved-usernames
Usage
$username = 'login'; if(p3k\is_reserved_username($username)) { // Throw an error }