markenzoo/contao-file-helper-bundle

File Helpers for Contao 4

2.1.0 2022-12-04 08:25 UTC

This package is auto-updated.

Last update: 2024-04-04 11:09:47 UTC


README

Version Version GitHub issues License Downloads

This extension provides useful file helpers for Contao CMS.

markenzoo/contao-file-helper-bundle auf Github

Features

  • See where file are being included
  • Edit related modules/elements with one click
  • Manage your files in the contao backend
  • View file meta information

Requirements

  • PHP ^7.2 || ^8.0
  • Contao ^4.9

Install

Managed edition

When using the managed edition it's pretty simple to install the package. Just search for the package in the Contao Manager and install it. Alternatively you can use the CLI.

# Using the contao manager
$ php contao-manager.phar.php composer require markenzoo/contao-file-helper-bundle

# Using composer directly
$ php composer.phar require markenzoo/contao-file-helper-bundle

# Using global composer installation
$ composer require markenzoo/contao-file-helper-bundle

Symfony application

If you use Contao in a symfony application without contao/manager-bundle, you have to register the bundle manually:

class AppKernel
{
    public function registerBundles()
    {
        $bundles = [
            // ...
            new Markenzoo\ContaoFileHelperBundle\ContaoFileHelperBundle()
        ];
    }
}

Note to self

Run the PHP-CS-Fixer and the unit test before you release your bundle:

composer run-script fix -v
composer run-script lint
composer run-script test

github.com ci

vendor/bin/ecs check src tests --config ecs.php --no-progress-bar
vendor/bin/phpstan analyse --no-progress
vendor/bin/phpunit --colors=always