p3k/reserved-usernames

0.1.2 2017-06-28 17:53 UTC

This package is auto-updated.

Last update: 2024-07-10 13:26:54 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
}