/**
  * Execute the console command.
  * @return mixed
  */
 public function fire()
 {
     if (app('config')->get('app.key') == 'YourSecretKey!!!') {
         $this->info('Updating your application key.');
         $this->call('key:generate');
     }
     $this->info('Publishing Configuration');
     $this->call('config:publish', ['package' => $this->package]);
     $this->info('Publishing Migrations');
     $this->call('migrate:publish', ['package' => $this->package]);
     $this->info('Publishing Assets');
     $this->call('asset:publish', ['package' => $this->package]);
     $this->info('Migrating Database');
     $this->call('migrate');
     $this->info('Creating Super User');
     $email = $this->ask('Email?');
     $password = $this->secret('Password?');
     Eloquent::unguard();
     $user = User::create(['email' => $email, 'password' => $password, 'super' => true, 'active' => true]);
     $this->info('User [' . $user->id . '] created!');
 }
 /**
  * Handle the command
  *
  * @param $command
  *
  * @return mixed
  */
 public function handle(BaseCommand $command)
 {
     $user = User::create($command->all());
     return $user;
 }