PHPackages                             ezsystems/behat-screenshot-image-driver-cloudinary - 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. ezsystems/behat-screenshot-image-driver-cloudinary

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

ezsystems/behat-screenshot-image-driver-cloudinary
==================================================

Cloudinary image driver for bex/behat-screenshot behat extension

v1.1.5(4y ago)281.0M↓35.7%15GPL-2.0-onlyPHPPHP ^7.1 || ^8.0

Since Sep 17Pushed 4y ago14 watchersCompare

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

READMEChangelog (4)Dependencies (8)Versions (15)Used By (15)

ImageDriver-Cloudinary for Behat-ScreenshotExtension
====================================================

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

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 [Cloudinary](http://cloudinary.com) and print the url of the uploaded image.

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

[](#installation)

Install by adding to your `composer.json`:

```
composer require --dev ezsystems/behat-screenshot-image-driver-cloudinary
```

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

[](#configuration)

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

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

You can choose how to upload files:

- signed upload: export the Cloudinary values (cloud name, API Key and API Secret) as environmental variables
- unsigned upload: set the cloud\_name and preset in configuration

```
default:
  extensions:
      Bex\Behat\ScreenshotExtension:
          active_image_drivers: cloudinary
          image_drivers:
              cloudinary:
                  screenshot_directory: /tmp/behat-screenshot/
                  cloud_name: X
                  preset: Y
```

Other options:

- limit: specifies the number of screenshots that can be taken in a single Behat run. It's based on number of files in `screenshot_directory`, so make sure that the folder is empty before the tests are run and cleaned only after the whole suite, not after every test. Limit checking can be disabled by exporting the `DISABLE_BEHAT_SCREENSHOT_LIMIT` variable.

Usage
-----

[](#usage)

When a step fails a screenshot will be taken and uploaded to Cloudinary. URL of the uploaded image will be displayed in the Behat log.

```
  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 https://res.cloudinary.com/cloud_name/image/upload/IMAGE_LINK.png
    Then I should have a skipped step # FeatureContext::skippedStep()
```

COPYRIGHT
---------

[](#copyright)

Copyright (C) 1999-2021 Ibexa AS (formerly eZ Systems AS). All rights reserved.

LICENSE
-------

[](#license)

This source code is available separately under the following licenses:

A - Ibexa Business Use License Agreement (Ibexa BUL), version 2.4 or later versions (as license terms may be updated from time to time) Ibexa BUL is granted by having a valid Ibexa DXP (formerly eZ Platform Enterprise) subscription, as described at: For the full Ibexa BUL license text, please see:

- LICENSE-bul file placed in the root of this source code, or
-  (latest version applies)

AND

B - GNU General Public License, version 2 Grants an copyleft open source license with ABSOLUTELY NO WARRANTY. For the full GPL license text, please see:

- LICENSE file placed in the root of this source code, or
-

###  Health Score

45

—

FairBetter than 91% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity46

Moderate usage in the ecosystem

Community24

Small or concentrated contributor base

Maturity75

Established project with proven stability

 Bus Factor1

Top contributor holds 80% 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 ~122 days

Recently: every ~29 days

Total

11

Last Release

1625d ago

Major Versions

v0.1.0 → v1.0.12019-02-06

PHP version history (3 changes)v1.0.0PHP &gt;=5.6

v1.1.4PHP ^7.1

v1.1.5PHP ^7.1 || ^8.0

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/681611?v=4)[Ibexa Bot](/maintainers/ezrobot)[@ezrobot](https://github.com/ezrobot)

![](https://avatars.githubusercontent.com/u/130489?v=4)[Łukasz Serwatka](/maintainers/lserwatka)[@lserwatka](https://github.com/lserwatka)

---

Top Contributors

[![mnocon](https://avatars.githubusercontent.com/u/10993858?v=4)](https://github.com/mnocon "mnocon (8 commits)")[![alongosz](https://avatars.githubusercontent.com/u/7099219?v=4)](https://github.com/alongosz "alongosz (2 commits)")

---

Tags

BDDTDDBehatbehat-screenshot

###  Code Quality

Code StylePHP CS Fixer

### Embed Badge

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

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

###  Alternatives

[polishsymfonycommunity/symfony-mocker-container

Provides base Symfony dependency injection container enabling service mocking.

1448.2M264](/packages/polishsymfonycommunity-symfony-mocker-container)[bex/behat-extension-driver-locator

Driver locator tool for behat extensions

385.3M4](/packages/bex-behat-extension-driver-locator)[ciaranmcnulty/behat-stepthroughextension

Extension for behat to help debug failing scenarios

601.7M5](/packages/ciaranmcnulty-behat-stepthroughextension)[dvdoug/behat-code-coverage

Generate Code Coverage reports for Behat tests

623.9M54](/packages/dvdoug-behat-code-coverage)[sensiolabs/behat-page-object-extension

Page object extension for Behat

1166.7M29](/packages/sensiolabs-behat-page-object-extension)[bex/behat-step-time-logger

Extension for behat to help find slow scenario steps by logging the step times

271.5M1](/packages/bex-behat-step-time-logger)

PHPackages © 2026

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