F
F
feycot2020-02-08 01:17:34
Composer
feycot, 2020-02-08 01:17:34

Why don't Laravel packages contain composer.lock?

For example
https://github.com/LaravelCollective/html
https://github.com/barryvdh/laravel-debugbar

Why is the lock file not added to the repository?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
Daria Motorina, 2020-02-08
@feycot

Because they are packages (3rd party reusable solution) and not final code.
The composer.json is here to describe the dependencies and requirements of the package itself.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question