S
S
Stanislav2021-12-29 21:49:21
Composer
Stanislav, 2021-12-29 21:49:21

Why does Composer install laravel/framework instead of illuminate/support?

There is a certain library whose dependencies include the "illuminate/support:5.3.*" package. Running composer install or composer update, with or without vendor and composer.lock removed, successfully installs all dependencies except the one mentioned above. Instead, vendor has this:

laravel
  framework
    src
      illuminate


What is the focus? As a result, PhpStorm thinks that the package is not installed by highlighting it with a squiggly line in composer.json. At the same time, the package exists as a separate package on Packagist , links to the code lead to the corresponding repository on Github.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
Sergey, 2021-12-29
@lamo4ok

Because the framework has a replace section in composer.json: more details in the schema

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question