public function handle() { if (ArtisanExt::checkDb()) { return $this->info('Succesfully connected to the database.'); } return $this->error('Failed to connect to the database.'); }