TGViewer
Заметки разработчика Заметки разработчика @dev_notes_ru · 457 subscribers
Post #837 170

Forwarded from Taylor Otwell 🪐

Introducing Context for Laravel. 📝

Add contextual data to the current request and it will be included in all log entires written by that request.

But, what's magical (in the best way) is that contextual data is also retained by any queued jobs dispatched by that request, allowing you to easily trace execution flows through distributed systems. 🧙

Available in Laravel 11 today.

https://laravel.com/docs/11.x/context

👩‍💻 @taylorotwell
More from @dev_notes_ru
  1. Apr 27, 2026Уникальный индекс при мягком удалении: решаем проблему дубликатов При использовании мягког…
  2. Apr 23, 2026Статические переменные в PHP: использование static внутри функций По данным исследования E…
  3. Apr 21, 2026Валидация массивов в Laravel без N+1: Form Request как построитель контекста Применение пр…
  4. Apr 13, 2026JSON в браузере: import или fetch — руководство по выбору Спойлер: import из JSON — это не…
  5. Apr 6, 2026Проксирование fetch() в серверном JavaScript Стандарт Fetch не специфицирует проксирование…
  6. Apr 2, 2026Taskfile: Когда пора отказаться от Makefile (а когда — нет) Makefile — инструмент с почти…
Threads Profile ViewerView any public Threads profile without an account.Open ThreadLook →Writing with AI? Make it sound human.Metric37 rewrites AI drafts so they read naturally. Free AI detector, 1,500 words free.Try Metric37 →