Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

laravel artisan progress bar

public function handle()
{
    $this->output->progressStart(10);

    for ($i = 0; $i < 10; $i++) {
        sleep(1);

        $this->output->progressAdvance();
    }

    $this->output->progressFinish();
}
Source by laracasts.com #
 
PREVIOUS NEXT
Tagged: #laravel #artisan #progress #bar
ADD COMMENT
Topic
Name
7+9 =