--- title: 'You can customize default validation rules for passwords' tweet_id: '1538579140147699712' thread_slug: weekly-thread-2022-24 author_username: ecrmnn images: - 'https://pbs.twimg.com/media/FUqvZeiVEAAsdBC.jpg' created_at: 2022-06-19T17:47:07+00:00 slug: you-can-customize-default-validation-rules-for-passwords --- You can specify the default validation rules for passwords in a single location of your Laravel app 🔐 Create a custom provider or use the AppServiceProvider. Then use `Password::defaults()` as validation rule ✅ You can have different defaults depending on the app environment.