PHPackages                             kirschbaum/drupal-behat-remote-api-driver - 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. kirschbaum/drupal-behat-remote-api-driver

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

kirschbaum/drupal-behat-remote-api-driver
=========================================

Driver for remote Behat testing with Drupal

v0.0.2(11y ago)21.9k3MITPHPPHP &gt;=5.4.0

Since Mar 3Pushed 11y ago3 watchersCompare

[ Source](https://github.com/kirschbaum/drupal-behat-remote-api-driver)[ Packagist](https://packagist.org/packages/kirschbaum/drupal-behat-remote-api-driver)[ RSS](/packages/kirschbaum-drupal-behat-remote-api-driver/feed)WikiDiscussions master Synced today

READMEChangelog (2)Dependencies (16)Versions (4)Used By (0)

Drupal Remote API Driver
------------------------

[](#drupal-remote-api-driver)

[![Build Status](https://camo.githubusercontent.com/4c769cc552319f4b58b9b756b050353b04d2db4a2d642a304949924ead22c87d/68747470733a2f2f7472617669732d63692e6f72672f6b69727363686261756d2f64727570616c2d62656861742d72656d6f74652d6170692d6472697665722e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/kirschbaum/drupal-behat-remote-api-driver)

The remote API driver extends the popular [Drupal Extention](https://github.com/jhedstrom/drupalextension) library to support running authenticated Behat tests against remote Drupal sites. Please note that there are two main components to this project:

1. **The Drupal Remote API Driver** - This extends the existing functionality of the drupalextention project and translates supported steps (e.g. create nodes, users, etc.) into appropriate REST requests to the remote Drupal site. See "currently supported features" below. This component is only required on the site where tests will be initiated.
2. **The Drupal Remote API Client** - This is a [Drupal module](https://www.drupal.org/project/drupalextension_remote) that leveradges the [RestWS module](https://www.drupal.org/project/restws) and adds various helper functionality that the driver needs in order to work propertly. It is only required on the remote sites that will be tested.

If you are not already familiar with Behat or the [Drupal Extention](https://github.com/jhedstrom/drupalextension) library, you might want to head on over and review the [detailed documentation](https://behat-drupal-extension.readthedocs.org).

**Please Note:** This package requires Behat version 2 and DrupalExtention version 1.

Documentation
-------------

[](#documentation)

- [Installation](doc/installation.md)
- \[Usage Examples\] (features/drupalRemoteAPI.feature)
- [Basic Auth + Drupal Auth](doc/remote_authentication.md)
- [Handling Custom Field Types / Structures](doc/custom_tabular_data.md)
- [Add a custom cookie to request headers](doc/custom_cookie.md)
- [Notes on Security](doc/security_notes.md)

If anything is unclear or you have any questions or comments, please open an issue or [contact me directly](http://www.nathankirschbaum.com/contact). While this library is functional, it's still a work in progress. Review, feedback, and contributions are welcome.

Features
--------

[](#features)

- Currently Supported
- Drupal 7
- Node creation / deletion / cleanup
- User creation / deletion / cleanup
- Term create / delete / cleanup ([currently requires a patch to RestWS](https://www.drupal.org/node/2090177#comment-9680433))
- Add existing user role to new user
- Set custom filter format based on tester defined preference or default from remote site
- Support for custom fields and tabular data
- Drupal Authentication for Remote Site
- Basic Auth
- Adding custom cookie to request header
- Clear cache
- Planned / In Progress:
- Support Image Reference / Upload
- Support for field collections
- Not Yet Supported:
- Run Cron
- Create new user role and assign to newly created users / delete role when finished
- Assign specific permissions to newly created user roles (with built in blacklist for added security).
- Batch process
- Support for Drupal 6
- Support for Drupal 8

Contributors:

- [Alfred Nutile](https://github.com/alnutile)
- [Nathan Kirschbaum](https://github.com/kirschbaum)

###  Health Score

28

—

LowBetter than 52% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity20

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity50

Maturing project, gaining track record

 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.

###  Release Activity

Cadence

Every ~2 days

Total

2

Last Release

4138d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/5f56743d64d77958321d43b2df49e9696d19c9dd99995730c5c38ccae50408fa?d=identicon)[Kirschbaum](/maintainers/Kirschbaum)

---

Top Contributors

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

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/kirschbaum-drupal-behat-remote-api-driver/health.svg)

```
[![Health](https://phpackages.com/badges/kirschbaum-drupal-behat-remote-api-driver/health.svg)](https://phpackages.com/packages/kirschbaum-drupal-behat-remote-api-driver)
```

###  Alternatives

[matomo/matomo

Matomo is the leading Free/Libre open analytics platform

21.7k38.9k](/packages/matomo-matomo)[laravel/framework

The Laravel Framework.

34.8k543.8M20.1k](/packages/laravel-framework)[tempest/framework

The PHP framework that gets out of your way.

2.2k34.4k15](/packages/tempest-framework)[phpro/grumphp

A composer plugin that enables source code quality checks.

4.3k16.7M1.0k](/packages/phpro-grumphp)[civicrm/civicrm-core

Open source constituent relationship management for non-profits, NGOs and advocacy organizations.

751291.4k43](/packages/civicrm-civicrm-core)[shopware/core

Shopware platform is the core for all Shopware ecommerce products.

585.6M574](/packages/shopware-core)

PHPackages © 2026

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