chevere/var-dump

A multi-purpose colorful modern alternative to var_dump

1.0.0 2024-01-09 17:56 UTC

README

🔔 Subscribe to the newsletter to don't miss any update regarding Chevere.

Chevere

Build Code size Apache-2.0 PHPStan Mutation testing badge

Quality Gate Status Maintainability Rating Reliability Rating Security Rating Coverage Technical Debt CodeFactor

Summary

Multi-purpose colorful modern alternative to var_dump.

Installing

VarDump is available through Packagist and the repository source is at chevere/var-dump.

composer require --dev chevere/var-dump

Quick start

  • Use vd to dump information about any variable (replaces var_dump and dump)
  • Use vdd to do the same as vd and die(0) (replaces dd)
vd($myVar); // var dump
vdd($myVar); // var dump and die

Demo

HTML demo

Documentation

Documentation is available at chevere.org.

License

Copyright Rodolfo Berrios A.

Chevere is licensed under the Apache License, Version 2.0. See LICENSE for the full license text.

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.