Skip to content

Delete composer.lock#2

Merged
olegmifle merged 1 commit intophp-vision:mainfrom
Big-Shark:patch-1
Jan 7, 2026
Merged

Delete composer.lock#2
olegmifle merged 1 commit intophp-vision:mainfrom
Big-Shark:patch-1

Conversation

@Big-Shark
Copy link
Contributor

In PHP libraries intended as reusable dependencies, the composer.lock file is unnecessary because it is ignored by Composer when the library is installed in a root project.
Dependency resolution relies solely on the version constraints in the library's composer.json, allowing consuming applications to select compatible versions flexibly.
Committing composer.lock to a library's repository serves no practical purpose for downstream users and is therefore commonly excluded.

In PHP libraries intended as reusable dependencies, the composer.lock file is unnecessary because it is ignored by Composer when the library is installed in a root project. Dependency resolution relies solely on the version constraints in the library's composer.json, allowing consuming applications to select compatible versions flexibly. Committing composer.lock to a library's repository serves no practical purpose for downstream users and is therefore commonly excluded.
@olegmifle olegmifle merged commit f399460 into php-vision:main Jan 7, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants