PHP Package: icecave/repr

PHP library for generating customizable string representations of objects for debugging and logging purposes.

Current Version: 4.0.0
Last Updated: 2020-08-25
PHP Requirement: >=7.2
Dependencies:
phpunit/phpunit
⚠️ To ensure full functionality, the above dependencies might be required.

Package Description

Icecave\Repr is a PHP library that provides a simple way to generate string representations of objects with customizable output. It helps with debugging and logging by allowing developers to easily inspect complex data structures. With support for custom formats and styles, Icecave\Repr makes it efficient to display objects in a human-readable format.

📦 Show all available classes🔗 View on GitHub

Download Latest Version: 4.0.0

Download Download v4.0.0

Code Integration Example

Make sure to include the correct namespace and class paths for proper usage.

<?php
// Example from PHPlibraries.com
require_once 'libs/icecave/repr/4.0.0/loader.php';
require_once 'libs/sebastianbergmann/phpunit/12.4.1/loader.php';

use Icecave\Repr\Repr;
use PHPUnit\Framework\TestCase;

$obj = new Repr();
echo '✅ Test OK: ' . get_class($obj);
?>

We aim to make using PHP packages easier without Composer. If something doesn't work, let us know — we'll fix it promptly.

Community Discussion

Ask questions, share tips, or report issues below.