PHPackages                             dbrekelmans/browser-driver-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. [Utility &amp; Helpers](/categories/utility)
4. /
5. dbrekelmans/browser-driver-installer

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

dbrekelmans/browser-driver-installer
====================================

Helps you install the appropriate browser driver.

1.4.1(6mo ago)467.8k↓46.2%15[1 PRs](https://github.com/dbrekelmans/browser-driver-installer/pulls)MITPHPPHP ^8.1

Since Oct 5Pushed 4mo ago4 watchersCompare

[ Source](https://github.com/dbrekelmans/browser-driver-installer)[ Packagist](https://packagist.org/packages/dbrekelmans/browser-driver-installer)[ Docs](https://github.com/dbrekelmans/browser-driver-installer)[ RSS](/packages/dbrekelmans-browser-driver-installer/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (10)Dependencies (12)Versions (40)Used By (0)

browser-driver-installer
========================

[](#browser-driver-installer)

This command-line tool helps you install browser drivers. A common use-case is to install a browser driver to run your functional test suite.

Why
---

[](#why)

While running automated testing tools in CI, you might currently install the latest version of your browser and browser driver. These can become out-of-sync (for example: a new driver is released, but the matching browser is only released a few days later).

This tool installs a driver for you that will always work with your installed browser.

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

[](#installation)

### Phive

[](#phive)

Install with `phive install bdi` or `phive install dbrekelmans/browser-driver-installer`.

Run with `tools/bdi `.

*See  for information about phive itself.*

### Composer

[](#composer)

Install with `composer require --dev dbrekelmans/bdi`.

Run with `vendor/bin/bdi ` or `vendor/bin/bdi.phar `

*To prevent dependency conflicts, `dbrekelmans/bdi` is a PHAR-only distribution. You can install the package including dependencies with `composer require --dev dbrekelmans/browser-driver-installer`*

### Download PHAR

[](#download-phar)

You can download the PHAR directly from the github [releases page](https://github.com/dbrekelmans/browser-driver-installer/releases).

Run with `bdi.phar `.

Usage
-----

[](#usage)

Run `bdi` or `bdi detect` to automatically detect your installed browsers and install the corresponding drivers.

If you want to install any working driver for a specific browser, run `bdi browser:`. If you want to install a specific driver, run `bdi driver:` (defaults to the latest version. Use `--driver-version=` to install a different version). You can specify a directory where the driver will be installed with `bdi detect `.

For a full list of available commands, run `bdi list`.

### Supported drivers

[](#supported-drivers)

- chromedriver
- geckodriver

### Supported browsers

[](#supported-browsers)

- google-chrome
- chromium
- firefox

### Environment variables

[](#environment-variables)

- `GITHUB_TOKEN` - Geckodriver version resolver fetches the latest version from GitHub. You can set this environment variable to avoid rate limiting in CI environments.

###  Health Score

55

—

FairBetter than 98% of packages

Maintenance71

Regular maintenance activity

Popularity38

Limited adoption so far

Community22

Small or concentrated contributor base

Maturity75

Established project with proven stability

 Bus Factor1

Top contributor holds 79.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 ~50 days

Recently: every ~156 days

Total

38

Last Release

197d ago

Major Versions

0.3-alpha.2 → 1.02020-12-13

PHP version history (5 changes)0.1-alpha.1PHP ^7.4

0.1.4PHP ^7.2

0.3-alpha.1PHP ^7.2|^8.0

1.1.0PHP ^7.4|^8.0

1.3.0PHP ^8.1

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/9531344?v=4)[Daniël Brekelmans](/maintainers/dbrekelmans)[@dbrekelmans](https://github.com/dbrekelmans)

---

Top Contributors

[![dbrekelmans](https://avatars.githubusercontent.com/u/9531344?v=4)](https://github.com/dbrekelmans "dbrekelmans (84 commits)")[![laurent35240](https://avatars.githubusercontent.com/u/473193?v=4)](https://github.com/laurent35240 "laurent35240 (7 commits)")[![Chris53897](https://avatars.githubusercontent.com/u/7104259?v=4)](https://github.com/Chris53897 "Chris53897 (3 commits)")[![KevinVanSonsbeek](https://avatars.githubusercontent.com/u/21358095?v=4)](https://github.com/KevinVanSonsbeek "KevinVanSonsbeek (3 commits)")[![ddebin](https://avatars.githubusercontent.com/u/458007?v=4)](https://github.com/ddebin "ddebin (2 commits)")[![Gurdarrag](https://avatars.githubusercontent.com/u/18448952?v=4)](https://github.com/Gurdarrag "Gurdarrag (2 commits)")[![kbond](https://avatars.githubusercontent.com/u/127811?v=4)](https://github.com/kbond "kbond (1 commits)")[![mocodo](https://avatars.githubusercontent.com/u/2571330?v=4)](https://github.com/mocodo "mocodo (1 commits)")[![nclsHart](https://avatars.githubusercontent.com/u/833625?v=4)](https://github.com/nclsHart "nclsHart (1 commits)")[![michael-picard](https://avatars.githubusercontent.com/u/20269032?v=4)](https://github.com/michael-picard "michael-picard (1 commits)")[![nusje2000](https://avatars.githubusercontent.com/u/17175959?v=4)](https://github.com/nusje2000 "nusje2000 (1 commits)")

---

Tags

browser-driverchromedriverhacktoberfestbrowserChromedrivergeckodriverdriverchromiumfirefoxgoogle chromebrowser driver

###  Code Quality

TestsPHPUnit

Static AnalysisPHPStan

Type Coverage Yes

### Embed Badge

![Health badge](/badges/dbrekelmans-browser-driver-installer/health.svg)

```
[![Health](https://phpackages.com/badges/dbrekelmans-browser-driver-installer/health.svg)](https://phpackages.com/packages/dbrekelmans-browser-driver-installer)
```

###  Alternatives

[symfony/maker-bundle

Symfony Maker helps you create empty commands, controllers, form classes, tests and more so you can forget about writing boilerplate code.

3.4k111.1M568](/packages/symfony-maker-bundle)[sylius/sylius

E-Commerce platform for PHP, based on Symfony framework.

8.4k5.6M651](/packages/sylius-sylius)[shopware/platform

The Shopware e-commerce core

3.3k1.5M3](/packages/shopware-platform)[symplify/monorepo-builder

Not only Composer tools to build a Monorepo.

5205.3M82](/packages/symplify-monorepo-builder)[sulu/sulu

Core framework that implements the functionality of the Sulu content management system

1.3k1.3M152](/packages/sulu-sulu)[prestashop/prestashop

PrestaShop is an Open Source e-commerce platform, committed to providing the best shopping cart experience for both merchants and customers.

9.0k15.4k](/packages/prestashop-prestashop)

PHPackages © 2026

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