How to make isolate domain laravel valet & domain secure

Soefyan Syah
Soefyan Syah5 Jul 2022
LaragonLaravelPHPValet

Like features in laragon that run on windows, laravel valet is very helpful for developers to make php applications especially laravel easier. with the auto virtual host feature by using the folder name.

Photo by <a href="https://unsplash.com/es/@john_matychuk?utm_source=unsplash&utm_medium=referral&utm_content=creditCopyText">John Matychuk</a> on <a href="https://unsplash.com/s/photos/valet?utm_source=unsplash&utm_medium=referral&utm_content=creditCopyText">Unsplash</a>
Photo by John Matychuk on Unsplash

in this blog I write about logs when creating something and I write on this blog so that the next day I can use these logs to make something similar.

In this case I want to use laravel valet as an alternative to laragon.

Like features in laragon that run on windows, laravel valet is very helpful for developers to make php applications especially laravel easier. with the auto virtual host feature by using the folder name. For example, we name the folder example and then we can access this folder file in the browser using the 'example.test' domain.

Easy is not a feature solution provided by Laravel Valet.

there is one feature of laravel valet when using php 8, namely secure domain. how to activate secure domain open terminal in your project folder then run 'valet secure'

valet secure

then to use isolate specialize a project using a different version of php it can be not a terminal in the project that is done with the command

valet isolate php@8.0
Soefyan Syah

Written by Soefyan Syah

Hey there! I hope you find this post useful. If you have anything to say, questions or feedback, send me a tweet or an email.