https://laravel.com/docs/master/seeding are a feature of Laravel you don't read much about. I barely used them before 2022, but last year I found a perfect use case that I've now started to incorporate in all my projects: "Local Environment Seeders".
This makes not just testing the UI of an app easier, but also makes onboarding new developers to a project simpler.
In Laravel apps using Jetstream with teams, I create and attach one or more default teams to the user. class LocalEnvironmentSeeder extends Seeder { public function run() { $this->createDefaultUser(); } protected function createDefaultUser(): self { User::factory()->create([ 'name' => 'system-user', 'email' => 'system@example.com', ]); return $this; }}