PHPackages                             realtime.eu/behat-sfk - 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. realtime.eu/behat-sfk

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

realtime.eu/behat-sfk
=====================

Provides SFK functionality for Behat

v1.0.0(11y ago)2104PHP &gt;=5.3.0

Since Apr 1Compare

[ Source](https://github.com/mever/behat-sfk)[ Packagist](https://packagist.org/packages/realtime.eu/behat-sfk)[ RSS](/packages/realtimeeu-behat-sfk/feed)WikiDiscussions Synced today

READMEChangelog (1)Dependencies (3)Versions (2)Used By (0)

behat-sfk
=========

[](#behat-sfk)

The Swiss File Knife File Tree Processor - Extension for Behat

This is a Behat extension I created for testing some PHP code against a FTP server. At the moment this extension is only tested with the ftpserv command.

To install
==========

[](#to-install)

1. Include **Realtime\\SfkBehat\\Extension** as extension in your behat configuration file, see:
2. Add as subcontext:

    - `$this->useContext('subcontext_alias', new \Realtime\SfkBehat\Context());`

Steps
=====

[](#steps)

Given a FTP server
------------------

[](#given-a-ftp-server)

```
Given a local FTP server running on port "PORT" with these options "JSON_MAP"
-or-
Given a local FTP server running on port "PORT" with these options:
"""
JSON_MAP
"""

```

**PORT** = Target port to run the FTP server on, e.g. the default port 21. **JSON\_MAP** = JSON key &gt; value object with the following options:

```
{
  "username" : "jeff",     // run ftp server with this username
  "password" : "p@sw0rd",  // run ftp server with this password
  "pasv_ip" : "127.0.0.1"  // return this ip adres in PASV response
                              (default returns the first network interface IP found)
}

```

Assert FTPed file
-----------------

[](#assert-ftped-file)

```
Then FTPed file "NAME" must be created, containing:
"""
CONTENT
"""

```

**NAME** = Name of the uploaded file. **CONTENT** = Content of the uploaded file.

###  Health Score

26

—

LowBetter than 41% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity12

Limited adoption so far

Community2

Small or concentrated contributor base

Maturity58

Maturing project, gaining track record

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

Unknown

Total

1

Last Release

4108d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/70b05d30de759ed11801b3157284eede5f86a2096d7c4e9f84936b1539fc3ba0?d=identicon)[martijn4evers](/maintainers/martijn4evers)

---

Tags

Behatsfk

### Embed Badge

![Health badge](/badges/realtimeeu-behat-sfk/health.svg)

```
[![Health](https://phpackages.com/badges/realtimeeu-behat-sfk/health.svg)](https://phpackages.com/packages/realtimeeu-behat-sfk)
```

PHPackages © 2026

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