Download the PHP package contao-community-alliance/merger2 without Composer

On this page you can find all versions of the php package contao-community-alliance/merger2. 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 merger2

Build Status Latest Version tagged Latest Version on Packagist Installations via composer per month

Merger²

The Contao Community Alliance merger² extension provides a powerful frontend module to merge various content:

Requirements

Merger² v4 requires at least Contao 4.13 with PHP 7.4 or Contao 5 with PHP 8.0 higher and is prepared for the Contao Managed Edition.

Changelog

See CHANGELOG

Documentation

The documentation is managed as a wiki on Github. Feel free to contribute.

Condition Reference

Each condition is an expression which may contain different functions. Function may be combined with && or || constraints and you can turn back conditions with ! as NOT.

articleExists(column: string [, includeUnpublished: bool])

Test if an article exists in the specific column or section.

children(count: integer [, includeUnpublished: bool])

Test if the page have the specific count of children.

depth(value: string)

Test the page depth.

isMobile([cookieOnly: bool])

Detect if page is rendered as mobile page.

language(language: string)

Test the page language.

page(pageId: string|integer)

Test the page id or alias.

pageInPath(pageId: string|integer)

Test if page id or alias is in path.

platform (platform: string)

Test the user platform.

root (pageId: string|integer)

Test the root page id or alias.

Custom functions

Merger² is prepared for custom functions. Simply implement the ContaoCommunityAlliance\Merger2\Functions\FunctionInterface and provide it as a cca.merger2.function tagged service.


All versions of merger2 with dependencies

PHP Build Version
Package Version
Requires ext-json Version *
ext-mbstring Version *
contao/core-bundle Version ^4.13 || ^5.0
doctrine/dbal Version ^2.11 || ^3.1
menatwork/contao-multicolumnwizard-bundle Version ^3.5
mobiledetect/mobiledetectlib Version ^2.8 || ^3.74
symfony/config Version ^4.4 || ^5.1 || ^6.0
symfony/dependency-injection Version ^4.4 || ^5.1 || ^6.0
symfony/http-foundation Version ^4.4 || ^5.1 || ^6.0
symfony/http-kernel Version ^4.4.13 || ^5.1.5 || ^6.0
symfony/translation-contracts Version ^1.1 || ^2.0 || ^3.0
symfony/twig-bundle Version ^4.4 || ^5.1 || ^6.0
symfony/yaml Version ^4.4 || ^5.1 || ^6.0
twig/twig Version ^2.0 || ^3.0
php Version ^8.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 contao-community-alliance/merger2 contains the following files

Loading the files please wait ....