PHPackages                             brick/browser - 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. brick/browser

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

brick/browser
=============

PHP browser implementation for automated application testing

0.2.0(7y ago)57726MITPHPPHP &gt;=7.1CI passing

Since Nov 8Pushed 1y ago1 watchersCompare

[ Source](https://github.com/brick/browser)[ Packagist](https://packagist.org/packages/brick/browser)[ RSS](/packages/brick-browser/feed)WikiDiscussions master Synced 4d ago

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

Brick\\Browser
==============

[](#brickbrowser)

[![](https://raw.githubusercontent.com/brick/brick/master/logo.png)](https://raw.githubusercontent.com/brick/brick/master/logo.png)

A PHP browser implementation for automated testing.

[![Build Status](https://github.com/brick/browser/workflows/CI/badge.svg)](https://github.com/brick/browser/actions)[![Coverage Status](https://camo.githubusercontent.com/c7c62adad933a5e6b51b67e511208dc2750396c02a832acad1ab10bc6db76f6a/68747470733a2f2f636f766572616c6c732e696f2f7265706f732f6769746875622f627269636b2f62726f777365722f62616467652e7376673f6272616e63683d6d6173746572)](https://coveralls.io/github/brick/browser?branch=master)[![Latest Stable Version](https://camo.githubusercontent.com/e3f6e995a6eef77621ba48efb8ddb9cd7518544a2c387cac2bd3b8c0ff9b2b6a/68747470733a2f2f706f7365722e707567782e6f72672f627269636b2f62726f777365722f762f737461626c65)](https://packagist.org/packages/brick/browser)[![License](https://camo.githubusercontent.com/7013272bd27ece47364536a221edb554cd69683b68a46fc0ee96881174c4214c/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d626c75652e737667)](http://opensource.org/licenses/MIT)

Introduction
------------

[](#introduction)

With an API inspired by [Selenium](http://www.seleniumhq.org/), this PHP browser implementation allows fast automated testing of a PHP application. It lack many features of a real browser: it doesn't load external resources, and doesn't execute JavaScript. However, it allows your tests to browse from page to page by clicking elements and submitting forms, and check the result (URL, status code, page contents). If you don't need all the features of a real browser, this is a much faster alternative to Selenium.

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

[](#installation)

This library is installable via [Composer](https://getcomposer.org/):

```
composer require brick/browser
```

Requirements
------------

[](#requirements)

This library requires PHP 7.1 or later.

###  Health Score

31

—

LowBetter than 68% of packages

Maintenance33

Infrequent updates — may be unmaintained

Popularity21

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity50

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

Every ~259 days

Total

3

Last Release

2592d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/57189121968030f0770811b461cc92f9c19c08f5c4767292f2ede48b7277cfad?d=identicon)[BenMorel](/maintainers/BenMorel)

---

Top Contributors

[![BenMorel](https://avatars.githubusercontent.com/u/1952838?v=4)](https://github.com/BenMorel "BenMorel (52 commits)")

---

Tags

automated-testingbrowserphpbrowserbrick

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/brick-browser/health.svg)

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

###  Alternatives

[behat/mink

Browser controller/emulator abstraction for PHP

1.6k86.1M606](/packages/behat-mink)[behat/mink-browserkit-driver

Symfony2 BrowserKit driver for Mink framework

54462.0M318](/packages/behat-mink-browserkit-driver)[behat/mink-selenium2-driver

Selenium2 (WebDriver) driver for Mink framework

51159.1M666](/packages/behat-mink-selenium2-driver)[instaclick/php-webdriver

PHP WebDriver for Selenium 2

43761.8M22](/packages/instaclick-php-webdriver)[friends-of-behat/mink-extension

Mink extension for Behat

14034.2M467](/packages/friends-of-behat-mink-extension)[jcalderonzumba/mink-phantomjs-driver

PhantomJS driver for Mink framework

15910.9M63](/packages/jcalderonzumba-mink-phantomjs-driver)

PHPackages © 2026

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