Download the PHP package netresearch/module-compatibility-m2 without Composer

On this page you can find all versions of the php package netresearch/module-compatibility-m2. 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 module-compatibility-m2

Netresearch Compatibility Extension

The target of this 'extension' is to provide forward/backward compatibility ports of functionality within Magento2. This is aimed at extension developers to allow them to only have to maintain one development branch of their extension, that can be compatible with all Magento versions.

Example

Magento 2.3 introduced the CsrfAwareActionInterface which allows controllers to receive POST requests from outside of the shop (e.g. for postsale activities of payment service providers). To retain functionality the extension provider would have to maintain two development branches of their extension, one for Magento 2.3 with the interface, and one without.

To avoid this, this extension provides an abstract controller that can be extended by controllers within third party extensions that need this functionality (implementing the CsrfAwareInterface). They will have to implement some abstract methods, however they can use one development branch for their extension.

How to use

This extension has multiple versions:

To use the features of this extension add an requirement in your extensions composer.json:

Yes we recommend *, if you don't care or e.g. >=2.0.0 if you want to support Magento 2.2.*. This extension will itself require the affected Magento components (e.g. magento/framework) in the related versions, which will only allow a specific version of this extension on the merchants installation through composer.

Supported Forward/Backward compatibilities

CsrfAwareActionInterface (Magento\Framework\App\CsrfAwareActionInterface)

Compatibility breaking version: Magento 2.3.0

To have a backward compatible controller for Magento 2.3 that can accept external POST requests, just extend {{Netresearch\Compatibility\Controller\CsrfAware\Action}} and implement the abstract methods. For Magento 2.2 and 2.1 that will likely result in dead code (unless you refer to those functions in the rest of you Controller), but you don't have to worry about managing the Interface implementation yourself.

License

Open Software License v. 3.0 (OSL-3.0)

Copyright

Netresearch DTT GmbH (www.netresearch.de)


All versions of module-compatibility-m2 with dependencies

PHP Build Version
Package Version
Requires php Version ~7.1.3|^7.2.0
magento/framework Version ^102.0.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 netresearch/module-compatibility-m2 contains the following files

Loading the files please wait ....