PHPackages                             bear/devtools - 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. bear/devtools

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

bear/devtools
=============

1.2.2(4mo ago)1242.1k↑33%33MITPHPPHP ^8.0CI passing

Since Jun 24Pushed 3mo ago2 watchersCompare

[ Source](https://github.com/bearsunday/BEAR.DevTools)[ Packagist](https://packagist.org/packages/bear/devtools)[ RSS](/packages/bear-devtools/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (10)Dependencies (14)Versions (18)Used By (3)

BEAR.DevTools
=============

[](#beardevtools)

Development tools and utilities for BEAR.Sunday framework applications.

[![Latest Stable Version](https://camo.githubusercontent.com/4c1163866de75abc93b9b4a84edd425ac54f61ce6a4f3aae2739c624aa0eef6a/68747470733a2f2f706f7365722e707567782e6f72672f626561722f646576746f6f6c732f762f737461626c65)](https://packagist.org/packages/bear/devtools)[![Total Downloads](https://camo.githubusercontent.com/df917561b35f4ed3012d50c99017875d41deb79f43556695fe683ccfb28ed707/68747470733a2f2f706f7365722e707567782e6f72672f626561722f646576746f6f6c732f646f776e6c6f616473)](https://packagist.org/packages/bear/devtools)[![License](https://camo.githubusercontent.com/6692b14c7295d55bfd736410ef63fdfc4eb2bd59dc70f2316cd00e234823ae7e/68747470733a2f2f706f7365722e707567782e6f72672f626561722f646576746f6f6c732f6c6963656e7365)](https://packagist.org/packages/bear/devtools)

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

[](#installation)

```
composer require --dev bear/devtools
```

Features
--------

[](#features)

### Halo Module - Resource Development Inspector

[](#halo-module---resource-development-inspector)

The Halo module provides a visual development interface that appears around HTML representations of resources, offering detailed information about the resource being rendered.

> **Note**: The Halo concept is inspired by the [Seaside](http://www.seaside.st/) Smalltalk web framework, which pioneered this approach to visual web development debugging.

**Features:**

- Resource status and metadata display
- Interceptor chain visualization
- Direct links to resource class and template editors
- Request/response analysis
- Performance profiling integration

```
use BEAR\Dev\Halo\HaloModule;
use Ray\Di\AbstractModule;

class DevModule extends AbstractModule
{
    protected function configure(): void
    {
        $this->install(new HaloModule($this));
    }
}
```

### HttpResource Client - HTTP Testing Utility

[](#httpresource-client---http-testing-utility)

`HttpResource` starts a built-in PHP server and provides an HTTP client interface for testing your BEAR.Sunday applications.

**Features:**

- Automatic local server startup
- HTTP request logging to file
- Full HTTP method support (GET, POST, PUT, DELETE, etc.)
- Request/response capture for testing workflows

```
use BEAR\Dev\Http\HttpResource;

// Start server and create HTTP client
$resource = new HttpResource('127.0.0.1:8099', '/path/to/index.php', '/path/to/curl.log');

// Make HTTP requests
$ro = $resource->get('/users');
assert($ro->code === 200);

$ro = $resource->post('/users', ['name' => 'John', 'email' => 'john@example.com']);
assert($ro->code === 201);
```

#### HTTP Access Log

[](#http-access-log)

All HTTP requests made through `HttpResource` are automatically logged with full curl command equivalents:

```
curl -s -i 'http://127.0.0.1:8099/users'

HTTP/1.1 200 OK
Content-Type: application/hal+json
...
```

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

[](#requirements)

- PHP 8.0 or higher
- BEAR.Sunday framework

Development
-----------

[](#development)

This package includes comprehensive development tools:

- **Code Quality**: PHPStan, Psalm, PHP\_CodeSniffer
- **Testing**: PHPUnit with coverage reporting
- **Profiling**: XHProf integration (optional)

License
-------

[](#license)

The MIT License (MIT). Please see [License File](LICENSE) for more information.

###  Health Score

54

—

FairBetter than 97% of packages

Maintenance78

Regular maintenance activity

Popularity37

Limited adoption so far

Community18

Small or concentrated contributor base

Maturity69

Established project with proven stability

 Bus Factor1

Top contributor holds 97% 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 ~155 days

Recently: every ~179 days

Total

14

Last Release

140d ago

Major Versions

0.1.4 → 1.0.02021-05-10

PHP version history (3 changes)0.1.0PHP &gt;=7.2.0

0.1.4PHP ^7.3 || ^8.0

1.2.0PHP ^8.0

### Community

Maintainers

![](https://www.gravatar.com/avatar/db4fc75ffc631168d0d7143b6f2c24b1534dfb921212bd851c026c5cbbb1344d?d=identicon)[koriym](/maintainers/koriym)

---

Top Contributors

[![koriym](https://avatars.githubusercontent.com/u/529021?v=4)](https://github.com/koriym "koriym (227 commits)")[![claude](https://avatars.githubusercontent.com/u/81847?v=4)](https://github.com/claude "claude (4 commits)")[![momospnr](https://avatars.githubusercontent.com/u/1066913?v=4)](https://github.com/momospnr "momospnr (3 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/bear-devtools/health.svg)

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

###  Alternatives

[bear/package

BEAR.Sunday application framework package

30527.9k23](/packages/bear-package)[civicrm/civicrm-core

Open source constituent relationship management for non-profits, NGOs and advocacy organizations.

728272.9k20](/packages/civicrm-civicrm-core)[cognesy/instructor-php

The complete AI toolkit for PHP: unified LLM API, structured outputs, agents, and coding agent control

310107.9k1](/packages/cognesy-instructor-php)[sensiolabs/minify-bundle

Assets Minifier (CSS, JS) for Symfony &amp; Minify integration in Asset Mapper

5694.9k1](/packages/sensiolabs-minify-bundle)[aedart/athenaeum

Athenaeum is a mono repository; a collection of various PHP packages

245.2k](/packages/aedart-athenaeum)

PHPackages © 2026

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