> For the complete documentation index, see [llms.txt](https://lara-dumps.gitbook.io/laradumps/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://lara-dumps.gitbook.io/laradumps/reference.md).

# Reference

| Call                                 | Description                                                                                |
| ------------------------------------ | ------------------------------------------------------------------------------------------ |
| ds($var)                             | Display a string, array or object                                                          |
| ds($var1, $var2)                     | Display multiples arguments                                                                |
| ds(...)->red()                       | Output in red                                                                              |
| ds(...)->danger()                    | Output in danger                                                                           |
| ds(...)->dark()                      | Output in black                                                                            |
| ds(...)->warning()                   | Output in orange                                                                           |
| ds(...)->info()                      | Output in blue                                                                             |
| ds(...)->color('bg-slate-500')       | Send custom color: <https://tailwindcss.com/docs/customizing-colors#default-color-palette> |
| ds()->diff($text1, $text2)           | Check the difference between two texts                                                     |
| ds()->label('Label')                 | Send custom label                                                                          |
| ds()->queriesOn('Label')             | Display all queries that are executed with custom label                                    |
| ds()->queriesOff();                  | Stop displaying queries                                                                    |
| ds($string)->isJson()                | Send JSON data and validate                                                                |
| ds()->toScreen('Screen Name')        | Add new screen - default: 'screen 1'                                                       |
| ds()->s('Screen Name')               | Add new screen                                                                             |
| ds1($var)                            | Send dump to 'screen 1'                                                                    |
| ds2($var)                            | Send dump to 'screen 2'                                                                    |
| ds3($var)                            | Send dump to 'screen 3'                                                                    |
| ds4($var)                            | Send dump to 'screen 4'                                                                    |
| ds5($var)                            | Send dump to 'screen 5'                                                                    |
| ds()->phpinfo()                      | Send PHPInfo                                                                               |
| dsd($var);                           | Send dump and die                                                                          |
| ds($var)->contains('Text')           | Search if content contains string                                                          |
| ds()->routes()                       | Send routes in table view                                                                  |
| ds()->table(Collection $data, $name) | Send table                                                                                 |
| ds()->die()                          | Send dump and die                                                                          |
