Questions tagged [laravel-valet]

Valet is a Laravel development environment for Mac minimalists

Valet is a Laravel development environment for Mac minimalists. No Vagrant, no /etc/hosts file. You can even share your sites publicly using local tunnels.

Laravel Valet configures your Mac to always run Nginx in the background when your machine starts. Then, using DnsMasq, Valet proxies all requests on the *.test domain to point to sites installed on your local machine.

https://laravel.com/docs/master/valet

272 questions
3
votes
1 answer

Sharing valet sites on local network

According to the section "Sharing Sites On Your Local Network" on laravel.com/docs/7.x/valet#sharing-sites It states this: If you wish to allow other devices on your local network to access the Valet sites on your machine via your machine's IP…
AhmadKarim
  • 899
  • 1
  • 7
  • 16
3
votes
2 answers

Laravel valet secure does not work and where is nginx information coming from after deletion?

So I am working on Laravel/Valet, I was trying to use ssl. So I ran: valet secure examplesite This did not work. I have uninstalled valet, cleared cache, remove laravel/valet. Nothing worked. I just could not open the https://examplesite.test…
Olu Adeyemo
  • 825
  • 9
  • 17
3
votes
0 answers

Valet: DNS address can not be found

My question is the same as this one from 2 years ago. I followed all the steps in this detailed answer with no luck. In addition I also restarted my machine and removed my anti-virus software (Just to be safe). Everything goes fine until I try to…
iicaptain
  • 1,065
  • 1
  • 13
  • 37
3
votes
1 answer

Unable to Determine Linked PHP - Homebrew

First of all I know there are already posts like this on stackoverflow but I have not been abel to find a solution to my particular problem. I am trying to install laravel/valet on my mac (OS High Sierra) but I keep getting this error: In Brew.php…
user3718908x100
  • 7,939
  • 15
  • 64
  • 123
3
votes
4 answers

Valet Stopped Working after macOS High Sierra Upgrade from macOS Sierra

Upgrading the macOS from Sierra to High Sierra breaks working Valet installation. Ping works just fine, it is just *.dev on browser gives error that unable to connect, site cannot be connected. I have tried usual troubleshooting steps like…
Muhammad Asadullah
  • 3,735
  • 1
  • 22
  • 38
3
votes
1 answer

How to determine what process is listening on OSX

Trying to help configure Laravel Valet on a Mac running El Capitan, and the user had installed MAMP previously. MAMP is disabled but anytime we load a valet address (mysite.dev) we get a standard Apache 404 page. Is there a way to determine what…
user101289
  • 9,888
  • 15
  • 81
  • 148
3
votes
5 answers

'Zsh: command not found: valet' - unable to install Valet

I just tried installing valet for a very long time, - and I couldn't find any help anywhere. No matter what I tried, then it kept saying: Zsh: command not found: valet I'm running Zshell (instead of Bash) and OSX. I've had Brew installed for quite…
Zeth
  • 2,273
  • 4
  • 43
  • 91
3
votes
3 answers

Laravel valet using wrong version of PHP

I'm running valet 2.0.5 and it is using the wrong version of PHP. When starting valet I get $ valet start Restarting php71... Restarting nginx... Valet services have been started. But phpinfo() gives PHP Version 5.6.30 and Loaded Configuration…
jsindos
  • 459
  • 6
  • 22
3
votes
3 answers

Laravel valet always asks password

After reinstalling macOS, I started setup my dev environment based on Laracasts "Setup a mac dev machine from scratch". At the previous time when I installed php/valet/composer etc, everything was fine, but now the terminal (in every new session)…
Arthanis
  • 31
  • 5
3
votes
0 answers

Laravel Valet + dnsmasq don't work (dnsmasq status error)

I've upgraded to Valet 2 and PHP 7.1. When I reinstall valet and ran valet install, dnsmasq didn't start. laravel brew services list Name Status User Plist dnsmasq error root…
Jakub Kratina
  • 644
  • 6
  • 14
3
votes
0 answers

Laravel valet Request::ip();

I'm using Valet for my local development in mac and when i try to do Request::ip(); for get the ip of visits, I keep getting 127.0.0.1, I try to using this package antonioribeiro/tracker but also does't work, I know that what i'm getting is the ipv4…
3
votes
2 answers

Laravel Valet not working. 127.0.0.1 Connection Refused

Trying to get the valet setup working. It appears when accessing 127.0.0.1 the connection is refused which is the message I get when I go to one of the *.dev sites setup. I've made sure apache is stopped and have been Googling all over the place…
Rick Bolton
  • 169
  • 1
  • 8
3
votes
6 answers

Trying to get Laravel Valet 1.1.2 to work

I was able to get Laravel Valet version 1.0.12 to work, but when I did the update to 1.1.12 this morning, I am now getting a 502 - Bad Gateway error. I am not running any other server instance, that I am aware of. Also, I have tried running…
jldavis76
  • 812
  • 2
  • 15
  • 42
2
votes
0 answers

Simple Nginx proxy pass not working with Laravel Valet installed

Quick backstory, I used Laravel Valet to setup a local development environment. I've since containerized the application and would like to just have Nginx proxy the main port 80 traffic to the localhost:8000 port the docker container is listening…
Nathan Loyer
  • 1,339
  • 10
  • 20
2
votes
0 answers

Find reason for Brew-error when running brew list services

On my Mac, when I write brew services I get this result: dnsmasq error 512 httpd error 256 mysql@5.7 started nginx error 256 php error 19968 php@7.4 started I was try write Valet install, Valet restart, brew services restart,…
Arba Traf
  • 31
  • 1