Download the PHP package terminal42/mage-tools without Composer
On this page you can find all versions of the php package terminal42/mage-tools. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download terminal42/mage-tools
More information about terminal42/mage-tools
Files in terminal42/mage-tools
Package mage-tools
Short Description Magephp tools for easier deployment of Contao and Symfony systems.
License MIT
Informations about the package mage-tools
Mage Tools for deployment
A set of predefined tasks and helpful libraries for the Magallanes PHP Deployment Tool.
Most of the tasks were created to ease the deployment of Symfony and Contao applications. Check the list below for a full list of available tasks and their configurations.
Usage
To use the tasks simply added them to your file. The recommended setup is:
Available tasks
Terminal42\MageTools\Task\Symfony\AcceleratorCacheClearTask
Clears the accelerator cache. The AcceleratorCacheBundle is required for this to work.
Terminal42\MageTools\Task\Symfony\PlatformReleaseTask
Updates the platform version in the parameters.yml file.
Uses git describe
to fetch the version internally and adds the output
as platform_version
to your parameters.yml
.
Backup
Terminal42\MageTools\Task\Backup\DatabaseBackupTask
Runs the database backup task using backup-manager/symfony bundle.
This task should be run before ane database changes are made. The parameters are reflecting the bundle
configuration under bm_backup_manager
.
Contao
Terminal42\MageTools\Task\Contao\AutomatorTask
Runs the Contao automator task. You must provide the task name. Execute the Run "vendor/bin/contao-console contao:automator" command to see available tasks.
Doctrine
Terminal42\MageTools\Task\Doctrine\CacheClearTask
Clear the Doctrine metadata, query and result cache.
Terminal42\MageTools\Task\Doctrine\MigrateTask
Run the Doctrine migrations.
Integrity check
Terminal42\MageTools\Task\IntegrityCheck\ContaoTask
Checks Contao by executing command in Symfony's console.
Maintenance
Terminal42\MageTools\Task\Maintenance\LockTask
Enable the maintenance mode.
Terminal42\MageTools\Task\Maintenance\UnlockTask
Disable the maintenance mode.
Custom commands
Deploy all
Deploys system to all configured environments.
Connect via SSH
Allows to open the SSH connection based on configured environments.
Basic usage (will take the first host defined for the environment):
For multiple hosts given you have config:
You can connect to them using:
All versions of mage-tools with dependencies
symfony/yaml Version ^3.0 || ^4.0
andres-montanez/magallanes Version ^3.4 || ^4.0