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

lifesound's avatar

is it an antipattern to use old blade like yield and extend stuff ? bc i don’t like the new one?

b. i don’t like the new

0 likes
2 replies
JeffreyWay's avatar
Level 59

No, it's not an anti-pattern. Do whatever feels most natural to you and don't worry about it.

3 likes
jlrdw's avatar

I still use regular php templating a lot.

Also many times in a template (layout) I use such as this to load something:

<?= View::make('partials/dpag')->render(); ?>

It's kind of the same as a slot, but I also don't like the "new way".

But that's why I like laravel, it's flexible.

2 likes

Please or to participate in this conversation.