You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Any and all built-in rules in Laravel is possible :) Just use the rule name as if it's a method in the builder, and it will be appended as a rule. For example, you can use regex like so:
$builder = Hyrule::create()
->string('slug')
->regex('/^[a-z0-9\-]$/')
->end()
// etc.
Is there a way to use regular expressions with this API? Haven't see any mentions in the documentation for this.
Ty
The text was updated successfully, but these errors were encountered: