Skip to content

8p/AssistBundle

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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