Download the PHP package integer-net/deployer-timer without Composer
On this page you can find all versions of the php package integer-net/deployer-timer. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download integer-net/deployer-timer
More information about integer-net/deployer-timer
Files in integer-net/deployer-timer
Package deployer-timer
Short Description Collect duration of deployer tasks
License MIT
Informations about the package deployer-timer
Integer_Net Deployer Timer
This is a recipe for Deployer that lets you track the duration of all tasks
It can create a CSV file in the form of
The columns are:
BEGIN
orEND
, marking time where a task started or finished- task name
- Unix timestamp (as float)
- Duration of task in seconds (only in
END
rows)
Installation
- Require via composer
Usage
In your deploy.php
file:
-
Include the recipe:
-
Configure the timer at the end:
timer()
must be called after all other tasks are defined. The generated task to create a CSV result file should be added at the end of the task/group that should be timed (e.g.deploy
)
Troubleshooting
If you receive errors about missing classes, include the standalone autoloader:
This way, you can use the recipe without relying on the composer autoloader (e.g. when running deployer as phar)
Change log
Please see CHANGELOG for more information on what has changed recently.
Testing
Runs unit tests, mutation tests and static analysis
Contributing
Please see CONTRIBUTING for details.
Security
If you discover any security related issues, please email [email protected] instead of using the issue tracker.
Credits
- Fabian Schmengler
- All Contributors
License
The MIT License (MIT). Please see License File for more information.
All versions of deployer-timer with dependencies
roave/security-advisories Version dev-master
deployer/deployer Version ^6.4