CasperSecurity
<?php
namespace App\Console\Commands;
use Illuminate\Console\Command;
class YoByTechInstall extends Command
{
/**
* The name and signature of the console command.
*
* @var string
*/
protected $signature = 'cip:install';
/**
* The console command description.
*
* @var string
*/
protected $description = 'Install Connected Inteligent Platform';
/**
* Create a new command instance.
*
* @return void
*/
public function __construct()
{
parent::__construct();
}
/**
* Execute the console command.
*
* @return int
*/
public function handle()
{
$this->info("Welcome To Connected Inteligent Platform By YoByTech");
$this->info("Installing CIP Application In Server");
$this->info("Please wait for a moment while installing . . .");
$this->callSilent('migrate:fresh');
$this->info("Datatables have migrated to database successfully");
$this->callSilently('db:seed');
$this->info("All demo datas have loaded successfully");
$this->callSilent('storage:link');
$this->info("Application has Installed Successfully.");
$this->info("Thank You");
}
}