--- title: 'Class 🔥 You can use the @env Blade directive to render stuff only in a given environment' tweet_id: '1532800047418462208' thread_slug: weekly-thread-2022-22 author_username: freekmurze images: - 'https://pbs.twimg.com/media/FT1tH1sWQAAaEwH.jpg' created_at: 2022-06-03T19:03:04+00:00 slug: class-you-can-use-the-at-env-blade-directive-to-render-stuff-only-in-a-given-environment --- 🔥 Did you know that Laravel has a handy Blade directive to only render stuff in a given environment?