PHPackages                             drupal/drupal-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. drupal/drupal-driver

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

drupal/drupal-driver
====================

A collection of reusable Drupal drivers

v2.4.3(2mo ago)6715.8M—9.4%102[42 issues](https://github.com/jhedstrom/DrupalDriver/issues)[40 PRs](https://github.com/jhedstrom/DrupalDriver/pulls)18GPL-2.0-or-laterPHPPHP &gt;=7.4CI passing

Since Oct 16Pushed 2mo ago7 watchersCompare

[ Source](https://github.com/jhedstrom/DrupalDriver)[ Packagist](https://packagist.org/packages/drupal/drupal-driver)[ Docs](http://github.com/jhedstrom/DrupalDriver)[ GitHub Sponsors](https://github.com/jhedstrom)[ RSS](/packages/drupal-drupal-driver/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (10)Dependencies (33)Versions (81)Used By (18)

[![Build Status](https://github.com/jhedstrom/DrupalDriver/actions/workflows/ci.yml/badge.svg)](https://github.com/jhedstrom/DrupalDriver/actions/workflows/ci.yml)

Provides a collection of light-weight drivers with a common interface for interacting with [Drupal](http://drupal.org). These are generally intended for testing, and are not meant to be API-complete.

[Read the full documentation](http://drupal-drivers.readthedocs.org)

[![Latest Stable Version](https://camo.githubusercontent.com/5af217b8d070005a310e7ae939902f8573cd9b734102b1f9097663ba5a3c5c62/68747470733a2f2f706f7365722e707567782e6f72672f64727570616c2f64727570616c2d6472697665722f762f737461626c652e737667)](https://packagist.org/packages/drupal/drupal-driver) [![Total Downloads](https://camo.githubusercontent.com/7edbbb333719ab01d051d7e20737c19ec9b1374a2f8fa4af4c3d8e0f8d3c607b/68747470733a2f2f706f7365722e707567782e6f72672f64727570616c2f64727570616c2d6472697665722f646f776e6c6f6164732e737667)](https://packagist.org/packages/drupal/drupal-driver) [![License](https://camo.githubusercontent.com/75837645ac5724fb68aa8e212e1df9df9fdfd3ce8cb44d9d45d85b171025f197/68747470733a2f2f706f7365722e707567782e6f72672f64727570616c2f64727570616c2d6472697665722f6c6963656e73652e737667)](https://packagist.org/packages/drupal/drupal-driver) [![Scrutinizer Code Quality](https://camo.githubusercontent.com/8e4dc6fe1a9f1f5d82d34411f7fed82a498b9a69599226680432c9cb637d6991/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f6a6865647374726f6d2f44727570616c4472697665722f6261646765732f7175616c6974792d73636f72652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/jhedstrom/DrupalDriver/?branch=master)

### Drivers

[](#drivers)

These drivers support Drupal versions 7 and 8.

- Blackbox
- Direct Drupal API bootstrap
- Drush

### Installation

[](#installation)

```
{
  "require": {
    "drupal/drupal-driver": "~2.0"
  }
}
```

```
$> curl -sS http://getcomposer.org/installer | php
$> php composer.phar install
```

### Usage

[](#usage)

```
