Download the PHP package terminal42/contao-dam-integrator without Composer

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

terminal42/contao-dam-integrator

This bundle integrates different Asset Management solutions directly in to Contao. It works by adding new tabs next to the regular file picker tabs where you can choose your assets of your configured Asset Management providers. You can search and filter your assets, download and then select them right from the file tree widget.

Currently, there are two integrations supported:

Why would I need this, if it still downloads all the files to the system?

This approach still has one big advantage which is that you can manage your files in one central location and use it across multiple content management systems or even multiple Contao setups.

Installation

1) Install the bundle

2) Configure the bundle

Edit your config.yml file and add the necessary configuration parameters. Each DAM provider has different options, so make sure to pick yours accordingly. Of course, you can enable more than just one DAM provider and give your users the option to work with multiple. Also ensure to enable the DAM integrations in the user group settings in the back end!

Some of the settings are identical amongst the different providers, just the values inside might differ. The common settings are described here:

Bynder

First, configure your Bynder account. Create a permanent token and configure this as token. In order to not download huge (both in size and in pixels), configure a "Derivative" in Bynder and use its name as derivative_name.

With the metadata.mapper you can configure the way you want to import metadata from Bynder to Contao's metadata widget. The Bynder integration automatically converts your custom media properties and fetches the correct values based on the language for it. It will also check if the media property is configured to allow multiple or only single values. So you don't have to worry about converting arrays with only one value into a string. The templates expect a valid Twig string so you can also

Celum

First, configure your Celum account. Make sure that you have the brix:anura extension installed. This bundle relies on its API. In order to not download huge (both in size and in pixels), configure a "Download Format" in Celum and use its ID as download_format_id.

With the metadata.mapper you can configure the way you want to import metadata from Celum to Contao's metadata widget. All the asset details from general as well as all the info field values are available.

Upgrade from terminal42/contao-bynder

This bundle is the successor of terminal42/contao-bynder. Contrary to the other bundle, this bundle provides integrations with more DAM providers than just Bynder. To make the migration from terminal42/contao-bynder to terminal42/contao-dam-integrator easy, this bundle ships with an automated migration:

  1. Make sure you have updated to version 2 of terminal42/contao-bynder before you run the migration.
  2. Uninstall terminal42/contao-bynder - do not run database migrations.
  3. Install terminal42/contao-dam-integrator - do not run database migrations.
  4. Migrate your config.yaml from the old format, to the new format. The config keys are almost the same:
    1. Migrate from terminal42_contao_bynder to terminal42_contao_dam_integrator.bynder.
    2. Move the metaDataMapper to metadata.mapper.
    3. Convert from camel case to snake case (e.g. derivativeName -> derivative_name).
    4. Support for derivativeOptions has been dropped so "on the fly" derivatives are not supported anymore. Configure a permanent derivative instead and use this using derivative_name.
  5. Run contao:migrate (or use the Contao Manager to run database migrations)
  6. Enable the integrations in the user groups. By default, all integrations are now hidden to non-admin users.

All versions of contao-dam-integrator with dependencies

PHP Build Version
Package Version
Requires php Version ^8.1
ext-mbstring Version *
contao/core-bundle Version ^5.3
doctrine/dbal Version ^3.0
scriptfusion/byte-formatter Version ^4.1
symfony/http-client Version ^6.4
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 terminal42/contao-dam-integrator contains the following files

Loading the files please wait ....