laravel artisan progress bar

Solutions on MaxInterview for laravel artisan progress bar by the best coders in the world

showing results for - "laravel artisan progress bar"
Dylan
13 Nov 2016
1public function handle()
2{
3    $this->output->progressStart(10);
4
5    for ($i = 0; $i < 10; $i++) {
6        sleep(1);
7
8        $this->output->progressAdvance();
9    }
10
11    $this->output->progressFinish();
12}