PHPackages                             andreyors/behat-bootstrap - 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. andreyors/behat-bootstrap

AbandonedArchivedBehat-extension[Testing &amp; Quality](/categories/testing)

andreyors/behat-bootstrap
=========================

A Behat extension to automate init actions

0.4.2(7y ago)56.5kMITPHPPHP &gt;=5.3.3

Since Jan 20Pushed 4y ago1 watchersCompare

[ Source](https://github.com/andreyors/behat-bootstrap)[ Packagist](https://packagist.org/packages/andreyors/behat-bootstrap)[ RSS](/packages/andreyors-behat-bootstrap/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (3)Dependencies (7)Versions (4)Used By (0)

Behat Bootstrap
===============

[](#behat-bootstrap)

[![Latest Stable Version](https://camo.githubusercontent.com/2b7aad97ffb390e8e6741b9860e7ec817abe79a9bccacc0ef269e3fe4f9e6b44/68747470733a2f2f706f7365722e707567782e6f72672f616e647265796f72732f62656861742d626f6f7473747261702f762f737461626c65)](https://packagist.org/packages/andreyors/behat-bootstrap)[![Build Status](https://camo.githubusercontent.com/afb9d0c365df9afb7f50d14fb53d164c5c57cd572975a28b401a950a06ed6128/68747470733a2f2f7472617669732d63692e6f72672f616e647265796f72732f62656861742d626f6f7473747261702e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/andreyors/behat-bootstrap)[![Downloads](https://camo.githubusercontent.com/42d96c0e609a7facc34b191b8a2b47170797def877c55433ce926513018531ea/68747470733a2f2f706f7365722e707567782e6f72672f616e647265796f72732f62656861742d626f6f7473747261702f646f776e6c6f616473)](https://packagist.org/packages/andreyors/behat-bootstrap)[![codecov](https://camo.githubusercontent.com/afca27227383973923fa7f081aedfd27f2bf2ae7288acbad99088990db350b21/68747470733a2f2f636f6465636f762e696f2f67682f616e647265796f72732f62656861742d626f6f7473747261702f6272616e63682f6d61737465722f67726170682f62616467652e737667)](https://codecov.io/gh/andreyors/behat-bootstrap)[![Deps](https://camo.githubusercontent.com/af5f885b1dd64b141209e1c1c9c7149368cc56c5bd7922b1a17e367c89dfe197/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f646570656e64656e636965732d7570253230746f253230646174652d627269676874677265656e2e737667)](https://camo.githubusercontent.com/af5f885b1dd64b141209e1c1c9c7149368cc56c5bd7922b1a17e367c89dfe197/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f646570656e64656e636965732d7570253230746f253230646174652d627269676874677265656e2e737667)[![Scrutinizer Code Quality](https://camo.githubusercontent.com/b26f6c288a195d188edd923832165550e059f60c5d85ea0183e162a8a658f8d7/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f616e647265796f72732f62656861742d626f6f7473747261702f6261646765732f7175616c6974792d73636f72652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/andreyors/behat-bootstrap/?branch=master)[![License](https://camo.githubusercontent.com/7013272bd27ece47364536a221edb554cd69683b68a46fc0ee96881174c4214c/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d626c75652e737667)](https://opensource.org/licenses/MIT)[![PHP 7 ready](https://camo.githubusercontent.com/14ba32ac4322c46272541224fb012d82c43e2dee199a50435dd90adb3a3c896f/687474703a2f2f7068703772656164792e74696d6573706c696e7465722e63682f616e647265796f72732f62656861742d626f6f7473747261702f62616467652e737667)](https://travis-ci.org/andreyors/behat-bootstrap)

A Behat extension to automate console operations in order to prepare environment within Symfony 3/4, i.e. preparing initial database state, cleaning redis cache and warming composer cache

Getting started
---------------

[](#getting-started)

### Prerequisites

[](#prerequisites)

- Behat 3
- Composer

### Installing

[](#installing)

`composer require --dev andreyors/behat-bootstrap`

### Usage

[](#usage)

We usually need to prepare behat environment (create a fresh copy of db, clear the cache before, set up rabbitmq queues and exchanges)

### Copy and paste `behat.yaml` configuration

[](#copy-and-paste-behatyaml-configuration)

```
extensions:
    AndreyOrs\BehatBootstrap\Loader:
      bootstrap:
        - bin/console cache:clear -e test
        - bin/console cache:warmup -e test
        - bin/console doctrine:schema:create -e test
        - bin/console rabbitmq:setup-fabric -e test
```

### Tests

[](#tests)

```
composer test
```

### License

[](#license)

This library is released under the MIT license.

###  Health Score

28

—

LowBetter than 54% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity22

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity50

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 96.2% 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 ~81 days

Total

3

Last Release

2870d ago

PHP version history (2 changes)0.4.1PHP ^5.6.0 || ^7.0

0.4.2PHP &gt;=5.3.3

### Community

Maintainers

![](https://www.gravatar.com/avatar/2372af3deda17624b5de066d2a9453edcccb2a9c661895def85ee76143201e6f?d=identicon)[andreyors](/maintainers/andreyors)

---

Top Contributors

[![andreyors](https://avatars.githubusercontent.com/u/10812297?v=4)](https://github.com/andreyors "andreyors (50 commits)")[![dependabot-preview[bot]](https://avatars.githubusercontent.com/in/2141?v=4)](https://github.com/dependabot-preview[bot] "dependabot-preview[bot] (1 commits)")[![scrutinizer-auto-fixer](https://avatars.githubusercontent.com/u/6253494?v=4)](https://github.com/scrutinizer-auto-fixer "scrutinizer-auto-fixer (1 commits)")

---

Tags

behat-extensionbehat3bootstrapsymfonyBehatbootstrap

###  Code Quality

TestsPHPUnit

Code StylePHP\_CodeSniffer

### Embed Badge

![Health badge](/badges/andreyors-behat-bootstrap/health.svg)

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

###  Alternatives

[behat/behat

Scenario-oriented BDD framework for PHP

4.0k96.8M1.9k](/packages/behat-behat)[robertfausk/behat-panther-extension

Symfony Panther extension for Behat

341.7M87](/packages/robertfausk-behat-panther-extension)[dvdoug/behat-code-coverage

Generate Code Coverage reports for Behat tests

593.6M37](/packages/dvdoug-behat-code-coverage)[leanphp/behat-code-coverage

Generate Code Coverage reports for Behat tests

50359.8k2](/packages/leanphp-behat-code-coverage)[macpaw/behat-messenger-context

Behat Context for testing Symfony Messenger component

16232.9k](/packages/macpaw-behat-messenger-context)[novaway/common-contexts

Novaway Behat common contexts

18187.8k3](/packages/novaway-common-contexts)

PHPackages © 2026

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