Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

catrin21's avatar

catrin21 wrote a reply+100 XP

4mos ago

Correct way to include seo tags in laravel blade

Late to the party, but have you tried adding a section in your layout like @yield('meta') and then letting each page push in its own tags with @section('meta')? That keeps your components clean and still lets every view set custom SEO data. Curious how you're handling dynamic titles right now—using a component, a helper, or just sections?