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)2104PHPPHP &gt;=5.3.0

Since Apr 1Pushed 9y ago1 watchersCompare

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

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

27

—

LowBetter than 46% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity12

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity58

Maturing project, gaining track record

 Bus Factor1

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

Unknown

Total

1

Last Release

4153d ago

### Community

Maintainers

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

---

Top Contributors

[![mevers47](https://avatars.githubusercontent.com/u/1265804?v=4)](https://github.com/mevers47 "mevers47 (12 commits)")[![mever](https://avatars.githubusercontent.com/u/319977?v=4)](https://github.com/mever "mever (1 commits)")

---

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)
