Laravel\SparkInstaller\Installation\CreateLaravelProject::install PHP Method

install() public method

Run the installation helper.
public install ( ) : void
return void
    public function install()
    {
        $process = new Process('laravel new ' . $this->name);
        if ('\\' !== DIRECTORY_SEPARATOR && file_exists('/dev/tty') && is_readable('/dev/tty')) {
            $process->setTty(true);
        }
        $process->setTimeout(null)->run(function ($type, $line) {
            $this->command->output->write($line);
        });
    }
CreateLaravelProject