D
D
Denis Bukreev2017-09-29 20:57:04
Laravel
Denis Bukreev, 2017-09-29 20:57:04

Why isn't the latest version of laravel being installed?

I enter in the console:

composer create-project --prefer-dist laravel/laravel blog

And version 5.4.30 is installed, although the last one on the official site is 5.5
, I didn’t think for a very long time why validate () does not work for me according to official. documentation, because only the day before yesterday I installed it - it should be the freshest. Checked - in general 5.3 costs
What kind of nonsense?
[How to install the latest version?
UPD: it turned out that laravel 5.5.* requires php 7, and I had php 5.6 on my poppy (although I use mump and it has php7.1 - what does it seem to have php in the system?). Updated php with a couple of commands and everything is fine:
// проверим версию
php -v

// усанавливаем php 7.1
curl -s http://php-osx.liip.ch/install.sh | bash -s 7.1

// обновляем пути
export PATH=/usr/local/php5/bin:$PATH

// проверяем версию
php -v

Answer the question

In order to leave comments, you need to log in

2 answer(s)
E
Edward, 2017-09-29
@edalis

Try updating Composer
composer self-update

A
amorphine, 2017-09-29
@amorphine

git clone https://github.com/laravel/laravel.git

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question