webexmachina / contao-command-bunde
Contao 5 Command Bundle.
Installs: 0
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 0
Forks: 0
Open Issues: 0
Type:contao-bundle
Requires
- php: ^8.2
- contao/core-bundle: ^5
- sensiolabs/ansi-to-html: ^2.0
Requires (Dev)
- contao/contao-rector: dev-main
- contao/easy-coding-standard: @stable
- contao/manager-plugin: @stable
- phpstan/phpstan: @stable
- rector/rector: @stable
Conflicts
- contao/manager-plugin: <2.0 || >=3.0
This package is auto-updated.
Last update: 2025-06-02 09:28:53 UTC
README
This Bundle adds in the Contao 5 backend a simple interface that allows administrators to run various Symfony and Contao console commands directly from the admin panel without needing command-line access.
Warning
This bundle is not compatible with Contao 4
Features
- Run common Contao and Symfony commands with a simple click
- Interface integrated into the Contao backend
- Restricted to administrators for security
- Supports a wide range of commands:
- System information (about)
- Cache management (clear, warmup)
- Contao-specific operations (symlinks, resize-images)
- Debug commands for various components
- Environment and configuration tools
Requirements
- PHP 8.2 or higher
- Contao 5.x
Installation
Via Composer
composer require webexmachina/contao-command-bundle
Manual Installation
- Download the bundle from the GitHub repository
- Extract the ZIP file
- Move the files to the
vendor/webexmachina/contao-command-bundle
directory in your Contao installation
Managed Contao Installation (recommended)
It’s recommended to install the bundle directly via the Contao Manager.
Usage
- Log in to the Contao backend as an administrator
- Click on "Commands" in the main menu
- Select the command you want to run from the dropdown list and click "Run"
- The command output will be directly displayed in the browser
Available Commands
-
System Information
- About Contao: Display information about your Contao installation
-
Cache Management
- Empty the cache: Clear the application cache
- Reload the cache: Warm up the application cache
-
Contao Operations
- Rebuild symbolic links: Recreate symbolic links for public resources
- Resize images: Process images that haven't been resized yet
-
Debug Commands
- Multiple debug commands for inspecting various aspects of your application
-
Utility Commands
- Environment dump: Compile .env files to .env.local.php
- Container linting: Check the validity of the configuration container
- Router matching: Display available routes
Contributing
Contributions are welcome! If you'd like to contribute, please:
- Fork the repository
- Create a feature branch
- Make your changes
- Submit a pull request
For bug reports and feature requests, please use the issue tracker.
License
This bundle is licensed under the Apache License 2.0. See the LICENSE file for more information.