Download the PHP package heimrichhannot/contao-filecredits without Composer

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

ABANDONED

Please note that this module is abandoned and not developed any further.

Filecredits

Contao module that adds credit support for images and files.

Installation

Disable command scheduler (poor-mans-cron)

For performance reasons, we insist on disabling the "Command-Scheduler" (enable tl_settings.disableCron) and run the cron jobs by a dedicated cronjob within your servers crontab.

Use custom cron job (contao 4)

Use custom cron job (contao 3)

Filecredits 3.x

Filecredits 3 yields an huge performance due to credit index within cron job only. Filecredits makes usage of executeResize Hook, which is triggered every time an image is resized. If you use responsive images this Hook will be triggered not only once, but for every src-set provided. Filecredit 2.x invoked the hook within every client request, which braked down your website performance, based on number of images per page. Filecredit 3 now triggers a daily poor mans cron, or you can declare your own cron job within crontab, see Installation.

Filecredits 2.x

Filecredits 2.x is a complete redevelopment. If you attached your custom modules to filecredits 1.x, we would not recommend to upgrade.

Features

Technical instructions

Adding a copyright field to a non-tl_files-DCA

If you want to get a shortcut copyright field next to e.g. some image field you can do this by calling the following code e.g. in your DCA:

Hooks

Name Arguments Expected return value Description
{{copyright::*::,}} 1: file uuid (string) or file path, 2: credits delimiter (default: ,) string Return the file credits for a given uuid or path as delimited string.

All versions of contao-filecredits with dependencies

PHP Build Version
Package Version
Requires contao/core-bundle Version ^3.4|^4.1
contao-community-alliance/composer-plugin Version ~2.4 || ~3.0
menatwork/contao-multicolumnwizard Version >=2.10,<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 heimrichhannot/contao-filecredits contains the following files

Loading the files please wait ....