输出
$this->info('Your command has run successfully.');$headers = ['Name', 'Email'];
$data = [
['Dhriti', 'dhriti@amrit.com'],
['Moses', 'moses@gutierez.com'],
];
// Or, you could get similar data from the database:
$data = App\User::all(['name', 'email'])->toArray();
$this->table($headers, $data);+---------+--------------------+
| Name | Email |
+---------+--------------------+
| Dhriti | dhriti@amrit.com |
| Moses | moses@gutierez.com |
+---------+--------------------+Last updated