Tidy up default extension metadata

This commit is contained in:
Toby Zerner 2015-09-01 10:08:14 +09:30
parent 4ed5ff5608
commit 150eef8a32

View File

@ -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' => ''
]
];