eightpoints/assist-bundle

Provides some Helpers/Improvements for Symfony

Installs: 39

Dependents: 0

Suggesters: 0

Security: 0

Stars: 3

Watchers: 3

Forks: 1

Open Issues: 4

Type:symfony-bundle

v1.1.0 2013-11-11 21:59 UTC

This package is auto-updated.

Last update: 2024-11-05 19:02:14 UTC


README

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