A
A
Adoafw2016-09-10 01:08:36
macOS
Adoafw, 2016-09-10 01:08:36

How to install Laravel 5.3 on Homestead for Mac OS?

Hello. Guys I'm trying to put Laravel 5.3 on Homestead. Vagrant and Homestead are old applications that work on Laravel 5.0. I decided to install Laravel 5.3.
1) I open the terminal I write cd documents
2) I write further

composer create-project laravel/laravel проект dev-develop

and gives me
Could not find package laravel/laravel with version dev-develop in a versio  
  n installable using your PHP version 5.5.31.

It is said that if you install Laravel using Homestead, you don't need PHP and others on your local machine, that's why I install it. But it says to me that I need to update the version of php. Guys what am I doing wrong??

Answer the question

In order to leave comments, you need to log in

2 answer(s)
E
Eugene Budnik, 2016-09-10
@egenik

You just need to update homestead, where there will already be the required php version for laravel 5.3. You can read how to do this here https://davejustdave.com/2016/03/08/how-to-upgrade...

D
Dmitry Evgrafovich, 2016-09-10
@Tantacula

Won't work on an old homestead. Laravel 5.3 requires php 5.6.4, and in your virtual machine it is 5.5.3, download the updated Homestead and install everything according to the instructions from here https://laravel.com/docs/5.3/homestead

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question