laravel helper array code example
Example 1: public function getSteps(): array in laravel
@foreach ($products->chunk(3) as $chunk)
<div class="row">
@foreach ($chunk as $product)
<div class="col-xs-4">{{ $product->name }}</div>
@endforeach
</div>
@endforeach
#@sujay
Example 2: laravel helper
use Illuminate\Support\Str;
$length = Str::length('Laravel');
// 7