bear / devtools
1.1.0
2024-04-20 15:11 UTC
Requires
- php: ^8.0
- ext-filter: *
- aura/sql: ^3 || ^4 || ^5
- bear/app-meta: ^1.8
- bear/resource: ^1.17
- koriym/php-server: ^1.0
- psr/log: ^1 || ^2 || ^3
- ray/aop: ^2.14
- ray/di: ^2.14
- symfony/process: ^v5.4 || ^v6.4 || ^v7.0
- xhprof/xhprof: ^2.3
Requires (Dev)
- bamarni/composer-bin-plugin: ^1.4
- bear/package: ^1.10
- madapaja/twig-module: ^2.5
- phpunit/phpunit: ^9.6
- ray/aura-sql-module: ^1.10
Suggests
- ext-xhprof: XHprof hierarchical profiler
This package is auto-updated.
Last update: 2024-09-20 16:14:52 UTC
README
光环模块
光环是一个围绕资源HTML表示的框架。光环识别正在渲染的资源并提供关于该资源的相关工具。
光环中的工具提供有关资源的信息,例如其状态(状态)、其表示(查看)、应用于它的拦截器等。它还提供链接到资源类和资源模板的编辑器。
class DevModule extends AbstractModule { protected function configure(): void { $this->install(new HaloModule($this)); } }
HttpResource客户端
HttpResource
启动本地服务器并成为HTTP客户端。
$resource = new HttpResource('127.0.0.1:8099', '/path/to/index.php', '/path/to/curl.log'); $ro = $resource->get('/'); assert($ro->code === 200);