Answer the question
In order to leave comments, you need to log in
Is there an analogue of the dd function in Laravel in yii?
Let me explain: dd() - prints an array in a beautiful way in Laravel. It turns out a kind of mixture between print_r and var_dump. And an even easier explanation - dd( ) is like an xdebug extension. Is it possible to display data in yii?
Answer the question
In order to leave comments, you need to log in
Yii2 has its own dumper:
www.yiiframework.com/doc-2.0/yii-helpers-vardumper.html
And in Lark, this is the Symfony
The VarDumper Component
In Lark, they use it (see which classes are included):
https:// github.com/laravel/framework/blob/5.5/src/...
You can download the wardamper as a separate element and use it anywhere. https://symfony.com/doc/current/components/var_dum...
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question