How can I know the size of an array in Blade template? August 5, 2023 by Tarik It is possible with the count function, like so: @if (count($array) > 0) {{-- expr --}} @endif