Download the PHP package bear/devtools without Composer
On this page you can find all versions of the php package bear/devtools. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Informations about the package devtools
BEAR.DevTools
Development tools and utilities for BEAR.Sunday framework applications.
Installation
Features
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 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
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 STDERR, a single file, or per-test files)
- Full HTTP method support (GET, POST, PUT, PATCH, DELETE)
- HAL link following with
href() - Request/response capture for testing workflows
Following HAL links
href() follows a HAL _links relation from a response with a GET request:
A HalLinkNotFoundException is thrown when the relation or its href is missing.
HTTP Access Log
Each request is logged with its equivalent curl command followed by the raw response:
Workflow Testing
AbstractWorkflowTest is the base contract for rel-driven workflow tests. Write
the workflow once against ResourceInterface, then run the same scenario over
HTTP by extending the concrete workflow test and overriding only newResource()
with HttpResource.
Requirements
- PHP 8.2 or higher
- ext-curl
- BEAR.Sunday framework
Development
This package includes comprehensive development tools:
- Code Quality: PHPStan, Psalm, PHP_CodeSniffer
- Testing: PHPUnit with coverage reporting
- Profiling: XHProf integration (optional)
License
The MIT License (MIT). Please see License File for more information.
All versions of devtools with dependencies
ext-curl Version *
bear/app-meta Version ^1.8
bear/resource Version ^1.31
koriym/php-server Version ^1.0
phpunit/phpunit Version ^9.6 || ^10.0
ray/aop Version ^2.14
ray/di Version ^2.14