count get in laravel code example
Example 1: get count laravel
$count = Model::where('status','=','1')->count();
Example 2: {{count laravel
{{ $threads->count() }}
Example 3: {{count laravel
{{ count($threads) }}
$count = Model::where('status','=','1')->count();
{{ $threads->count() }}
{{ count($threads) }}