Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added validation doesnt_end_with rule #43518

Merged
merged 1 commit into from Aug 2, 2022
Merged

Added validation doesnt_end_with rule #43518

merged 1 commit into from Aug 2, 2022

Conversation

kichetof
Copy link
Contributor

@kichetof kichetof commented Aug 2, 2022

This PR add a validation rule doesnt_end_with to allow user to check if a string doesn't end with a specific substring.

Multiple use cases, for me, check if an email address doesn't finished by some domain names.

@taylorotwell taylorotwell merged commit abcc6ea into laravel:9.x Aug 2, 2022
@taylorotwell
Copy link
Member

@kichetof will need a PR to laravel/laravel for the translation line.

@kichetof
Copy link
Contributor Author

kichetof commented Aug 2, 2022

@taylorotwell done :) laravel/laravel#5962

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants