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

Laravel Valet share - Failed to connect to 127.0.0.1 port 4040: Connection refused

I have Valet setup and running fine on a Laravel project. I can visit mysite.test and the project loads as it should. However, when I run the command valet share I get a "Failed to connect to 127.0.0.1 port 4040: Connection refused" error. I've…
Darren
  • 169
  • 1
  • 6
4
votes
2 answers

Valet showing files under wrong Url

Currently running into issues on my server with links to files in my Laravel application. I currently have a images folder in storage/app/public and I linked the storage/app/public folder to public with php artisan storage:link. Now i have a…
Oli
  • 240
  • 1
  • 10
4
votes
1 answer

ping: cannot resolve foo.dev: Unknown host

I've got through all of the suggested help option available here on stackoverflow, but none have managed to resolve this issue with valet and the dreaded ping *.dev (macOS only) Well it appears that the video tutorial needs updating. After a couple…
cjones
  • 367
  • 1
  • 3
  • 19
4
votes
2 answers

Access localhost on laravel valet from Android emulator

I'm using laravel valet to serve an API on a Mac. How can you access it from an Android emulator
YKalinde
  • 156
  • 1
  • 8
4
votes
4 answers

Valet - phpMyAdmin throws 404 not found

Before installing Laravel and Valet on my dev environment (Ubuntu), I had installed PHP 7, MySQL and phpMyAdmin and everything was working fine. In order to install Valet I had to disable apache2 as Valet was complaining during the instalation and…
ltdev
  • 4,037
  • 20
  • 69
  • 129
4
votes
1 answer

Browser-sync and Valet Secure

Im using browser-sync to serve up my local dev sites. Im also using Laravel Valet. When I use valet secure to serve a dev site over https, Im getting those ugly Chrome Privacy Error pages. Is there a way to stop this? My browser-sync config is as…
Matthew
  • 952
  • 7
  • 20
4
votes
3 answers

Is there a way to access a laravel valet app from another device?

I'm trying to connect to access my laravel app from a another device on the same network. Is this possible?
user4612178
4
votes
1 answer

Laravel Valet not working- as if it's missing a web server

I followed the instructions to install Valet and it worked fine the first 2 days with no problems at all. Then out of nowhere it stopped working and only seemed to get worse with time. First there were 404 errors on all laravel projects beyond their…
Mimzo
  • 69
  • 1
  • 9
3
votes
2 answers

Issue with install and setup mongodb into m1 macbook

I have an issue with connecting php(valet) and MongoDB. I tried to install MongoDB with pecl and command sudo pecl install mongodb and brew install mongodb and all time I get some errors during the install process: In file included from…
mrakodol
  • 1,143
  • 3
  • 12
  • 41
3
votes
0 answers

Curl `unable to get local issuer certificate` when using Laravel Valet

I'm hitting an immovable wall of (what seem to be) curl certificate errors while using Laravel Valet for local development. The current exception is: cURL error 60: SSL certificate problem: unable to get local issuer certificate (see…
FullStackFool
  • 1,071
  • 9
  • 15
3
votes
0 answers

How to run multiple laravel projects of different php version on macOs catalina and i m using valet and nginx?

i have two laravel projects one is using php 8 and another is using php 7.1 how to run both the projects on macOs and i m using valet and nginx. thanks in advance
3
votes
2 answers

MySQL brew cannot run on macOS Monterey?

MySQL suddenly stopped working after updating from macOS Big Sur to Monterey (naive). Local Laravel dev environment suddenly lost connection to MySQL. Couldn't debug it properly (still learning), so decided to do a fresh MySQL installation via brew.…
3
votes
0 answers

Switch icu4c version (Homebrew)

When running composer commands I get an error and it seems I have to change the icu4c version. (At the moment I need a composer command to re(install) - composer global require weprovide/valet-plus) However, when I try to change it using the steps…
3
votes
1 answer

Valet is not working with php.8 Nginx return Bad Gateway

Hi I have try to update php to 8.0 but always there a problem with valet to read the new version and I try to solve it without specific instructions but this time is stucked I will abbreviated my question and print valet diagnose valet…
Mohammed Alama
  • 145
  • 2
  • 9
3
votes
3 answers

Valet 502 Bad Gateway nginx/1.19.1

I have macOS High Sierra 10.13.6 and I’m running WordPress site locally on Laravel Valet 2.11.0. Yesterday I had some other issues with my local setup which I managed to fix by brew update/upgrade and few other tweaks. Since then everything was…
Kai
  • 312
  • 1
  • 6
  • 13
1 2
3
18 19