mirror of
https://github.com/flarum/framework.git
synced 2025-02-21 10:25:42 +08:00
Tidy up default extension metadata
This commit is contained in:
parent
4ed5ff5608
commit
150eef8a32
@ -14,6 +14,7 @@ use Illuminate\Contracts\Container\Container;
|
||||
use Symfony\Component\Console\Input\InputOption;
|
||||
use Symfony\Component\Console\Input\InputArgument;
|
||||
use Symfony\Component\Console\Question\Question;
|
||||
use Flarum\Core\Application;
|
||||
|
||||
class GenerateExtensionCommand extends Command
|
||||
{
|
||||
@ -83,12 +84,17 @@ class GenerateExtensionCommand extends Command
|
||||
'version' => '0.1.0',
|
||||
'author' => [
|
||||
'name' => $authorName,
|
||||
'email' => $authorEmail
|
||||
'email' => $authorEmail,
|
||||
'homepage' => ''
|
||||
],
|
||||
'license' => $license,
|
||||
'require' => [
|
||||
'php' => '>=5.4.0',
|
||||
'flarum' => '>0.1.0'
|
||||
'flarum' => '>'.Application::VERSION
|
||||
],
|
||||
'icon' => [
|
||||
'name' => '',
|
||||
'backgroundColor' => '',
|
||||
'color' => ''
|
||||
]
|
||||
];
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user