Set environment Laravel on localhost

I’m using XAMPP on windows and needed to change environment to local, this is how I did it…

$env = $app->detectEnvironment(array(
	'local' => array('homestead'),
));

Go to my computer properties, find the name of the computer then add it to local