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

laravel valet: "unsecure" continues to redirect to https

I tried out valet's "secure" functionality. It worked well, but ultimately, it wasn't working well with the rest of my stack so I tried running "valet unsecure sitename" per the documentation. It nonetheless seems to still be in some way linked: if…
thesublimeobject
  • 1,393
  • 1
  • 17
  • 22
1
vote
0 answers

I want to install multiple versions Xdebug based in each version in brew

I have multiple versions of PHP using brew. When I want to switch between for example from PHP 7.4 to PHP 8.1 I use this command brew unlink php@7.4 && brew link php@8.1 When I download Xdebug for PHP 8.1 I use pecl install xdebug It would install…
1
vote
0 answers

Laravel Herd + Wordpress not writing to debug.log

I've just changed to Laravel Herd earlier this week and needed to run Wordpress debugging on a theme I'm developing. This is where I noticed that Wordpress doesn't seem to be creating a/writing to debug.log-file when it's run through Herd. I have…
Rvervuurt
  • 8,589
  • 8
  • 39
  • 62
1
vote
0 answers

Not working valet php command to proxy calls on Macbook M1

if I run the command valet php -v or valet composer install i am getting an error: /opt/homebrew/bin/valet: line 158: Fatal: command not found Other teams are working. The problem is only with the proxy. Suggest options for solving this problem for…
Sanya H
  • 213
  • 3
  • 7
1
vote
1 answer

valet install produces error in Nginx.php

I'm trying to set up laravel and valet. When running valet install I am getting this error Fatal error: Uncaught TypeError: Valet\Site::aliasLoopback(): Argument #2 ($loopback) must be of type string, null given, called in…
1
vote
0 answers

changing php versions in a laravel (valet) app

i am facing an issue regarding changing php versions in valet/brew. i notice that phpmyadmin requires v7.2.5+ and i have been able to move (down) to v7.2.34 . when i now try to move to v7.3 using the following commands: brew unlink php@7.2 && brew…
Screwtape007
  • 185
  • 1
  • 2
  • 16
1
vote
1 answer

Using Valet to serve two projects on sub domains using proxy

I have two projects one is API(Laravel APP) and another one is a frontend app(Nuxt APP). I want to serve these projects on the same domain using valet on my local. Problem is that I'm not able to do so as both my subdomains are pointing to the…
Muhammad Yasir
  • 406
  • 3
  • 15
1
vote
2 answers

Laravel Valet Operation not Permitted

I have PHP 7.3 and a Laravel 8 site that has been parked with Laravel Valet. I try to access the application at app.test and I get the following message: Warning: opendir(/Users/username/Desktop/CodingProjects): failed to open dir: Operation not…
vsahinid
  • 61
  • 2
1
vote
0 answers

Why is NGINX throwing 500 error in the X-Accel-Redirect block?

Laravel's Valet project for MacOS uses NGINX. NGINX has recently started throwing 500 errors for all static assets, but runs PHP fine for my Laravel site. I'd really like to get Valet back to serving the whole of my site, and I'm pretty sure this is…
selfsimilar
  • 1,397
  • 2
  • 18
  • 31
1
vote
1 answer

post data esp8266 to laravel

my problem is that when i tap rfid to scanner it appears on serial monitor Valet - Not found. this is a picture when i tap the rfid card and an error appears on the arduino ide monitor serial : Valet Not Found InSerial Monitor Arduino IDE that's my…
1
vote
1 answer

Laravel Valet - deprecated dependencies in lock file

On running composer global require laravel/valet, illuminate/contracts and illuminate/container are locked to v5.4.36: - Locking illuminate/container (v5.4.36) - Locking illuminate/contracts (v5.4.36) Running any valet command returns a long…
1
vote
1 answer

Question: How to solve laravel valet No such file or directory?

when I was installing laravel valet I got an error saying: /bin/bash: C:\Users\user\AppData\Roaming\Composer\vendor\bin\/../laravel/valet/valet: No such file or directory I already required it with composer by this command: composer global require…
svqo
  • 45
  • 2
  • 8
1
vote
1 answer

Tell Laravel to stop trying a connection after X seconds

I have a Laravel app that uses two database connections. One is always accessible (and is the default configured in my environment). The other one is remote and may be unreachable (that's its expected behavior). This second database is accessible…
Fayçal Borsali
  • 402
  • 4
  • 17
1
vote
1 answer

CORS, Laravel Valet, and Socket.io

This feels like it's all way harder than it should be. I am working on an application for a client and am at the end of my rope trying to get this thing running locally. So, I am using Laravel(served through Valet on my mac) and am writing a…
Eric
  • 2,201
  • 5
  • 29
  • 35
1
vote
0 answers

Laravel Vallet can't turn on merge_slash nginx

I have laravel Valet site that I can't get the nginx settings to accept double slash after domain name. When I access http://127.0.0.1:8000//js/app.js the file returns 404 I tried setting merge_slashes on in /usr/local/etc/nginx/valet/valet.conf but…
BenB
  • 2,747
  • 3
  • 29
  • 54