HELP: Problems installing Laravel Collective

0

Good afternoon colleagues !!!.

I'm installing Laravel Collective but I'm having problems for it.

If I use the command they provide on the official page:

composer requires "laravelcollective / html": "^ 5.4.0"

I usually get the following error:

Then reading in some sites recommended changing the double quotes for simple, leaving the line as follows:

composer require 'laravelcollective / html: ^ 5.4.0'

And this error is generated:

Apparently it is because of incompatibility of versions ... How could this solve friends ???

    
asked by roberthung 22.10.2018 в 20:46
source

1 answer

0

The official documentation ( link ) indicates that the first command was correct:

composer require "laravelcollective/html":"^5.4.0"

We understand that the version of laravel is 5.4 (I say this because for other versions the command changes).

Composer should resolve the dependencies. I recommend that you change terminals and use "git bash" for windows ... Sometimes, windows powershell complicates the thing a bit before these types of commands ...

    
answered by 23.10.2018 в 17:39