tjm / dev
Dev helpers
v1.2.3
2024-07-22 19:12 UTC
Requires
- php: >=5.6
- symfony/var-dumper: *
README
Helpers for PHP dev. Provides:
d()
,TJM\Dev::dump()
, andTJM\Dev::getDump()
for dumping. Outputs (or gets) a string result ofvar_dump()
ordump()
. However, when passed a class name or callable that is user defined, it will output the file with line numbers where that class or callable is defined and its definition from that file.TJM\Dev\Test\TestCase
: Test case for PHPUnit, subclass ofPHPUnit\Framework\TestCase
with some assertions / helpers.
License
SPDX-License-Identifier: 0BSD OR Unlicense OR CC0-1.0