PHPackages                             valthebald/behat-screenshot-image-driver-rsync - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. valthebald/behat-screenshot-image-driver-rsync

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

valthebald/behat-screenshot-image-driver-rsync
==============================================

Image driver for bex/behat-screenshot extension that uploads files to remote server using rsync

02.4kPHP

Since Dec 18Pushed 7y ago1 watchersCompare

[ Source](https://github.com/valthebald/behat-screenshot-image-driver-rsync)[ Packagist](https://packagist.org/packages/valthebald/behat-screenshot-image-driver-rsync)[ RSS](/packages/valthebald-behat-screenshot-image-driver-rsync/feed)WikiDiscussions master Synced yesterday

READMEChangelogDependenciesVersions (1)Used By (0)

ImageDriver-Rsync for Behat-ScreenshotExtension
===============================================

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

This package is an image driver for the [bex/behat-screenshot](https://github.com/elvetemedve/behat-screenshot) behat extension which uploads screenshots to remote server using rsync protocol.

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

[](#installation)

Install by adding to your `composer.json`:

```
composer require --dev valthebald/behat-screenshot-image-driver-rsync

```

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: rsync

```

Required parameters:

```
default:
  extensions:
    Bex\Behat\ScreenshotExtension:
      active_image_drivers: rsync
      image_drivers:
        rsync:
          server: remote.example.com
          username: username
          path: /full/path/to/screenshots/folder # No trailing slash here!

```

Optional parameters:

```
      image_drivers:
        rsync:
          ssh_options: "ssh -i private_file.pem -p 2222" # This parameter will be passed as -e to rsync command
          preview_url: "https://remote.example.com/scheenshots/folder" # If screenshots folder is accessible via HTTP/S

```

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 https://remote.example.com/scheenshots/folder/feature88_step2.png
    Then I should have a skipped step # FeatureContext::skippedStep()

```

###  Health Score

23

—

LowBetter than 27% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity16

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity39

Early-stage or recently created project

 Bus Factor1

Top contributor holds 100% 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.

### Community

Maintainers

![](https://www.gravatar.com/avatar/5215acbdd2b5cfb078cf31f691f844169f98756079df7e0ba19c395df31afe5f?d=identicon)[valthebald](/maintainers/valthebald)

---

Top Contributors

[![valthebald](https://avatars.githubusercontent.com/u/436280?v=4)](https://github.com/valthebald "valthebald (4 commits)")

### Embed Badge

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

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

PHPackages © 2026

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