Concept Flow - Raw PHP in Blade (@php)
Start Blade Template
Encounter @php block
Execute PHP code inside block
Output or store results
Continue rendering Blade template
End Template Rendering
Blade template engine reads the @php block, runs the PHP code inside, then continues rendering the rest of the template.