A lot is changing in Laravel 11, including setting up middleware. This post explores how to do it and a lingering question I have after learning about it.
PHP
Laravel Context: The Hidden Information That Follows Your Code
A clear walkthrough of Laravel’s Context feature and how it lets execution-scoped information travel through your app. It also explains why that matters for logging, queued jobs, and keeping trace data available without threading it Read more…