Download the PHP package avalexgmbh/contao without Composer

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

Contao avalex Bundle

Packagist Version License: LGPL v3

With the avalex extension you can integrate dynamic legal texts like imprint, privacy policy and (if purchased) cancellation policy and terms and conditions into your Contao website. The texts are kept up to date automatically by avalex.

Please note that you need an individual API key for your website, which can be purchased at avalex.de.


Requirements


Installation

Via Contao Manager or Composer:

Afterwards update the database via the Contao Manager or the contao:migrate command:


Configuration

The texts can be embedded either as a content element (recommended) or as a frontend module. Both are available in the avalex category with the following types:

Type Text
avalex_privacy_policy Privacy policy
avalex_imprint Imprint
avalex_terms_conditions Terms and conditions (if licensed)
avalex_cancellation_policy Cancellation policy (if licensed)
  1. Create a new content element in an article (or a frontend module in your theme) and choose one of the types above.
  2. Enter the domain and the matching API key as shown in your avalex account.
  3. Save - the texts are fetched immediately and the result is shown as a message in the back end. Saving again only fetches the texts if the domain or API key changed, the last update failed or the texts are older than 6 hours.

If you are running multiple websites, simply create one element / module per domain and API key.

In the back end, the content element only shows the date of the last update instead of the whole text.


How it works


Templates

The texts are rendered using Twig templates which can be customized in the template editor of the back end or within your templates/ directory:

Template Description
content_element/_avalex.html.twig Shared base of all content elements
content_element/avalex_<type>.html.twig Content element of the given type, e.g. avalex_imprint
frontend_module/_avalex.html.twig Shared base of all frontend modules
frontend_module/avalex_<type>.html.twig Frontend module of the given type

Example

The variant can then be selected in the element / module settings under Custom template.


Disclaimer

The legal texts are generated and provided by avalex GmbH. For questions regarding the content of the texts or your license, please contact avalex directly.


All versions of contao with dependencies

PHP Build Version
Package Version
Requires php Version ^8.1
composer-runtime-api Version ^2.0
contao/core-bundle Version ^5.3 || ^6.0
doctrine/dbal Version ^3.6 || ^4.0
psr/log Version ^1.1 || ^2.0 || ^3.0
symfony/config Version ^6.4 || ^7.0 || ^8.0
symfony/dependency-injection Version ^6.4 || ^7.0 || ^8.0
symfony/http-client-contracts Version ^3.0
symfony/http-foundation Version ^6.4 || ^7.0 || ^8.0
symfony/http-kernel Version ^6.4 || ^7.0 || ^8.0
symfony/translation-contracts Version ^3.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 avalexgmbh/contao contains the following files

Loading the files please wait ...