spryker-sdk/composer-constrainer
ComposerConstrainer module
0.2.8
2.4M downloads/mo
#3927 most downloaded on Packagist
spryker-sdk/composer-constrainer
What this package is like to depend on
Last release 3 months ago
12 May 2026
Release timing varies
gaps range from 2 weeks to 2.4 years
Nearly every release is documented
notes for 10 of 11 stable releases
Nothing withdrawn
no release was ever pulled
7 years old
11 releases · first in 2019
1 release in the last 12 months
see the full history below
Release timeline
11 releases · Aug 2019 to May 2026Releases
latest 11-
0.2.812 May 2026Release notes
Open source → -
0.2.713 Dec 2023Release notes
Open source →Included commits: 0.2.6...0.2.7
Fixes
- Added a third-party library
roave/better-reflectionto dependencies.
- Added a third-party library
-
0.2.622 Apr 2022Release notes
Open source →Included commits: 0.2.5...0.2.6
Improvements
- Removed
ondrejmirtes/better-reflectionfrom dependencies.
- Removed
-
0.2.507 Sep 2021Release notes
Open source →Included commits: 0.2.4...0.2.5
Improvements
- Enhanced
code:constraint:modulesconsole command with--strictargument to allow using the command in strict mode. Strict mode detects customization/extension/configuration/dependency according to the latest Spryker conventions allowing a more accurate locking over Spryker dependencies. Also warns about customized lines per each package that will increase migration efforts upon next upgrade with Spryker packages. - Improved
ComposerConstrainerFacade::updateConstraints()with $isStrict parameter to enable using strict mode. - Improved
ComposerConstrainerFacade::validateConstraints()with $isStrict parameter to enable using strict mode. - Introduced various amounts of transfers and properties to support detailed information gathering about composer constraints for strict mode.
- Introduced
ComposerConstrainerConfig::getStrictValidationIgnoredPackages()to allow ignoring specific packages during strict mode both for validation and update. - Introduced
ComposerConstrainerConfig::getIsIgnoreLineCount()to allow ignoring customization line count during evaluation that would need to be fixed otherwise. - Enhanced
code:constraint:modulesconsole command with--output-formatargument to allow different result formats to be configured (currently available for strict mode only with "csv" value).
- Enhanced
-
0.2.401 Sep 2021Release notes
Open source →Included commits: 0.2.3...0.2.4
Improvements
- PHP 8 compatibility
- Improve output
- Auto detect indentation and allow also to work with non-standard (4 space) one to keep diff minimal.
-
0.2.319 Jan 2021Release notes
Open source →Included commits: 0.2.2...0.2.3
Improvements
- Introduced
ComposerConstrainerConstants::PROJECT_NAMESPACESused to configure a list of project namespaces. - Introduced
ComposerConstrainerFacade::updateForeignConstraints()to update foreign modules constraints. - Introduced
ComposerConstrainerFacade::validateForeignConstraints()to validate foreign modules constraints. - Added support for
--with-foreign(-w) boolean option inComposerConstraintConsolefor validating or updating foreign package constraints. - Introduced
ComposerConstrainerConfig::getProjectNamespaces()which provides a list of project namespaces. - Introduced
ComposerConstrainerConfig::getExcludedNamespaces()which provides a list of namespaces meant to be skipped during the validation/update. - Introduced
ComposerConstrainerConfig::getVendorDirectory().
- Introduced
-
0.2.204 Nov 2020Release notes
Open source → -
0.2.109 Oct 2020 -
0.2.005 Dec 2019Release notes
Open source →Included commits: 0.1.1...0.2.0
Improvements
- Updated to add constraints for feature sub-level module dependencies.
- Use composer.lock to get the expected version for constraint.
-
0.1.127 Aug 2019Release notes
Open source →Included commits: 0.1.0...0.1.1
Bugfixes
- Excluded ModuleConfig and ModuleDependencyProvider for finding extended modules.
- More clear output for usage including dry-run details.
-
0.1.015 Aug 2019Nothing published for this version