O
O
Oleg Belyay2017-10-26 19:26:38
Composer
Oleg Belyay, 2017-10-26 19:26:38

How to update packages via compose without affecting some that I edited?

How to update packages via compose (compose update) without affecting some packages that I edited?

Answer the question

In order to leave comments, you need to log in

3 answer(s)
M
Maxim Fedorov, 2017-10-26
@Maksclub

to install doctrine/doctrine-fixtures-bundle with version 2.1.* and minimum stability use this:
then to update only this single package:
and for this you need to tear off the eggs

K
Konstantin B., 2017-10-26
@Kostik_1993

No way. Everything that you pull with a composer cannot be touched.

S
Stanislav Pochepko, 2017-10-27
@DJZT

1. Return the packages to their original state.
2. Update composer dependencies
3. Use packages as intended.
4. If you need to make changes to the package
4.1 Fork it
4.2 Make changes and commit them to your repository with the fork
4.3 Propose changes to the main project via pull-request or include your fork as a dependency.
5. Profit

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question