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
0
votes
1 answer

Valet is not able to resolve host after I changed my mac username

The question title says it all. Things that I tried: 1) Uninstalled laravel/valet composer package globally and reinstalled it. Reinstalled valet. No luck. 2) Deleted the ~/.config/valet/dnsmasq.conf file and ran valet tld test to reset all…
Tanmay
  • 3,009
  • 9
  • 53
  • 83
0
votes
1 answer

Laravel Valet not serving style.css file

I am currently switching to Laravel Valet as a simple webserver and am serving my current project under project.test. Everything - including PHP, JS and CSS - is serving file except my assets/css/style.css file. When I open it in the browser I get…
Jack Dunsk
  • 91
  • 1
  • 11
0
votes
1 answer

Laravel Valet 403 forbidden

I am having issues with setting up Laravel Valet on my machine (MacOS Mojave 10.14). I followed the official documentation on Laravel documentation site. I have installed Valet, added Composer to path, I can run valet and laravel commands from…
Norgul
  • 4,613
  • 13
  • 61
  • 144
0
votes
3 answers

Laravel Valet replacing public sites with 404 Not Found

I'm learning Laravel, and I successfully installed Valet. Did some basic development. Then moved on to other things totally unrelated. About a week later (today) I visited two sites (in Chrome and Safari…
Spencer Hill
  • 1,043
  • 2
  • 15
  • 38
0
votes
1 answer

Laravel Migrate Cant connect to MYSQL

I have installed a fresh Laravel project (5.7.5) on my Mac (10.13.6). I have installed mysql (8.0.12) with brew install mysql and the laravel project with the laravel create laraveltest command. Laravel is running in the Valet environment (2.1.1). I…
Fredrik
  • 33
  • 1
  • 5
0
votes
0 answers

Laravel php artisan migrate does nothing

am quite new to php laravel. Been watching laracasts to try to get valey working but hitting a wall at "php artisan migrate". I've tried running a few commands like below but nothing works. The problem is after typing "php artisan migrate" in the…
LEO
  • 121
  • 1
  • 2
0
votes
3 answers

Postman not Working with Laravel Valet (Local)

When I use Postman to send or get data to/from my local Laravel applications it always returns the error... Could not get any response. For example, a GET request to http://demo_app.localhost/api/data. I use Laravel Valet on my Mac. It looks…
MelWet
  • 273
  • 1
  • 3
  • 6
0
votes
2 answers

Laravel Valet not resolving sites after install

Having a terribly frustrating time not having valet working on a fresh install. Going to any *.test site in my browser just hangs and eventually gets the error message This site can’t be reached, "ping app.test" hangs as well, and eventually errors…
Afs35mm
  • 549
  • 2
  • 8
  • 21
0
votes
2 answers

install nginx for valet on ubuntu

I'm trying to install valet on Ubuntu 17.10 but I have problems with the nginx package which is requested. It gives me this error: See "systemctl status nginx.service" and "journalctl -xe" for details. invoke-rc.d: initscript nginx, action…
frtgu34
  • 99
  • 9
0
votes
1 answer

How to properly set the site with HTTPS for secure connections?

Im using laravel with valet, when I acess some site the url is "https://blog.test". Im using localhost for now. But I would like to have the site with a secure connection. But Im not finding about which is necessary to have a secure connection. Do…
user9607361
0
votes
1 answer

Asset are not accesible laravel valet

I am trying to setup an existing laravel project in my localhost. I am using Linux Mint along with Valet Linux 2.0 Valet linux works fine as I am able to setup new laravel project which works fine. But now I am trying to setup an existing laravel…
0
votes
0 answers

Can't find Backpack/Crudnews files

I have a fresh install of laravel (using composer) and Backpack (using composer) and on top of that i installed Crudnews (also using composer) and everything works fine. But i want to add an "author" column to the Crudnews form so when i started…
Dennis
  • 13
  • 8
0
votes
2 answers

Strange Laravel/VALET node_modules error on scratch setup MacOS Sierra

I have been experiencing with this issue, since i install composer perfectly and then requiring laravel/valet globally. When I hit 'valet' on iterm/zsh what returns is as below. module.js:540 throw err; ^ Error: Cannot find module…
0
votes
0 answers

Localhost - 404 Not Found

I'm using a MacBook Pro 2017 with macOS High Sierra. I use apache for my local development environment; however, for a couple of weeks I could not manage to access my localhost. When I navigate to localhost, only thing appears on the screen is…
Kaan Türkmen
  • 13
  • 2
  • 2
0
votes
0 answers

Issue getting mac to use brew php version

I had php installed and now I am trying to switch over to valet-plus to I can switch between php versions easy but I am running into some issues. I have php71 and php 56 install but it seems like my computer keeps trying to use php from…
Chris
  • 486
  • 3
  • 8
  • 22