Download the PHP package yireo/magento2-salesblock2-by-email without Composer

On this page you can find all versions of the php package yireo/magento2-salesblock2-by-email. 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 magento2-salesblock2-by-email

Yireo SalesBlock2ByEmail for Magento 2

![Magento version](https://img.shields.io/badge/Magento-2.4.6%20%7C%202.4.9-orange) ![PHP version](https://img.shields.io/badge/PHP-8.2%E2%80%938.5-777BB4) ![License](https://img.shields.io/badge/License-OSL--3.0-blue) ![Latest Version](https://img.shields.io/packagist/v/yireo/magento2-salesblock2-by-email)

This module is a helper-module for the Yireo_SalesBlock2 extension, that allows you to block orders from being placed, based on specific rules defined in the Magento Admin Panel.

This specific module allows you to match by email address. Each line (or comma, semicolon or pipe separated value) of a condition is a pattern:

Pattern Matches
[email protected] exactly this address
@example.org or example.org every address at example.org and its subdomains (like mail.example.org), but not myexample.org
spam*@* or *@example.* a wildcard match against the full address (* is the only wildcard, at most 3 per pattern)

Before matching, both the email address and the pattern are normalized: whitespace is trimmed, everything is lowercased, a trailing dot of the domain is removed and international domains are converted to punycode. Sub-addresses ([email protected]) are matched as [email protected] and dots in Gmail addresses are ignored ([email protected] is matched as [email protected]).

Patterns are validated when saving a rule: regular expression characters (like ^, $, ( or ?), HTML characters, multiple @ and patterns matching everything (like *@*) are rejected.

Upgrading from 2.x: Older versions matched every pattern as a case-insensitive substring (example matched [email protected]). Since 3.0, a partial address or a partial domain no longer matches. Review your existing rules after upgrading.

Installation

To install this module, use the following commands. First, install this module using composer. Note that this step will fail if the Yireo_SalesBlock2 is not installed yet.

composer require yireo/magento2-salesblock2-by-email

Once this module is installed via composer, you can enable it:

./bin/magento module:enable Yireo_SalesBlock2ByEmail

There are no further steps to take. The Yireo_SalesBlock2 module automatically picks up on things.

Current status

![Static Tests](https://img.shields.io/github/actions/workflow/status/yireo/Yireo_SalesBlock2ByEmail/static-tests.yml?label=static-tests) ![Unit Tests](https://img.shields.io/github/actions/workflow/status/yireo/Yireo_SalesBlock2ByEmail/unit-tests.yml?label=unit-tests) ![Integration Tests](https://img.shields.io/github/actions/workflow/status/yireo/Yireo_SalesBlock2ByEmail/integration-tests.yml?label=integration-tests) ![Playwright](https://img.shields.io/github/actions/workflow/status/yireo/Yireo_SalesBlock2ByEmail/playwright.yml?label=playwright) ![DI Compilation](https://img.shields.io/github/actions/workflow/status/yireo/Yireo_SalesBlock2ByEmail/compile.yml?label=compile)

All versions of magento2-salesblock2-by-email with dependencies

PHP Build Version
Package Version
Requires ext-pcre Version *
magento/framework Version ^101.0|^102.0|^103.0
magento/module-customer Version ^101.0|^102.0|^103.0
php Version >=8.2 <8.6
yireo/magento2-salesblock2 Version ^2.3
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 yireo/magento2-salesblock2-by-email contains the following files

Loading the files please wait ...