Now that Google is the registry owning the sale of .dev domains, it is apparently planning to force https on all .dev domains.
If you’d like to have complete control of sites on your localhost, one method is to change the
.dev domain extension to something else that is reserved like
.test, follow these steps:
If you already have WordPress installed, go to Settings and change the domain extension in both the URLs (WordPress Address and Site Address).
Navigate to the folder where your site is parked in a terminal and type
sudo valet domain test
domain is to be typed literally.