Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

rianmca's avatar

laravel new starter kit title not work

when i use laravel new starter kit. why page title not work. i edit original login.blade.php , how to set the title correct way if this not work?


use Illuminate\Auth\Events\Lockout;
use Illuminate\Support\Facades\Auth;
use Illuminate\Support\Facades\RateLimiter;
use Illuminate\Support\Facades\Session;
use Illuminate\Support\Str;
use Illuminate\Validation\ValidationException;
use Livewire\Attributes\{Layout, Title};
use Livewire\Attributes\Validate;
use Livewire\Volt\Component;

new
#[Layout('components.layouts.auth')]
#[Title('Login')]
class extends Component {
}

its original starter kit. so why not same as documentation. i tried using claude 3.7 sonnet and openai 3o-mini high still not solved

can anyone help? stuck to change title since laravel new starter kit release

1 like
3 replies
Tray2's avatar

Try changing the order.

#[Title('Login')] 

new #[Layout('components.layouts.auth')] 
class extends Component 
{
rianmca's avatar

@Tray2 still not work, can you test in ur local machine by new laravel starter kit? its not work

Please or to participate in this conversation.