Introduction
Add ds() to your code. It works like var_dump() or dump(), but the output appears in the desktop app.
php
Route::get('/', function () {
ds('Home page accessed!');
return view('home');
});The page renders as usual. The app receives the dump.
TIP
ds comes from dumps. It is one letter away from dd(), so switching is easy.
Next step
Learn the PHP tools, or see every helper in the reference sheet.