/dd-helpers

Primary LanguagePHPMIT LicenseMIT

Additional Dump & Die Helpers

Latest Version on Packagist Total Downloads StyleCI

Installation

You can install the package via composer:

composer require sixlive/dd-helpers

Usage

dd_if($value, true === true);
dd_if($value, function ($value) {
    return $value === 'foo';
});

foreach($foo in $bar) {
    dump_until($foo, function ($foo) use ($bar) {
        return $bar === 'baz';
    });
}

Testing

Not even sure how this could be tested.

Changelog

Please see CHANGELOG for more information on what has changed recently.

Contributing

Please see CONTRIBUTING for details.

Security

If you discover any security related issues, please email oss@tjmiller.co instead of using the issue tracker.

Credits

License

The MIT License (MIT). Please see License File for more information.