Skip to content

Latest commit

 

History

History
68 lines (51 loc) · 1.84 KB

README.md

File metadata and controls

68 lines (51 loc) · 1.84 KB

Symfony AssistBundle Latest Stable Version Total Downloads

knpbundles.com SensioLabsInsight

Small Improvements/Helpers for Symfony.

Requirements

  • PHP 5.3.3 or above (at least 5.3.4 recommended to avoid potential bugs)

Installation

Using composer (Packagist):

{
    "require": {
        "eightpoints/assist-bundle": "dev-master"
    }
}

Usage

Load bundle in AppKernel.php:

new EightPoints\Bundle\AssistBundle\AssistBundle()

Helpers

CommandTimestampOutput

To use a timestamp for each printed line on your command just inject the CommandTimestampOutput into your console application. app/console

use EightPoints\Bundle\AssistBundle\Console\Output\ConsoleTimestampOutput;

$output = new ConsoleTimestampOutput();
...
$application->run($input, $output);

Example output:

[20:09:30 :: 0.002]     Starting import...
[20:09:31 :: 8.058]     Finished import

Authors

See also the list of contributors who participated in this project.

License

This bundle is licensed under the MIT License - see the LICENSE file for details