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
29
votes
2 answers

brew link php71: Could not symlink sbin/php-fpm

I'm trying to install Laravel Valet, which requires php 7.1, but when i run brew install php71, I get the following error: ==> Pouring php71-7.1.10_21.high_sierra.bottle.tar.gz Error: The `brew link` step did not complete successfully The formula…
AlxVallejo
  • 3,066
  • 6
  • 50
  • 74
27
votes
13 answers

Laravel Valet 502 Bad Gate Way nginx/1.15.7

I am getting a 502 Bad Gateway on my Laravel projects running Laravel valet. I have tried many of the solutions online and with no success. i.e. https://gist.github.com/adamwathan/6ea40e90a804ea2b3f9f24146d86ad7f At the moment the error I see is 502…
JMD
  • 327
  • 1
  • 5
  • 7
23
votes
2 answers

Uninstall Laravel Valet

I installed Valet for the first time and I had some problems listed below: It throws an error saying: Unable to determine linked PHP. Even though I have PHP 7.1 installed by php-osx.liip.ch so it just goes ahead and installs PHP 7.0 with…
Sina
  • 1,092
  • 1
  • 9
  • 19
19
votes
6 answers

Homebrew PHP appears not to be linked. - Valet

I had a problem which appeared all of the sudden saying: Unable to determine linked PHP. which I could not solve so I uninstalled valet, php and dependencies. Then I installed fresh php7.1 but when I run valet install I get quiet slightly similar…
Epsilon47
  • 768
  • 1
  • 13
  • 28
16
votes
5 answers

cURL + Laravel Valet + dnsmasq not working

when I execute a PHP script which runs a cURL request to a .test domain that is setup on my Mac with Laravel Valet/dnsmasq, I get this error printed : Could not resolve: mydomain.test (Domain name not found) When I test the domain in my browser,…
Maxime Freschard
  • 1,066
  • 2
  • 15
  • 26
15
votes
6 answers

Laravel - valet 404 not found

I have a laravel project which was working fine in http with php artisan serve. But I was working on a project where I needed to implement Facebook Login API which requires call from https, for doing this I installed valet globally executed…
Abhishek
  • 1,008
  • 1
  • 16
  • 39
15
votes
7 answers

Pinging test.dev after Laravel Valet install returns "Unknown Host"

Update: Don't use ".dev". When this was originally posted in 2016, it was fine. Now it's not. Start by changing your TLD to somethinge else like ".localhost" or whatever. (This change would not have fixed my issue, but it might fix yours if you're…
Nate Ritter
  • 2,386
  • 3
  • 20
  • 28
14
votes
3 answers

Laravel valet It works

I'm trying to install Laravel valet but I keep getting (when I visit domain.dev): It works! I already tried a lot. For example: remove valet stop apache (apachectl stop) composer global require laravel/valet valet install valet restart But that…
Jamie
  • 10,302
  • 32
  • 103
  • 186
13
votes
5 answers

MacOS Laravel Valet increase memory_limit

I try to increase the memory_limit of php with Laravel valet. What I see: With phpinfo() I see: memory_limit 128M Configuration File (php.ini) Path /usr/local/etc/php/7.4 Loaded Configuration File /usr/local/etc/php/7.4/php.ini Scan this…
ZecKa
  • 2,552
  • 2
  • 21
  • 39
13
votes
4 answers

Laravel Valet php-fpm already listening on valet sock

I've upgraded valet on my macbook (running catalina) and followed the laravel docs including re-running the valet install command and am seeing unexpected 502 Bad Gateway errors. I was checking the logs and found [27-Aug-2019 20:39:06] ERROR:…
user101289
  • 9,888
  • 15
  • 81
  • 148
13
votes
4 answers

Valet (Laravel): DNS address can not be found

I'm trying out Valet, it looks really nice from what I've heard. I've been trough the "whole" installation process, Valet is succesfully installed. But when I cd into my projects file and enter valet park and browse to http://blog.dev, I get "The…
sseraluck
  • 203
  • 1
  • 2
  • 8
11
votes
1 answer

Domain Not Secured with Valet 3 (Laravel)

I have noticed that in both Chrome and Firefox, my valet secured site has been displayed as Not Secure. It somehow works fine in Safari. Has anyone recently experienced this? When I do valet secured, I can see my site is (supposed to be) secured as…
Andre W.
  • 895
  • 9
  • 19
11
votes
5 answers

Does Laravel Valet have a un-park/unlink for all valet parked projects on a system?

Working on a computer with several old Laravel projects. It looks like they are all parked with Valet. Valet is not working on new projects, I think because Valet is over extended. Is there a way to 'mass' un-park and unlink all valet connections or…
seamus
  • 2,681
  • 7
  • 26
  • 49
11
votes
6 answers

Laravel valet not working

I use OSX El Capitan and PHP 7. I followed the installation guide so I install Laravel Valet version v1.1.3 successfully. I ping foo.dev or any.dev then the terminal prints "64 bytes from 127.0.0.1: icmp_seq=2 ttl=64 time=0.116 ms" Everything is…
metylbk
  • 131
  • 1
  • 1
  • 11
10
votes
1 answer

How to fix missing library after update and upgrade of Homebrew

I decided to update and upgrade Homebrew on a Friday afternoon (because why not) and it appears to have resulted in a missing library that's affecting my ability to run pretty much everything (PHP, Laravel Valet, Node, etc...) The error message on…
MarketHubb
  • 437
  • 3
  • 11
1
2 3
18 19