laravel 5.4 how to make page title with dynamic

You can pass selected letter value to Blade view like this:

return view('front.list',compact('artists','letter'));

instead of:

return view('front.list',compact('artists'));

And now in your view you can use:

<title>Artists begging with {{ $letter }}</title>

If this is your master page title below

<head>
        <title>App Name - @yield('title')</title>
    </head>

then your page title can be changed in your blade page like below

@extends('layouts.master')

@section('title', 'Page Title')

@section('sidebar')
@parent

<p>This is appended to the master sidebar.</p>
@endsection

@section('content')
<p>This is my body content.</p>
@endsection