I tried the method described here but this does not work on my Laravel 5 installation.
use Symfony\Component\Console\Output\BufferedOutput; Route::get('/test', function() { $output = new BufferedOutput; Artisan::call('testCommand', array(), $output); return $output->fetch(); });
My team;
public function fire() { $this->info('No output visible'); }
Any suggestions what can I do wrong? Or has this changed something in Laravel 5?
php laravel laravel-5 artisan
Erik verheij
source share