Download the PHP package spryker-sdk/composer-constrainer without Composer

On this page you can find all versions of the php package spryker-sdk/composer-constrainer. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package composer-constrainer

ComposerConstrainer Module

CI Latest Stable Version Minimum PHP Version PHPStan

Tool to detect extended core modules and to update composer.json constraints from using ^ (caret) to using ~ (tilde) for those extended modules.

What will be found by this tool

What is ignored by this tool

Installation

This is a development only "require-dev" module. Please make sure you include it as such.

Add the console command SprykerSdk\Zed\ComposerConstrainer\Communication\Console\ComposerConstraintConsole to your Pyz\Zed\Console\ConsoleDependencyProvider::getConsoleCommands() stack.

Documentation

Spryker Documentation

Spryker OS is modular and follows SemVer. Every BC-breaking change of module API (https://docs.spryker.com/docs/scos/dev/architecture/module-api/module-api.html) is considered as a major release. But what happens to non-API? Spryker leverages the ability to change non-API functionality in minor and patch releases. This way Spryker provides new features for different business verticals.

What does it mean for my customized modules?

When you customized Spryker modules (changed module behavior on project level) even minor changes could potentially cause migration efforts. To avoid such cases and keep project updates safe and predictable a project should use ~ (tilde) composer constraint instead of ^ for modules with changed behavior. And to simplify the process Spryker provides a development command vendor/bin/console code:constraint:modules, which will suggest required changes in composer.json. It can also auto-adjust your composer.json.

Usage

Dry-run the command

With this command no changes will be made to the composer.json. Use -v to see version details.

The return code of this command is either 0 (success) or 1 (error, some constraints need to be changed).

This is the recommended hook for your CI system.

Run the command

This command will change the project's composer.json. Please dry-run the command before you apply any changes.


All versions of composer-constrainer with dependencies

PHP Build Version
Package Version
Requires php Version >=7.4
roave/better-reflection Version ^5.0.0 || ^6.0.0
spryker/kernel Version ^3.33.0
spryker/laminas Version ^1.0.0
spryker/symfony Version ^3.2.2
spryker/transfer Version ^3.27.0
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package spryker-sdk/composer-constrainer contains the following files

Loading the files please wait ....