sonypradana / here
Dump every line dev need
v0.2.0-beta0
2024-07-10 03:53 UTC
Requires
- php: ^8.0
- react/socket: ^1.15
- sonypradana/collection: ^0.35
- sonypradana/console: ^0.35
Requires (Dev)
- friendsofphp/php-cs-fixer: ^3.59
- phpstan/phpstan: ^1.11
- phpunit/phpunit: ^9.6
This package is auto-updated.
Last update: 2026-03-10 07:51:14 UTC
README
Dump your current line of code, for make sure your on right tract.
Installation
composer require sonypradana/here --dev
How to Use
Put here() anywhere in your code
... here()->dump(); ...
Avilable API
here(), register dump log.here()->dump(), dump current line.here()->dumpAll(), dump all registered.here()->count(), count how many execution by group name.here()->countAll(), count all group.
Other
here()->dumpIf(), dump the current line if a condition is true.here()->info(), dump the current line without code snapshot.track(), print debug backtrace information.work(), a short hand forhere()->dump().
Todo
- Implement socket reporting.
- Implement socket reporting with a browser view.
-
here()->count()Implement here()->count() with grouping by filename.