PHPackages                             alexandresalome/behat-launcher - 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. alexandresalome/behat-launcher

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

alexandresalome/behat-launcher
==============================

Launch Behat tests from your browser

63147[1 PRs](https://github.com/alexandresalome/behat-launcher/pulls)PHP

Since Mar 10Pushed 10y ago1 watchersCompare

[ Source](https://github.com/alexandresalome/behat-launcher)[ Packagist](https://packagist.org/packages/alexandresalome/behat-launcher)[ RSS](/packages/alexandresalome-behat-launcher/feed)WikiDiscussions master Synced 2d ago

READMEChangelogDependenciesVersions (3)Used By (0)

Behat Launcher
==============

[](#behat-launcher)

[![Build status](https://camo.githubusercontent.com/5b865fc82054bcf3cc777090fdaba102bb559ffeb10f6f136d428e230cb9b2ac/68747470733a2f2f7472617669732d63692e6f72672f616c6578616e64726573616c6f6d652f62656861742d6c61756e636865722e706e67)](https://travis-ci.org/alexandresalome/behat-launcher) [![Latest stable version](https://camo.githubusercontent.com/0a7ae415befe8a1024b424be611da2914beba1a3512a1b5ff1ef22c628a2cb93/68747470733a2f2f706f7365722e707567782e6f72672f616c6578616e64726573616c6f6d652f62656861742d6c61756e636865722f762f737461626c652e706e67)](https://packagist.org/packages/alexandresalome/behat-launcher)

An application to **launch your Behat tests from your browser**:

[![src/Alex/BehatLauncher/Resources/demo.png](src/Alex/BehatLauncher/Resources/demo.png)](src/Alex/BehatLauncher/Resources/demo.png)

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

[](#installation)

To install Behat-Launcher, you will need:

- PHP 5.4
- Apache2 or Nginx or anything that can run a PHP application
- A MySQL database
- NodeJS and npm to install Bower and Grunt

**1. Get the code**

Go to folder where you want to install Behat-Launcher and clone the sourcecode through git command:

```
cd /var/www
git clone git@github.com:alexandresalome/behat-launcher.git
cd behat-launcher
```

**2. Install dependencies**

Behat-Launcher works with [composer](http://getcomposer.org), a tool to manage dependencies.

Download it in behat-launcher folder:

```
cd /var/www/behat-launcher
curl http://getcomposer.org/installer | php
php composer.phar install
```

This command will download dependencies in **vendor/** folder to make them available to the application.

Next you will need to install the assets using Bower and Grunt.

You can install these tools using npm, the NodeJS package manager:

```
npm install -g bower
npm install -g grunt-cli
```

You can now install the assets:

```
bower install
npm install
grunt
```

**3. Configuration**

In this folder, create a file **config.php** where you will configure your database and your projects.

You can use the **config.php.dist** file to get an exhaustive list of configuration features.

```
cd /var/www/behat-launcher
cp config.php.dist config.php
vi config.php # (or notepad, or whatever you use to edit this file)
```

**4. Database**

When you're done, initialize your database:

```
php behat-launcher init-db
```

**5. WebServer**

Now, configure your web server to make the application accessible through your webserver. Make it serve the **web** folder:

```
DocumentRoot /var/www/behat-launcher/web
```

Make sure web server has write access to *data/* folder.

**6. Background job**

To run tests, Behat-Launcher needs to run jobs in background. Start it using:

```
cd /var/www/behat-launcher
php behat-launcher run
```

**If you are using Linux**, take a look at [this gist](https://gist.github.com/OwlyCode/9661213) to daemonize it.

This command will execute until you stop it. If you want command to stop after all units are ran, pass the **--stop-on-finish** option:

```
cd /var/www/behat-launcher
php behat-launcher run --stop-on-finish
```

You're done! Access your application through web server. Given you use Apache and only have this application set up, access

Changelog
---------

[](#changelog)

**v0.1**

- Restart one test, all tests or failed only
- Run multiple tests concurrently
- Relaunch whole run or just failed, or stop execution
- Override behat.yml configuration values
- Record additional formats (html, failed, progress, ...)
- View output while process is running

###  Health Score

26

—

LowBetter than 41% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity20

Limited adoption so far

Community12

Small or concentrated contributor base

Maturity44

Maturing project, gaining track record

 Bus Factor1

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

### Community

Maintainers

![](https://www.gravatar.com/avatar/2c6be58ec4620ddbcc6f95bf7353365dc7ff796c004c70369333aee6125eb309?d=identicon)[alexandresalome](/maintainers/alexandresalome)

---

Top Contributors

[![mnapoli](https://avatars.githubusercontent.com/u/720328?v=4)](https://github.com/mnapoli "mnapoli (5 commits)")[![antfroger](https://avatars.githubusercontent.com/u/3509631?v=4)](https://github.com/antfroger "antfroger (1 commits)")

### Embed Badge

![Health badge](/badges/alexandresalome-behat-launcher/health.svg)

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

###  Alternatives

[dms/phpunit-arraysubset-asserts

This package provides ArraySubset and related asserts once deprecated in PHPUnit 8

14228.7M341](/packages/dms-phpunit-arraysubset-asserts)[phpbenchmark/phpbenchmark

Easy to use benchmark toolkit for your PHP-application. This library contains classes for comparing algorithms as well as benchmarking application responses

8011.5k2](/packages/phpbenchmark-phpbenchmark)

PHPackages © 2026

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