0

I just migrated from a windows based laptop to a macbook. I'm pretty new to MacOS

I'm developing a laravel project in my mac and I want to access the url through custom domain using virtual host such as mylaravel.com or something else, i'm not using xampp, only php, and composer.

for example: currently I access my laravel project through:

sudo php artisan serve --port=80

and this is the url to access my

localhost

what I want is the following url:

mylaravel.id

How can I achieve it?

Thank you.

1 Answers1

0

you can use laravel valet. look at this documentation.

Majva
  • 88
  • 1
  • 5