PHP code example of justustheis / laravel-console-checkmark
1. Go to this page and download the library: Download justustheis/laravel-console-checkmark library. Choose the download type require. 2. Extract the ZIP file and open the index.php. 3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
justustheis / laravel-console-checkmark example snippets
class LaravelInstallCommand extends Command
{
/**
* Execute the console command.
*
* @return void
*/
public function handle()
{
$this->task('Installing Laravel', function (ConsoleCheckmarkOutput $output) {
$output->text('Normal style text');
$output->success('A success message');
$output->error('An error message');
$output->caution('A caution message');
$output->comment('A comment message');
$output->note('A magenta colored note message');
return true;
});
}
}