Answer the question
In order to leave comments, you need to log in
Why do I need internet to install Laravel from the installer?
Hello. I'm reading a tutorial on Laravel. It is written that to install Laravel via Composer, you first need to install the Laravel installer: composer global require "laravel/installer"
And then Laravel itself: laravel new blog
In my understanding, the installer is what you need to download once. And then with the help of it you can install something on your computer many times. However, I installed the installer, disconnected the Internet, entered the command: laravel new blog
And I got an error:
Crafting application...
In CurlFactory.php line 185:
cURL error 6: Could not resolve host: cabinet.laravel.com (see http://curl.
haxx.se/libcurl/c/libcurl-errors.html)
new [--dev] [--force] [--] [<name>]
Answer the question
In order to leave comments, you need to log in
the installer probably knows more than anyone how to install, and not that he has everything with himself, for every occasion, it is still clear from the blanks that a person may not have access to the Internet and you need to score dependencies to the fullest, but there is no point with the Internet , so you would only install the installer for several minutes / hours and get not the latest packages.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question