I wanted to know how to import symfony process class in laravel 5 . I have used it in a console in laravel and it showed an error
Class 'Process' not found .
use Symfony\Component\Process\Process;
with that you can use the Process class
$process = new Process($your_command);
// $process->run(); // to run Sync
// $process->start(); // to run Async