Questions tagged [homestead]

Laravel Homestead is an official, pre-packaged Vagrant "box" that provides you a wonderful development environment without requiring you to install PHP, HHVM, a web server, and any other server software on your local machine. Homestead runs on any Windows, Mac, or Linux system, and includes the Nginx web server, PHP 5.6-7.3, MySQL, Postgres, Redis, Memcached, and all of the other goodies you need to develop amazing Laravel applications.

To install Laravel Homestead, please visit the official web site.

1571 questions
17
votes
1 answer

Laravel vagrant up not working - Errno::EADDRNOTAVAIL

I have recently had some errors while a part of the Laravel environment or Windows 10 updated, so after a lot of trials and errors I've decided to delete everything and start from scratch. So now I have new VirtualBox, Vagrant, Laravel/Homestead box…
Norgul
  • 4,613
  • 13
  • 61
  • 144
17
votes
8 answers

Uncaught TypeError: Vue.component is not a function

In OS X with Laravel/Homestead, I'm getting an error using Vue (v2.2.1). The component won't load and the console error is "Uncaught TypeError: Vue.component is not a function". Full console error Uncaught TypeError: Vue.component is not a…
Stephen Pappas
  • 173
  • 1
  • 1
  • 5
17
votes
3 answers

debugging laravel artisan from PHPStorm with homestead

I setup Laravel Homestead. I then configured both homestead xdebug.ini and PHPStorm to make the debugging work. Here is my xdebug.ini inside homestead zend_extension=xdebug.so xdebug.remote_autostart = on xdebug.remote_enable =…
user391986
  • 29,536
  • 39
  • 126
  • 205
16
votes
2 answers

How to destroy and recreate vagrant/homestead machine?

I'm running Laravel on Vagrant Box (homestead) When I'm doing vagrant up, I'm getting a message: : A newer version of the box 'laravel/homestead' is available and already : installed, but your Vagrant machine is running against : version '6.3.0'. To…
Yevgeniy Afanasyev
  • 37,872
  • 26
  • 173
  • 191
16
votes
6 answers

Laravel Homestead vagrant up times out

I'm following the official guide for running Laravel 5.1 on Homestead. But when I try vagrant up it hangs up at homestead-7: SSH auth method: private key and eventually times out with the message: Timed out while waiting for the machine to boot.…
Camilo
  • 6,504
  • 4
  • 39
  • 60
15
votes
7 answers

Composer fails with kylekatarnls/update-helper on new homestead

I have installed a homestead on a new computer. I have pulled my code (which is working on my other computer as well as the server). My project is made in Laravel 5.7 When I do a composer require to get everything in place to, i get this error: …
SorenPeter
  • 243
  • 1
  • 4
  • 9
15
votes
6 answers

How to update laravel/homestead?

I need to update laravel/homestead? It is a Vagrant box. I'm using it for my dev environment. I remember it was a shell command but I don't remember the command and I cannot find it. Please help
Yevgeniy Afanasyev
  • 37,872
  • 26
  • 173
  • 191
15
votes
5 answers

ext-imagick * -> the requested PHP extension imagick is missing from your system

I have trouble installing devisephp for laravel. I am working on the latest version of homestead with php7. when i do composer update i get the following error. Problem 1 - Installation request for devisephp/cms 1.4.* -> satisfiable by…
maesk
  • 233
  • 1
  • 4
  • 11
15
votes
3 answers

How to import existing database to homestead?

I'm learning to use Homestead 2.0. I have a existing MySQL database on my local machine. If I create a new laravel 5.0 project on homestead virtual machine, what should I do to connect to existing database? If I need to migrate database on…
Daolin
  • 614
  • 1
  • 16
  • 41
15
votes
3 answers

Maximum function nesting level of '100' reached, aborting after upgrading to Laravel 5.1

I'm getting this error message in my Laravel application after I upgraded to Laravel 5.1. FatalErrorException in Dispatcher.php line 200: Maximum function nesting level of '100' reached, aborting! This issue occurs on some URLs of my app. I have…
Emeka Mbah
  • 16,745
  • 10
  • 77
  • 96
14
votes
5 answers

Laravel and ngrok: url domain is not correct for routes and assets

My setup: Homestead on Mac OSX with multiple sites configured I have one site setup using domfit.test as the local domain (auto mapped using hostsupdater) My problem: If I vagrant ssh, and then share domfit.test I get a random generated ngrok url…
Dominic Williams
  • 1,538
  • 2
  • 13
  • 17
14
votes
2 answers

How to update PHP version in homestead

I am having a trouble on updating php version in homestead. When I check the version in homestead ssh it says it's php version is PHP 5.6.23-1+deprecated+dontuse+deb.sury.org~trusty+1 (cli). Now I would like to update the PHP version to 7 for code…
claudios
  • 6,588
  • 8
  • 47
  • 90
14
votes
6 answers

Homestead - Connecting to my database

I just created a fresh laravel project and I'm using a Homestead vagrant box by running vagrant init laravel/homestead and after Vagrant Up When I use vagrant ssh it gives me no problem and I can acces the vagrant box, however when I want to…
Nicolas
  • 4,526
  • 17
  • 50
  • 87
14
votes
1 answer

Laravel 5 + Homestead + HHVM + PGSQL = Driver not found

My PHP project uses PGSQL. It runs successfully from Homestead on my dev machine. As soon as I add hhvm: true to my project in homestead.yaml, and provision -- my web app throws a PDOException with a driver is not found. The exception goes away as I…
JasonGenX
  • 4,952
  • 27
  • 106
  • 198
13
votes
3 answers

How to automatically enable php extensions in Homestead on vagrant up

Im using Laravel 5.3 in Homestead with Vagrant 1.8.7 running on VirtualBox. I have need to enable some php extensions. I know that I could ssh into the box and edit the php.ini to enable the extension but this seems like a very anti-vagrant way to…
Wesley Smith
  • 19,401
  • 22
  • 85
  • 133