ahmetbarut/laravel-helper

Laravele attığım ve kabul edilmeyen çekme istekleri

v1.0.0 2022-10-24 10:16 UTC

This package is auto-updated.

Last update: 2024-04-24 13:38:54 UTC


README

For Laravel

if you use laravel framework, you can use this function to dump the variable if the condition is true.

// config/app.php
'providers' => [
    ...
    AhmetBarut\LaravelHelper\LaravelHelperServiceProvider::class,
];
@dd_if(true, $var1, $var2, $var3);

if use only php, you can use this function to dump the variable if the condition is true.

dd_if(true, $var1, $var2, $var3);