Skip to content

ahmetbarut/laravel-helper

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 

Repository files navigation

@dd_if(bool $condition, ...$args)

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);

About

Laravele attığım ve kabul edilmeyen çekme isteklerini(pull requests) paket haline getirdim

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages