markenzoo / contao-file-helper-bundle
File Helpers for Contao 4
Installs: 1 758
Dependents: 0
Suggesters: 2
Security: 0
Stars: 6
Watchers: 4
Forks: 2
Open Issues: 5
Type:contao-bundle
Requires
- php: ^7.4 || ^8.0
- contao/core-bundle: ^4.9
- symfony/framework-bundle: ^4.4 || ^5.2
Requires (Dev)
- bamarni/composer-bin-plugin: ^1.5
- contao/easy-coding-standard: ^3.0
- contao/manager-plugin: ^2.0
- phpstan/phpstan: ^1.8
- phpstan/phpstan-phpunit: ^1.1
- phpstan/phpstan-symfony: ^1.2
- phpunit/phpunit: ^7.1 || ^8.4 || ^9.5
- symfony/phpunit-bridge: ^4.4 || ^5.1
- vimeo/psalm: ^3.0
Suggests
- markenzoo/contao-expo-push-notification-bundle: Markenzoo Expo Push Notification Bundle gives you the possibility to send custom push notifications for Expo (React Native) in Contao 4. / Die Markenzoo Erweiterung für Expo Push-Benachrichtigungen erlaubt es eigene Push-Benachrichtigungen für Expo (React Native) in Contao 4 zu versenden.
Conflicts
- contao/core: *
- contao/manager-plugin: <2.0 || >=3.0
README
This extension provides useful file helpers for Contao CMS.
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