Skip to content

phpbench/phpbench-example-extension

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 

Repository files navigation

Example PHPBench extension

Example of a PHPBench extension.

In order to enable this extension with the PHAR version of PHPBench you will need to configure the path to an (composer) autoloader which can load the extension and activate the extension:

{
    "extension_autoloader": "path/to/autoload.php",
    "extensions": [
        "Acme\\PhpBench\\Extension\\Example\\ExampleExtension"
    ]
}

You should now have the acme:foo command registered:

$ phpbench acme:foo

and the foo progress logger:

$ phpbench run --progress=foo

About

Example PHPBench extension

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages