An open API service indexing awesome lists of open source software.

https://github.com/tal7aouy/dd

👨🏻‍💻 Use dd and dump to your PHP application like the one in Laravel. .
https://github.com/tal7aouy/dd

ddd debug laravel-ddd vardump vardumper

Last synced: 4 months ago
JSON representation

👨🏻‍💻 Use dd and dump to your PHP application like the one in Laravel. .

Awesome Lists containing this project

README

        

# dd

This library will add the `dd` and `dump` helpers to your PHP application.

⚡️ Install

Run:

```sh
composer require tal7aouy/dd
```

✅ Usage

```php
$arr = ['a'=>'a','b'=>b];
dd($arr);
// or
dump($arr);
```
🤓 output:
```json
^ array:2 [▼
"a" => "a"
"b" => "b"
]
```

🚀 For Laravel

[Laravel](http://laravel.com) already have the `dd` function in its helpers.
The `dd` function from this package is equal to the one in Laravel.

**dd** was created by **[tal7aouy](https://github.com/tal7aouy)** under the **[BSD-3-Clause](https://opensource.org/licenses/BSD-3-Clause)**.