PHPackages                             bex/behat-screenshot-image-driver-uploadpie - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Testing &amp; Quality](/categories/testing)
4. /
5. bex/behat-screenshot-image-driver-uploadpie

ActiveLibrary[Testing &amp; Quality](/categories/testing)

bex/behat-screenshot-image-driver-uploadpie
===========================================

uploadpie.com image driver for bex/behat-screenshot extension

1.0.3(9y ago)678.5k3MITPHPPHP &gt;=5.4

Since Nov 13Pushed 9y agoCompare

[ Source](https://github.com/tkotosz/behat-screenshot-image-driver-uploadpie)[ Packagist](https://packagist.org/packages/bex/behat-screenshot-image-driver-uploadpie)[ Docs](https://github.com/tkotosz/behat-screenshot-image-driver-uploadpie)[ RSS](/packages/bex-behat-screenshot-image-driver-uploadpie/feed)WikiDiscussions master Synced 2mo ago

READMEChangelog (4)Dependencies (6)Versions (5)Used By (0)

ImageDriver-UploadPie for Behat-ScreenshotExtension
===================================================

[](#imagedriver-uploadpie-for-behat-screenshotextension)

[![Scrutinizer Code Quality](https://camo.githubusercontent.com/37a4e84a7e03c029a1a29da348d10b2f95619ed5b5c2a33da6e127a2590e740b/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f746b6f746f737a2f62656861742d73637265656e73686f742d696d6167652d6472697665722d75706c6f61647069652f6261646765732f7175616c6974792d73636f72652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/tkotosz/behat-screenshot-image-driver-uploadpie/?branch=master)[![Build Status](https://camo.githubusercontent.com/375a37da0ac1c02f13dadfe89ef7c6fe4cfb40da97e7d2d447b55995403caab7/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f746b6f746f737a2f62656861742d73637265656e73686f742d696d6167652d6472697665722d75706c6f61647069652f6261646765732f6275696c642e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/tkotosz/behat-screenshot-image-driver-uploadpie/build-status/master)[![Build Status](https://camo.githubusercontent.com/eaacd1cc4f474626d4a1ee70f3301b65edea5287ab61fa9873cd9701ea7a97cb/68747470733a2f2f7472617669732d63692e6f72672f746b6f746f737a2f62656861742d73637265656e73686f742d696d6167652d6472697665722d75706c6f61647069652e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/tkotosz/behat-screenshot-image-driver-uploadpie)

This package is an image driver for the [bex/behat-screenshot](https://github.com/elvetemedve/behat-screenshot) behat extension which can upload the screenshot to [UploadPie](http://uploadpie.com) and print the url of the uploaded image.

Installation
------------

[](#installation)

Install by adding to your `composer.json`:

```
composer require --dev bex/behat-screenshot-image-driver-uploadpie
```

Configuration
-------------

[](#configuration)

Enable the image driver in the Behat-ScreenshotExtension's config in `behat.yml` like this:

```
default:
  extensions:
    Bex\Behat\ScreenshotExtension:
      active_image_drivers: upload_pie
```

You must configure the authentication like this (you can register [here](https://uploadpie.com/why)):

```
default:
  extensions:
    Bex\Behat\ScreenshotExtension:
      active_image_drivers: upload_pie
      image_drivers:
        upload_pie:
          auth: 'API_KEY' # can be your authentication key or and environment variable name
```

You can configure the expire time of the uploaded image (by default it is 30m) like this:

```
default:
  extensions:
    Bex\Behat\ScreenshotExtension:
      active_image_drivers: upload_pie
      image_drivers:
        upload_pie:
          expire: '1h' # possible values: '30m', '1h', '6h', '1d', '1w'
```

Usage
-----

[](#usage)

When you run behat and a step fails then the Behat-ScreenshotExtension will automatically take the screenshot and will pass it to the image driver, which will upload it and returns the URL of the uploaded image. So you will see something like this:

```
  Scenario:                           # features/feature.feature:2
    Given I have a step               # FeatureContext::passingStep()
    When I have a failing step        # FeatureContext::failingStep()
      Error (Exception)
Screenshot has been taken. Open image at http://uploadpie.com/idoftheimage
    Then I should have a skipped step # FeatureContext::skippedStep()
```

###  Health Score

34

—

LowBetter than 77% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity31

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity61

Established project with proven stability

 Bus Factor1

Top contributor holds 66.7% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~167 days

Total

4

Last Release

3328d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/6451ac5fdc814bfa3aec1b3cf746fdb3ccec68ccbbe3a6f30b3b6c9266b0cb79?d=identicon)[tkotosz](/maintainers/tkotosz)

![](https://www.gravatar.com/avatar/c11efe0a5d5bb599838119d46f0f25e031f16d20ea4a04ca2384c645535049f0?d=identicon)[elvetemedve](/maintainers/elvetemedve)

---

Top Contributors

[![stof](https://avatars.githubusercontent.com/u/439401?v=4)](https://github.com/stof "stof (2 commits)")[![vdechenaux](https://avatars.githubusercontent.com/u/1501825?v=4)](https://github.com/vdechenaux "vdechenaux (1 commits)")

---

Tags

BDDTDDBehatbehat-screenshot

### Embed Badge

![Health badge](/badges/bex-behat-screenshot-image-driver-uploadpie/health.svg)

```
[![Health](https://phpackages.com/badges/bex-behat-screenshot-image-driver-uploadpie/health.svg)](https://phpackages.com/packages/bex-behat-screenshot-image-driver-uploadpie)
```

###  Alternatives

[mockery/mockery

Mockery is a simple yet flexible PHP mock object framework

10.7k497.0M23.6k](/packages/mockery-mockery)[codeception/codeception

All-in-one PHP Testing Framework

4.9k86.2M2.9k](/packages/codeception-codeception)[orchestra/testbench

Laravel Testing Helper for Packages Development

2.2k39.1M32.1k](/packages/orchestra-testbench)[polishsymfonycommunity/symfony-mocker-container

Provides base Symfony dependency injection container enabling service mocking.

1468.0M237](/packages/polishsymfonycommunity-symfony-mocker-container)[orchestra/testbench-core

Testing Helper for Laravel Development

27043.7M310](/packages/orchestra-testbench-core)[ezsystems/behat-screenshot-image-driver-cloudinary

Cloudinary image driver for bex/behat-screenshot behat extension

28992.5k16](/packages/ezsystems-behat-screenshot-image-driver-cloudinary)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
