It is not. Fetch data through your Controllers and pass them onto views for rendering. If your Controllers get too complex, then consider using Decorators to take on some of the work.
https://laracasts.com/series/design-patterns-in-php/episodes/1
Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.
Currently, I only pass the data to blade through method Controller but I want to do live request and is it good practice to write a lot of PHP logic in Blade?
Please or to participate in this conversation.