mirror of
https://github.com/flarum/framework.git
synced 2024-11-25 17:57:04 +08:00
3c5229610f
Allow users to set a nickname while registering, controlled by settings. Also, add a setting to hide the username input entirely and randomly generate the username. Co-authored-by: Sami Mazouz <sychocouldy@gmail.com>
57 lines
1.2 KiB
JSON
57 lines
1.2 KiB
JSON
{
|
|
"name": "flarum/nicknames",
|
|
"description": "Allow users to set nicknames.",
|
|
"type": "flarum-extension",
|
|
"keywords": [
|
|
"nicknames"
|
|
],
|
|
"license": "MIT",
|
|
"support": {
|
|
"issues": "https://github.com/flarum/core/issues",
|
|
"source": "https://github.com/flarum/nicknames",
|
|
"forum": "https://discuss.flarum.org"
|
|
},
|
|
"homepage": "https://flarum.org",
|
|
"funding": [
|
|
{
|
|
"type": "website",
|
|
"url": "https://flarum.org/donate/"
|
|
}
|
|
],
|
|
"require": {
|
|
"flarum/core": "^1.1"
|
|
},
|
|
"autoload": {
|
|
"psr-4": {
|
|
"Flarum\\Nicknames\\": "src/"
|
|
}
|
|
},
|
|
"extra": {
|
|
"branch-alias": {
|
|
"dev-master": "1.x-dev"
|
|
},
|
|
"flarum-extension": {
|
|
"title": "Nicknames",
|
|
"category": "feature",
|
|
"icon": {
|
|
"name": "fas fa-user-tag",
|
|
"backgroundColor": "#8E4529",
|
|
"color": "#ffffff"
|
|
}
|
|
}
|
|
},
|
|
"scripts": {
|
|
"test": [
|
|
"@test:unit",
|
|
"@test:integration"
|
|
],
|
|
"test:unit": "phpunit -c tests/phpunit.unit.xml",
|
|
"test:integration": "phpunit -c tests/phpunit.integration.xml",
|
|
"test:setup": "@php tests/integration/setup.php"
|
|
},
|
|
"require-dev": {
|
|
"flarum/testing": "^1.0",
|
|
"flarum/core": "1.x-dev"
|
|
}
|
|
}
|