Laravel: Embedding PHP Code in Blades
This is a tutorial on how to use PHP code in blades using Laravel framework. Laravel has a built-in blade layouts for most-used PHP code but if ever you wanted to embed PHP code like declaring variables, arrays, PHP date, etc, you can use PHP directive @php.