Download the PHP package atoum/blackfire-extension without Composer

On this page you can find all versions of the php package atoum/blackfire-extension. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package blackfire-extension

atoum/blackfire-extension Build Status

blackfire-extension allows you to use blackfire assertions inside atoum.

The Blackfire PHP-SDK has a built-in PHPUnit integration. This extension does the same, but for atoum.

Example

Let's take this example.

When running this test, the callback will be automatically instrumented and execute on Blackfire the assertions defined by the Configuration. If they fail, an atoum error will be displayed.The above example will have this output :

Install it

Install extension using composer:

Enable and configure the extension using atoum configuration file:

Other examples

Define custom metrics

You can learn more about this on the custom metric's section of Blackfire documentation.

Pass your own profile configuration

You can learn more about this on the profile basic configurable's section of Blackfire documentation.

Pass a custom client

You can either pass the blackfire client in the .atoum.php config file (when loading the extension). In that case the client will be used in all the blackfire assertions. You also can load/overload it in the blackfire assert. For example:

Test filtering

To avoid running the test if the blackfire extension is not loaded, you can use the @extensions annotation.

You can add this annotation on both the test method or the test class.

Then, when running the test, the classes/methods with this annotation will be skipped if the extension is not present/loaded:

You also can use atoum's tags and the ruler extension to only run the blackfire tests.

Links

Licence

blackfire-extension is released under the MIT License. See the bundled LICENSE file for details.

atoum


All versions of blackfire-extension with dependencies

PHP Build Version
Package Version
Requires atoum/atoum Version >=2.5,<3.0
blackfire/php-sdk Version >=1.4.5,<2.0
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package atoum/blackfire-extension contains the following files

Loading the files please wait ....