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

Connecting Laravel (with Valet) with Sequel Pro, how do I problem solve?

I've successfully got my Laravel application working from a git pull, however connecting to a Sequel Pro (MAMP) database is proving difficult. Here's the error InvalidArgumentException in compiled.php line 11774: Database [] not configured Is it…
Henry
  • 5,195
  • 7
  • 21
  • 34
0
votes
1 answer

Trying to problem solve "Fatal Errors" and "No Such File or Directory"

I'm at a total loss here. All I am trying to do is clone a Laravel Project onto my local mac machine and I've probably spent 10 - 12 hours on this and I keep getting the same errors over and over. I've tried Homestead, MAMP and now I am on Valet. I…
Henry
  • 5,195
  • 7
  • 21
  • 34
0
votes
1 answer

How to send cURL request to Laravel App via Guzzle

I'm using Guzzle within my Laravel app to make a request to /oauth/token/ as a login request and see to be getting connection refused My code in my custom controller is: public function login(Request $request) { $http = new…
Afs35mm
  • 549
  • 2
  • 8
  • 21
0
votes
1 answer

Permission based issue with Valet (so it seems)

I got Valet to work and .test domains can be pinged etc. However, when I create a laravel new test-site I get a bunch of permission-based errors. I 'sudo'd' the laravel build but I was repeatedly warned not to do this. If I then view the site on the…
Henry
  • 5,195
  • 7
  • 21
  • 34
0
votes
1 answer

Mysql not working on mac Sierra after upgrading php

I recently upgraded my laravel valet to version 2 which installed php 7.2 through brew. I had previously been on php 7.1. I ran into a few bumps but got php and valet working but once I did I noticed mysql is no longer working. If I do brew…
Chris
  • 486
  • 3
  • 8
  • 22
0
votes
0 answers

Laravel valet won't install

I had some problems with valet. I have used it for a while no. No i like to reinstall valet. But i don't get it installed. This is what i did before (whit help) Error installing php 71 with homebrew on my mac After this i got my homebrew…
mbo
  • 13
  • 6
0
votes
1 answer

Can't install craft3 using the command line. Testing database credentials ... failed:

After creating a project on the command line and going through the setup I get Testing database credentials ... failed: SQLSTATE[HY000] [2054] The server requested authentication method unknown to the client I am using mysql8, using laravel valet,…
DumbDevGirl42069
  • 891
  • 5
  • 18
  • 47
0
votes
1 answer

Importing Wordpress database into Laravel Valet, rows not being imported

I'm copying a Wordpress site from a server to a local Valet environment. When I export the database, I can see in the wp_options table that the rows such as the site_url etc are present. Yet when I import the database into Valet via either wp-cli or…
gurtfrobe
  • 316
  • 6
  • 17
0
votes
1 answer

Laravel passport trying to get oauth/token. Guzzle keeps hanging, also on other Guzzle calls

Set up a new project with Laravel 5.8 and I also installed Laravel Passport & Guzzle. Created a local server with php artisan serve on port 8000. Postman is able to get a response at /oauth/token (but only when the body is in JSON). When I try to…
0
votes
0 answers

Why is valet open *project name* giving me 502 error in my browser?

I'm running valet open *project-name* to display the project in my view but instead I get redirected to a page that's giving me a 502 error. I've tried running valet start (all it did was restart nginx), ran valet open *project-name* again but I got…
mr test
  • 375
  • 1
  • 3
  • 12
0
votes
1 answer

Sending email when implementing ShouldQueue or using the queue() method results in a Illuminate\Contracts\Queue\Factory, null given for Lumen 5.8

I'm new on Lumen and currently learning on using Lumen 5.8. Recently, my app that I'm developing requires implementing ShouldQueue or the queue() method when sending an email for various purpose. So I followed the instructions on the official page…
0
votes
2 answers

504 Gateway Time-out nginx/1.15.8 Laravel Socialite

Two days now I try to spot an issue with this provider. MY SETUP PHP VERSION: PHP 7.2.14 Zend Engine v3.2.0 Laravel Valet Clearing cache php artisan cache:clear composer dump-autoload FILE :…
0
votes
1 answer

Loading resources in Laravel Valet without trailing slashes

I have a simple html file (trying to start my way with valet) and in it i have a Thing is, home.test/app doesn't show my styled htm. Chrome's inspector shows it tries to find the resouce file at…
bronze
  • 79
  • 7
0
votes
1 answer

Laravel Valet always returns "ErrorException: preg_match(): JIT compilation failed: no more memory"

A fresh install of Mac OS and Laravel valet didn't help get rid of the problem. I dug deeper and edited the php.ini files of both PHP 7.2 and 7.3. edit made on both files was "pecr.jit=1 to pecr.jit=0" still no luck. I've noticed that the errors…
Thavarshan
  • 45
  • 1
  • 9
0
votes
1 answer

Set laravel valet to use a driver for Jigsaw

I want to use Jigsaw to create a static site. I am using laravel valet for my other projects There is a Valet Driver for Jigsaw. https://github.com/laravel/valet/blob/master/cli/drivers/JigsawValetDriver.php But I can't see how to tell Valet to use…
JaChNo
  • 1,493
  • 9
  • 28
  • 56