Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/aaronpk/reserved-usernames-php
A list of reserved usernames to prevent url collision with resource paths. Packaged as a Composer library. Source data: https://github.com/shouldbee/reserved-usernames
https://github.com/aaronpk/reserved-usernames-php
Last synced: 19 days ago
JSON representation
A list of reserved usernames to prevent url collision with resource paths. Packaged as a Composer library. Source data: https://github.com/shouldbee/reserved-usernames
- Host: GitHub
- URL: https://github.com/aaronpk/reserved-usernames-php
- Owner: aaronpk
- License: mit
- Created: 2017-06-28T17:19:15.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2020-01-10T03:35:39.000Z (almost 5 years ago)
- Last Synced: 2024-07-11T21:35:02.354Z (4 months ago)
- Language: PHP
- Size: 7.81 KB
- Stars: 3
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README
Reserved Usernames
==================This is a PHP packaged version of [shouldbee/reserved-usernames](https://github.com/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
-----```php
$username = 'login';
if(p3k\is_reserved_username($username)) {
// Throw an error
}
```