sonypradana / here
Dump every line dev need
Installs: 54
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 1
Open Issues: 3
pkg:composer/sonypradana/here
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: 2025-10-10 06:50:47 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.