PHPackages                             froggdev/behat-installer - 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. [Framework](/categories/framework)
4. /
5. froggdev/behat-installer

ActiveSymfony-bundle[Framework](/categories/framework)

froggdev/behat-installer
========================

Easy Behat installation with new features and multiple reports options.

v1.0.0(6y ago)1411MITPHPPHP &gt;=7.1.3

Since Dec 17Pushed 6y ago2 watchersCompare

[ Source](https://github.com/FroggDev/behat-installer)[ Packagist](https://packagist.org/packages/froggdev/behat-installer)[ RSS](/packages/froggdev-behat-installer/feed)WikiDiscussions master Synced 6d ago

READMEChangelogDependencies (2)Versions (2)Used By (0)

[![Latest Stable Version](https://camo.githubusercontent.com/407a7bdabae76b78c5d307008818cf818f52650c781df3bebeec70e10d061a21/68747470733a2f2f706f7365722e707567782e6f72672f66726f67676465762f62656861742d696e7374616c6c65722f762f737461626c652e737667)](https://packagist.org/packages/froggdev/behat-installer)[![Latest Unstable Version](https://camo.githubusercontent.com/570d8bb20dfe828c79fee0ec8cbfc0df9e21d8325d4b94bc1894f1592c1725a1/68747470733a2f2f706f7365722e707567782e6f72672f66726f67676465762f62656861742d696e7374616c6c65722f762f756e737461626c652e737667)](https://packagist.org/packages/froggdev/behat-installer)[![Total Downloads](https://camo.githubusercontent.com/0331cb38de7ea598bb037ce8ed97c0aa90eefe9172bb6ee8324d5402f0d2ed4f/68747470733a2f2f706f7365722e707567782e6f72672f66726f67676465762f62656861742d696e7374616c6c65722f646f776e6c6f6164732e737667)](https://packagist.org/packages/froggdev/behat-installer)[![License](https://camo.githubusercontent.com/d9fd2e49ebe9a17e40e783e22acc45ab5a3e3fd9b89a988d55c2d3c3a1ee77c0/68747470733a2f2f706f7365722e707567782e6f72672f66726f67676465762f62656861742d696e7374616c6c65722f6c6963656e73652e737667)](https://packagist.org/packages/froggdev/behat-installer)

behat-installer
===============

[](#behat-installer)

**This package install BeHat to your symfony projet (or a new symfony project) configured to work with Selenium directly after installing this package.**

Adding additionnal contexts &amp; functionnalities to Behat

- Advanced demo with Selenium navigation
- Demo with Internet Explorer using BeHat Profile configuration
- Demo with Environment options
- Lot of new contexts
- possibility to define and use variables in scenarios
- HTML report using [emuse/behat-html-formatter](https://packagist.org/packages/emuse/behat-html-formatter)
- (optional) copy the html report and zip it if no error occured
- (optional) sending mail once test are done

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

[](#installation)

**Symfony**

Using symfony.exe

```
Symfony new ./myProject --version=4.4

```

Or with composer create-project command

```
composer create-project symfony/skeleton ./myProject 4.4.99

```

**Package**

```
composer require --dev froggdev/behat-installer

```

**Installation &amp; configuration**

```
php bin\console behat:install

```

**Run BeHat**

command to run BeHat advanced demo with Selenium

```
vendor\bin\behat

```

Todo list
---------

[](#todo-list)

- Install without stability dev required
- Remove package remove bootstrap.php ( was in symfony extension recipies)
- symfony 5.0

```
            behat/behat/Testwork/src/ServiceContainer/Configuration/ConfigurationTree.php
            // Symfony root('testwork');
            // Symfony >= 5.0
            $tree = new TreeBuilder('testwork');
            $root = $tree->getRootNode();

```

```
            // Symfony = 5.0
            Symfony\Contracts\EventDispatcher\Event

```

```
           // Symfony >= 5.0
           mink-drivers/src/BrowserKitDriver.php
           public function __construct($client

           behat/Behat/src/Output/Node/Printer/CounterPrinter.php
           public function __construct(
                   ResultToStringConverter $resultConverter,
                   ExceptionPresenter $exceptionPresenter,
                   $translator,
                   $basePath

           behat/Behat/src/Output/Node/Printer/ListPrinter.php
           public function __construct(ResultToStringConverter $resultConverter, $translator)

           behat/Behat/src/Gherkin/Cli/SyntaxController.php
           public function __construct(KeywordsDumper $dumper,  $translator)

           behat/Behat/src/Definition/Translator/DefinitionTranslator.php
           public function __construct($translator)

           behat/Behat/src/Context/Cli/ContextSnippetsController.php
           public function __construct(ContextSnippetGenerator $generator,  $translator)

           behat/Behat/src/Snippet/Printer/ConsoleSnippetPrinter.php
           public function __construct(OutputInterface $output,  $translator)

           behat/Behat/src/Transformation/Transformer/RepositoryArgumentTransformer.php
           public function __construct(
                   TransformationRepository $repository,
                   CallCenter $callCenter,
                   PatternTransformer $patternTransformer,
                   $translator

           behat/Behat/src/Context/Cli/InteractiveContextIdentifier.php

           behat/Testwork/src/EventDispatcher/Tester/EventDispatchingExercise.php
           $this->eventDispatcher->dispatch( $event,$event::BEFORE);
           $this->eventDispatcher->dispatch( $event,$event::AFTER_SETUP);

           behat/Testwork/src/EventDispatcher/TestworkEventDispatcher.php
           // Symfony doDispatch($this->getListeners($eventName), $eventName, $event);
           // Symfony >= 5.0
           $this->callListeners($this->getListeners($eventName), $eventName, $event);

           behat/Testwork/src/EventDispatcher/Tester/EventDispatchingSuiteTester.php
           $this->eventDispatcher->dispatch( $event,$event::BEFORE);
           $this->eventDispatcher->dispatch( $event,$event::AFTER_SETUP);

           behat/Behat/src/EventDispatcher/Tester/EventDispatchingFeatureTester.php
           $this->eventDispatcher->dispatch($event,$event::BEFORE);
           $this->eventDispatcher->dispatch($event,$event::AFTER_SETUP);

           behat/Behat/src/EventDispatcher/Tester/EventDispatchingScenarioTester.php
           $this->eventDispatcher->dispatch($event,$this->beforeEventName);
           $this->eventDispatcher->dispatch($event,$this->afterSetupEventName);
           $this->eventDispatcher->dispatch($event,$this->beforeTeardownEventName);
           $this->eventDispatcher->dispatch($event,$this->afterEventName);

           behat/Behat/src/EventDispatcher/Tester/EventDispatchingStepTester.php
           $this->eventDispatcher->dispatch($event,$event::BEFORE);
           $this->eventDispatcher->dispatch($event,$event::AFTER_SETUP);
           $this->eventDispatcher->dispatch($event,$event::BEFORE_TEARDOWN);
           $this->eventDispatcher->dispatch($event,$event::AFTER);

           behat/Behat/src/EventDispatcher/Tester/EventDispatchingFeatureTester.php
           $this->eventDispatcher->dispatch( $event,$event::BEFORE_TEARDOWN);
           $this->eventDispatcher->dispatch($event,$event::AFTER);

           + other $this->eventDispatcher->dispatch( ...

           + todo $this->translator->transChoice( ...

```

- Work with IE
- Remove ralouphie package
- Script behat:config
- add uservar to user feature
- Bug result ok is based only on 1st scenario
- Replace :value to RegExp
- Do more advanced scenario
- Add demo with BeHat TAG sample
- Linux version
- Translation

Credits
-------

[](#credits)

**Maintainers**

[Frogg FroggDev](https://github.com/FroggDev)

**Specials thanks**

[Mouncef ZAGHRAT](https://github.com/Mouncef)

**Copyright**

Copyright (c) 2019 Frogg .

###  Health Score

25

—

LowBetter than 37% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity10

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity52

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

Unknown

Total

1

Last Release

2343d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/3765812?v=4)[Frogg](/maintainers/FroggDev)[@FroggDev](https://github.com/FroggDev)

---

Top Contributors

[![FroggDev](https://avatars.githubusercontent.com/u/3765812?v=4)](https://github.com/FroggDev "FroggDev (136 commits)")

---

Tags

additionnal-contextsbddbehatbehat-installercontextfrogghtml-reportscenariosseleniumsymfonysymfonyframeworkBDDTDDContextBehatfrogg

### Embed Badge

![Health badge](/badges/froggdev-behat-installer/health.svg)

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

###  Alternatives

[dragon-code/support

Support package is a collection of helpers and tools for any project.

238.7M101](/packages/dragon-code-support)[silverstripe/behat-extension

SilverStripe framework extension for Behat

32564.2k5](/packages/silverstripe-behat-extension)[novaway/common-contexts

Novaway Behat common contexts

18187.8k3](/packages/novaway-common-contexts)[macpaw/behat-messenger-context

Behat Context for testing Symfony Messenger component

16232.9k](/packages/macpaw-behat-messenger-context)

PHPackages © 2026

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